I looked at your new script. You correct channel in the file /tmp/run/hostapd-phy0.conf (sed -i "/channel=/c\channel=$CH" /tmp/run/hostapd-phy0.conf). And then you start the service with the file /var/run/hostapd-phy0.conf (/usr/sbin/hostapd -P /var/run/wifi-phy0.pid -B...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.