You are not logged in.
Just the other day I upgraded KDE to Plasma and could not load the nm applet because I was running an older version of it. I did this because the recent versions of nm were reporting I was connected to a VPN but xmyip told me I was indeed not. So now I upgraded nm and the applet works in Plasma but I continued to have the same problem with VPN. So I downgraded yet I don't believe this led to the problem since nm was "working" until a couple of reboots later. Unfortunately I had to reboot often because Plasma is pretty damn instable. Anyway after I reinstalled the newest plasma-nm and restarted the applet appears red with the notification that nm unit is not running.
So I ran systemctl list-unit-files
network.service enabled
NetworkManager-dispatcher.service masked
NetworkManager-wait-online.service masked
NetworkManager.service masked
Then I attempted to undo the mask
sudo systemctl unmask NetworkManager
sudo systemctl start NetworkManager
Failed to start NetworkManager.service: Unit NetworkManager.service is masked.
sudo systemctl status NetworkManager
● NetworkManager.service
Loaded: masked (/usr/lib/systemd/system/NetworkManager.service; masked; vendor preset: disabled)
Active: inactive (dead)
sudo systemctl enable NetworkManager
Failed to execute operation: Operation not supported
It just remains masked. And these are the final lines of
journalctl -u NetworkManager
Jan 31 22:11:21 arch64 systemd[1]: Started Network Manager.
Jan 31 22:11:21 arch64 NetworkManager[612]: <info> Networking is enabled by state file
Jan 31 22:11:21 arch64 NetworkManager[612]: <info> (lo): link connected
Jan 31 22:11:21 arch64 NetworkManager[612]: <info> (lo): carrier is ON
Jan 31 22:11:21 arch64 NetworkManager[612]: <info> (lo): new Generic device (driver: 'unknown' ifindex: 1)
Jan 31 22:11:21 arch64 NetworkManager[612]: <info> (lo): exported as /org/freedesktop/NetworkManager/Devices/0
Jan 31 22:11:21 arch64 NetworkManager[612]: <info> (eth0): link connected
Jan 31 22:11:21 arch64 NetworkManager[612]: <info> (eth0): carrier is ON
Jan 31 22:11:21 arch64 NetworkManager[612]: <info> (eth0): new Ethernet device (driver: 'forcedeth' ifindex: 2)
Jan 31 22:11:21 arch64 NetworkManager[612]: <info> (eth0): exported as /org/freedesktop/NetworkManager/Devices/1
Jan 31 22:11:21 arch64 NetworkManager[612]: <info> (eth0): found matching connection 'Wired'
Jan 31 22:11:21 arch64 NetworkManager[612]: <info> (eth0): device state change: unmanaged -> unavailable (reason 'connection-as
Jan 31 22:11:21 arch64 NetworkManager[612]: <info> (eth0): device state change: unavailable -> disconnected (reason 'connection
Jan 31 22:11:21 arch64 NetworkManager[612]: <info> Activation (eth0) starting connection 'Wired'
Jan 31 22:11:21 arch64 NetworkManager[612]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled...
Jan 31 22:11:21 arch64 NetworkManager[612]: <info> use BlueZ version 5
Jan 31 22:11:21 arch64 NetworkManager[612]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) started...
Jan 31 22:11:21 arch64 NetworkManager[612]: <info> (eth0): device state change: disconnected -> prepare (reason 'none') [30 40
Jan 31 22:11:21 arch64 NetworkManager[612]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) scheduled...
Jan 31 22:11:21 arch64 NetworkManager[612]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) complete.
Jan 31 22:11:21 arch64 NetworkManager[612]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) starting...
Jan 31 22:11:21 arch64 NetworkManager[612]: <info> (eth0): device state change: prepare -> config (reason 'none') [40 50 0]
Jan 31 22:11:21 arch64 NetworkManager[612]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) successful.
Jan 31 22:11:21 arch64 NetworkManager[612]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled.
Jan 31 22:11:21 arch64 NetworkManager[612]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) complete.
Jan 31 22:11:21 arch64 NetworkManager[612]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) started...
Jan 31 22:11:21 arch64 NetworkManager[612]: <info> (eth0): device state change: config -> ip-config (reason 'none') [50 70 0]
Jan 31 22:11:21 arch64 NetworkManager[612]: <info> Activation (eth0) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
Jan 31 22:11:21 arch64 NetworkManager[612]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
Jan 31 22:11:21 arch64 NetworkManager[612]: <info> Activation (eth0) Stage 5 of 5 (IPv4 Commit) started...
Jan 31 22:11:21 arch64 NetworkManager[612]: **
Jan 31 22:11:21 arch64 NetworkManager[612]: libnm-util:ERROR:nm-utils.c:2611:nm_utils_get_private: code should not be reached
Jan 31 22:11:21 arch64 systemd[1]: NetworkManager.service: main process exited, code=dumped, status=6/ABRT
Jan 31 22:11:21 arch64 systemd[1]: Unit NetworkManager.service entered failed state.
Jan 31 22:11:21 arch64 systemd[1]: NetworkManager.service failed.
Jan 31 22:11:21 arch64 systemd-coredump[619]: Process 612 (NetworkManager) of user 0 dumped core.
-- Reboot --
Jan 31 22:23:37 arch64 systemd[1]: Stopped NetworkManager.service.
I didn't find anything in there about getting masked, only service failed.
I'm already in over my head since I know just a few system commands and before I screw my system up completely I'd appreciate some suggestions.
Last edited by subatomic (2015-02-04 20:27:15)
Offline
Try `unmask`ing the related NetworkManager .services as well and use the full name (including the ".service" bit) when you do this.
If this does not work, post the output of:
systemctl --all --no-pager
Freedom for Öcalan!
Offline
systemctl unmask NetworkManager.service
systemctl start NetworkManager.service
Failed to start NetworkManager.service: Unit NetworkManager.service is masked.
systemctl --all --no-pager shows only properly loaded units and NetworkManager.service isn't listed.
Offline
# systemctl unmask NetworkManager-dispatcher.service
# systemctl unmask NetworkManager-wait-online.service
# systemctl unmask NetworkManager.service
If that does nothing, you could try manually symlinking the .service file instead:
# ln -sf /usr/lib/systemd/system/NetworkManager.service /etc/systemd/system/multi-user.target.wants/
Maybe wait for a bit before running this though to give @falconindy a chance to tell me I'm being an idiot (again).
Freedom for Öcalan!
Offline
Hey thanks! I didn't symlink it but I looked at the paths and saw that all 3 units in /usr/ had 0 bytes! So I forced a reinstall (file exists). Now the applet runs but as I mentioned it still doesn't really connect. Well I guess that's another problem.
Offline