Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a Thomson TG585 V7 router (Flash image : 8.2.7.7.0 , Build name : ZZ5XKB8.277)

I want to Connect and Disconnect the internet via Telnet.

This is very easy from the web interface, but things are getting difficult via telnet. Any ideas?

PS. Even on other routers, where do you go to do this? I am clueless

[firewall]     [service]      [connection]   [cwmp]         [dhcp]
[dns]          [dsd]          [dyndns]       [eth]          [atm]
[config]       [debug]        [env]          [expr]         [hostmgr]
[ids]          [igmp]         [interface]    [ip]           [ipqos]
[label]        [language]     [mbus]         [memm]         [mlp]
[nat]          [ppp]          [pptp]         [script]       [sntp]
[software]     [statecheck]   [system]       [systemlog]    [tls]
[upgrade]      [upnp]         [user]         [wireless]     [xdsl]

this is the menu of the router via telnet.

share|improve this question

migrated from serverfault.com Dec 18 '11 at 15:07

This question came from our site for system and network administrators.

1 Answer 1

up vote 1 down vote accepted

i feel proud about my self!

Disconnect internet

:ppp ifdetach intf=Internet

Connect internet

:ppp ifattach intf=Internet
share|improve this answer
    
I am totally begging you here... how did you learn how to do this? I have a Thompson router as well and I get the same menu system, but I have to troll through the menu's and sub-menu's to do a reboot, which means I can't automate it using software. However, with your command, I can (using a telnet control), and I can make a freeware application so that anyone can restart or reconnect their router at the click of one button (instead of walking upstairs to the router several times a day). I can give you a copy too, and it'll be free. Please please, give me all the leads you have :). –  user51047 Nov 23 '14 at 3:40
    
I was just playing around and figure it out. Also, to make such software you'll need to somehow store (securely) the password of the admin user. The software would have to talk via telnet. To do this, I used c# and a sample telnet I found. It's not that difficult, I've done it for my self. If you have programming questions try asking in stackoverflow.com instead of here. –  Odys Nov 23 '14 at 9:50

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.