TFTP flash

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 11:34, 25 December 2007 (edit)
Sash (Talk | contribs)
m (General)
← Previous diff
Revision as of 12:43, 27 December 2007 (edit) (undo)
Sash (Talk | contribs)
m (Windows)
Next diff →
Line 12: Line 12:
==Windows== ==Windows==
--ping the router permanently and see if it is responding<br>+-ping the router permanently <br>
ping 192.168.x.x -t ping 192.168.x.x -t
 +and see if it is responding, e.g. like this <br>
 +
 + 64 bytes from 192.168.1.123: icmp_seq=1 ttl=64 time=2.90 ms
 + 64 bytes from 192.168.1.123: icmp_seq=2 ttl=64 time=0.264 ms
 + 64 bytes from 192.168.1.123: icmp_seq=3 ttl=64 time=1.44 ms
 +
-reboot the router via web-if or powercycle (the ping response will stop)<br> -reboot the router via web-if or powercycle (the ping response will stop)<br>
--if you see the the first ping response again you will have to start the tftp upload in binary mode immediately. maybe the upload doesnt work the first time than you have to try the frist steps a few times. you have to be very fast! ;-)<br>+-if you see the the first ping response again ...
--when the upload is successful wait a few minutes (be patient! dont reset the router! keep waiting!) and the router will be responding under 192.168.1.1 with dd-wrt (maybe you will have to change your ip address first to be in the 192.168.1.x network ;-) )! username: root / pw: admin <br>+
 + From 192.168.1.123 icmp_seq=1 Destination Host Unreachable
 + From 192.168.1.123 icmp_seq=2 Destination Host Unreachable
 + 64 bytes from 192.168.1.1: icmp_seq=3 ttl=128 time=2.90 ms
 + 64 bytes from 192.168.1.1: icmp_seq=4 ttl=128 time=3.50 ms
 + 64 bytes from 192.168.1.1: icmp_seq=5 ttl=128 time=0.90 ms
 +... you will have to start the tftp upload in binary mode immediately. the ttl of the boot tftp server will be 128. this is the rigth time to flash. the ttl of ddwrt only 64. maybe the upload doesnt work the first time then you have to try the first steps a few times. you have to be very fast! ;-)<br>
 +-when the upload is successful wait a few minutes (be patient! dont reset the router! keep waiting!) and the router will be responding under 192.168.1.1 with dd-wrt (maybe you will have to change your ip address first to be in the 192.168.1.x network ;-) )! username: root / pw: admin <br>
==Linux== ==Linux==

Revision as of 12:43, 27 December 2007

Contents


General

This site describes HowTo do a initial flash or a tftp recovery flash for your device.

-make sure u have a tftp client installed (linux package, windows e.g. from sf.net])
-connect your router via a switch or hub to your pc
-make sure that you have a fixed ip address in the same network like router
-get the latest dd-wrt release here (plz use the mini version for devices with 4mb flash & the micro version for 2mb flash devices)

Windows

-ping the router permanently

 ping 192.168.x.x -t

and see if it is responding, e.g. like this

 64 bytes from 192.168.1.123: icmp_seq=1 ttl=64 time=2.90 ms
 64 bytes from 192.168.1.123: icmp_seq=2 ttl=64 time=0.264 ms
 64 bytes from 192.168.1.123: icmp_seq=3 ttl=64 time=1.44 ms

-reboot the router via web-if or powercycle (the ping response will stop)
-if you see the the first ping response again ...

 From 192.168.1.123 icmp_seq=1 Destination Host Unreachable
 From 192.168.1.123 icmp_seq=2 Destination Host Unreachable
 64 bytes from 192.168.1.1: icmp_seq=3 ttl=128 time=2.90 ms
 64 bytes from 192.168.1.1: icmp_seq=4 ttl=128 time=3.50 ms
 64 bytes from 192.168.1.1: icmp_seq=5 ttl=128 time=0.90 ms

... you will have to start the tftp upload in binary mode immediately. the ttl of the boot tftp server will be 128. this is the rigth time to flash. the ttl of ddwrt only 64. maybe the upload doesnt work the first time then you have to try the first steps a few times. you have to be very fast! ;-)
-when the upload is successful wait a few minutes (be patient! dont reset the router! keep waiting!) and the router will be responding under 192.168.1.1 with dd-wrt (maybe you will have to change your ip address first to be in the 192.168.1.x network ;-) )! username: root / pw: admin

Linux

for linux users it is equal like in this guide: Flash_Your_Siemens_SE505
maybe you will have to change the ip addresses to your needs!

Related Links

Flash_Your_Siemens_SE505