Vous êtes sur la page 1sur 22

INSTITUTO TECNOLGICO

SUPERIOR DE
SAN ANDRS TUXTLA

PRESENTACION DE TESIS PARA OBTENER EL GRADO DE :


LICENCIATURA EN INGENIERA I NFORMTICA
TEMA DE TESIS:
IMPLEMENTACION DE UNA APLICACIN MVIL PARA
MENSAJERIA SOBRE UNA RED MESH PARA EL ITSSAT.
PRESENTAN:
RIVERA DIAZ JONATHAN
VICTORIO MONTAN AMELIA

CUL ES EL PROBLEMA?
En el Instituto Tecnolgico Superior de San
Andrs Tuxtla se necesita una forma de
comunicacin econmica, rpida y segura para
todo el personal docente, administrativo,
estudiantil, etc.

SOLUCIN AL PROBLEMA
La
solucin
encontrada
es
la
implementacin de una red inalmbrica
Mesh en la institucin, as como el
diseo de una aplicacin mvil para
utilizar esta red y lograr que las personas
del ITSSAT se comuniquen de manera
efectiva y sin costos adicionales.

OBJETIVOS
OBJETIVO GENERAL:
Implementacin de una aplicacin mvil para mensajera sobre una red
Mesh en el ITSSAT.
OBJETIVOS ESPECIFICOS:
Establecer un estudio del arte sobre aplicaciones mviles para
android.
Disear un esquema para la red Mesh en el ITSSAT.
Instalar la infraestructura necesaria para el correcto funcionamiento
de la red Mesh.
Configurar e instalar la red Mesh en la institucin.
Disear la aplicacin mvil.
Implementar la aplicacin mvil de comunicacin que se utilizara en
conjunto con la red Mesh.
Documentar el proceso realizado.

CONCEPTOS

PROTOCOLO XMPP
RED MESH
SERVICIO DHCP
MAQUINA VIRTUAL
SERVICIO DNS
GNU/LINUX
APLICACIN PARA DISPOSTIVOS MOVILES
PROSODY SOFTWARE
LENGUAJE LUA
VIRTUALIZACION
OPEN SOURCE
LICENCIA DE CDIGO ABIERTO

RESULTADOS
LOS RESULTADOS MOSTRADOS A CONTINUACION NO
FUERON LO ESPERADO DEBIDO A LA FALTA DE RECURSOS
DE HARDWARE ,PERO ESTO NO QUIERE DECIR QUE NO SE
CUENTE CON NINGUN RESULTADO VALIDO.
YA QUE EL RESULTADO MOSTRADO A CONTINUACION ES LA
PARTE FUNDAMENTAL DE LA INVESTIGACION Y ,EN CASO
DE QUE EN OTRO
PROYECTO QUE
APLIQUE
DIRECTAMENTE CON LA IMPLEMENTACION Y
YA SE
CUENTE CON LOS RECURSOS,LOS RESULTADOS AQU
MOSTRADOS SERVIRAN PARA PODER REALIZAR TODO EL
PROCEDIMIENTO.
EN CONCLUSION SE REALIZO LA PARTE LOGICA DE LA
INVESTIGACION.

CONFIGURACIONES

CONFIGURACIONES

PROSODY

GRALES.

VIRTUALI
ZACION

OBJETIVO
GENERAL

DHCP

APLICACIONES

DNS

CONFIGURACIONES
GENERALES
1. ACTUALIZACION DE
REPOSITORIOS Y DE PAQUETES
2. CONFIGURACION DE LA IP
ESTATICA DEL SERVIDOR
3. ACCESO POR SSH AL SERVIDOR

VIRTUALIZACION

DNS
Lo primero en configurar fue el servicio dns, para ello se necesita configurar 1
archivo y crear dos ms, en la ruta; cd /etc./bind
//include "/etc/bind/zones.rfc1918";
zone "example.com" {
type master;
file "/etc/bind/db.example.com";
};
zone "1.168.192.in-addr.arpa" {
type master;
file "/etc/bind/db.192";
};
ARCHIVO NAMED.CONF.LOCAL

DNS
;
; BIND data file for example.com
;
$TTL 604800
@
IN SOA example.com. root.example.com. (
2
; Serial
604800
; Refresh
86400
; Retry
2419200
; Expire
604800 )
; Negative Cache TTL
IN A
192.168.1.70
;
@
IN NS ns.example.com.
@
IN A
192.168.1.70
@
IN AAAA ::1
ns IN A
192.168.1.70
_xmpp-client._tcp.example.com. 18000 IN SRV 0 5 5222
example.com.
_xmpp-server._tcp.example.com. 18000 IN SRV 0 5 5269
example.com.
ARCHIVO : DB.EXAMPLE.COM

;
; BIND reverse data file for local 192.168.1.XXX net
;
$TTL 604800
@
IN SOA ns.example.com. root.example.com. (
2
; Serial
604800
; Refresh
86400
; Retry
2419200
; Expire
604800 )
; Negative Cache TTL
;
@
IN NS ns.
10 IN PTR ns.example.com.
_xmpp-client._tcp.example.com. 18000 IN SRV 0 5 5222
example.com.
_xmpp-server._tcp.example.com. 18000 IN SRV 0 5 5269
example.com.

ARCHIVO: DB.192

El procedimiento es para los dos archivos, una vez hecho comprobaremos si


la configuracin es correcta accediendo desde un cliente, en el cliente
tenemos que configurar el adaptador de red y poner la direccin de nuestro
servidor como un dns alternativo

DHCP
Para configurar el servidor DHCP ,editaremos el archivo que esta en la
ruta etc/dhcp/ y el archivo se llama dhcpd.conf y queda de la siguiente
manera:
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.150 192.168.1.155;
option domain-name-servers 192.168.1.70;
option domain-name "example.com";
option routers 192.168.1.254;
option broadcast-address 192.168.1.255;
option netbios-name-servers 192.168.1.70;
default-lease-time 600;
max-lease-time 7200;
}

PROSODY
El objetivo del proyecto es la implementacin de una
App de mensajera mvil android, para realizar esto se
opt por prosody como servidor y xabber como cliente
android.
Toda la configuracin de prosody se encuentra en un
archivo llamado prosody.cfg.lua, el cual quedo de la
siguiente manera

PROSODY
--inicio del documento-admins = { "admin@example.com" }
use_libevent = true;
modules_enabled = {
-- Generally required
"roster"; -- Allow users to have a roster. Recommended ;)
"saslauth"; -- Authentication for clients and servers. Recommended if you want to log in.
"tls"; -- Add support for secure TLS on c2s/s2s connections
"dialback"; -- s2s dialback support
"disco"; -- Service discovery
"posix"; -- POSIX functionality, sends server to background, enables syslog, etc.
"vcard"; -- Allow users to set vCards
"version"; -- Replies to server version requests
"uptime"; -- Report how long server has been running
"time"; -- Let others know the time here on this server
"ping"; -- Replies to XMPP pings with pongs
"pep"; -- Enables users to publish their mood, activity, playing music and more
"register"; -- Allow users to register on this server using a client and change passwords
"admin_adhoc"; -- Allows administration via an XMPP client that supports ad-hoc commands
};
allow_registration = true;
ssl = {
key = "/etc/prosody/certs/example.com.key";
certificate = "/etc/prosody/certs/example.com.cert";
}
c2s_require_encryption = false
s2s_secure_auth = false
pidfile = "/var/run/prosody/prosody.pid"
authentication = "internal_plain"
storage = "internal" -- Default is "internal"
log = {
info = "/var/log/prosody/prosody.log"; -- Change 'info' to 'debug' for verbose logging
error = "/var/log/prosody/prosody.err";
"*syslog";
}

APLICACIONES

El modem, debe de configurarse en modo acces point, as tambin crear una red
inalmbrica, nosotros la llamamos ITSSAT_MESH

Como podemos ver en las imgenes automticamente el servidor pasa los


parmetros para una conexin correcta de los clientes, cabe mencionar
que los clientes fueron de diferentes plataformas para probar convergencia.

COMUNICACIN ENTRE CLIENTE ANDROID


CON XABBER

Comunicacin entre xabber y un cliente para


plataforma Windows llamado Gajim.

Comunicacin entre xabber y un cliente para Linux


llamado Pidgin.

GRACIAS
POR SU
ATENCIN

Vous aimerez peut-être aussi