Wifi Unable to Connect to new router

Hello all,
I recently replaced my home wifi router (running OpenWRT), but replicated most of the settings so that all of my devices wouldn’t need to be reconfigured. Every item in my household (there are a lot) connected happily, except for my volumio system running on a RPI3B+. After some fault finding I believe it could be two things:

  • Volumio has retained some of the previous details which is now incompatible with the new router; or
  • Volumio isn’t compatible with the security settings I have selected (mixed WPA2/WPA3 PSK, SAE (CCMP)).

I connected the unit to ethernet and did some fault finding. I was able to successfully connect to another wifi network (hotspotted off my phone), and the hotspot feature also works. Looking at the logs of my router is shows there is a PSK issue:
“Tue Oct 3 08:58:40 2023 daemon.notice hostapd: wlan0: AP-STA-POSSIBLE-PSK-MISMATCH XX:XX:XX:XX:XX:XX”
I’ve tried clearing out the details in wpa_supplicant.conf, but volumio seems to be storing the previous entries and repopulating it. This is evidenced by the wifi network off my phone being repopulated in wap_supplicant each time I try to connect to my home network. I’ve tried manually deleting the entries and rebooting, and also using wpa_cli (although that didn’t seem to do anything).

Two questions:

  • What is the best method to purge a volumio installation of any previous wifi credentials (without reinstalling)?
  • Is there any known issues with WPA2/WPA3 PSK, SAE (CCMP) and volumio? I’d be surprised as all of my other embedded devices connect happily.

Cheers
Wayne

Check whether 2.4 and 5 GHz WLAN are activated and that these two do not have the same SSID. (e.g. WLAN24 for 2.4 GHz and WLAN5 for 5GHz)
The Volumio’s WiFi may only support 2.4 GHz?

My R Pi 3B+ connects to my 5GHz wi-fi without issue, so it’s probably not a 2.4GHz vs 5GHz issue.

I purposely have the SSIDs the same, and this is how my previous two routers have been configured without any issue (including with this volumio setup).

what if you temporarily connect the RPi via Ethernet, and then scan and connect again to the WiFi network from the Network Settings page?

That’s exactly what I’m doing. The system is headless, so without network connectivity I can’t control it at all - thus I’ve temporarily connected to ethernet to try and solve the issue.

I’ve had a similar issue where as… Volumio would not forget my old WiFi settings.
To get around this… The easiest way I have found.

Connect your pi via ethernet, SSH into it and open wpa_supplicant.conf with
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
delete the contents, write out (ctrl o) and exit (ctrl x), reboot.
Then (still connected by ethernet) from within volumio add back the WiFi you want

Nope, tried that several times already. The weird thing is that after reboot wpa_supplicant.conf is empty (as expected), then when I try to connect to wifi (which still fails) wpa_supplicant.conf is populated with that ESSID (as expected), but also with my phone hotspot which I used once a couple days ago.
It seems to me that volumio has stored the old credentials and is repopulating wpa_supplicant.conf regardless of what I actually want it to use.

Try to ssh while connected to the ethernet port and type:
cat /etc/network/interfaces
This will show the active interfaces. You can edit this file (using nano /etc/network/interfaces)to force the wifi login by removing what is there for wlan0 and adding a line like:
allow-hotplug wlan0
iface wlan0 inet dhcp ssid password

replacing ssid and password with whatever is appropriate for your network.

Regards,

I recommend not doing that.

Best way is to connect via ethernet and set the new password

But that is the point of this cry for help - I have connected by ethernet and used the volumio interface to try to connect, but it doesn’t work.

If that does not work, I fear there might be something wrong in your install…
Did you set up static IP on ethernet ?