viernes, 6 de diciembre de 2013

Zyxel P660HW-B1A Como configurar el linux que lleva dentro.

El router Zyxel P660HW-B1A es básicamente un linux con una interfaces web. Llegar hasta esa interface es fácil, conocer hasta donde se puede llegar no tanto.

Veamos algunas características :

-ADSL2+ interface complied with G.dmt, G.lite, T1.4 13, G.992.3(ADSL/ADSL2), G.992.5(ADSL2+), Annex A, Annex L. 
- Support 64/128-bit WEP, 802.1x, WPA, and WPA2 for wireless security 
- Transparent Bridging among 10/100 Mbps Ethernet, and 802.11g wireless 

Para poder acceder , primero debes acceder al router via telnet:
telnet 192.168.1.1
Acto seguido solo tenemos que poner sh
peter@linux-s10a:~> telnet 192.168.1.1
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
Login: 1234
Password:


Una vez dentro del equipo, simplemente debemos ejecutar sh.


> sh

BusyBox v1.00 (2010.12.13-08:21+0000) Built-in shell (msh)
Enter 'help' for a list of built-in commands.

#

Los comandos de que disponemos son:

        . : break cd continue eval exec exit export help login newgrp
        read readonly set shift times trap umask wait [ busybox cat chmod
        cp date df dmesg echo expr false ftpget fuser hostname ifconfig
        init insmod kill killall klogd linuxrc ln logger logread ls mkdir
        mknod mount msh nslookup pidof ping ps pwd reboot rm rmmod route
        sendarp sh sync sysinfo syslogd test tftp tftpd top true tty
        umount vconfig

A partir de aquí podemos personalizar el firewall del equipo mediante el uso de iptables o de ebtables.



No hay comentarios:

Publicar un comentario