Sofern man openWRT auf dem Router hat, kann man das neue Firmware-Image mittels scp nach /tmp kopieren.
Das Flashen erfolgt dann mittels mtd.
Installationsprotokoll
root@openWRT:/tmp# ls -Al dd* -rw-r--r-- 1 root root 2555904 Jan 1 00:01 dd-wrt.v23_mini_generic.bin root@openWRT:/tmp# mtd -r write dd-wrt.v23_mini_generic.bin linux Unlocking linux ... Writing from dd-wrt.v23_mini_generic.bin to linux ... [w] Rebooting ... Read from remote host 192.168.1.1: Connection reset by peer Connection to 192.168.1.1 closed.
erster Login
[flasher@xm1 ~]$ telnet 192.168.1.1
Trying 192.168.1.1...
Connected to 192.168.1.1 (192.168.1.1).
Escape character is '^]'.
DD-WRT v23 SP2 mini (c) 2006 NewMedia-NET GmbH
Release: 09/15/06 (SVN revision: 3932)
OpenWrt login: root
Password: admin
==========================================================
____ ___ __ ______ _____ ____ _____
| _ \| _ \ \ \ / / _ \_ _| __ _|___ \|___ /
|| | || ||____\ \ /\ / /| |_) || | \ \ / / __) | |_ \
||_| ||_||_____\ V V / | _ < | | \ V / / __/ ___) |
|___/|___/ \_/\_/ |_| \_\|_| \_/ |_____|____/
DD-WRT v23 SP2
http://www.dd-wrt.com
==========================================================
DD-WRT VeryBusyBox v1.2.1 (2006.09.15-17:59+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
~ #
Siehe auch: http://www.dd-wrt.com/wiki/index.php/Recover_from_a_Bad_Flash#Recovering_with_TFTP
Unmittelbar nach dem Versorgen des Routers mit Strom konnte ich mit folgendem Befehl die openWRT Firmware auf das System bringen.
atftp
atftp --verbose --trace --tftp-timeout 60 --put --local-file openwrt-wrt54g-2.4-squashfs.bin 192.168.1.1
Nach kurzer Zeit war ein Einloggen und die Konfiguration wie unter Basiskonfiguration von openwrt/kamikaze auf Linksys WRT54GL möglich.