Community discussions

MikroTik App
 
User avatar
Anastasia
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 57
Joined: Wed Oct 28, 2015 7:12 pm

New function. Turn on and turn off wi-fi through the console

Sat Jun 10, 2017 11:57 pm

Add a new item to the groups: Only turn on and turn off wi-fi. Analogue reboot. Now to make it possible to enable wi-fi, you need to add a user to the group for which you can write settings. But this user has the ability to record any settings. It's not safe. :-(
Since On the mikrotik there is no button on and off wi-fi (as on other models of routers) using the script you can do it safely. :-)
Image
 
gotsprings
Forum Guru
Forum Guru
Posts: 2307
Joined: Mon May 14, 2012 9:30 pm

Re: New function. Turn on and turn off wi-fi through the console

Mon Jun 12, 2017 5:35 pm

How about 2 scripts.
/interface wireless disable 0,1
/interface wireless enable 0,1
 
User avatar
BartoszP
Forum Guru
Forum Guru
Posts: 2989
Joined: Mon Jun 16, 2014 1:13 pm
Location: Poland

Re: New function. Turn on and turn off wi-fi through the console

Mon Jun 12, 2017 5:53 pm

I think that the idea is to enable/disable possibilty of turning off/on WiFi.
If it is CPE device then user wiill not be able to disable radio link. What about other settings such security, channel etc. ?
 
User avatar
JohnSmith75
just joined
Posts: 4
Joined: Mon Jun 12, 2017 2:14 pm
Location: USA

Re: New function. Turn on and turn off wi-fi through the console

Mon Jun 12, 2017 10:41 pm

Wow, many thanks for this. Must note and remember for the future use.
 
User avatar
Anastasia
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 57
Joined: Wed Oct 28, 2015 7:12 pm

Re: New function. Turn on and turn off wi-fi through the console

Tue Jun 13, 2017 2:23 pm

You can allow the user to change all settings or prevent all settings from changing. There is no way to change the wi-fi on and off settings only. Where to write to make this function?

Who is online

Users browsing this forum: No registered users and 9 guests