How to shutdown specific WiFi radio device(like 5GHz or 2GHz) that 'hostapd's?
I have WRT32x and runs three deamon like below.
/usr/sbin/hostapd -s -P /var/run/wifi-phy1.pid -B /var/run/hostapd-phy1.conf
/usr/sbin/hostapd -s -P /var/run/wifi-phy2.pid -B /var/run/hostapd-phy2.conf
/usr/sbin/hostapd -s -P /var/run/wifi-phy0.pid -B /var/run/hostapd-phy0.conf
I'd like to shutdown by proper script and command(like 'service wifi-1 stop')
when a condition met(like timer or so.).
Please give me an idea.
As far as I know the wireless configuration is looped over. Manipulation is done through the 'wifi' command - but for all enabled interfaces at the same time.
You can use "uci" on the command line to edit configuration files.
the "wifi" shellscript wrapper takes an optional second argument with the respective radio, e.g.
wifi up radio1
All you guys and all OpenWrt members are perfect.
The solution perfectly work.
Thank you so much.
If your problem is solved, please consider marking the topic as [Solved] (Click the pencil behind the topic...).
Oh. I didn't know that.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.