Reanimacja routera D-Link DI-514
user: adam_grzy@interia.pl
Witam, czy ktos moze mi pom=F3c, na ftp D-Linka znalazlem nowy firmwar 1.05 i pr=F3bowalem zaladowac go do swojego DI-514. Niestety po upgrade router nie odpowiada. Co teraz z tym mozna zrobic? Ile moze kosztowac naprawa? Z g=F3ry dziekuje za pomoc.=20 Pozdrawiam=20 Adam
Re: Reanimacja routera D-Link DI-514
user: ?UTF-8?B?UGlvdHIgVGFqZHXFmw
adam_grzy@interia.pl wrote: > Witam, > czy ktos moze mi pomóc, > na ftp D-Linka znalazlem nowy firmwar 1.05 i próbowalem zaladowac Być może to Ci pomoże, fragment tekstu który znalazłem u jednego rosjanina piszącego drivery do G604T: All D-Link modems (and not only) have service FTP server ADAM2 with the fixed IP address 10.8.8.8(for DSL-G604T - 10.48.88.66). In Linux you can simply start up eth0:1 subinterface, having root privileges of course: [root@mcmcc root]# ifconfig eth0:1 10.8.8.7 up Next i strated ftp with the IP 10.8.8.8: [igor@mcmcc igor]$ ftp 10.8.8.8 After that I turned on the modem keeping reset button pressed (but it is not so necessary - you just need to establish ftp connection while the modem early start) and then released it. In couple seconds I received the invitation and proceeded with the recovery process as it is listed below: Connected to 10.8.8.8. 220 ADAM2 FTP Server ready. 530 Please login with USER and PASS. 530 Please login with USER and PASS. KERBEROS_V4 rejected as an authentication type Name (10.8.8.8:igor): adam2 331 Password required for adam2. Password: adam2 230 User adam2 successfully logged in. Remote system type is UNIX. ftp> debug Debugging on (debug=1). ftp> bin ---> TYPE I 200 Type set to I. ftp> quote MEDIA FLSH ---> MEDIA FLSH 200 Media set to FLSH. ftp> put fs.img "fs.img mtd0" local: fs.img remote: fs.img mtd0 ---> PASV 227 Entering Passive Mode (10,8,8,8,162,0). ---> STOR fs.img mtd0 150 Opening BINARY mode data connection for file transfer. 226 Transfer complete. 1318920 bytes sent in 30.3 seconds (54 Kbytes/s) ftp> quote REBOOT ---> REBOOT 221-Thank you for using the FTP service on ADAM2. 221 Goodbye. ftp> quit ---> QUIT Some comments: I enabled debug mode for more obviousness. Be sure you enabled BINARY mode with the "bin" command right before typing "quote MEDIA FLSH". Now let's talk bout the MTD table, i.e. partitions on the flash disk: mtd0: FS image (to make it more simple I renamed it to fs.img which uploaded to the modem) mtd1: kernel image mtd2: service ftp server ADAM2 in person ;) mtd3: Environment + config.xml Environment is in the same place where config.xml is, i.e. in the beginning right before config.xml. Besides this is the reason I do not recommend to flash config.xml in such a way otherwise you can get environment area damaged. Writing process of the config.xml in D-links is not direct to mtd3 - to /dev/ticfg device which makes a gap of the first block in mtd3. (с) McMCC, 2004 -------------- P.S. While I examined and experimented on the kernel I made this recovery process very often. But I didn't hold RESET because the device activated ADAM2 service ftp by itself. Kernel image should be uploaded to mtd1 definitely! Not to any other device! ADAM2 is similar to BIOS program and has integrated FTP-server, console and can work with BOOTP. Lot's of useful info was taken here: http://www.akk.org/~enrik/fbox/recovery.txt ---- Environment area was damaged --- http://www.dlink.ru/phorum/viewtopic.php?t=6548 Q. Right after entering "put fs.img "fs.img mtd0" command I get this: 550:
