My Pi 3B+ has got itself into a pickle. I got down this rabbit hole because my original problem was that I couldn't connect to the Pi over Wifi unless the ethernet was also plugged in. At that point in time I had Wifi configured with wpa_supplicant on The Kearney Gaff SSID and it was working fine BUT only if ethernet was also plugged in.
I decided to remove it from wpa_supplicant, shut down the service and tried to configure it with Network Manager to see if things changed.
I added it, but it couldn't connect (yes i double checked the password), so I removed it again.
These are the relevant commands from my historyEverything looks clean from the NM pov, so I don't think this is what caused the fuck up. But it's a mystery why it couldn't connect.
Since that didn't work I decided to try wpa_supplicant again.
I used raspi-config to try and set it up, but it too was not able to connect.
So i fell back to editing the config file directly.
Note that I have 2 different SSIDs
The Kearney Gaff
The Kearney IoT
I've tried both of them in wpa_supplicant.conf to no avail. This is the current contentThen I noticed in the journal that wpa_supplicant was always continuously failing to connect to the The Kearney IoT SSID.
This didn't make sense because The Kearney Gaff was in the config. I rebooted, thinking something's cached, but nothing changed.
I've checked all wpa_supplicant files that I could find but The Kearney IoT isn't in any of them.
Can someone shed some light on what could be going on here?
I decided to remove it from wpa_supplicant, shut down the service and tried to configure it with Network Manager to see if things changed.
I added it, but it couldn't connect (yes i double checked the password), so I removed it again.
These are the relevant commands from my history
Code:
root@family-room-pi:~# history | grep Kearney 49 nmcli device wlan0 connect "The Kearney IoT" password "xxxxxxxx" 62 nmcli conn up "The Kearney IoT" 69 nmcli conn delete "The Kearney IoT"
Since that didn't work I decided to try wpa_supplicant again.
I used raspi-config to try and set it up, but it too was not able to connect.
So i fell back to editing the config file directly.
Note that I have 2 different SSIDs
The Kearney Gaff
The Kearney IoT
I've tried both of them in wpa_supplicant.conf to no avail. This is the current content
Code:
root@family-room-pi:~# cat /etc/wpa_supplicant/wpa_supplicant.confctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdevupdate_config=1network={ ssid="The Kearney Gaff" psk="xxxxxxxx"}
This didn't make sense because The Kearney Gaff was in the config. I rebooted, thinking something's cached, but nothing changed.
Code:
root@family-room-pi:~# journalctl -u wpa_supplicant.service===========================================================Nov 14 10:10:04 family-room-pi wpa_supplicant[576]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="The Kearney IoT" auth_failures=2 duration=20 reason=CONN_>Nov 14 10:10:18 family-room-pi wpa_supplicant[576]: wlan0: Trying to associate with SSID 'The Kearney IoT'Nov 14 10:10:18 family-room-pi wpa_supplicant[576]: wlan0: CTRL-EVENT-ASSOC-REJECT bssid=74:83:c2:81:db:db status_code=16Nov 14 10:10:18 family-room-pi wpa_supplicant[576]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="The Kearney IoT" auth_failures=1 duration=10 reason=CONN_>Nov 14 10:10:29 family-room-pi wpa_supplicant[576]: wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="The Kearney IoT"Nov 14 10:10:29 family-room-pi wpa_supplicant[576]: wlan0: Trying to associate with SSID 'The Kearney IoT'Nov 14 10:10:29 family-room-pi wpa_supplicant[576]: wlan0: CTRL-EVENT-ASSOC-REJECT bssid=74:83:c2:81:db:db status_code=16Nov 14 10:10:29 family-room-pi wpa_supplicant[576]: BSSID 74:83:c2:81:db:db ignore list count incremented to 2, ignoring for 10 secondsNov 14 10:10:29 family-room-pi wpa_supplicant[576]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="The Kearney IoT" auth_failures=2 duration=20 reason=CONN_>Nov 14 10:21:39 family-room-pi wpa_supplicant[576]: wlan0: WPS-PBC-ACTIVENov 14 10:23:39 family-room-pi wpa_supplicant[576]: wlan0: WPS-TIMEOUT Requested operation timed out
Code:
root@family-room-pi:~# locate wpa_supplicant | xargs grep "Kearney"grep: /etc/wpa_supplicant: Is a directory/etc/wpa_supplicant/wpa_supplicant.conf: ssid="The Kearney Gaff"/etc/wpa_supplicant/wpa_supplicant.conf.orig: ssid="The Kearney Gaff"
Statistics: Posted by declanshanaghy — Fri Nov 15, 2024 3:40 am — Replies 1 — Views 45