You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to configure another program to know when RaspiWiFi is in host/configuration mode or just running normally. Is there an easy way to do this?
The text was updated successfully, but these errors were encountered:
I use the IP address to check if it is in host/configuration mode. This is my easy script... :)
#!/bin/bash
case $(ifconfig)
in "inet 10.0.0.1")
echo $inet "IP found in 10 range for AP mode, leaving DNS alone"
;;
*)
echo $inet "Not in AP mode anymore, let's call the next script"
/bin/bash /home/pi/wifi_fix_dns.sh
;;
esac`
I'm trying to configure another program to know when RaspiWiFi is in host/configuration mode or just running normally. Is there an easy way to do this?
The text was updated successfully, but these errors were encountered: