cancel
Showing results for 
Search instead for 
Did you mean: 

Connect/Disconnect Internet on TG582n router via Telnet?

mplusnetuser
Grafter
Posts: 103
Registered: ‎03-02-2011

Connect/Disconnect Internet on TG582n router via Telnet?

What are the commands, if any, to connect and disconnect the Internet on a TG582n router via Telnet, please?
i.e. the equivalent of pressing the Connect/Disconnect button at http://192.168.1.254/cgi/b/bb/?be=0&l0=2&l1=-1
If it's not possible, is there any way to do it, other than via a web browser?
9 REPLIES 9
jelv
Seasoned Hero
Posts: 26,785
Thanks: 971
Fixes: 10
Registered: ‎10-04-2007

Re: Connect/Disconnect Internet on TG582n router via Telnet?

There's a CLI guide available from http://wiki.aa.org.uk/index.php/TG582N#Documents
I had a quick look but couldn't spot what was needed.
jelv (a.k.a Spoon Whittler)
   Why I have left Plusnet (warning: long post!)   
Broadband: Andrews & Arnold Home::1 (FTTC 80/20)
Line rental: Pulse 8 Home Line Rental (£14.40/month)
Mobile: iD mobile (£4/month)
apjashley1
Grafter
Posts: 307
Registered: ‎31-07-2012

Re: Connect/Disconnect Internet on TG582n router via Telnet?

There's always "system reboot"?
jelv
Seasoned Hero
Posts: 26,785
Thanks: 971
Fixes: 10
Registered: ‎10-04-2007

Re: Connect/Disconnect Internet on TG582n router via Telnet?

ppp ifattach intf=Internet
ppp ifdetach intf=Internet

Note that "Internet" is case dependant.
jelv (a.k.a Spoon Whittler)
   Why I have left Plusnet (warning: long post!)   
Broadband: Andrews & Arnold Home::1 (FTTC 80/20)
Line rental: Pulse 8 Home Line Rental (£14.40/month)
Mobile: iD mobile (£4/month)
mplusnetuser
Grafter
Posts: 103
Registered: ‎03-02-2011

Re: Connect/Disconnect Internet on TG582n router via Telnet?

Perfect, thanks jelv :).
With a little PowerPro script, I can now disconnect and reconnect (or just one or the other) in about 3 seconds, with a single click. That's quicker and easier than with (even) an open browser.
MisterW
Superuser
Superuser
Posts: 14,774
Thanks: 5,541
Fixes: 395
Registered: ‎30-07-2007

Re: Connect/Disconnect Internet on TG582n router via Telnet?

also you can take the dsl link down and up with
xdsl config status=down
xdsl config status=up

Superusers are not staff, but they do have a direct line of communication into the business in order to raise issues, concerns and feedback from the community.

jelv
Seasoned Hero
Posts: 26,785
Thanks: 971
Fixes: 10
Registered: ‎10-04-2007

Re: Connect/Disconnect Internet on TG582n router via Telnet?

Can we do that via the web interface? I was looking to do that the other day to force a new sync after I'd had an unexpected sync the previous evening with a resultant lower sync speed. At the moment after a disconnect of the PPP I unplug the phone line for a minute or so which is quicker than a modem power down and cold restart.
jelv (a.k.a Spoon Whittler)
   Why I have left Plusnet (warning: long post!)   
Broadband: Andrews & Arnold Home::1 (FTTC 80/20)
Line rental: Pulse 8 Home Line Rental (£14.40/month)
Mobile: iD mobile (£4/month)
MisterW
Superuser
Superuser
Posts: 14,774
Thanks: 5,541
Fixes: 395
Registered: ‎30-07-2007

Re: Connect/Disconnect Internet on TG582n router via Telnet?

I don't think so, I was looking for a 'controlled' way to do a resync the other day and couldn't find a 'disconnect' option on the web interface so went looking through the CLI.
I'm actual fact I'm about to revert to my trusty 2700HGV, I'm fed up with this 582 resyncing every couple of days.
I like a nice stable line for voip purposes and so try to do an initial sync in the late evening, ok it loses a little potential speed but with the 2700 it would then hold sync for weeks on end. The TG582n insists on resyncing every few days for no apparent reason...

Superusers are not staff, but they do have a direct line of communication into the business in order to raise issues, concerns and feedback from the community.

jelv
Seasoned Hero
Posts: 26,785
Thanks: 971
Fixes: 10
Registered: ‎10-04-2007

Re: Connect/Disconnect Internet on TG582n router via Telnet?

Are you on 20CN or 21CN?
jelv (a.k.a Spoon Whittler)
   Why I have left Plusnet (warning: long post!)   
Broadband: Andrews & Arnold Home::1 (FTTC 80/20)
Line rental: Pulse 8 Home Line Rental (£14.40/month)
Mobile: iD mobile (£4/month)
MisterW
Superuser
Superuser
Posts: 14,774
Thanks: 5,541
Fixes: 395
Registered: ‎30-07-2007

Re: Connect/Disconnect Internet on TG582n router via Telnet?

21cn

Superusers are not staff, but they do have a direct line of communication into the business in order to raise issues, concerns and feedback from the community.