Fonera dd-wrt v24 Stable

Mayo 10, 2008

Nuevo procedimiento para flashear la fonera dd-wrt v24 Stable version
Necesitamos:
El firmware dd-wrt v24 (linux.bin) de aquí
Tftp 32 de aquí
Fonera con redboot instalado para instalar redboot podeis usar éste tutorial

Configuración tcp/ip de nuestra tarjeta ethernet
Ip: 192.168.1.166
Mascara: 255.255.255.0

Ahora entramos a la fonera con redboot, conectandola y conectandonos por telnet asi a los 5 segundos de encender la fonera

telnet 192.168.1.254 9000

 

 Encendemos el tftp con el fichero linux.bin dentro
y ejecutamos, lo que está en negrita según nos va pidiendo la sesión telnet

 

== Executing boot script in 8.530 seconds - enter ^C to abort
^C
RedBoot> ip_address -l 192.168.1.254/24 -h 192.168.1.166
IP: 192.168.1.254/255.255.255.0, Gateway: 0.0.0.0
Default server: 192.168.1.166
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
*** Initialize FLASH Image System
… Erase from 0xa87e0000-0xa87f0000: .
… Program from 0×80ff0000-0×81000000 at 0xa87e0000: .
RedBoot> load -r -b 0×80041000 linux.bin
Using default protocol (TFTP)
Raw file loaded 0×80041000-0×80684fff, assumed entry at 0×80041000
RedBoot> fis create linux //ésto tarda mucho, paciencia//
RedBoot> fconfig //Pulsa enter//
Run script at boot: true //Pulsa enter//
Boot script:
.. fis load -l vmlinux.bin.l7
.. exec
Enter script, terminate with empty line
>> fis load -l linux //Pulsa enter//
>> exec //Pulsa enter//
>> //Pulsa enter//
Boot script timeout (1000ms resolution): 10 //Pulsa enter//
Use BOOTP for network configuration: false //Pulsa enter//
Gateway IP address: //Pulsa enter//
Local IP address: 192.168.1.254 //Pulsa enter//
Local IP address mask: 255.255.255.0 //Pulsa enter//
Default server IP address: <blank> //Pulsa enter//
Console baud rate: 9600 //Pulsa enter//
GDB connection port: 9000 //Pulsa enter//
Force console for special debug messages: false //Pulsa enter//
Network debug at boot time: false //Pulsa enter//
Update RedBoot non-volatile configuration - continue (y/n)? y //Pulsa enter//
… Erase from 0xa87e0000-0xa87f0000: .
… Program from 0×80ff0000-0×81000000 at 0xa87e0000: .
RedBoot>reset //Pulsa enter//

 

Ya tenemos dd-wrt en su versión v24 Stable,
ahora podremos cambiar nuestra ip a una del rango 192.168.1.0/24
y entrar a la 192.168.1.1 para ver el menú de administracion
Nombre: root
Password: admin

Un breve Link al equipo que realizó el hackeo de la fonera