DrayTek UK Users' Community Forum

Help, Advice and Solutions from DrayTek Users

Batch file to start/stop wifi

  • asimov
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 Oct 2016 00:50 #86979 by asimov
Batch file to start/stop wifi was created by asimov
Hi,

I own a Vigor 2820vn. Is it possible to create a batch file that switch (start/stop) the wifi? Obviously, to use on my local network ;)

Thanks!

Please Log in or Create an account to join the conversation.

More
11 Oct 2016 09:10 #86981 by admin3
Replied by admin3 on topic Re: Batch file to start/stop wifi
Have a look for "Telnet Scripting Tool" which can do batch files, then the commands on the router are:
Code:
> wl act on % Set Wlan to Enable . > wl act off % Set Wlan to Disable . >



Forum Administrator

Please Log in or Create an account to join the conversation.

  • asimov
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 Oct 2016 15:20 #86985 by asimov
Replied by asimov on topic Re: Batch file to start/stop wifi
Great. Thank you! I found the Telnet Commands pdf.

I don't find a command to know the status of the Wifi (enable/disable). Is there one?

Please Log in or Create an account to join the conversation.

More
12 Oct 2016 10:56 #86988 by admin3
Replied by admin3 on topic Re: Batch file to start/stop wifi
The command that shows the WLAN status via telnet is "wl set" :)



Forum Administrator

Please Log in or Create an account to join the conversation.

Moderators: ChrisSami