OpenWrt Forum Archive

Topic: Tp-Link td-w8970

The content of this topic has been archived between 26 Mar 2018 and 7 May 2018. Unfortunately there are posts – most likely complete pages – missing.

Toutatis
I do not think about ISP
Most probably something in the router
and it is not a software bug.
My has around 10000 errors on nas0 interface (command ifconfig)
If I find the fault I will publish info here

(Last edited by Snakus on 22 Nov 2016, 14:38)

Toutatis
I have spent a lot of time trying to make working properly my routers (both Lantiq based).
Seems to me Lantiq platform is very sensitive to pulsed interference from power supply.

Stability a little improved when i used PSU Mean Well LRS-35-12. But some kind of pulsed interference require a grounding of this PSU.
Also DC Voltage is important. Too high over 12.6V will produce more errors, Too law (less then 12.2v) - and LAN is not working properly.

At the moment I did not get work of the router perfect on both stock and LEDE firmware
Here is statistic after 2 days of work with 1 DSL reconnect:

# ifconfig
br-lan    Link encap:Ethernet  HWaddr C4:6E:1F:64:EA:64  
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::c66e:1fff:fe64:ea64/64 Scope:Link
          inet6 addr: fd3b:e3bd:6bc7::1/60 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6197841 errors:0 dropped:10 overruns:0 frame:0
          TX packets:9589447 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1499213096 (1.3 GiB)  TX bytes:11862586139 (11.0 GiB)

eth0      Link encap:Ethernet  HWaddr C4:6E:1F:64:EA:64  
          inet6 addr: fe80::c66e:1fff:fe64:ea64/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4436901 errors:0 dropped:9 overruns:0 frame:0
          TX packets:6281206 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1467682647 (1.3 GiB)  TX bytes:3092970215 (2.8 GiB)

eth0.1    Link encap:Ethernet  HWaddr C4:6E:1F:64:EA:64  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4436742 errors:0 dropped:91 overruns:0 frame:0
          TX packets:6281180 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1352312465 (1.2 GiB)  TX bytes:7336737721 (6.8 GiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:45 errors:0 dropped:0 overruns:0 frame:0
          TX packets:45 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:5547 (5.4 KiB)  TX bytes:5547 (5.4 KiB)

nas0      Link encap:Ethernet  HWaddr C4:6E:1F:64:EA:65  
          inet addr:178.92.124.189  Bcast:178.92.127.255  Mask:255.255.252.0
          inet6 addr: fe80::c66e:1fff:fe64:ea65/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9781580 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6380417 errors:8247 dropped:0 overruns:8247 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3151952178 (2.9 GiB)  TX bytes:1658941056 (1.5 GiB)

wlan0     Link encap:Ethernet  HWaddr C4:6E:1F:64:EA:66  
          inet6 addr: fe80::c66e:1fff:fe64:ea66/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1815451 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3351671 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:181756735 (173.3 MiB)  TX bytes:4595231724 (4.2 GiB)

As you can see a lot of errors on DSL interface and some dropped packets on the LAN.

PS this is the last post here. I will move to LEDE forum

(Last edited by Snakus on 3 Dec 2016, 10:44)

Thanks Snakus could you to let me know the thread name in LEDE forum? Did you keep you name?

FYI, I don't get any error, drop, overrun, etc for few days (more than 12 GiB TX/RX), I'd guess you have an hardware issue, no?

I am experiencing strange racing issues in the latest LEDE versions (right now r2523).
the wifi doesnt usually come up after reboot and requires 'wifi up' command (the log shows wifi command gets issued before wifi driver gets initialized)
nas0 interface also usually(sometimes it does) doesn't come up on it's own and requires manually restarting br2684ctl service.

Hi all,
I have a td 8970 with this firmware version:
0.6.0 2.1 v000c.0 Build 130415 Rel.34164n
(never updated since I bought it many years ago).
Can I install openwrt chaos calmer or some newer lede compiled versions from web interface?
If so, do I have to use the sysupgrade file or other kind of firmware?
Thanks in advance

No, you cant. You can install Openwrt/Lede firmware using wiring or using clip-in programmer. We are doing this all the time for 20 euros. Later upgrades via web after then are possible.

Is there a difference between OpenWRT and LEDE (which is a fork from OpenWRT)? What's recommended for the TD-W8970?

I have a w8970 with this firmware version:
0.6.0 2.1 v000c.0 Build 130415 Rel.34164n

I install openwrt 15.05 from web interface !
I follow this guide:
wiki.openwrt.org/toh/tp-link/td-w8970
Table of contents:
Web Interface Hack (Install OpenWrt without opening the case)

flatron2400 wrote:

I have a w8970 with this firmware version:
0.6.0 2.1 v000c.0 Build 130415 Rel.34164n

I install openwrt 15.05 from web interface !
I follow this guide:
wiki.openwrt.org/toh/tp-link/td-w8970
Table of contents:
Web Interface Hack (Install OpenWrt without opening the case)

How did you flash the image itself, was it by following the steps here? :

wiki.openwrt.org/toh/tp-link/td-w9980 ?

hi . i have bootloader corrupt.
I'm entered in UART mode and upload uboot mkresin modified but tftpboot not working :

                                                                   
U-Boot 2010.06-LANTIQ-v-2.0.40 (Dec 04 2015 - 09:20:29)                         
                                                                                
CLOCK CPU 500M RAM 250M                                                         
DRAM:  64 MiB                                                                   
Using default environment                                                       
                                                                                
In:    serial                                                                   
Out:   serial                                                                   
Err:   serial                                                                   
Net:   Internal phy(GE) firmware version: 0x841d                                
vr9 Switch8192 KiB W25Q64 at 0:3 is now current device                          
                                                                                
                                                                                
Type "run flash_nfs" to mount root filesystem over NFS                          
                                                                                
Hit any key to stop autoboot:  0                                                
8192 KiB W25Q64 at 0:3 is now current device                                    
8192 KiB W25Q64 at 0:3 is now current device                                    
        Uncompressing ... LZMA: uncompress or overwrite error 1 - must RESET bor
VR9 # setenv ipaddr 192.168.1.1                                                 
VR9 # setenv serverip 192.168.1.100                                             
VR9 # tftpboot 0x80800000 u-boot.bin                                            
8192 KiB W25Q64 at 0:3 is now current device                                    
*** ERROR: `ethaddr' not set                                                    
8192 KiB W25Q64 at 0:3 is now current device                                    
VR9 #                                                                           
VR9 # tftpboot 0x80800000 u-boot.bin                                            
8192 KiB W25Q64 at 0:3 is now current device                                    
*** ERROR: `ethaddr' not set                                                    
8192 KiB W25Q64 at 0:3 is now current device                                    
VR9 # setenv ethaddr 00:0C:29:95:1C:2b                                          
Can't overwrite "ethaddr"                                                       
VR9 # tftpboot                                                                  
8192 KiB W25Q64 at 0:3 is now current device                                    
*** ERROR: `ethaddr' not set                                                    
8192 KiB W25Q64 at 0:3 is now current device     

where is the problem?

Hello guys, I'm new in this forum, I think my router is bricked.
I've followed all the steps provided by s7mx1 and at the last steps when I used these two commands :

cat /var/usbdisk/sda1/td-w8970/openwrt-lantiq-xrx200-TDW8970-sysupgrade.image > /dev/mtdblock1
cat /var/usbdisk/sda1/td-w8970/openwrt-lantiq-xrx200-TDW8970-sysupgrade-1.image > /dev/mtdblock2

I got two different errors, for the first command I got "no such space left on device" and the second command gave different error "there is no such directory" or something like that ( I can't remember it exactly )

What should I do ? sorry for being noob, I looked at Debricking page and I couldn't find my exact problem. I guess there is something wrong with mtdblock2.
After my router rebooted, only power light is on and the rest of them are off.
----
edit: I think I've found the source of the problem and that's the dd, that was the first time I tried to use dd and I downloaded it from chrysocome.net and when I used this command for input, I got the samething for output, appreantly that's the problem.

dd if=openwrt-lantiq-xrx200-TDW8970-sysupgrade.image bs=1310720 skip=1 of=openwrt-lantiq-xrx200-TDW8970-sysupgrade-1.image

Anyway I screwed up, Guys what should I do ?

(Last edited by sohilj23 on 29 Mar 2017, 14:19)

sohilj23 wrote:

Anyway I screwed up, Guys what should I do ?

Well, seems you erased oem kernel partition and end up with broken openwrt kernel. We can see that opewrt kernel has size: openwrt-15.05.1-lantiq-xrx200-TDW8970-uImage    1599375 bytes but in your logs only 1310720 bytes of it has been written.
All you have to do is to open case, connect UART TTL-serial adapter, read carefuly article here: https://wiki.openwrt.org/toh/tp-link/td-w8970 and start to install openwrt via serial/tftp method.

Thanks for information, I think all the problem comes from DD, I used it on windows and I don't have any knowledge of using that, any command I use it doesn't work and I get same command in output. Is there something wrong with DD ? or I don't know anything of it ?

I've bought CH340G Serial Converter from Aliexpress and it's on the way. I got some pins ( 6pin, 8pin, 10pin),
Can you see if I got the right item ? I have put the links down below .

aliexpress.c o m/item/1PCS-CH340G-Serial-Converter-USB-2-0-To-TTL-6PIN-Module-for-PRO-mini-Instead-of/32309334168.html

Also I found way on the Internet, about using "TFTPD32" software and holding reset button for 4-5 sec and meanwhile turning on router, it will try to get the firmware automatically but I couldn't make it and after a few hours of trying it didn't work, the problem was with TFTP server address, I couldn't find it and also only power link and LAN is up, the rest of the lights are off.


About using serial connector, What part did you mean I need to follow ? Is it the right one ?

Installation

At the time of writing, the only known method of installation involves access to the bootloader, which requires using the serial console. This in turn requires opening the device to access the contacts on the circuit board.

Once a serial console has been established (see below for further details) the following method worked for at least one person:

Download the openwrt-lantiq-xrx200-TDW8970-uImage-initramfs image from wherever you can find it (the official release does not supply a uImage with an initramfs, so booting that just gives you an error about a missing root filesystem.)
You can build the image with initramfs yourself (see OpenWrt build system). Note that it's necessary to choose to compress the initramfs with LZMA (this worked at least for me) to succesfully boot.
Ensure that you have a working tftp server on you system, serving the initramfs image, and to have ethernet connnected to the device with a proper ip address set.
Connect to the serial console, power the device on and press any key on the serial console until you get a prompt, then run commands similar to these:
Set the device's IP if you don't want the default 192.168.1.1: (so you don't have to move your TFTP server onto a different subnet)


Thanks in advance smile.

(Last edited by sohilj23 on 1 Apr 2017, 11:49)

You are right that command is wrong.
I uploaded screenshot of DD, whenever I enter any command it's like that,Actually I copied that command from s7mx1 post.
imgur.com/cUGfGTf

I've successfully flashed OpeWrt on this router! smile

As I backed-up the mtd partitions of the OEM TP-Link firmware, I would like to experiment the "revert back procedure"...

Which steps I have to follow to flash the original firmware?

Thanks for your help!

M3m3nt0 wrote:

I've successfully flashed OpeWrt on this router! smile

As I backed-up the mtd partitions of the OEM TP-Link firmware, I would like to experiment the "revert back procedure"...

Which steps I have to follow to flash the original firmware?

Thanks for your help!

I forgot to mention that I have no serial access (at the moment); I've installed OpenWrt via telnet.

What I try to accomplish is re-install original firmware without serial access (just for testing purpose and to enrich the wiki!)

I imaging I could simply write back the mtd partitions and reboot, but I have no idea if I could simply do that or not.

Thanks folks smile

M3m3nt0 wrote:

I've successfully flashed OpeWrt on this router! smile

As I backed-up the mtd partitions of the OEM TP-Link firmware, I would like to experiment the "revert back procedure"...

Given you don't have serial access, would you mind outlining the steps you took to flash it? I followed the recipe on the wiki, as I described here:

https://forum.openwrt.org/viewtopic.php … 29#p343429

and the router didn't come back after the reflash/reboot.

bassplayerchris wrote:
M3m3nt0 wrote:

I've successfully flashed OpeWrt on this router! smile

As I backed-up the mtd partitions of the OEM TP-Link firmware, I would like to experiment the "revert back procedure"...

Given you don't have serial access, would you mind outlining the steps you took to flash it? I followed the recipe on the wiki, as I described here:

https://forum.openwrt.org/viewtopic.php … 29#p343429

and the router didn't come back after the reflash/reboot.

I've just followed this steps from the wiki page of the TP-Link TD-W9980; the only part i've skipped is "Install DSL drivers".

If you need more in-deep explanation, just ask me wink

M3m3nt0 wrote:

I've just followed this steps from the wiki page of the TP-Link TD-W9980; the only part i've skipped is "Install DSL drivers".

If you need more in-deep explanation, just ask me wink

Followed the same instructions on another TD-8970 (again another version 1.2) and it succeeded using identical commands, so I suspect there was a minor revision difference either in hardware or firmware that causes the upgrade to either be successful or not based on initial state of the router.

Hi folks I need help. I have V1.0 hardware and both web hack (via SSID injection) and the java tool configuration hack failed. I managed to solder serial pins and now I have serial access. But I stopped at the very first instruction to "Download the openwrt-lantiq-xrx200-TDW8970-uImage-initramfs image from wherever you can find it"

Does anybody have this or another suitable file?

(Last edited by archeoamp on 11 Jun 2017, 17:49)

archeoamp wrote:

Hi folks I need help. I have V1.0 hardware and both web hack (via SSID injection) and the java tool configuration hack failed. I managed to solder serial pins and now I have serial access. But I stopped at the very first instruction to "Download the openwrt-lantiq-xrx200-TDW8970-uImage-initramfs image from wherever you can find it"

Does anybody have this or another suitable file?

Have you tried the installation direct to flash as explained in the WIKI?

Nope, but I followed instructions from post nr.319 and that worked. Now I have LEDE up and running.

I have installed OpenWrt on my TP-Link TD-W8970 following the instructions in the wiki for TD-W9980: Web Interface Hack (Install openWRT without opening the case). Did not install DSL drivers because I do not have internet for this router and only want to use its Wifi to connect to my local network. Everything seems to be working fine, except that changes I make in the web interface, e.g change root password or enable Wifi, is not remebered/saved after reboot. It seems to me (newbie) as if changes remain only in volatile memory. How to find out what is going on, please help.

I have a 8970 that doesn't boot , only power lights up and wifi (faintly) .Usb -ttl method can't find connection. Is there an image to flash with usb eeprom programmer to revive ? Thanks

I have one of these routers running LEDE with SQM (cake/codel) turned on (not significant in itself - but mentioned because of associated circumnstances). I also have collectd so I can collect cpu/mem stats. If I saturate the connection by triggering lots of downloads everything works fine for sometime.

However at some point the router will drop all connections (all TCP connections - the ADSL2 connection itself stays up fine), this is associated with a brief and sudden spike in CPU. Nothing else is happening on the router at the time.  I should point out that the ADSL2 is connecting at around 20Mb/s so it's not as if I'm running into the internal bandwidth limit.