DrayTek UK Users' Community Forum
Help, Advice and Solutions from DrayTek Users
Can I reboot my Draytek externally with a script?
- killik
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
- Thank yous received: 0
13 Aug 2016 00:41 #86614
by killik
Can I reboot my Draytek externally with a script? was created by killik
Hello.
I frequently need to reboot my Draytek router and I do that by either using the router's power switch or through its web configurator page.
It's a bit tedious task, so I was wondering if I can accomplish it faster with a batch/script file. I click it and the router reboots.
Is this possible? Is there some simple way I can do this?
thanks for your help.
My system:
Windows 10 Pro 64bit
Draytek Vigor 2760n
FW: 1.2.1.3
I frequently need to reboot my Draytek router and I do that by either using the router's power switch or through its web configurator page.
It's a bit tedious task, so I was wondering if I can accomplish it faster with a batch/script file. I click it and the router reboots.
Is this possible? Is there some simple way I can do this?
thanks for your help.
My system:
Windows 10 Pro 64bit
Draytek Vigor 2760n
FW: 1.2.1.3
Please Log in or Create an account to join the conversation.
- hornbyp
- Offline
- Big Contributor
Less
More
- Posts: 1323
- Thank yous received: 0
13 Aug 2016 17:37 #86618
by hornbyp
Replied by hornbyp on topic Re: Can I reboot my Draytek externally with a script?
In answer to your questions 1) Is it possible? => YES. 2) Is there some simple way to do this? => Probably nothing as simple as you'd like
I suppose the first question is why does it need rebooting frequently? ... have you tried to resolve the underlying issue?
Doesn't the 2760n have a 'scheduled reboot' facility? Would that help?
Otherwise, you need to script either the Telnet or Web GUI interface functions. With Telnet, the commands you need to issue are documented, but you need to find some scripting/programming tool to implement them. With the Web GUI, you could use a Windows batch script and
CURL
... once you know how the interface works. You could use
Telerik Fiddler
to achieve that.
This might be of interest:
http://blog.dotsmart.net/2008/02/14/draytek-vigor-2800-reboot-script
, which is a similar method (javascript under Windows Scripting Host, to access the Web Gui)
I suppose the first question is why does it need rebooting frequently? ... have you tried to resolve the underlying issue?
Doesn't the 2760n have a 'scheduled reboot' facility? Would that help?
Otherwise, you need to script either the Telnet or Web GUI interface functions. With Telnet, the commands you need to issue are documented, but you need to find some scripting/programming tool to implement them. With the Web GUI, you could use a Windows batch script and
This might be of interest:
Please Log in or Create an account to join the conversation.
- killik
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
- Thank yous received: 0
28 Aug 2016 02:36 #86691
by killik
Replied by killik on topic Re: Can I reboot my Draytek externally with a script?
thanks, I created a small script which reboots the router through telnet. I am using this Telnet Scripting Tool to pass the necessary commands:
http://support.moonpoint.com/downloads/windows/network/Telnet/tst10.php
I needed this because I open many network connections at the same time (torrents, hundreds of Chrome tabs, online game) and sometimes after a long network uptime, either Windows or the router lose the internet connection and I need to reboot the router in order to get it back.
It doesnt happen often but it does happen.
Also I had no luck in making a successful Reconnect script for Jdownloader2 through its Wizard menu. This script solves the problem for good.
thanks again for the help.
I needed this because I open many network connections at the same time (torrents, hundreds of Chrome tabs, online game) and sometimes after a long network uptime, either Windows or the router lose the internet connection and I need to reboot the router in order to get it back.
It doesnt happen often but it does happen.
Also I had no luck in making a successful Reconnect script for Jdownloader2 through its Wizard menu. This script solves the problem for good.
thanks again for the help.
Please Log in or Create an account to join the conversation.
- hornbyp
- Offline
- Big Contributor
Less
More
- Posts: 1323
- Thank yous received: 0
30 Aug 2016 21:26 #86703
by hornbyp
That's a useful little tool, that I wasn't aware of!
Replied by hornbyp on topic Re: Can I reboot my Draytek externally with a script?
I am using this Telnet Scripting Tool to pass the necessary commands:killik wrote:
http://support.moonpoint.com/downloads/windows/network/Telnet/tst10.php
That's a useful little tool, that I wasn't aware of!
Please Log in or Create an account to join the conversation.
Moderators: Chris
Copyright © 2025 DrayTek