wifi-connect icon indicating copy to clipboard operation
wifi-connect copied to clipboard

"Undefined device type: 30" when starting wifi-connect

Open nichite opened this issue 3 years ago • 2 comments

Just getting started with wifi-connect, I'm running an RPi4 with Ubuntu 20.04.2. When I try to launch wifi-connect, I get this error message:

[network_manager::device:WARN] Undefined device type: 30
WiFi device: wlan0
[network_manager::dbus_api:ERROR] Get org.freedesktop.NetworkManager.AccessPoint::RsnFlags property failed on /org/freedesktop/NetworkManager/AccessPoint/3: wrong property type
Error: Getting access points failed
  caused by D-bus failure: Get org.freedesktop.NetworkManager.AccessPoint::RsnFlags property failed on /org/freedesktop/NetworkManager/AccessPoint/3: wrong property type

I found this similar (closed) issue, seems like it was caused by a bad version of NetworkManager, but a fix was pushed.

According to this reference, an NMDeviceType of 30 (NM_DEVICE_TYPE_WIFI_P2P) should be supported as of v 1.16. I double checked, and my Pi is running NetworkManager version 1.22.10.

To Reproduce Steps to reproduce the behavior: Installed wifi-connect using this command:

curl https://api.github.com/repos/balena-os/wifi-connect/releases/latest -s \
    | grep -hoP 'browser_download_url": "\K.*aarch64\.tar\.gz' \
    | xargs -n1 curl -Ls \
    | tar -xvz -C /usr/bin

With NetworkManager enabled and running:

sudo wifi-connect

I immediately get the error.

nichite avatar Apr 30 '21 03:04 nichite

Did you ever find resolution for this? I'm running into this issue now on my devices too.

Mattssmith94 avatar Mar 14 '23 15:03 Mattssmith94

I'm also seeing this - here's a dump of the logs:

Starting WiFi Connect
OK[network_manager::device:WARN] Undefined device type: 30
WiFi device: wlo1
[network_manager::dbus_api:ERROR] Get org.freedesktop.NetworkManager.AccessPoint::RsnFlags property failed on /org/freedesktop/NetworkManager/AccessPoint/14: wrong property type
Error: Getting access points failed
  caused by: D-Bus failure: Get org.freedesktop.NetworkManager.AccessPoint::RsnFlags property failed on /org/freedesktop/NetworkManager/AccessPoint/14: wrong property type
[network_manager::device:WARN] Undefined device type: 30
WiFi device: wlo1
[network_manager::dbus_api:ERROR] Get org.freedesktop.NetworkManager.AccessPoint::RsnFlags property failed on /org/freedesktop/NetworkManager/AccessPoint/14: wrong property type
Error: Getting access points failed
  caused by: D-Bus failure: Get org.freedesktop.NetworkManager.AccessPoint::RsnFlags property failed on /org/freedesktop/NetworkManager/AccessPoint/14: wrong property type

Something DBus related?

ned-kelly avatar Sep 05 '23 23:09 ned-kelly