[SOLVED] NetworkManager.service loaded but not active

Hi everyone, this morning I turned on my laptop and I noticed that it wasn’t connected to my wi-fi. When I run systemctl -t service, it has a red dot before NetworkManager.service (text is red) and under LOAD says its loaded but under both ACTIVE and SUB it says failed.

I didn’t do anything, it was working fine last night and now its doing this. Any ideas as to why it’s happening and how to fix it?

Sorry if this is a simple problem, I’m still kinda new :slight_smile:

thanks!

EDIT: After logging the status of NetworkManager, it says:

“Failed to reload daemon: message recipient disconnected from message bus without replying”

I’ve tried running:

“systemctl daemon-reload”

but I get the same error as above.

Please post the output of journalctl -u NetworkManager --since=today and systemctl list-unit-files --state=enabled --no-pager, thanks!

Hey! thanks for the reply, here is the out put from journalctl

-- Logs begin at Thu 2018-03-15 19:46:03 AEDT, end at Tue 2018-03-20 18:56:26 AEDT. --
Mar 15 19:46:05 arch systemd[1]: Starting Network Manager...
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.3804] NetworkManager (version 1.10.6-1, Arch Linux) is starting... (for the first time)
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.3806] Read config: /etc/NetworkManager/NetworkManager.conf (lib: 20-connectivity.conf)
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.3992] manager[0x562a5ef1b080]: monitoring kernel firmware directory '/usr/lib/firmware'.
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5215] hostname: hostname: using hostnamed
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5216] hostname: hostname changed from (none) to "arch"
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5220] dns-mgr[0x562a5ef35930]: init: dns=default, rc-manager=symlink
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5240] rfkill3: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/ieee80211/phy0/rfkill3) (driver>
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5244] rfkill0: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:1f.0/PNP0C09:00/VPC2004:00/rfkill/rfkill0) (platf>
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5268] manager[0x562a5ef1b080]: rfkill: WiFi hardware radio set enabled
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5269] manager[0x562a5ef1b080]: rfkill: WWAN hardware radio set enabled
Mar 15 19:46:05 arch systemd[1]: Started Network Manager.
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5673] settings: loaded plugin keyfile: (c) 2007 - 2016 Red Hat, Inc.  To report bugs please use the NetworkManager mailing list.
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5680] settings: loaded plugin iBFT: (c) 2014 Red Hat, Inc.  To report bugs please use the NetworkManager mailing list. (/usr/lib>
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5694] manager: rfkill: WiFi disabled by radio killswitch; enabled by state file
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5694] manager: rfkill: WWAN enabled by radio killswitch; enabled by state file
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5695] manager: Networking is enabled by state file
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5697] dhcp-init: Using DHCP client 'internal'
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5703] Loaded device plugin: NMBondDeviceFactory (internal)
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5703] Loaded device plugin: NMBridgeDeviceFactory (internal)
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5704] Loaded device plugin: NMDummyDeviceFactory (internal)
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5704] Loaded device plugin: NMEthernetDeviceFactory (internal)
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5704] Loaded device plugin: NMInfinibandDeviceFactory (internal)
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5704] Loaded device plugin: NMIPTunnelDeviceFactory (internal)
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5704] Loaded device plugin: NMMacsecDeviceFactory (internal)
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5704] Loaded device plugin: NMMacvlanDeviceFactory (internal)
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5705] Loaded device plugin: NMPppDeviceFactory (internal)
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5705] Loaded device plugin: NMTunDeviceFactory (internal)
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5705] Loaded device plugin: NMVethDeviceFactory (internal)
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5705] Loaded device plugin: NMVlanDeviceFactory (internal)
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5705] Loaded device plugin: NMVxlanDeviceFactory (internal)
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5738] Loaded device plugin: NMOvsFactory (/usr/lib/NetworkManager/libnm-device-plugin-ovs.so)
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5802] Loaded device plugin: NMBluezManager (/usr/lib/NetworkManager/libnm-device-plugin-bluetooth.so)
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5815] Loaded device plugin: NMWifiFactory (/usr/lib/NetworkManager/libnm-device-plugin-wifi.so)
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5949] Loaded device plugin: NMTeamFactory (/usr/lib/NetworkManager/libnm-device-plugin-team.so)
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5959] Loaded device plugin: NMWwanFactory (/usr/lib/NetworkManager/libnm-device-plugin-wwan.so)
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5969] Loaded device plugin: NMAtmManager (/usr/lib/NetworkManager/libnm-device-plugin-adsl.so)
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5988] device (lo): carrier: link connected
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.5993] manager: (lo): new Generic device (/org/freedesktop/NetworkManager/Devices/1)
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.6001] wifi-nl80211: (wlp1s0): using nl80211 for WiFi device control
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.6003] device (wlp1s0): driver supports Access Point (AP) mode
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.6010] manager: (wlp1s0): new 802.11 WiFi device (/org/freedesktop/NetworkManager/Devices/2)
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.6019] device (wlp1s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.6023] device (wlp1s0): set-hw-addr: set MAC address to A2:C7:02:88:F9:43 (scanning)
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.6038] manager: rfkill: WiFi now enabled by radio killswitch
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.7029] ovsdb: Could not connect: No such file or directory
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.7269] supplicant: wpa_supplicant running
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.7270] device (wlp1s0): supplicant interface state: init -> starting
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.7676] sup-iface[0x562a5eecd170,wlp1s0]: supports 5 scan SSIDs
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.7681] device (wlp1s0): supplicant interface state: starting -> ready
Mar 15 19:46:05 arch NetworkManager[348]: <info>  [1521103565.7682] device (wlp1s0): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
Mar 15 19:46:09 arch NetworkManager[348]: <info>  [1521103569.2474] manager: startup complete
Mar 15 19:48:46 arch NetworkManager[348]: <info>  [1521103726.6261] keyfile: add connection in-memory (c334b723-f31a-4275-857b-a6a616c46e0d,"iiNet0BDF7B")
Mar 15 19:48:46 arch NetworkManager[348]: <info>  [1521103726.6279] device (wlp1s0): Activation: starting connection 'iiNet0BDF7B' (c334b723-f31a-4275-857b-a6a616c46e0d)
Mar 15 19:48:46 arch NetworkManager[348]: <info>  [1521103726.6371] settings-connection[0x562a5eec5b60,c334b723-f31a-4275-857b-a6a616c46e0d]: write: successfully commited (keyfile: update /e>
Mar 15 19:48:46 arch NetworkManager[348]: <info>  [1521103726.6371] audit: op="connection-add-activate" uuid="c334b723-f31a-4275-857b-a6a616c46e0d" name="iiNet0BDF7B" pid=1039 uid=1000 resul>
Mar 15 19:48:46 arch NetworkManager[348]: <info>  [1521103726.6404] device (wlp1s0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Mar 15 19:48:46 arch NetworkManager[348]: <info>  [1521103726.6406] manager: NetworkManager state is now CONNECTING
Mar 15 19:48:46 arch NetworkManager[348]: <info>  [1521103726.6414] device (wlp1s0): set-hw-addr: reset MAC address to 00:DB:DF:A3:91:11 (preserve)
Mar 15 19:48:46 arch NetworkManager[348]: <info>  [1521103726.6534] device (wlp1s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Mar 15 19:48:46 arch NetworkManager[348]: <info>  [1521103726.6536] device (wlp1s0): Activation: (wifi) access point 'iiNet0BDF7B' has security, but secrets are required.
Mar 15 19:48:46 arch NetworkManager[348]: <info>  [1521103726.6537] device (wlp1s0): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
Mar 15 19:48:46 arch NetworkManager[348]: <info>  [1521103726.6538] sup-iface[0x562a5eecd170,wlp1s0]: wps: type pbc start...
Mar 15 19:48:46 arch NetworkManager[348]: <info>  [1521103726.6577] device (wlp1s0): supplicant interface state: ready -> disconnected
Mar 15 19:48:46 arch NetworkManager[348]: <info>  [1521103726.6578] device (wlp1s0): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
Mar 15 19:48:46 arch NetworkManager[348]: <info>  [1521103726.6583] device (wlp1s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Mar 15 19:48:46 arch NetworkManager[348]: <info>  [1521103726.6585] device (wlp1s0): Activation: (wifi) connection 'iiNet0BDF7B' has security, and secrets exist.  No new secrets needed.
Mar 15 19:48:46 arch NetworkManager[348]: <info>  [1521103726.6585] Config: added 'ssid' value 'iiNet0BDF7B'
Mar 15 19:48:46 arch NetworkManager[348]: <info>  [1521103726.6585] Config: added 'scan_ssid' value '1'
Mar 15 19:48:46 arch NetworkManager[348]: <info>  [1521103726.6585] Config: added 'bgscan' value 'simple:30:-80:86400'
Mar 15 19:48:46 arch NetworkManager[348]: <info>  [1521103726.6585] Config: added 'key_mgmt' value 'WPA-PSK'
Mar 15 19:48:46 arch NetworkManager[348]: <info>  [1521103726.6585] Config: added 'auth_alg' value 'OPEN'
Mar 15 19:48:46 arch NetworkManager[348]: <info>  [1521103726.6586] Config: added 'psk' value '<hidden>'
Mar 15 19:48:46 arch NetworkManager[348]: <info>  [1521103726.6592] device (wlp1s0): supplicant interface state: disconnected -> inactive
Mar 15 19:48:46 arch NetworkManager[348]: <info>  [1521103726.6694] device (wlp1s0): supplicant interface state: inactive -> scanning
Mar 15 19:48:49 arch NetworkManager[348]: <info>  [1521103729.9671] device (wlp1s0): supplicant interface state: scanning -> authenticating
Mar 15 19:48:50 arch NetworkManager[348]: <info>  [1521103730.0819] device (wlp1s0): supplicant interface state: authenticating -> associating
Mar 15 19:48:50 arch NetworkManager[348]: <info>  [1521103730.0967] device (wlp1s0): supplicant interface state: associating -> 4-way handshake
Mar 15 19:48:50 arch NetworkManager[348]: <info>  [1521103730.1455] device (wlp1s0): supplicant interface state: 4-way handshake -> completed
Mar 15 19:48:50 arch NetworkManager[348]: <info>  [1521103730.1456] device (wlp1s0): Activation: (wifi) Stage 2 of 5 (Device Configure) successful.  Connected to wireless network 'iiNet0BDF7>
Mar 15 19:48:50 arch NetworkManager[348]: <info>  [1521103730.1459] device (wlp1s0): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Mar 15 19:48:50 arch NetworkManager[348]: <info>  [1521103730.1475] dhcp4 (wlp1s0): activation: beginning transaction (timeout in 45 seconds)
Mar 15 19:48:52 arch NetworkManager[348]: <info>  [1521103732.0375] dhcp6 (wlp1s0): activation: beginning transaction (timeout in 45 seconds)
Mar 15 19:48:52 arch NetworkManager[348]: <info>  [1521103732.0452] dhcp6 (wlp1s0):   nameserver fe80::c6ea:1dff:fe0b:df7a
Mar 15 19:48:52 arch NetworkManager[348]: <info>  [1521103732.0453] dhcp6 (wlp1s0):   domain name 'lan'
Mar 15 19:48:52 arch NetworkManager[348]: <info>  [1521103732.0454] dhcp6 (wlp1s0): state changed unknown -> bound
Mar 15 19:48:52 arch NetworkManager[348]: <info>  [1521103732.0486] device (wlp1s0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
Mar 15 19:48:52 arch NetworkManager[348]: <info>  [1521103732.0506] device (wlp1s0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
Mar 15 19:48:52 arch NetworkManager[348]: <info>  [1521103732.0516] device (wlp1s0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
Mar 15 19:48:52 arch NetworkManager[348]: <info>  [1521103732.0523] manager: NetworkManager state is now CONNECTED_LOCAL
Mar 15 19:48:52 arch NetworkManager[348]: <info>  [1521103732.0676] device (wlp1s0): Activation: successful, device activated.
Mar 15 19:48:53 arch NetworkManager[348]: <info>  [1521103733.3767] dhcp4 (wlp1s0):   address 10.1.1.178
Mar 15 19:48:53 arch NetworkManager[348]: <info>  [1521103733.3768] dhcp4 (wlp1s0):   plen 24
Mar 15 19:48:53 arch NetworkManager[348]: <info>  [1521103733.3769] dhcp4 (wlp1s0):   expires in 86400 seconds
Mar 15 19:48:53 arch NetworkManager[348]: <info>  [1521103733.3771] dhcp4 (wlp1s0):   nameserver '10.1.1.1'
Mar 15 19:48:53 arch NetworkManager[348]: <info>  [1521103733.3771] dhcp4 (wlp1s0):   domain name 'lan'
Mar 15 19:48:53 arch NetworkManager[348]: <info>  [1521103733.3772] dhcp4 (wlp1s0):   hostname 'arch'
Mar 15 19:48:53 arch NetworkManager[348]: <info>  [1521103733.3772] dhcp4 (wlp1s0):   gateway 10.1.1.1
Mar 15 19:48:53 arch NetworkManager[348]: <info>  [1521103733.3776] dhcp4 (wlp1s0): state changed unknown -> bound
Mar 15 19:48:53 arch NetworkManager[348]: <info>  [1521103733.3854] manager: NetworkManager state is now CONNECTED_SITE
Mar 15 19:48:53 arch NetworkManager[348]: <info>  [1521103733.3858] policy: set 'iiNet0BDF7B' (wlp1s0) as default for IPv4 routing and DNS
Mar 15 19:48:55 arch NetworkManager[348]: <info>  [1521103735.0603] manager: NetworkManager state is now CONNECTED_GLOBAL
Mar 15 20:01:13 arch NetworkManager[348]: <info>  [1521104473.7067] manager: kernel firmware directory '/usr/lib/firmware' changed
Mar 15 20:01:22 arch systemd[1]: Stopping Network Manager...
Mar 15 20:01:22 arch NetworkManager[348]: <info>  [1521104482.5011] caught SIGTERM, shutting down normally.
Mar 15 20:01:22 arch NetworkManager[348]: <info>  [1521104482.5121] device (wlp1s0): state change: activated -> deactivating (reason 'unmanaged', sys-iface-state: 'managed')
Mar 15 20:01:22 arch NetworkManager[348]: <info>  [1521104482.5123] manager: NetworkManager state is now DISCONNECTING
Mar 15 20:01:22 arch NetworkManager[348]: <info>  [1521104482.5190] device (wlp1s0): state change: deactivating -> unmanaged (reason 'removed', sys-iface-state: 'managed')
Mar 15 20:01:22 arch NetworkManager[348]: <info>  [1521104482.5191] dhcp4 (wlp1s0): canceled DHCP transaction
Mar 15 20:01:22 arch NetworkManager[348]: <info>  [1521104482.5191] dhcp4 (wlp1s0): state changed bound -> done
Mar 15 20:01:22 arch NetworkManager[348]: <info>  [1521104482.5192] dhcp6 (wlp1s0): canceled DHCP transaction
Mar 15 20:01:22 arch NetworkManager[348]: <info>  [1521104482.5192] dhcp6 (wlp1s0): state changed bound -> done
Mar 15 20:01:22 arch NetworkManager[348]: <info>  [1521104482.5489] manager: NetworkManager state is now DISCONNECTED
Mar 15 20:01:22 arch NetworkManager[348]: <info>  [1521104482.5506] exiting (success)
Mar 15 20:01:22 arch systemd[1]: Stopped Network Manager.

and here’s from systemctl

UNIT FILE                                   STATE
autovt@.service                             enabled
bluetooth.service                           enabled
dbus-org.bluez.service                      enabled
dbus-org.freedesktop.NetworkManager.service enabled
dbus-org.freedesktop.nm-dispatcher.service  enabled
display-manager.service                     enabled
getty@.service                              enabled
lightdm.service                             enabled
NetworkManager-dispatcher.service           enabled
NetworkManager.service                      enabled
ntpd.service                                enabled
remote-fs.target                            enabled

12 unit files listed.

Did you do an upgrade, if so, did you see an upgrade for your wireless card come through?

I did update, but I can’t remember seeing anything about an upgrade to my wireless card.

I updated this morning and there were kernel and NetworkManager updates.

Those lines just stuck out, but head_on_a_stick is pretty good with systemd, hopefully he’ll spot a fix.

^ This seems to show that you connected successfully (for over 12 minutes) before it was terminated, do you have a connection at all?

^ It’s never a good idea to run commands without knowing for sure what they do — that command doesn’t do what you think it does :wink:

Remember to always consult the relevant man page if you are unsure and never run a command as root unless you know exactly what it will do.

1 Like

Try a full system update:

pacman -Syu

This may have been an upstream packaging problem:

https://bbs.archlinux.org/viewtopic.php?id=235502

It looks to be fixed now.

FWIW, Arch does this sort of thing from time to time.

Thanks for all the help!

Unfortunately I can’t do a system update, I can’t connect to my internet connection. Thanks for all the help, I think I might just try a different distro. Its a shame, I was really enjoying Archlabs, but I guess I need a more simple one for the moment.

Thanks again for all the help, its been greatly appreciated!

Can you hardwire that laptop to your router - or whatever your setup is?

May catch a break and NetworkManager is only broken for wireless. I’ve actually experienced that once with Slackware-current.

I think I might just try a different distro

If you go the re-install route, you can always reinstall ArchLabs; the system update should get a working NetworkManager.

1 Like

Thanks folks, I got it to update!

My laptop dosen’t have an Ethernet port, so I couldn’t directly connect to my router. But I plugged my phone in via usb, found the tethering info on the arch wiki, and bang, had a connection. I did a full system update like Head_on_a_stick suggested, rebooted and its now working!

Thanks again for all the help and the patience with a newbie, I’m really glad to continue using Archlabs, its’s my favourite distro, even if I’m a Linux beginner (been using it for 6 months, started on Archlabs, then switched to Ubuntu for school/internship reasons, now back to Archlabs). Thanks for the tips guys, really appreciate it!

1 Like

Hi @nick, glad to hear you are sorted. Can you please select the post that solved your issue using the checkbox and tick:

solution

If you’re new to Linux and Arch take a look at the Arch Linux Wiki. Can solve a lot of problems if you have access to that page.

THIS:

^ It even has instructions for connecting without NetworkManager:

https://wiki.archlinux.org/index.php/WPA_supplicant#Connecting_with_wpa_passphrase

2 Likes

The Arch Wiki is invaluable. The Arch WIki are what other wikis strive to be.

Awesome! bookmarked. Thanks for all the help and tips, next time i encounter a problem, I’ll head straight there.
Thanks again guys!

1 Like

It’s always your best option, failing that we are always here to help.