Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 ... 6 7 [8]

Author Topic: Hacking TP Link TD-W9970  (Read 30563 times)

Dray

  • Kitizen
  • ****
  • Posts: 2362
Re: Hacking TP Link TD-W9970
« Reply #105 on: October 31, 2017, 11:41:27 AM »

I think DLM gets upset if you mess with the snr. Itís prohibited in one of the BT SINs
Logged

sagittarius

  • Just arrived
  • *
  • Posts: 3
Re: Hacking TP Link TD-W9970
« Reply #106 on: October 31, 2017, 06:08:25 PM »

Thank you Dray for the explanations even though I'm in France.

I'm still interested for some feedback about the xdslctl configure -snr parameter with a VDSL2 profile.
« Last Edit: October 31, 2017, 06:14:01 PM by sagittarius »
Logged

kitzuser87430

  • Reg Member
  • ***
  • Posts: 423
Re: Hacking TP Link TD-W9970
« Reply #107 on: October 31, 2017, 08:45:45 PM »

As far as I know in the UK the "xdslctl configure -snr" command does not work on VDSL2 cabinets; the dslam just ignores the command.

Some ASUS xDSL routers (spawn of the devil) can override the dslam SNR and power back off.

Perhaps you could experiment for us and see if the "xdslctl configure -snr" command works in France.

The table on this page http://www.kitz.co.uk/routers/dg834GT_targetsnr.htm may give you some assistance.

Ian
Logged

user555

  • Just arrived
  • *
  • Posts: 1
Re: Hacking TP Link TD-W9970
« Reply #108 on: December 24, 2017, 02:32:37 PM »

Hello.
I've got W9970 v2.
By default, tp-link connects to VDSL2 with a profile 17a.
How to change a connection profile?
« Last Edit: December 24, 2017, 02:34:40 PM by user555 »
Logged

rafik24

  • Just arrived
  • *
  • Posts: 1
Re: Hacking TP Link TD-W9970
« Reply #109 on: December 28, 2017, 01:32:30 PM »

Hi All,

And a big thank you for your contribution to this thread.

I managed to get telnet access by following this thread and i was hopping i could install lede or other custom firmware on the 9970 but it seem like no trace on the net on what is supported and some kind of howto.

Would you happen to know where i can find this ?

Thanks,
Rafik
Logged

dgilbert2

  • Member
  • **
  • Posts: 27
Re: Hacking TP Link TD-W9970
« Reply #110 on: January 07, 2018, 08:53:38 PM »

Thank you for all the hard work in this thread  :)

I have just setup my W9970 V2 by following the post and files referenced below;

http://forum.kitz.co.uk/index.php/topic,17108.msg315358.html#msg315358

I then used custom command xdslctl in DSLstats and all seems sorted  :)

Just a note to say that it seems you need you use StatPOSTer-test3.jar now as test2 gave me a checksum error.
Logged

Flossies

  • Just arrived
  • *
  • Posts: 2
Re: Hacking TP Link TD-W9970
« Reply #111 on: March 30, 2018, 08:05:28 PM »

Hello, I'd like thank all (especially ejs) for the guidance...
I've recently acquired a TP-Link TD-W9970 V1.

I wanted a way to extract the conf.bin on GNU/Linux, so I had a look at the compression format.  It wasn't obvious so it took me a little time, largely because I don't know much about compression.  But in the end I managed to write a Python 3 utility to uncompress and compress the TP-link TD-W9970's config files; so config files can do a complete round trip from bin to xml and back.

It's a command line utility and should work on any OS/platform that can handle Python 3:
https://github.com/sta-c0000/tpconf_bin_xml

I also posted a little bit of extra information in the readme there about controlling the LEDs, timings, and where to get a couple of extra tools.
Fun stuff, hopefully someone else finds this useful, cheers.
Logged

burakkucat

  • Global Moderator
  • Senior Kitizen
  • *
  • Posts: 22601
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: Hacking TP Link TD-W9970
« Reply #112 on: March 30, 2018, 08:24:21 PM »

Welcome to the Kitz forum.  :)

Thank you for writing the utility and making it available. I'm sure it will prove useful.

Python is a language with which I am not familiar, so your code, having taken a look, remains a mystery to me.
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

Flossies

  • Just arrived
  • *
  • Posts: 2
Re: Hacking TP Link TD-W9970
« Reply #113 on: April 07, 2018, 01:15:56 PM »

Adding a little extra information here in case anyone else is interested:

The reason the description field gets executed is because it is quoted when the router launches the plug-and-play daemon, regardless if upnp is disabled in the configuration:
Code: [Select]
sh -c upnpd  -L  br0  -W  ppp1  -en  0  -nat 1 -port 80  -url  "http://www.tp-link.com"  -ma  "TP-LINK"  -mn  "TD-W9970"  -mv  "1.0"  -desc  "300Mbps Wireless N USB VDSL/ADSL Modem Router" &
Appears to only be two DES key(s) in firmware:
47 8D A5 0B F9 E3 D2 CF
   rdp_backupCfg & rdp_restoreCfg (conf.bin)
   rdp_saveModem3gFile > rsl_3g_saveModem3gFile
47 8D A5 0F F9 E3 D2 CB
   dm_loadCfg (/etc/default_config.xml) > dm_decryptFile
   dm_init (/etc/reduced_data_model.xml) > dm_decryptFile

For now, I have chosen to simply kill many of the obvious processes I donít need, and running my own instead:
killall -1 upnpd
killall ushare cwmp noipdns dyndns

This frees up more than half the ram.

Using latest busybox-mips, Iím running my own web server (httpd) on the router and several other misc. services managed by inetd.
Simple example: I wanted to be able to quickly get internet IP address from router, soÖ
inetd.conf line:
Code: [Select]
9970 stream tcp nowait admin /var/usbdisk/sda1/inetd/get-external-ip.shget-external-ip.sh:
Code: [Select]
ifconfig ppp1 | awk -F"[: ]+" '/inet addr:/ {print $4}'Then, to get internet IP address on my PC (or wherever inside LAN) I simply run:
Code: [Select]
nc gateway 9970
Looks like we can even run websocket.sh, fun.

Router is much more useful to me now, Thanks.
Happy hacking!
Logged

Koroshiya

  • Just arrived
  • *
  • Posts: 1
Re: Hacking TP Link TD-W9970
« Reply #114 on: April 28, 2018, 02:43:48 PM »

Hello and thanks guys.  ;)
I tweaked my snr margin (i have a poor adsl connection).

i earned 1mb/s in dl so i don't need to return my TD-W9970v2 to Amazon lol. Tanks for all. ^^
Logged
Pages: 1 ... 6 7 [8]
 

anything