Kitz Forum

Broadband Related => Broadband Hardware => Topic started by: Weaver on May 05, 2019, 05:45:15 PM

Title: ZyXEL Modem/Routers - Remote Reconnect Over http
Post by: Weaver 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.
Title: Re: ZyXEL Modem/Routers - Remote Reconnect Over http
Post by: burakkucat 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
 >
Title: Re: ZyXEL Modem/Routers - Remote Reconnect Over http
Post by: Chrysalis 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.