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

Login with username, password and session length
Advanced search  

News:

Pages: 1 [2] 3 4 ... 14

Author Topic: TP-link TD-W9980 [now available]  (Read 139333 times)

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 33879
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: TP-link TD-W9980 coming soon
« Reply #15 on: August 23, 2014, 11:36:12 PM »

Just seen your edit

Quote
Telnet is enabled but with a very limited set of commands.

Very limited :(

Access to the shell has also been removed

Code: [Select]
Welcome To Use TP-LINK COMMAND-LINE Interface Model.
-------------------------------------------------------
TP-LINK(conf)#sh
Command not found:sh
TP-LINK(conf)#shell
Command not found:shell
TP-LINK(conf)#SH
TP-LINK(conf)#                                                       <-------------  indicating that the facility to enter the  shell has been removed?

Highly disappointed that versions 0.6.0 1.7 and above has telnet access removed completely  >:(  >:( >:(


Quote
I already used firmware modification kit to look at the filesystem.

Good luck :)
« Last Edit: August 23, 2014, 11:38:20 PM by kitz »
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

zhadoom

  • Member
  • **
  • Posts: 40
  • 38/4 Mb/s - HG612
Re: TP-link TD-W9980 coming soon
« Reply #16 on: August 24, 2014, 01:14:58 AM »

Just seen your edit

Quote
Telnet is enabled but with a very limited set of commands.

Very limited :(

Access to the shell has also been removed

Code: [Select]
Welcome To Use TP-LINK COMMAND-LINE Interface Model.
-------------------------------------------------------
TP-LINK(conf)#sh
Command not found:sh
TP-LINK(conf)#shell
Command not found:shell
TP-LINK(conf)#SH
TP-LINK(conf)#                                                       <-------------  indicating that the facility to enter the  shell has been removed?

Highly disappointed that versions 0.6.0 1.7 and above has telnet access removed completely  >:(  >:( >:(


Quote
I already used firmware modification kit to look at the filesystem.

Good luck :)

telnetd is a link to busybox.
telnetd is invoked at /etc/init.d/rcS without any argument.
After google searching about  telnetd and busybox found that syntax:
Code: [Select]
telnetd -l /bin/sh
Monday I will test to see if this syntax will help.

Forgot to mention that the FMK could reassemble a working firmware. I alter and include some text files and it flashed ok.

This device will be almost perfect if openvpn and ssh server could be included in the firmware.
« Last Edit: August 24, 2014, 01:21:32 AM by zhadoom »
Logged

boost

  • Reg Member
  • ***
  • Posts: 768
Re: TP-link TD-W9980 coming soon
« Reply #17 on: August 24, 2014, 04:59:45 PM »

Does echo $SHELL return anything?
Logged

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 33879
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: TP-link TD-W9980 coming soon
« Reply #18 on: August 25, 2014, 12:04:28 AM »

Does echo $SHELL return anything?

Thanks Boost, TBH I didnt try that and I dont have the router on now to try it as Ive gone back to my Zyxel.
Aside from that, the firmware version now on... I cant even access telnet at all :(

I found something somewhere that indicated the command was #SH for the W8980. 
I found it strange that any other command would return "Command not found".  Yet if I used #SH  it just totally ignored the command and went straight back to the prompt.
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 43467
  • Penguins CAN fly
    • DSLstats
Re: TP-link TD-W9980 coming soon
« Reply #19 on: August 25, 2014, 07:09:29 AM »

I doubt if the command was actually '#SH'. This is common Unix terminology for typing a command when logged in as root (that's what the # means). The command was probably 'SH'. If you type the # as well, the command is ignored - I expect it has some significance, but I don't recall offhand what it is. Remember also that Unix commands are case sensitive.

If you see a $ prompt (indicating an ordinary user), one thing you can try is to type 'su' (substitute user) which is the normal way to upgrade a user to root. If you're asked for a password, it will probably be the same password as you use for the first login.
Logged
  Eric

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 33879
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: TP-link TD-W9980 coming soon
« Reply #20 on: August 25, 2014, 01:34:28 PM »

Quote
If you type the # as well,

Sorry if I misled,  I did type SH.  The # is there as the command prompt.  I also tried the lower case sh.

It was SH that was totally ignored and looped straight back to the command prompt.  Other attempts at possible commands (such as sh) returned "Command not found".

Code: [Select]
Welcome To Use TP-LINK COMMAND-LINE Interface Model.
-------------------------------------------------------
TP-LINK(conf)#sh
Command not found:sh
TP-LINK(conf)#shell
Command not found:shell
TP-LINK(conf)#SH
TP-LINK(conf)#   

I dont know if its co-incidence or not, but removing shell access could possibly be TPlinks response to the discovered tplink backdoor trojan that was discovered last year. :(
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

zhadoom

  • Member
  • **
  • Posts: 40
  • 38/4 Mb/s - HG612
Re: TP-link TD-W9980 coming soon
« Reply #21 on: August 25, 2014, 01:41:22 PM »

Tested invoking telnetd with "telnetd -l /bin/sh" . First I kill the telnetd process ( kill -s  9 processnumber ).
Works and a telnet from my PC shows a console without authentication.

Now I'm looking how to put authentication back ...

Logged

boost

  • Reg Member
  • ***
  • Posts: 768
Re: TP-link TD-W9980 coming soon
« Reply #22 on: August 25, 2014, 02:21:39 PM »

Quote
If you type the # as well,

Sorry if I misled,  I did type SH.  The # is there as the command prompt.  I also tried the lower case sh.

It was SH that was totally ignored and looped straight back to the command prompt.  Other attempts at possible commands (such as sh) returned "Command not found".

Code: [Select]
Welcome To Use TP-LINK COMMAND-LINE Interface Model.
-------------------------------------------------------
TP-LINK(conf)#sh
Command not found:sh
TP-LINK(conf)#shell
Command not found:shell
TP-LINK(conf)#SH
TP-LINK(conf)#   

I dont know if its co-incidence or not, but removing shell access could possibly be TPlinks response to the discovered tplink backdoor trojan that was discovered last year. :(


I wonder if the shell 'sh' was renamed to 'SH' and you are simply reinvoking the shell each time? All sounds pretty bizarre.

Why lock the EU out? 90% don't care and the 10% that do will despise your product and/or brand.
Logged

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 43467
  • Penguins CAN fly
    • DSLstats
Re: TP-link TD-W9980 coming soon
« Reply #23 on: August 25, 2014, 02:54:14 PM »

Quote
I wonder if the shell 'sh' was renamed to 'SH' and you are simply reinvoking the shell each time?

That sounds very plausible. If this is the case, then the shell is still available but some of the useful commands have been removed.
Logged
  Eric

zhadoom

  • Member
  • **
  • Posts: 40
  • 38/4 Mb/s - HG612
Re: TP-link TD-W9980 coming soon
« Reply #24 on: August 25, 2014, 02:59:04 PM »

Quote
I wonder if the shell 'sh' was renamed to 'SH' and you are simply reinvoking the shell each time?

That sounds very plausible. If this is the case, then the shell is still available but some of the useful commands have been removed.

sh is still present and usable. See my previous post.
Just change rcS file to run telnetd with -l /bin/sh .
Logged

zhadoom

  • Member
  • **
  • Posts: 40
  • 38/4 Mb/s - HG612
Re: TP-link TD-W9980 coming soon
« Reply #25 on: August 25, 2014, 10:35:40 PM »

To invoke a login screen in telnetd the syntax is :

Code: [Select]
telnetd -l /bin/login

Logged

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 33879
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: TP-link TD-W9980 coming soon
« Reply #26 on: August 29, 2014, 10:06:08 PM »

Quote
Highly disappointed that versions 0.6.0 1.7 and above has telnet access removed completely

I registered my dismay on this a couple of weeks ago and Ive now been sent a new version that has telnet access enabled. :)

------

Quote
To invoke a login screen in telnetd the syntax is :

Code: [Select]

telnetd -l /bin/login

Sorry if Im being thick, but Im a windows users who knows little about linux cmds, so dont know how to proceed   :-[ :(
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

zhadoom

  • Member
  • **
  • Posts: 40
  • 38/4 Mb/s - HG612
Re: TP-link TD-W9980 coming soon
« Reply #27 on: September 01, 2014, 12:17:55 PM »

Quote
Highly disappointed that versions 0.6.0 1.7 and above has telnet access removed completely

I registered my dismay on this a couple of weeks ago and Ive now been sent a new version that has telnet access enabled. :)

------

Quote
To invoke a login screen in telnetd the syntax is :

Code: [Select]

telnetd -l /bin/login

Sorry if Im being thick, but Im a windows users who knows little about linux cmds, so dont know how to proceed   :-[ :(

I access the modem by TTL serial adapter conected to the header J7. ( user admin / password 1234 ).
I changed the way that telnetd is invoked.
The original rcS file calls telnetd without any parameters.
Changing the file to telnetd -l /bin/sh produces a root console via telnet without login screen.
Changing the file to telnetd -l /bin/login produces a sh console with classic login screen.
The changes was made using FMK.

Since the new Tplink firmwares for Lantiq are signed, the update page doesn't accept the files.
The changed firmware could only be flashed using U-BOOT + tftp.

http://wiki.openwrt.org/toh/tp-link/td-w8970

« Last Edit: September 01, 2014, 12:25:13 PM by zhadoom »
Logged

decks

  • Just arrived
  • *
  • Posts: 2
Re: TP-link TD-W9980 coming soon
« Reply #28 on: September 02, 2014, 06:08:52 PM »

Cant make upgrade on 8970.... after tftp load... i try bootm and gets: lzma uncompress or overwrite error 1  must RESET board to recover... i see the adress is different ... normally  it is 0x7a0000 and here is different...how to make it proper ??
and ideas ?
Logged

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 33879
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: TP-link TD-W9980 coming soon
« Reply #29 on: September 02, 2014, 08:54:59 PM »

Quote
I access the modem by TTL serial adapter conected to the header J7.

Ahh thank you for the explanation.   I think I'll pass on that  :-[
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker
Pages: 1 [2] 3 4 ... 14