You are not logged in.

#1 2014-08-01 12:10:14

lisgie
Member
Registered: 2014-07-26
Posts: 4

[SOLVED] Unable connect to any network after installing NetworkManager

Hi

I installed Arch Linux with Gnome 3 on my laptop a few weeks ago. I used netctl so far to configure my wireless networks. However, I installed NetworkManager and since then I can't connect to any networks.

When I do it manually with with wpa_supplicant and wpa_passphrase, dhcpcd will fail:

# wpa_supplicant -B -i wlp3s0 -c <(wpa_passphrase ...)
Successfully initialized wpa_supplicant
# dhcpcd wlp3s0
dhcpcd[2157]: sending commands to master dhcpcd process

When I kill the dhcpcd process, dhcpcd times out:

# dhcpcd wlp3s0
dhcpcd[2441]: version 6.4.2 starting
dhcpcd[2441]: wlp3s0: adding address fe80::...
dhcpcd[2441]: if_addaddress6: Permission denied
dhcpcd[2441]: wlp3s0: waiting for carrier
dhcpcd[2441]: timed out
dhcpcd[2441]: exited

When I try to connect to the network with the NetworkManager applet, it times out aswell.

I already created a profile (called francis) for the specified network, when I try to start it with netctl, the output is:

# netctl start francis
Job for netctl@francis.service failed. See 'systemctl status netctl@francis.service' and 'journalctl -xn' for details.
# journalctl -xn
network[2617]: Starting the network profile 'francis' ...
network[2617]: The interface of network profile 'francis' is already up
systemd[1]: netctl@francis.service: main process exited, code=exited, status=1/FAILURE
systemd[1]: Failed to start A simple WPA encrypted wireless connection.

My guess is that it's a configuration issue somewhere, since all it used to work before. My dhcpcd.conf has not been edited.
I'm aware that I probably didn't post enough information, I apologize in advance.

Last edited by lisgie (2014-08-02 23:23:21)

Offline

#2 2014-08-01 12:34:10

Crysis85
Member
Registered: 2014-07-27
Posts: 24

Re: [SOLVED] Unable connect to any network after installing NetworkManager

My guess (as I novice myself) is that you can't use NetworkManager AND netctl at the same time.
Post 'systemctl list-unit-files' to see which services you have active

Also netctl won't start because you have the interface already up.
'ip link set wlp3s0 down' to bring it down.

Offline

#3 2014-08-01 13:20:13

smlb
Member
From: /dev/null
Registered: 2013-05-20
Posts: 60
Website

Re: [SOLVED] Unable connect to any network after installing NetworkManager

Have you started the NetworkManager.service?

 # systemctl start NetworkManager 
# systemctl enable NetworkManager

Offline

#4 2014-08-01 14:00:47

DarkCerberus
Banned
From: Holsworthy, Devon
Registered: 2011-12-31
Posts: 252

Re: [SOLVED] Unable connect to any network after installing NetworkManager

Since you can't start the network via using NetworkManager have you got the dhcpcd service enabled via systemctl if so then disable dhcpcd and restart NetworkManager it should then work...


Our enemies are your enemies, Nick. Disorder, war. It's just a matter of time before a dirty bomb goes off in Moscow, or an EMP fries Chicago.  ---  Alexander Pierce, Captain America: Winter Soldier
Access Denied! De-cryption failed, override denied all files sealed! --- Triskelion, Shield OS
-----
How to ask questions the smart way

Offline

#5 2014-08-01 15:22:40

lisgie
Member
Registered: 2014-07-26
Posts: 4

Re: [SOLVED] Unable connect to any network after installing NetworkManager

Thanks for your replies.

Crysis85 wrote:

My guess (as I novice myself) is that you can't use NetworkManager AND netctl at the same time.
Post 'systemctl list-unit-files' to see which services you have active

Also netctl won't start because you have the interface already up.
'ip link set wlp3s0 down' to bring it down.

Even if the NetworkManager.service is 'enabled' and the dhcpcd.service is 'disabled' it still doesn't work.

smlb wrote:

Have you started the NetworkManager.service?

 # systemctl start NetworkManager 
# systemctl enable NetworkManager

Yes, I have. I also restarted it multiple times without success.

DarkCerberus wrote:

Since you can't start the network via using NetworkManager have you got the dhcpcd service enabled via systemctl if so then disable dhcpcd and restart NetworkManager it should then work...

I tried disabling the dhcpcd service as mentioned above and restarted NetworkManager multiple times without success.

In the process of installing NetworkManager, I tried a couple of different things with wpa_supplicant.conf and to create a service to connect to the network during the boot process. I was always careful editing .conf files, though. But I think I messed it up during these steps.

Thanks for further responses.

Offline

#6 2014-08-01 22:36:55

kamrava
Member
Registered: 2013-12-08
Posts: 75

Re: [SOLVED] Unable connect to any network after installing NetworkManager

What is yout NetworkManager version ?

Offline

#7 2014-08-02 12:39:50

lisgie
Member
Registered: 2014-07-26
Posts: 4

Re: [SOLVED] Unable connect to any network after installing NetworkManager

kamrava wrote:

What is yout NetworkManager version ?

The package is networkmanager-0.9.10.0-2

Offline

#8 2014-08-02 12:42:53

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [SOLVED] Unable connect to any network after installing NetworkManager

You need to disable every other networking service.  Crysis was right - but I don't see a response to that advice: disable netctl, and for good measure post the output of `systemctl --type=service`.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#9 2014-08-02 13:11:30

lisgie
Member
Registered: 2014-07-26
Posts: 4

Re: [SOLVED] Unable connect to any network after installing NetworkManager

Trilby wrote:

You need to disable every other networking service.  Crysis was right - but I don't see a response to that advice: disable netctl, and for good measure post the output of `systemctl --type=service`.

After running 'systemctl --type=service' I discovered a service called 'netctl-auto@wlp3s0.service'. I stopped the service and was able to connect after that.
Thanks to you and to Crysis as well.

Offline

#10 2014-08-02 13:34:03

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [SOLVED] Unable connect to any network after installing NetworkManager

Glad that worked - please be sure mark the thread as [SOLVED]


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB