Vous êtes sur la page 1sur 25

Montar un iGate en un Router LinkSys

WRT54GL


La utilizacin de un router de modo convencional en su uso para ser utilizado en
una conexin ASL para el acceso a !nternet de uno o varios e"uipos in#orm$tico
utilizando una conexion por ca%le &LA'& o %ien inalam%rica &W!(!& seria la
correspondiente al si)uiente es"uema*


'osotros vamos a modi#icar ese uso y adaptarlo a nuestras necesidades
particulares +a%ilitando el acceso a la Red de A,RS- a.adiendole la conectividad
necesaria para unos e"uipos de Radio- como indica el si)uiente es"uema*


,ara ello de%eremos de realizar unos cam%ios a nivel de /ard0are asi como de
So#t0are1 en el +ard0are +aremos al)unas modi#icaciones para +a%ilitar la
conectividad de los e"uipos necesarios y a nivel so#t0are- cam%iaremos el
#irm0are ori)inal del router por otro (irm0are "ue nos permita a.adir nuevo
so#t0are necesario para el uso de los e"uipos a.adidos y conectados al router asi
como el correcto tratamiento de la in#ormacin "ue mane2aran*



M3!(!4A4!3'5S /ARWAR5

6& A%rir Router L!'7S8S WRT54GL*



9& Soldar los pines en las conexionado correspondiente a los puertos serie del
router puerto : y 6*



'o es necesario soldar todos los pin de los dos puertos series "ue +ay en la placa
ni los pines correspondientes al puerto ;TAG- pero nunca viene mal tenerlos
preparados- so%re todo- tener los dos puertos Serie preparados para posi%les
ampliaciones de uso*

<& !nstalacion de un conversor RS9<9 A TTL*



5stos conversores se pueden ad"uirir por !nternet en esta pa)ina y su precio no
supera los <=
+ttp >?? alldav *com ? index *p+p @
main A pa)e B product A in#o C c,at+ BDC products A id B9E





4onexin de un solo puerto 4onexin de los dos puertos RS 9<9




M3!(!4A4!3'5S S3(TWAR5



!'STALAR 3penWRT en router LinkSys WRT 54 GL F 6*6 s ? n 4L G H 6 7

Existen varias versiones de OpenWRT , la ultima version se llama Backfire siendo
la ultima revision la 10.3- rc 3.

Paso Primero .- Descargar de la pagina de OpenWRT
( +ttp >? open0rt *or) ?I, el paquete de firmware correspondiente al router
segun version y numero de serie ( LinkSys WRT 54 GL V 1.1 s / n CL 7 B 1 K )
" open0rt & 0rt 54 ) & s"uas+#s *%in ", y guardar en el PC
( +ttp >?? do0nloads *open0rt *or) ? %ack#ire ?6:*:<*6& rc <? %rcm 4G xx ?).

Paso Segundo .- Entrar en el Router con el navegador
+ttp >??6D9*6JE*6*6 , en el apartado Administracion , actualizar Firmware .

Paso Tercero .- Subir el archivo anteriormente descargado en el PC
( open0rt & 0rt 54 ) & s"uas+#s *%in ), esperar unos minutos hasta que el
router se reinicie y se habra completado la actualizacion del firmware a la
version OpenWRT - Backfire , sino se reinicia pasados unos cinco minutos ,
reiniciarlo manualmente apagando y encendiendo el router .

Una vez actualizado el firmware habra cambiado la pagina de inicio de
nuestro router , apareciendonos la nueva presentacion del firmware de
OpenWRT y su interface LUCI .

Nos aparecera la pantalla de presentacion del Equipo LUCI . Este es el rea de
administracin de Luci .

LUCI es un area libre , flexible y amigable con interfaz de usuario grfico para
configurar OpenWrt Backfire .

Para acceder a la configuracion del router nos pedira Nombre de Usuario y
Password , que por defecto son :

Ksername > root
,ass0ord > L en %lanco I



Paso Cuarto .- Configuraremos el servidor de Hora , en
Administration / System / System .
En Hostname cambiamos el nombre de nuestro router .
En Timezone seleccionamos " 5urope ? Madrid
En Time Server aadimos el servidor " es *pool *ntp *or) M , este servidor
envia la hora y la mantiene actualizada al milisegundo , si aparecen mas
servidores borrarlos todos .
Para grabar los cambios , pulsaremos en " Save C Apply

Paso Quinto .- Pondremos un Password , en Administration / System / Admin
Password , para posteriormente poder acceder al router usando SSH ( comunicacion
encriptada ) con el programa PUTTY , a partir del momento que pongamos un
Password ya no se podra acceder por telnet , solo podremos entrar atraves de SSH .
Salvaremos los cambios pulsando " Submit .
Si tenemos acceso por Telnet podemos cambiar el Password con la siguiente
secuencia :

root @ OpenWRT :~# pass0ord
Changing password for root
New password :
Retrype password :
Password for root changed by root
root @ OpenWRT :~#

Paso Sexto .- Vamos a configurar el router para que pueda acceder a internet ,
entendemos que se tiene configurada la red local para acceso a internet en modo de
IP Fija , vamosa entrar en la opcion del menu
Administration ? 'et0ork ? !nter#aces ? Lan.

En la ventana correspondiente a !,v 4& Address asignaremos una
direccion ( si tubieramos asignada a otro equipo la direccion 6D9*6JE*6*6
pondremos una que tengamos libre ; entenderemos que esta direccion
esta libre )
En la ventana correspondiente a !,v 4& 'etMask pondremos la
Mascara de Subred de nuestra red .
En !,v 4& Gate0ay pondremos la direccion ip de nuestro router de
casa con el cual accedemos a Internet .
En 'S & Server pondremos las DNS de nuestra red , se pueden poner
las dos DNS separandolas por un espacio .

Aplicamos y salvamos los cambios .

Paso Septimo .- Actualizaremos la lista de paquetes disponibles , que
podremos descargar directamente en el router una vez que tengamos
conexion a internet .

Para actualizar la lista de paquetes nos iremos al menu
Administration ? System ? So#t0are pincharemos encima de Kpdate
packa)e list , despues de unos minutos se habra actualizado esta lista .

Paso Octavo .- Vamos a cargar en nuestro router los paquetes que
necesitaremos , uno de ellos es el Microcom, programa de comunicaciones
que nos servira para conectar desde el router por el puerto serie que hemos
instalado en el , y el paquete A,RN, programa para el tratamiento de las
seales de radio introducidas en el router por el puerto serie .

Para instalar estos paquetes nos iremos a la lista de paquetes " Availa%le
packa)es M , buscaremos estos paquetes y pincharemos en M !nstall M , tras
unos minutos se refrescara la pantalla y los tendremos disponibles para su
uso en la lista de M !nstalled packa)es M*

Tambien se pueden instalar los paquetes de forma manual :

Actualizar el con2unto de pa"uetes >

root @ OpenWrt :O# opk) update
Downloading http :// downloads .openwrt .org / backfire /10.03.1- rc 3/brcm47xx
/packages/packages.gz.
INflating http :// downloads .openwrt .org / backfire /10.03.1- rc 3/ brcm 47xx/pac
kages/packages.gz.
Updated list of available packages in /var/opkg-list/packages.
root@OpenWrt:O#

Feri#icar disponi%ilidad del pa"uete aprx>

root@OpenWrt:O# opk) list aprx
aprx - 2.00_r421-1 - This daemon listenes for traffic on the specified serial
interface.
It then forwards appropriate packets to APRS-IS servers.
root@OpenWrt:O#
(tambien vemos la version del paquete que vamos a instalar)

!nstalamos el pa"uete aprx>

root@OpenWrt:O# opk) install aprx
Installing aprx (2.00_r421-1) to root........
Downloading http :// downloads .openwrt .org / backfire /10.03.1- rc 3/brcm47xx
/packages/aprx_2.00_r421_brcm47xx.ipk
Configuring aprx
root@OpenWrt:O#

4ompro%amos "ue esta instalado>

root@OpenWrt:O# opk) list&installed aprx
aprx - 2.00_r421-1
root@OpenWrt:O#


Paso Noveno .- Una vez instalados los paquetes nos toca habilitar el
paquete APRX, para ello nos iremos a
Administration?Services?!nitscripts, buscaremos el paquete APRX y
observaremos que aparece como isa%led, pincharemos encima de la
palabra disabled para habilitarlo y que se ejecute automaticamente al
encender el router.


Paso Decimo .- Pasaremos a comprobar que el puerto recibe los datos
de la TNC que tendremos conectada al router, para esto conectaremos con el
router usando el programa ,KTT8 y una conexion SS/.
root@OpenWrt:O# microcom &?dev?ttyS6
Si todo ha ido bien empezaremos a ver las tramas de los datos recibidos.

dj`fnd@a!4019.32N/00736.72W# DIGI APRS-SERRA DA ESTRELA (A.R.B.A) 14
4.800Mhz
fpd`nfnf@e!3629.07N/00512.47W#PHG4970-BASE APRS,WIDE1-1,WIDE3-3,
bp@nfnf@e!3652.80N/00248.08W#PHG2910/ URE ALMERIA.
dj`nnRC *112349z3752.88N/00445.51WxSEDE SOCIAL UNION RADIOAF. DE CORDOBA
dj`nnnf@c;EA7URC *112349z3752.88N/00445.51WxSEDE SOCIAL UNION
RADIOAF. DE CORDOBA
dj`nnnf@c=/;?v{M:t4I B144.800 iGate Union Radf Cordoba {UIV32N}
nf@e;ED7ZAB *081206z3754.94N/00443.31Wn144.825 NodoFlexnet Universidad UCO-U
dj`nnnf@e;EA7URC-8 *081207z3754.86N/00443.31WnURCNET Flexnet LinuxNet Univers.
UCO
fpd`nfnf@e!3629.07N/00512.47WrPHG4970-VOZ 145.750-600 R6 ESTEPONA7-7
bp@nfnf@e!3652.80N/00248.08W#PHG2910/ URE ALMERIA.
@@@@`@@rd@e>TT1.4 P/Tinytrack l ->MOVIL<-

Paso Onceavo .- Ahora configuraremos el A,RN, el manual nos lo podemos
bajar de aqui +ttp >?? +am *zmailer *or) ? o+ 9 m"k ? aprx ? aprx & manual *pd#,
para evitar inundar la frecuencia con transmisiones de paquetes que nos
llegan por internet desde los servidores de APRS, se puede configurar el
APRX en modo de " RX-ONLY iGate , de esta manera la instalacion de varios
iGates aun encontrandose proximos entre ellos no afectaria a los paquetes
que salen al aire desde los equipos de Aprs Moviles evitando que se pierdan
paquetes por colision.
Editaremos el fichero M?etc?aprx*con#M, y pondremos los datos
correspondientes a nuestro indicativo, el servidor al que queremos
conectar y enviar la informacion, el puerto y la velocidad y
demas datos del puerto al que tenemos conectado la TNC, las coordenadas
del iGate, etc.
root@OpenWrt:O# vi ?etc?aprx*con#
..........................
- mycall EA7IYO-1
- server spain .aprs 2. net 14580
- serial-device /dev/ttyS1 9600 8n1 KISS
- cycle-size 20m
- beacon symbol "/I" lat "1234.56N" lon "01234.56W" comment " Rx-only
iGate Malaga-Spain
.............................
Una vez modificado y guardado el archivo de configuracion, ya tendremos
montado el iGate, si deseamos comprobar lo que esta pasando en
nuestro iGate mientras esta funcionando, usaremos el siguiente
comando:
root@OpenWrt:O# tail &# ?var?lo)?aprx?aprx&r#*lo)
Tambien podemos chequear el estado de nuestro iGate con el comando:
root@OpenWrt:O# tail &# ?var?lo)?aprx?aprx*lo)
Podemos DESACTIVAR y ACTIVAR nuestro iGate con los comando
siguientes:
root@OpenWrt:O# ?etc?init*d ?aprx stop
root@OpenWrt:O# ?etc?init*d ?aprx start

AGRA54!M!5'T3S

Este proyecto es original de Chris Kantarjiev ( K6DBG ), al que quiero agradecer la
enorme ayuda prestada a pesar de la dificultad del idioma.



Video de presentacion del proyecto http :// www .youtube .com /watch ? v =1 KYuUlnB 2 vM .

Tambien aga!ece enomemente al amigo "oge #ue me ha guia!o y #ue $in $u !e!icacion y
en$e%an&a$ aun e$taia pe!i!o 'ente al (pen)t.





;uan 4arlos 5AG!83.

PPPPPPPPPPPP 333 PPPPPPPPPPPP

i!Gate to mount a LinkSys WRT54GL
T+e use o# a router in a conventional manner in +is application to %e used in an
ASL connection #or !nternet access #rom one computer or multiple computers
usin) a ca%le connection QLA'Q or 0ireless QW!(!Q 0ould %e #or t+e #ollo0in)
sc+eme*


We are )oin) to c+an)e t+at use and adapt to our particular needs %y providin)
access to t+e A,RS net0ork- %y addin) connectivity to a radio- as t+e #ollo0in)
dia)ram*


To do t+is 0e need to make some c+an)es at t+e +ard0are level as 0ell as
so#t0are- in +ard0are 0ill make some modi#ications to ena%le connectivity o# t+e
necessary e"uipment and so#t0are level- 0e c+an)e t+e ori)inal #irm0are o# t+e
router on t+e ot+er (irm0are t+at 0ill allo0 us to add ne0 so#t0are re"uired #or
use o# e"uipment added and connected to t+e router as 0ell as t+e correct
treatment o# t+e in#ormation +andled*



/ARWAR5 M3!(!4AT!3'S

6& 3pen Router L!'7S8S WRT54GL*


9& Solder t+e pins on t+e 0irin) #or t+e serial ports o# router port : and 6*


'o need to solder all t+e pins o# t0o serial ports t+at are in t+e plate or pins #or
t+e ;TAG port- %ut it never +urts to +ave t+em ready- especially- +ave %ot+ serial
ports ready #or possi%le extensions o# use*

<& !nstallin) an RS9<9 to TTL converter*


T+ese converters are availa%le online at t+is site and its price is less t+an < =-
+ttp >?? alldav *com ? index *p+p @ main A pa)e B product A in#o C c,at+ BDC products A id B9E




4onnectin) a sin)le port 4onnectin) t+e t0o RS 9<9 ports




S3(TWAR5 4/A'G5S



!'STALL 3penWRT on a Linksys WRT 54 GL F 6*6 s ? n 4L G H 6 7

There are several versions of OpenWRT , the latest version is called Backfire be
the last revision of 10.3- rc 3.

Step One .- Download the OpenWRT website (http:/openwrt.org/), the
firmware package for the router according to version and serial number
(LinkSys WRT54GL V1.1 s/n CL7B1K) Qopen0rt&0rt54)&s"uas+#s*%in Q
and save to your PC.
( +ttp >?? do0nloads *open0rt *or) ? %ack#ire ?6:*:<*6& rc <? %rcm 4G xx ? )
*tep Two .+ ,nte the -oute with the bow$e http ://1.2.1/0.1.1 in paagaph
1!mini$tation2 3imwae Up!ate.

Step Three .- Upload the file previously downloaded to the PC ( open0rt &
0rt 54 ) & s"uas+#s *%in ), wait a few minutes until the router reboots and will
have completed the firmware update to version OpenWRT - Backfire , but last
restart about five minutes , restart it manually by turning the router .
After updating the firmware will have changed the homepage of our router , a
new synthetic presentation OpenWRT firmware and LUCI interface .

We appear presentation screen LUCI Team . This is the area of administration
of Luci .
LUCI is an area free , flexible and user - friendly graphical interface for
configuring OpenWrt Backfire .
To access the router configuration we request your Username and Password ,
which by default are :
Ksername > root
,ass0ord > L%lankI



Step Four .- Configure the Time, under Administration / System /
System.
In Hostname change the name of our router.
In Timezone select Q5urope ? MadridQ
Time Server On the server add Qes*pool*ntp*or)Q, this server sends
the time and kept up to date to the millisecond, if there are more servers
to delete all.
To save changes, click on QSave C ApplyQ

Step Five .- We will put a password in Administration / System / Admin
Password, later to be able to access the router using SSH (encrypted
communication) with the program PUTTY, from the time we put a password
and can not be accessed by telnet, only we go THROUGH SSH.
Save your changes by clicking QSu%mitQ*
If you have Telnet access can change the password with the following
sequence:

root@OpenWRT:~# pass0ord
Changing password for root
New password:
Retrype password:
Password for root changed by root
root@OpenWRT:~#

Step Six .- Let's configure the router so you can access the Internet,
we understand that you have configured your home network for internet
access Fixed IP mode, we enter the menu option
Administration ? 'et0ork ? !nter#aces ? Lan.

In the window for !,v4&Address assign an address (If we had assigned
to another computer to 6D9*6JE*6*6 one that we have free will,
understand that the address is free).
In the window for !,v4&'etmask Subnet Mask will of our network.
In !,v4Q Gate0ay will give the IP address of our home router which
we access the Internet.
In 'S Server will the DNS on our network, you can put two DNS
separated by a space.
Apply and save the changes.

Seventh Step .- update the list of available packages, you can
download directly to the router once you have internet connection.
To update the list of packages we will go to the menu
Administration?System?So#t0are Update package spikes at the top of
list, after a few minutes this list will be updated.

Step Eight .- Let's refresh our router packages that need, one of them
is the Microcom, communications program that will serve us to connect
from the router through the serial port that we installed on it, and A,RN
packa)e, program the treatment of radio signals entered into the router via
the serial port.
To install these packages we will go to the package list "Availa%le
packa)es", these packages look for and click"!nstall" after a few minutes to
refresh the screen and will available for use in the list of "!nstalled
packa)es".

Also you can install packages manually:

Aprx package Check availability:

root@OpenWrt:O# opk) update
Downloading http :// downloads .op enwrt .org / backfire /10.03.1- rc 3/brcm47xx
/packages/packages.gz.
INflating http :// downloads .openwrt .org / backfire /10.03.1- rc 3/ brcm 47xx/pac
kages/packages.gz.
Updated list of available packages in /var/opkg-list/packages.
root@OpenWrt:O#

Aprx packa)e 4+eck availa%ility>

root@OpenWrt:O# opk) list aprx
aprx - 2.00_r421-1 - This daemon listenes for traffic on the specified serial
interface.
It then forwards appropriate packets to APRS-IS servers.
root@OpenWrt:O#
(tambien vemos la version del paquete que vamos a instalar)

We #ound t+at t+is set>

root@OpenWrt:O# opk) install aprx
Installing aprx (2.00_r421-1) to root........
Downloading http :// downloads .openwrt .org / backfire /10.03.1- rc 3/brcm47xx
/packages/aprx_2.00_r421_brcm47xx.ipk
Configuring aprx
root@OpenWrt:O#

We #ound t+at t+is set>

root@OpenWrt:O# opk) list&installed aprx
aprx - 2.00_r421-1
root@OpenWrt:O#


Step Nine .- After installing the packages we have to enable A,RN
package, therefore we go to Administration?Services?initscripts, look
and observe aprx package that appears as isa%led, punctured above the
word disabled to enable and run automatically when you turn on the router.


Step Ten .- We will check that the port receives data from the T'4
that we connected to the router, so it will connect with the router using the
program ,KTT8 and SS/ connection.
root@OpenWrt:O# microcom &?dev?ttyS6
If all goes well, begin to see the received data frames.

dj`fnd@a!4019.32N/00736.72W# DIGI APRS-SERRA DA ESTRELA (A.R.B.A) 14
4.800Mhz
fpd`nfnf@e!3629.07N/00512.47W#PHG4970-BASE APRS,WIDE1-1,WIDE3-3,
bp@nfnf@e!3652.80N/00248.08W#PHG2910/ URE ALMERIA.
dj`nnRC *112349z3752.88N/00445.51WxSEDE SOCIAL UNION RADIOAF. DE CORDOBA
dj`nnnf@c;EA7URC *112349z3752.88N/00445.51WxSEDE SOCIAL UNION
RADIOAF. DE CORDOBA
dj`nnnf@c=/;?v{M:t4I B144.800 iGate Union Radf Cordoba {UIV32N}
nf@e;ED7ZAB *081206z3754.94N/00443.31Wn144.825 NodoFlexnet Universidad UCO-U
dj`nnnf@e;EA7URC-8 *081207z3754.86N/00443.31WnURCNET Flexnet LinuxNet Univers.
UCO
fpd`nfnf@e!3629.07N/00512.47WrPHG4970-VOZ 145.750-600 R6 ESTEPONA7-7
bp@nfnf@e!3652.80N/00248.08W#PHG2910/ URE ALMERIA.
@@@@`@@rd@e>TT1.4 P/Tinytrack l ->MOVIL<-

,leventh *tep .+ APRX now con'igue the manual can be !ownloa!e! 'om u$ hee
http :// ham .zmailer .org /oh 2 mqk /aprx /aprx -manual .pdf, to pevent 'loo!ing o' the
'e#uency o' pac4et tan$mi$$ion$ that come to u$ by 'om intenet 15-* $eve$2 you
can $et the mo!e ap6 7i8ate -9+(:;Y72 $o the in$tallation o' $eveal even i8ate ae
clo$e among them woul! not a''ect the pac4age$ that ai 'om the e#uipment Mobile
15-* peventing pac4et lo$$ by colli$ion
Edit the file Q? etc ? aprx*con#Q, and put the data for our illustration, the
server you want to connect and send the information, the port and speed and
other particulars of the port you have connected the TNC, the iGate
coordinates, etc.
root@OpenWrt:O# vi ?etc?aprx*con#
..........................
- mycall EA7IYO-1
- server spain .aprs 2. net 14580
- serial-device /dev/ttyS1 9600 8n1 KISS
- cycle-size 20m
- beacon symbol "/I" lat "1234.56N" lon "01234.56W" comment " Rx-only
iGate Malaga-Spain
.............................
Once modified and saved the configuration file, and we mounted the iGate, if
you want to check what is happening in our iGate while working, we will use
the following command:
root@OpenWrt:O# tail &# ?var?lo)?aprx?aprx&r#*lo)
We can also check the status of our iGate with the command:
root@OpenWrt:O# tail &# ?var?lo)?aprx?aprx*lo)
We can turn off and turn our iGate with the following command:
root@OpenWrt:O# ?etc?init*d ?aprx stop
root@OpenWrt:O# ?etc?init*d ?aprx start

A47'3WL5G5M5'TS

This project is originally from Chris Kantarjiev (K6DBG), I thank you for the great
help given despite the difficulty of the language.



Video of presentation of the project http :// www .youtube .com /watch ? v =1 KYuUlnB 2 vM .

1l$o big than4$ to hi$ 'ien! 8eoge that ha$ gui!e! me an! that without hi$ !e!ication an!
teaching$ $till woul! be lo$t to the (pen)t.


;uan 4arlos 5AG!83.
PPPPPPPPPPPP 333 PPPPPPPPPPPP

Vous aimerez peut-être aussi