Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nichite opened this issue Apr 30, 2021 · 2 comments
Open

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

nichite opened this issue Apr 30, 2021 · 2 comments

Comments

@nichite
Copy link

nichite commented Apr 30, 2021

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.

@Mattssmith94
Copy link

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

@ned-kelly
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants