You are not logged in.

#1 2013-09-25 17:56:44

mamr
Member
Registered: 2008-08-16
Posts: 63

NetworkManager failing to connect but netctl works

Today I installed a new system. After installation I at first configured netctl. Wired and wireless connections to my router worked perfectly fine with netctl. For more convenience I installed NetworkManager and the KDE Plasma addon according to the wiki. (I also disabled netcfg with systemctl, enabled NetworkManager and rebooted the system.) With NetworkManager I was not able to connect to my network. Neither via wifi nor via a wired connection. I tried the Plasma addon as well as nmcli. Both showed "connecting" for a few seconds and "disconnected" afterwards.

Excerpt of journalctl -b -u Networkmanager:

Sep 25 19:29:43 mobiletux NetworkManager[350]: <info> NetworkManager state is now CONNECTING
Sep 25 19:29:43 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Stage 1 of 5 (Device Prepare) scheduled...
Sep 25 19:29:43 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Stage 1 of 5 (Device Prepare) started...
Sep 25 19:29:43 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Stage 2 of 5 (Device Configure) scheduled...
Sep 25 19:29:43 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Stage 1 of 5 (Device Prepare) complete.
Sep 25 19:29:43 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Stage 2 of 5 (Device Configure) starting...
Sep 25 19:29:43 mobiletux NetworkManager[350]: <info> (enp0s25): device state change: prepare -> config (reason 'none') [40 50 0]
Sep 25 19:29:43 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Stage 2 of 5 (Device Configure) successful.
Sep 25 19:29:43 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Stage 3 of 5 (IP Configure Start) scheduled.
Sep 25 19:29:43 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Stage 2 of 5 (Device Configure) complete.
Sep 25 19:29:43 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Stage 3 of 5 (IP Configure Start) started...
Sep 25 19:29:43 mobiletux NetworkManager[350]: <info> (enp0s25): device state change: config -> ip-config (reason 'none') [50 70 0]
Sep 25 19:29:43 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Beginning DHCPv4 transaction (timeout in 45 seconds)
Sep 25 19:29:43 mobiletux NetworkManager[350]: <info> dhcpcd started with pid 1063
Sep 25 19:29:43 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Beginning IP6 addrconf.
Sep 25 19:29:43 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Stage 3 of 5 (IP Configure Start) complete.
Sep 25 19:29:43 mobiletux NetworkManager[350]: <info> (enp0s25): DHCPv4 client pid 1063 exited with status 0
Sep 25 19:29:43 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Stage 4 of 5 (IPv4 Configure Timeout) scheduled...
Sep 25 19:29:43 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Stage 4 of 5 (IPv4 Configure Timeout) started...
Sep 25 19:29:43 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Stage 4 of 5 (IPv4 Configure Timeout) complete.
Sep 25 19:30:03 mobiletux NetworkManager[350]: <info> (enp0s25): IP6 addrconf timed out or failed.
Sep 25 19:30:03 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
Sep 25 19:30:03 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Stage 4 of 5 (IPv6 Configure Timeout) started...
Sep 25 19:30:03 mobiletux NetworkManager[350]: <info> (enp0s25): device state change: ip-config -> failed (reason 'ip-config-unavailable') [70 
Sep 25 19:30:03 mobiletux NetworkManager[350]: <info> NetworkManager state is now DISCONNECTED
Sep 25 19:30:03 mobiletux NetworkManager[350]: <warn> Activation (enp0s25) failed for connection 'Wired connection 1'
Sep 25 19:30:03 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Stage 4 of 5 (IPv6 Configure Timeout) complete.
Sep 25 19:30:03 mobiletux NetworkManager[350]: <info> (enp0s25): device state change: failed -> disconnected (reason 'none') [120 30 0]
Sep 25 19:30:03 mobiletux NetworkManager[350]: <info> (enp0s25): deactivating device (reason 'none') [0]
Sep 25 19:30:06 mobiletux NetworkManager[350]: <info> Auto-activating connection 'Wired connection 1'.
Sep 25 19:30:06 mobiletux NetworkManager[350]: <info> Activation (enp0s25) starting connection 'Wired connection 1'
Sep 25 19:30:06 mobiletux NetworkManager[350]: <info> (enp0s25): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Sep 25 19:30:06 mobiletux NetworkManager[350]: <info> NetworkManager state is now CONNECTING
Sep 25 19:30:06 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Stage 1 of 5 (Device Prepare) scheduled...
Sep 25 19:30:06 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Stage 1 of 5 (Device Prepare) started...
Sep 25 19:30:06 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Stage 2 of 5 (Device Configure) scheduled...
Sep 25 19:30:06 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Stage 1 of 5 (Device Prepare) complete.
Sep 25 19:30:06 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Stage 2 of 5 (Device Configure) starting...
Sep 25 19:30:06 mobiletux NetworkManager[350]: <info> (enp0s25): device state change: prepare -> config (reason 'none') [40 50 0]
Sep 25 19:30:06 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Stage 2 of 5 (Device Configure) successful.
Sep 25 19:30:06 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Stage 3 of 5 (IP Configure Start) scheduled.
Sep 25 19:30:06 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Stage 2 of 5 (Device Configure) complete.
Sep 25 19:30:06 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Stage 3 of 5 (IP Configure Start) started...
Sep 25 19:30:06 mobiletux NetworkManager[350]: <info> (enp0s25): device state change: config -> ip-config (reason 'none') [50 70 0]
Sep 25 19:30:06 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Beginning DHCPv4 transaction (timeout in 45 seconds)
Sep 25 19:30:06 mobiletux NetworkManager[350]: <info> dhcpcd started with pid 1075
Sep 25 19:30:06 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Beginning IP6 addrconf.
Sep 25 19:30:06 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Stage 3 of 5 (IP Configure Start) complete.
Sep 25 19:30:06 mobiletux dhcpcd[1075]: sending commands to master dhcpcd process
Sep 25 19:30:06 mobiletux NetworkManager[350]: <info> (enp0s25): DHCPv4 client pid 1075 exited with status 0
Sep 25 19:30:06 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Stage 4 of 5 (IPv4 Configure Timeout) scheduled...
Sep 25 19:30:06 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Stage 4 of 5 (IPv4 Configure Timeout) started...
Sep 25 19:30:06 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Stage 4 of 5 (IPv4 Configure Timeout) complete.
Sep 25 19:30:26 mobiletux NetworkManager[350]: <info> (enp0s25): IP6 addrconf timed out or failed.
Sep 25 19:30:26 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
Sep 25 19:30:26 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Stage 4 of 5 (IPv6 Configure Timeout) started...
Sep 25 19:30:26 mobiletux NetworkManager[350]: <info> (enp0s25): device state change: ip-config -> failed (reason 'ip-config-unavailable') [70 
Sep 25 19:30:26 mobiletux NetworkManager[350]: <info> NetworkManager state is now DISCONNECTED
Sep 25 19:30:26 mobiletux NetworkManager[350]: <info> Marking connection 'Wired connection 1' invalid.
Sep 25 19:30:26 mobiletux NetworkManager[350]: <warn> Activation (enp0s25) failed for connection 'Wired connection 1'
Sep 25 19:30:26 mobiletux NetworkManager[350]: <info> Activation (enp0s25) Stage 4 of 5 (IPv6 Configure Timeout) complete.
Sep 25 19:30:26 mobiletux NetworkManager[350]: <info> (enp0s25): device state change: failed -> disconnected (reason 'none') [120 30 0]
Sep 25 19:30:26 mobiletux NetworkManager[350]: <info> (enp0s25): deactivating device (reason 'none') [0]

Excerpt of lspci -k

03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] (rev 34)
        Subsystem: Intel Corporation Centrino Advanced-N 6205 AGN
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi

I tried to google "device state change: ip-config -> failed (reason 'ip-config-unavailable')" but didn't find anything helpful. Is there something I forgot to configure?

Tell me if you need anything else. Thanks.

Offline

#2 2013-09-25 18:46:22

mamr
Member
Registered: 2008-08-16
Posts: 63

Re: NetworkManager failing to connect but netctl works

I played around a bit with the configuration and it does work now. Don't really know why. Thanks though!

Offline

#3 2013-09-26 14:15:10

mamr
Member
Registered: 2008-08-16
Posts: 63

Re: NetworkManager failing to connect but netctl works

I found the problem and wanted to document it in case somebody else runs into it: Because I used a wired connection for a short period of time after the installation I was still running the 'dhcpcd.service'. I disabled it with 'systemctl' and now Networkmanager works like a charm.

Offline

#4 2013-11-13 07:56:18

rich38
Member
Registered: 2013-11-12
Posts: 1

Re: NetworkManager failing to connect but netctl works

Just wanted to thank you for posting your fix. I had this problem and your reply fixed it for me Thanks mamr

Offline

#5 2013-11-13 14:33:10

pattenspipes
Member
Registered: 2013-11-13
Posts: 1

Re: NetworkManager failing to connect but netctl works

I had the exact same issue and after disabling netctl and dhcpcd.service.  It fixed it.
Thanks for posting the solution!

Offline

#6 2014-02-25 17:09:54

darioxfz
Member
Registered: 2014-02-25
Posts: 1

Re: NetworkManager failing to connect but netctl works

Had exactly the same issue.
Thank you for the solution

Offline

#7 2014-03-14 22:10:26

zioalex
Member
Registered: 2014-03-14
Posts: 1

Re: NetworkManager failing to connect but netctl works

Thank you guys same problem solved in Gentoo!

Offline

Board footer

Powered by FluxBB