Skip to contentSkip to conversation

Redpine RS9116 M.2 module with NetworkManager

DISCUSSION Angus Ainslie 2 participants 4 messages Jan 30, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

I'm trying the get a Redpine RS9116 module working with networkmanager. I've tried this on 5.3, 5.5 and next-20200128. I'm using the Redpine 1.5 "rs9116_wlan_bt_classic.rps" firmware.

If I configure the interface using iw, wpa_supplicant and dhclient all works as expected.

If I try to configure the interface using nmtui most of the time no APs show up to associate to. "iw dev wlan0 list" shows all of the APs in the vicinity.

If I do manage to get an AP to show when I try to "Activate a connection" I get the error below

Could not activate connection:
Activation failed: No reason given

I suspect this is a driver bug rather than a NM bug as I saw similar issues with an earlier Redpine proprietary driver that was fixed by updating that driver. What rsi_dbg zone will help debug this ?

Thanks
Angus

#1 lore raw
Quoted 21 lines · Angus Ainslie

Hi,

I'm trying the get a Redpine RS9116 module working with networkmanager.
I've tried this on 5.3, 5.5 and next-20200128. I'm using the Redpine 1.5
"rs9116_wlan_bt_classic.rps" firmware.

If I configure the interface using iw, wpa_supplicant and dhclient all
works as expected.

If I try to configure the interface using nmtui most of the time no APs
show up to associate to. "iw dev wlan0 list" shows all of the APs in the
vicinity.

If I do manage to get an AP to show when I try to "Activate a connection" I get the error below

Quoted 6 lines

Could not activate connection:
Activation failed: No reason given

I suspect this is a driver bug rather than a NM bug as I saw similar issues with an earlier Redpine proprietary driver that was fixed by updating that driver. What rsi_dbg zone will help debug this ?

NM just uses wpa_supplicant underneath, so if you can get supplicant debug logs showing the failure, that would help. But perhaps the driver has a problem with scan MAC randomization that NM can be configured to do by default; that's been an issue with proprietary and out-of-tree drivers in the past. Just a thought.

https://blog.muench-johannes.de/networkmanager-disable-mac-randomization-314

Dan

#2 lore raw

Hi Dan,

Quoted 6 lines · Dan Williams
Quoted 4 lines · Angus Ainslie

I suspect this is a driver bug rather than a NM bug as I saw similar issues with an earlier Redpine proprietary driver that was fixed by updating that driver. What rsi_dbg zone will help debug this ?

Quoted 8 lines

NM just uses wpa_supplicant underneath, so if you can get supplicant debug logs showing the failure, that would help. But perhaps the driver has a problem with scan MAC randomization that NM can be configured to do by default; that's been an issue with proprietary and out-of-tree drivers in the past. Just a thought.

https://blog.muench-johannes.de/networkmanager-disable-mac-randomization-314

Thanks that was the fix.

Angus

Quoted 1 line

Dan

#3 lore raw
Quoted 18 lines · Angus Ainslie

Hi Dan,

Quoted 14 lines · Dan Williams
Quoted 4 lines · Angus Ainslie

I suspect this is a driver bug rather than a NM bug as I saw similar issues with an earlier Redpine proprietary driver that was fixed by updating that driver. What rsi_dbg zone will help debug this ?

NM just uses wpa_supplicant underneath, so if you can get supplicant debug logs showing the failure, that would help. But perhaps the driver has a problem with scan MAC randomization that NM can be configured to do by default; that's been an issue with proprietary and out-of-tree drivers in the past. Just a thought.

https://blog.muench-johannes.de/networkmanager-disable-mac-randomization-314

Any chance there's something similar for bluetooth ? hcitool shows the device and can scan but bluetoothctl can't find the device.

$ hcitool dev
Devices:
        hci0    88:DA:1A:9E:XX:XX

[bluetooth]# list
[bluetooth]# devices
No default controller available

Thanks
Angus

Quoted 2 lines
Quoted 2 lines

Dan