Hi all,
it is possible to configure wifi down by cron. The core are these commands:
wifi up
wifi down
Is there any way how to disable wifi by name/UID? The taget is to disable regular wifi and let the guest wifi runs all time.
Hi all,
it is possible to configure wifi down by cron. The core are these commands:
wifi up
wifi down
Is there any way how to disable wifi by name/UID? The taget is to disable regular wifi and let the guest wifi runs all time.
Hello,
I personally using just one wifi at the time (ie. when visitor(s) comes, intra wifi is shutdowned and guest wifi is started) by this command:
uci set wireless.@wifi-iface[1].disabled=1;
uci set wireless.@wifi-iface[0].disabled=0;
uci commit wireless;
wifi;
You need to figure your order, but basically by this I think you can achieve what you want…
P.S.: Automatic shutdown wifi, when everyone are at work is interesting idea
Just for your information: /sbin/wifi takes an optional second argument to specify a certain radio, e.g.:
wifi down radio0
… to disable only the first radio. Said that, /sbin/wifi is a normal script … just check the source with cat or nano.