I’ve seen many posts about WiFi connectivity, but no resolution. I have collected a lot of background that should help.
The Pi in question is able to connect to the Ubuntu hotspot in question when booted to Ubuntu 22.04.
The network I am trying to connect to is a WiFi hotspot created by the default Ubuntu 22.04 hotspot feature running on another computer. Out of the box neither Volumio or my MacBook would connect to this hotspot, but Windows and my Andriod phone had no complaints. After running this command on the Ubuntu device, and resetting the hotspot, the MacBook is now happy connecting but Volumio still refuses.
nmcli c modify <Your_Hotspot_Name> 802-11-wireless-security.pmf disable
Logging into Volumio the console to get diagnostic clues I see journalctl showing:
May 28 11:15:53 volumio wireless.js[653]: DHCP IP
May 28 11:15:53 volumio wireless.js[653]: Start ap
May 28 11:15:53 volumio wpa_supplicant[855]: Successfully initialized wpa_supplicant
May 28 11:15:53 volumio sudo[856]: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/dhcpcd
May 28 11:15:53 volumio sudo[856]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 28 11:15:53 volumio dhcpcd[857]: dev: loaded udev
May 28 11:15:53 volumio kernel: brcmfmac: brcmf_cfg80211_set_power_mgmt: power save disabled
May 28 11:15:53 volumio dhcpcd-run-hooks[875]: wlan0: starting wpa_supplicant
May 28 11:15:54 volumio dhcpcd-run-hooks[880]: wlan0: failed to start wpa_supplicant
May 28 11:15:54 volumio dhcpcd-run-hooks[881]: wlan0: Successfully initialized wpa_supplicant
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Ma
May 28 11:15:54 volumio dhcpcd[857]: wlan0: connected to Access Point `'
I can connect to Volumio with my phone to configure it and if I set the WiFi password again I see this in the logs: (In this example I pressed “ok” on the new password at 11:21:57.)
May 28 11:21:50 volumio volumio[985]: verbose: New Socket.io Connection to localhost:3000 from 127.0.0.1 UA: node-XMLHttpRequest Engine version: 3 Transport: polling Total Clients: 5
May 28 11:21:53 volumio ntpd[788]: error resolving pool 3.debian.pool.ntp.org: System error (-11)
May 28 11:21:54 volumio hostapd[977]: wlan0: STA 0e:9b:99:ea:37:f9 IEEE 802.11: disassociated
May 28 11:22:02 volumio volumio[985]: info: CoreCommandRouter::executeOnPlugin: network , saveWirelessNetworkSettings
May 28 11:22:02 volumio volumio[985]: info: Saving new wireless network
May 28 11:22:02 volumio sudo[1508]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/chmod 777 /etc/wpa_supplicant/wpa_supplicant.conf
May 28 11:22:02 volumio sudo[1508]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 28 11:22:02 volumio sudo[1508]: pam_unix(sudo:session): session closed for user root
May 28 11:22:02 volumio volumio[985]: info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , onNetworkingRestart
May 28 11:22:02 volumio volumio[985]: info: Discovery: Restarting Advertising due to device name change
May 28 11:22:02 volumio sudo[1511]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/systemctl restart wireless.service
May 28 11:22:02 volumio sudo[1511]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 28 11:22:02 volumio dhcpcd[891]: received SIGTERM, stopping
May 28 11:22:02 volumio dhcpcd[891]: wlan0: removing interface
May 28 11:22:02 volumio systemd[1]: Stopping Wireless Services...
May 28 11:22:02 volumio dhcpcd[891]: eth0: removing interface
May 28 11:22:02 volumio dhcpcd[891]: dhcpcd exited
May 28 11:22:02 volumio systemd[1]: wireless.service: Succeeded.
May 28 11:22:02 volumio systemd[1]: Stopped Wireless Services.
May 28 11:22:03 volumio systemd[1]: Starting Wireless Services...
May 28 11:22:03 volumio wireless.js[1515]: Cleaning previous...
May 28 11:22:03 volumio systemd[1]: Stopping Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
May 28 11:22:03 volumio volumio[985]: info: Discovery: A device disappeared from network
May 28 11:22:03 volumio volumio[985]: info: Discovery: Device volumio disappeared from network
May 28 11:22:03 volumio systemd[1]: hostapd.service: Succeeded.
May 28 11:22:03 volumio systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
May 28 11:22:03 volumio sudo[1531]: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ip addr flush dev wlan0
May 28 11:22:03 volumio sudo[1531]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 28 11:22:03 volumio avahi-daemon[659]: Withdrawing address record for 192.168.211.1 on wlan0.
May 28 11:22:03 volumio avahi-daemon[659]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 192.168.211.1.
May 28 11:22:03 volumio avahi-daemon[659]: Joining mDNS multicast group on interface wlan0.IPv4 with address 169.254.215.49.
May 28 11:22:03 volumio avahi-daemon[659]: Withdrawing address record for 169.254.215.49 on wlan0.
May 28 11:22:03 volumio avahi-daemon[659]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 169.254.215.49.
May 28 11:22:03 volumio avahi-daemon[659]: Interface wlan0.IPv4 no longer relevant for mDNS.
May 28 11:22:03 volumio sudo[1531]: pam_unix(sudo:session): session closed for user root
May 28 11:22:03 volumio sudo[1533]: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0 down
May 28 11:22:03 volumio sudo[1533]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 28 11:22:04 volumio sudo[1533]: pam_unix(sudo:session): session closed for user root
May 28 11:22:04 volumio wireless.js[1515]: Stopped aP
May 28 11:22:04 volumio sudo[1540]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0 up
May 28 11:22:04 volumio sudo[1540]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 28 11:22:04 volumio kernel: brcmfmac: brcmf_cfg80211_set_power_mgmt: power save disabled
May 28 11:22:04 volumio sudo[1540]: pam_unix(sudo:session): session closed for user root
May 28 11:22:04 volumio sudo[1542]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/iw reg get
May 28 11:22:04 volumio sudo[1542]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 28 11:22:04 volumio sudo[1542]: pam_unix(sudo:session): session closed for user root
May 28 11:22:04 volumio sudo[1550]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0 up
May 28 11:22:04 volumio sudo[1550]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 28 11:22:04 volumio sudo[1550]: pam_unix(sudo:session): session closed for user root
May 28 11:22:04 volumio sudo[1552]: volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/iw wlan0 scan
May 28 11:22:04 volumio sudo[1552]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 28 11:22:05 volumio volumio[985]: verbose: New Socket.io Connection to localhost:3000 from 127.0.0.1 UA: node-XMLHttpRequest Engine version: 3 Transport: polling Total Clients: 6
May 28 11:22:05 volumio volumio[985]: verbose: New Socket.io Connection to localhost:3000 from 127.0.0.1 UA: node-XMLHttpRequest Engine version: 3 Transport: polling Total Clients: 7
May 28 11:22:05 volumio volumio[985]: verbose: New Socket.io Connection to localhost:3000 from 127.0.0.1 UA: node-XMLHttpRequest Engine version: 3 Transport: polling Total Clients: 8
May 28 11:22:05 volumio volumio[985]: verbose: New Socket.io Connection to localhost:3000 from 127.0.0.1 UA: node-XMLHttpRequest Engine version: 3 Transport: polling Total Clients: 9
May 28 11:22:05 volumio volumio[985]: verbose: New Socket.io Connection to localhost:3000 from 127.0.0.1 UA: node-XMLHttpRequest Engine version: 3 Transport: polling Total Clients: 10
May 28 11:22:05 volumio volumio[985]: verbose: New Socket.io Connection to localhost:3000 from 127.0.0.1 UA: node-XMLHttpRequest Engine version: 3 Transport: polling Total Clients: 11
May 28 11:22:05 volumio volumio[985]: verbose: New Socket.io Connection to localhost:3000 from 127.0.0.1 UA: node-XMLHttpRequest Engine version: 3 Transport: polling Total Clients: 12
May 28 11:22:06 volumio ntpd[788]: Deleting interface #3 wlan0, 192.168.211.1#123, interface stats: received=0, sent=0, dropped=0, active_time=346 secs
May 28 11:22:06 volumio ntpd[788]: Deleting interface #4 wlan0, 169.254.215.49#123, interface stats: received=0, sent=0, dropped=0, active_time=334 secs
May 28 11:22:07 volumio sudo[1552]: pam_unix(sudo:session): session closed for user root
May 28 11:22:07 volumio wireless.js[1515]: Start wireless flow
May 28 11:22:07 volumio wireless.js[1515]: Stopped hotspot (if there)..
May 28 11:22:07 volumio sudo[1557]: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ip addr flush dev wlan0
May 28 11:22:07 volumio sudo[1557]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 28 11:22:07 volumio sudo[1557]: pam_unix(sudo:session): session closed for user root
May 28 11:22:07 volumio sudo[1559]: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0 down
May 28 11:22:07 volumio sudo[1559]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 28 11:22:07 volumio volumio[985]: info: Discovery: Started advertising with name: Volumio
May 28 11:22:07 volumio sudo[1559]: pam_unix(sudo:session): session closed for user root
May 28 11:22:07 volumio wireless.js[1515]: DHCP IP
May 28 11:22:07 volumio wireless.js[1515]: Start ap
It seems it tries to connect, but fails and then activates its own hotspot.
Where can I look for additional debugging details?
Is there a way I can configure the minimum connection requirements? It seems the hotspot is not satisfying what Volumio wants.
I know that Volumio has no problem connecting to my home WiFi from previous installs, but this unit will be in my RV where this Ubuntu hotspot is the Internet source. All of the above errors and logs were generated from an image that only ever tried to connect to the Ubuntu hotspot.
Thanks for any good ideas.