Wi-fi: "Device not managed" in Network Manager
#1
Hi all—my PBP has been offline for most of its life, but recently I've started seeing "Device not managed" in the Network Manager menu where my wifi connections should be. I understand this to mean that Network Manager thinks some other system is managing the wifi interface, but I haven't been able to find out what.

I've run through the steps in the wiki under https://wiki.pine64.org/index.php?title=...iFi_issues but come up short—nothing changes. Advice I've seen on other forums hasn't helped either.

Here's my /etc/network/interfaces:
Code:
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

(/etc/network/interfaces.d is empty.)

Here's /etc/NetworkManager/NetworkManager.conf:

Code:
[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=true

[device]
wifi.scan-rand-mac-address=no

Do you know where I can start looking to troubleshoot this? I see some wifi-related messages in `dmesg` but I'm not enough of a Linux networking guru to make sense of them.

Sadly, I do not have `ifconfig` or `iwconfig` or any such tools available, since they don't come in the stock install and I can't get online to install them.


(Last, semi-related thing: could someone let me know so I can edit the wiki to clarify which state of the wifi privacy switch is which? It says "2 blinks = enabled, 3 blinks = disabled", but I don't know if "enabled" means "the privacy switch is enabled" or "the wifi adapter is enabled". I've had to trial and error it.)
#2
(03-20-2020, 01:14 PM)gfoty Wrote: Hi all—my PBP has been offline for most of its life, but recently I've started seeing "Device not managed" in the Network Manager menu where my wifi connections should be. I understand this to mean that Network Manager thinks some other system is managing the wifi interface, but I haven't been able to find out what.

I've run through the steps in the wiki under https://wiki.pine64.org/index.php?title=...iFi_issues but come up short—nothing changes. Advice I've seen on other forums hasn't helped either.

Here's my /etc/network/interfaces:
Code:
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

(/etc/network/interfaces.d is empty.)

Here's /etc/NetworkManager/NetworkManager.conf:

Code:
[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=true

[device]
wifi.scan-rand-mac-address=no

Do you know where I can start looking to troubleshoot this? I see some wifi-related messages in `dmesg` but I'm not enough of a Linux networking guru to make sense of them.

Sadly, I do not have `ifconfig` or `iwconfig` or any such tools available, since they don't come in the stock install and I can't get online to install them.


(Last, semi-related thing: could someone let me know so I can edit the wiki to clarify which state of the wifi privacy switch is which? It says "2 blinks = enabled, 3 blinks = disabled", but I don't know if "enabled" means "the privacy switch is enabled" or "the wifi adapter is enabled". I've had to trial and error it.)

you may find the following post helpful:

https://forum.pine64.org/showthread.php?...5#pid52645
#3
(03-21-2020, 06:19 AM)ndp Wrote: you may find the following post helpful:

https://forum.pine64.org/showthread.php?...5#pid52645

Thanks—I gave the unbind + bind sequence a try, but no meaningful results. First time nothing happened, second time the `unbind` caused a segmentation fault, an unkillable `tee` process, and then a kernel oops at shutdown. Wifi never turned on.

Is there a way to interrogate the chip status? I'm out of my depth with the networking + kernel stuff going on here and would like to gain a foothold in what's going on (any RTFMs are welcome).  Hoping I don't have a dead wifi chip.
#4
ifconfig = net-tools (why, oh why)
rfkill list
wicd and networkManager conflict, purge wicd
tell systemd to restart?

command line?? set up wpa_supplicant.conf
Make a little script so you don't have to remember
It is good to be able to set up cli networking, for when
screw-ups happen
#5
(03-22-2020, 03:33 PM)wdt Wrote: ifconfig = net-tools (why, oh why)
rfkill list
wicd and networkManager conflict, purge wicd
tell systemd to restart?

command line?? set up wpa_supplicant.conf
Make a little script so you don't have to remember
It is good to be able to set up cli networking, for when
screw-ups happen

Thanks, I forgot about rfkill. I see two devices ("phys0" and "brcmfmac-wifi") soft blocked. I can unblock them and set up wlan0 using `ip link set wlan0 up` (which puts it in state UNKNOWN), but both entries in rfkill list get soft blocked again every time `network-manager` restarts. Trying to figure out why these are getting soft-blocked.

Checking into the network-manager logs (journalctl -f -u NetworkManager) shows some stuff going on with radio killswitches that I'm now trying to understand. There's also
/var/lib/NetworkManager/NetworkManager.state, which shows wifi being disabled, but editing this file to enable it doesn't do any good (it also toggles back to disabled after restarting Network Manager).

I'm pretty sure the Pine + F11 killswitch is disabled (but can anybody tell me if 2 blinks means "wifi enabled" or "wifi disabled"? The wiki is ambiguous on this.)
#6
Argh, sorry for the noise, this turned out to be the dumbest possible thing. nm-applet (the Network Manager systray applet) has a right-click menu I didn't know about (hard to discover when you're just using the trackpad). This is, of course, is where the "Enable wifi" checkbox lives. (It took me spelunking in, like, the depths of Red Hat's bug tracker, to find someone mentioning this checkbox in passing, which I suddenly realized I had never seen.)


Possibly Related Threads…
Thread Author Replies Views Last Post
  Converting the Pinebook Pro into a CrowView Note like device 8jef 0 275 08-18-2024, 05:42 PM
Last Post: 8jef
  "no network devices available" junefish 4 3,679 01-23-2022, 03:35 PM
Last Post: junefish
Question linuxmint / webapp-manager popinski 2 2,752 10-10-2021, 09:28 AM
Last Post: popinski
  Manjaro KDE dolphin not showing usb device straightwalker 0 2,173 07-30-2021, 09:51 AM
Last Post: straightwalker
  Network connection question??? davehetfield 1 4,416 03-11-2021, 07:31 AM
Last Post: tkudog
  No WIFI network discovery in any manjaro installation (but works on fedora) pineitup 1 3,613 02-05-2021, 09:10 AM
Last Post: BlueJayLinux
  Booting - User device selection in U-Boot? Arwen 10 14,417 11-21-2020, 01:22 PM
Last Post: Arwen
  Dolphin File Manager Nobot 0 1,939 10-24-2020, 11:07 PM
Last Post: Nobot
Photo Remove activity manager bar on right side of screen - plasma kde motezart 3 5,143 10-20-2020, 10:36 AM
Last Post: motezart
  A request to anyone with a Pinebook pro / other Pine device.. account3122 14 21,679 06-05-2020, 02:52 AM
Last Post: icecream95

Forum Jump:


Users browsing this thread: 1 Guest(s)