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:

Author Topic: ZyXEL Modem/Routers - Remote Reconnect Over http  (Read 935 times)

Weaver

  • Senior Kitizen
  • ******
  • Posts: 11459
  • Retd s/w dev; A&A; 4x7km ADSL2 lines; Firebrick
ZyXEL Modem/Routers - Remote Reconnect Over http
« on: May 05, 2019, 05:45:15 PM »

I’m wondering if I can get my VMG 1312-B10A to drop the ADSL link and reconnect remotely using http. There is a telnet command that will do it (which is adsl connection --up) and if I only had access to a telnet-speaking library function on my iPad then it would be so easy, but as usual I am using the iOS Shortcuts programming framework and the lack of telnet in the library is making life a nightmare. (So ironically, there’s no ‘shortcut’). So I am stuck with using http and I assume it will be a nightmare.

Is there something in the web UI that could be accessed programmatically? Something that would just make it drop the link and bring it back up again? I know I could reboot the modem but that is horrible as it takes over four mins iirc to come back up, something ridiculous like that.
Logged

burakkucat

  • Respected
  • Senior Kitizen
  • *
  • Posts: 38300
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: ZyXEL Modem/Routers - Remote Reconnect Over http
« Reply #1 on: May 05, 2019, 08:42:45 PM »

What about ssh support? Or is that also lacking in the library?  :-\

The following works for me --

Code: [Select]
[bcat ~]$ ssh supervisor@AP
supervisor@ap's password:
 > xdslctl connection --up
 >
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.

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 7382
  • VM Gig1 - AAISP L2TP
Re: ZyXEL Modem/Routers - Remote Reconnect Over http
« Reply #2 on: May 06, 2019, 01:46:45 AM »

I think there is a way but I expect it will be more work?

You would need to maybe use a program that moves the mouse to click on the option, I will check tomorrow, when I have more energy to see where in the gui one would trigger a resync, but even if there is no disconnect reconnect button, simply hitting apply on xDSL settings will very likely trigger a resync.
Logged