- Device 1 works properly and is connected to its wifi network.
- Device 2 can't activate its wifi modem; attempting to bring the interface up with ifup wlan0 fails. Scanning also fails (network isn't up)
- Device 3 was working properly (not connected to wifi but capable of wifi scanning) until I rebooted it. Then it experienced the same issue as device 2.
When testing on device 2 and 3, attempting to bring the interface up with ifup wlan0 results in the following error:
Code: Select all
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
ifup: failed to bring up wlan0
Code: Select all
Jul 01 09:47:20 debian wpa_supplicant[1514]: Successfully initialized wpa_supplicant
Jul 01 09:47:21 debian wpa_supplicant[1514]: Could not set interface wlan0 flags (UP): Operation not permitted
Jul 01 09:47:21 debian wpa_supplicant[1514]: nl80211: Could not set interface 'wlan0' UP
Jul 01 09:47:21 debian wpa_supplicant[1514]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Jul 01 09:47:21 debian wpa_supplicant[1514]: Could not set interface wlan0 flags (UP): Operation not permitted
Jul 01 09:47:21 debian wpa_supplicant[1514]: WEXT: Could not set interface 'wlan0' UP
Jul 01 09:47:21 debian wpa_supplicant[1514]: wlan0: Failed to initialize driver interface
What has already been tried, with no effect:
- Rebooting the system using the reboot command
- Unloading and reloading the driver (modprobe -r rtlwifi r8723bs; modprobe rtlwifi r8723bs)
- This appears to happen when the device was on but the wifi hasn't been used for several days or weeks. These are devices that are always on.
- After posting this, I turned the device off physically and had it rest for a couple minutes. Then turned it on, and wifi is fine. This was device 2. However, this doesn't solve my root issue - I'll need to be able to fix this without restarting the device.
Thanks