It appears that the WiFi Access Point starts approximately 30 seconds after boot on Reach Image v2.9.0 (and possibly other versions). How do I disable this?
I want the system to continuously scan for WiFi networks and connect when a known network is present. I have my networks configured in “/etc/wpa_supplicant/wpa_supplicant.conf”. I have a python script continuously running in the background that is checking whether the network is in Access Point mode, and if so tries to switch the WiFi to client mode. I use the wificontrol python package. Sometimes this doesn’t work, and I’m trying to determine the root cause of the issue and suspect there is other software running at the same time, conflicting with my software.
Additionally I am trying to disable wifi entirely when it is not needed by calling ‘/usr/sbin/rfkill block wifi’. This seems to sometimes work, but I have trouble calling this when called from a python script initiated with crontab.