[Berlin-wireless] D-Link DIR-300 "Easy (tm)" Flasher

Alina Friedrichsen x-alina
Mo Nov 3 03:21:06 CET 2008


Hi,

ich kanns nicht lassen und hab jetzt versucht das Tool komplett Narrensicher zu machen. Ich hab versucht moeglichst alle Fallstricke automatisch von dem Tool zu umgehen und mehr Erklaerungstext geschrieben.
Ein erster Flash sieht unter den neuen Ubuntu jetzt z.B. so aus:

x-alina at starbuck:/~$ sudo aptitude install tftpd

[...]

x-alina at starbuck:~$ cd ~/Downloads
x-alina at starbuck:~/Downloads$ tar -zxf dir300-flash-0.9.4.tar.gz
x-alina at starbuck:~/Downloads$ cd dir300-flash
x-alina at starbuck:~/Downloads/dir300-flash$ sudo make install
install -m 755 -- dir300-flash.sh /usr/local/sbin/dir300-flash
/usr/local/sbin/dir300-flash --download || true
Downloading the bootloader RAM image... done
Downloading the bootloader ROM image... done
Downloading the factory bootloader ROM image... done

[NetworkManager auschalten! Im neuen Ubuntu ist er jetzt leider wesendlich hartneckiger als im LTS.]

x-alina at starbuck:~/Downloads/dir300-flash$ cd ~/OpenWrt/trunk
x-alina at starbuck:~/OpenWrt/trunk$ sudo dir300-flash 
Creating the TFTP directory "/srv/tftp"... done
Notice: It seems that an inetd-based TFTP daemon is installed but not running
So try to restart the internet superserver inetd... done
Add IP address 192.168.20.80/24 to interface "eth0"... done
Please connect now the DIR-300 wireless router directly to
the interface "eth0" and then power it on.
Waiting for the wireless router......... done
Testing for the factory bootloader... yes
Uploading the temporary bootloader RAM image... done
Add IP address 192.168.1.2/24 to interface "eth0"... done
Starting the temporary bootloader... done
Waiting for the temporary bootloader to come up.... done
Uploading the new bootloader ROM image... done
Warning: Do not power off or disconnect as this may break the wireless router!
Setting up bootloader configuration... done
Flashing the new bootloader... done
Resetting the wireless router... done
Waiting for the new bootloader.............. done
Uploading the new kernel image... done
Flashing the new kernel image... done
Uploading the new root filesystem... done
Flashing the new root filesystem... done
Resetting the wireless router... done
Delete IP address 192.168.20.80/24 from interface "eth0"... done
Delete IP address 192.168.1.2/24 from interface "eth0"... done
Try to stop the internet superserver inetd... done

Happy Hacking! ;)
x-alina at starbuck:~/OpenWrt/trunk$ 

-- 
"Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ...
Jetzt GMX ProMail testen: http://www.gmx.net/de/go/promail
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname   : dir300-flash-0.9.4.tar.gz
Dateityp    : application/x-gzip
Dateigröße  : 16615 bytes
Beschreibung: nicht verfügbar
URL         : <http://lists.berlin.freifunk.net/pipermail/berlin/attachments/20081103/ec820a04/attachment.bin>



Mehr Informationen über die Mailingliste Berlin