OpenWrt Forum Archive

Topic: Enable / Disable Wireless Controller from the Command Line

The content of this topic has been archived on 26 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I have been disabling the wifi signal for my router by using the Network Tab =>Wifi sub-tab and clicking the enable / disable button whenever I want or do not want to broadcast a signal. I know how to login by:

[user@Localhost ~]$ ssh root@192.168.1.1
root@OpenWrt:~#

Is there a line command I can enter to toggle the wireless controller radio on and off.

Thanks for any help.

ssh root@192.168.1.1 ". /etc/profile; wifi down"
ssh root@192.168.1.1 ". /etc/profile; wifi up"

The discussion might have continued from here.