I am trying to use my Fritzbox 7340 to debrick a TP-LINK WR1043ND router.
Like this: http://wiki.openwrt.org/toh/tp-link/tl-wr1043nd#oem.installation.using.the.tftp.and.rs232.method
I have connected a usb - ttl adapter to the 3 pins of the wr1043nd router board.
I connected this to the usb port of the fritzbox.
With make menuconfig in freetz trunk build environment I have chosen 'dnsmasq', 'Screen', 'Minicom' and in the drivers section: pl2303 and usbserial. (also ser2net and wget).
On usb stick with ntfs I put code.bin, the firmware for the tp link router and connect this to other usb port on fritzbox.
In Freetz menu, in dnsmasq settings I put port 0 in DNS to tell dnsmasq not to use DNS (and also to get rid of the error of port 53 already in use)
I enable tftp and point the tftproot to the root of the usb stick with code.bin so /var/media/ftp/uStor01
Now with both Screen and Minicom I can connect to router.
When I use Screen I type:
Screen /dev/ttyUSB0 115200
Now when I power up the tp link router the expected lines appear and also a 1 second window in which I can type 'tpl' to get to the prompt.
With 'setenv ipaddr 192.168.x.y' I set the ip address of the router to fit on the subnet of the fritzbox
With 'setenv serverip 192.168.x.z' I set the ip address of the tftp server to the tftp server running on the fritzbox.
Earlier I erased the firmware like in the manual.
Now I try to flash the router with code.bin firmware:
tftpboot 0x81000000 code.bin
I get this result:
root@fritz:/var/mod/root# screen /dev/ttyUSB0 115200
TFTP from server 192.168.x.y; our IP address is 192.168.x.z
Filename 'code.bin'.
Load address: 0x81000000
Loading: T T T T T T T T T T
Retry count exceeded; starting again
Using eth0 device
TFTP from server 192.168.x.y; our IP address is 192.168.x.z
Filename 'code.bin'.
Load address: 0x81000000
Loading: T T T T T T T T T T
So it is trying all the time to reach the tftp server, but fails.
Also I am using this fritzbox in IP client mode, so I get the ip addresses of the external router that connects to the internet.
Earlier I have also tried to flash the router from Windows 7 with the help of putty connecting to serial interface and tftp64 as tftp server on the 192.168.0.5 address (manual ip address configuration on pc), but with different versions of this software I still fail, it just doesn't find the tftp server.
What could be the problem here?
Is it bricked beyond repair? The problem now seems to be a wrong configuration.
Like this: http://wiki.openwrt.org/toh/tp-link/tl-wr1043nd#oem.installation.using.the.tftp.and.rs232.method
I have connected a usb - ttl adapter to the 3 pins of the wr1043nd router board.
I connected this to the usb port of the fritzbox.
With make menuconfig in freetz trunk build environment I have chosen 'dnsmasq', 'Screen', 'Minicom' and in the drivers section: pl2303 and usbserial. (also ser2net and wget).
On usb stick with ntfs I put code.bin, the firmware for the tp link router and connect this to other usb port on fritzbox.
In Freetz menu, in dnsmasq settings I put port 0 in DNS to tell dnsmasq not to use DNS (and also to get rid of the error of port 53 already in use)
I enable tftp and point the tftproot to the root of the usb stick with code.bin so /var/media/ftp/uStor01
Now with both Screen and Minicom I can connect to router.
When I use Screen I type:
Screen /dev/ttyUSB0 115200
Now when I power up the tp link router the expected lines appear and also a 1 second window in which I can type 'tpl' to get to the prompt.
With 'setenv ipaddr 192.168.x.y' I set the ip address of the router to fit on the subnet of the fritzbox
With 'setenv serverip 192.168.x.z' I set the ip address of the tftp server to the tftp server running on the fritzbox.
Earlier I erased the firmware like in the manual.
Now I try to flash the router with code.bin firmware:
tftpboot 0x81000000 code.bin
I get this result:
root@fritz:/var/mod/root# screen /dev/ttyUSB0 115200
TFTP from server 192.168.x.y; our IP address is 192.168.x.z
Filename 'code.bin'.
Load address: 0x81000000
Loading: T T T T T T T T T T
Retry count exceeded; starting again
Using eth0 device
TFTP from server 192.168.x.y; our IP address is 192.168.x.z
Filename 'code.bin'.
Load address: 0x81000000
Loading: T T T T T T T T T T
So it is trying all the time to reach the tftp server, but fails.
Also I am using this fritzbox in IP client mode, so I get the ip addresses of the external router that connects to the internet.
Earlier I have also tried to flash the router from Windows 7 with the help of putty connecting to serial interface and tftp64 as tftp server on the 192.168.0.5 address (manual ip address configuration on pc), but with different versions of this software I still fail, it just doesn't find the tftp server.
What could be the problem here?
Is it bricked beyond repair? The problem now seems to be a wrong configuration.
Zuletzt bearbeitet: