You are not logged in.

#1 2014-01-26 23:26:17

publicus
Member
Registered: 2014-01-01
Posts: 129

[RESOLVED] Cannot authenticate with wireless router

Hello all,

I managed to get my laptop to connect to a wireless network using NetworkManager as my interface.  However, when I tried to authenticate using my router at home (encryption: WPA2-PSK [AES]), even if I enter the correct passphrase, it simply does not connect at all.

I don't see an error, all I see is that the NetworkManager is "thinking" and then there is no connection.  What information should I provide in order to better explain this?

Last edited by publicus (2014-01-31 02:13:58)

Offline

#2 2014-01-26 23:50:32

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [RESOLVED] Cannot authenticate with wireless router

Try connecting manually: it will provide relevant and informative error messages...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-01-26 23:59:07

publicus
Member
Registered: 2014-01-01
Posts: 129

Re: [RESOLVED] Cannot authenticate with wireless router

jasonwryan wrote:

Try connecting manually: it will provide relevant and informative error messages...

This is what I've tried with nmcli.  If there is a better way, let me know.

% nmcli dev wifi connect <name> password <password>
Error: Connection activation failed: (5) IP configuration could not be reserved (no available address, timeout, etc.)

Offline

#4 2014-01-27 00:03:44

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [RESOLVED] Cannot authenticate with wireless router

The better way is the step-by-step manual method outlined in the wiki...

That way, you will see at which point this process is failing, and then will be able to more accurately debug the issue.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2014-01-27 00:21:08

publicus
Member
Registered: 2014-01-01
Posts: 129

Re: [RESOLVED] Cannot authenticate with wireless router

jasonwryan wrote:

The better way is the step-by-step manual method outlined in the wiki...

That way, you will see at which point this process is failing, and then will be able to more accurately debug the issue.

I've already done that once in the past and it works.  What I really want to do is have the NetworkManager connect to various Wifi connections as I see fit (this is a laptop.)

I can repeat the process a little later (don't have the time now) and get back to you at a later date.

Last edited by publicus (2014-01-27 00:21:23)

Offline

#6 2014-01-28 01:43:46

publicus
Member
Registered: 2014-01-01
Posts: 129

Re: [RESOLVED] Cannot authenticate with wireless router

Ok, I have some more info now.

This is where I stand when I get an IP:

[root@archiso_mer wpa_supplicant]# wpa_supplicant -i wlp3s0 -c /etc/wpa_supplicant/home_supplicant.conf
Successfully initialized wpa_supplicant
wlp3s0: Trying to associate with 00:26:f2:87:68:30 (SSID='Persocom' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlp3s0: Association request to the driver failed
wlp3s0: Associated with 00:26:f2:87:68:30
wlp3s0: WPA: Key negotiation completed with 00:26:f2:87:68:30 [PTK=CCMP GTK=CCMP]
wlp3s0: CTRL-EVENT-CONNECTED - Connection to 00:26:f2:87:68:30 completed [id=0 id_str=]

I get an IP and I'm currently writing this post on my laptop just fine.  It's when I have to move to NetworkManager, when things go horribly bad*.  Also, if I hit Ctrl+C, I lose my IP entirely :-/ .

* The text-box for authentication shows up and I try to login.  However, the box vanishes, the connection is not made and I see the text-box again asking me to enter the passphrase again, with no effect in the end :-/ .

Last edited by publicus (2014-01-28 01:47:44)

Offline

#7 2014-01-28 02:04:12

publicus
Member
Registered: 2014-01-01
Posts: 129

Re: [RESOLVED] Cannot authenticate with wireless router

This is what happened when I tried to go through the following tutorial:
https://wiki.archlinux.org/index.php/Ne … ait_Online

When it comes time to starting up NetworkManager-wait-online, this is what I get:

[root@archiso_mer system]# systemctl status NetworkManager-wait-online.service
NetworkManager-wait-online.service - Network Manager Wait Online
   Loaded: loaded (/usr/lib/systemd/system/NetworkManager-wait-online.service; enabled)
   Active: failed (Result: exit-code) since Mon 2014-01-27 20:55:18 EST; 24s ago
  Process: 2156 ExecStart=/usr/bin/nm-online -q --timeout=30 (code=exited, status=1/FAILURE)
 Main PID: 2156 (code=exited, status=1/FAILURE)

Jan 27 20:55:18 archiso_mer systemd[1]: NetworkManager-wait-online.service: main process exited, code=exited, status=1/FAILURE
Jan 27 20:55:18 archiso_mer systemd[1]: Failed to start Network Manager Wait Online.
Jan 27 20:55:18 archiso_mer systemd[1]: Unit NetworkManager-wait-online.service entered failed state.
[root@archiso_mer system]# journalctl -xn
-- Logs begin at Wed 2014-01-01 15:14:44 EST, end at Mon 2014-01-27 20:55:59 EST. --
Jan 27 20:55:59 archiso_mer kernel: wlp3s0: authenticated
Jan 27 20:55:59 archiso_mer kernel: wlp3s0: associate with 00:26:f2:87:68:30 (try 1/3)
Jan 27 20:55:59 archiso_mer kernel: wlp3s0: RX AssocResp from 00:26:f2:87:68:30 (capab=0x411 status=0 aid=2)
Jan 27 20:55:59 archiso_mer kernel: wlp3s0: associated
Jan 27 20:55:59 archiso_mer kernel: wlp3s0: deauthenticating from 00:26:f2:87:68:30 by local choice (reason=3)
Jan 27 20:55:59 archiso_mer NetworkManager[2005]: <info> (wlp3s0): supplicant interface state: inactive -> associated
Jan 27 20:55:59 archiso_mer NetworkManager[2005]: <warn> Connection disconnected (reason -3)
Jan 27 20:55:59 archiso_mer NetworkManager[2005]: <info> (wlp3s0): supplicant interface state: associated -> disconnected
Jan 27 20:55:59 archiso_mer NetworkManager[2005]: <warn> Connection disconnected (reason -3)
Jan 27 20:55:59 archiso_mer kernel: cfg80211: Calling CRDA to update world regulatory domain

[edit]

Basically, if I could figure out how I could run and manage my network connections with NetworkManager, that would be just awesome.

Last edited by publicus (2014-01-28 02:10:46)

Offline

#8 2014-01-30 02:07:16

publicus
Member
Registered: 2014-01-01
Posts: 129

Re: [RESOLVED] Cannot authenticate with wireless router

Here is the state of some of my services, if it helps:

# systemctl list-unit-files | grep -i network
netctl@network_connectio_at_home.service   enabled
NetworkManager-dispatcher.service          disabled
NetworkManager-wait-online.service         disabled
NetworkManager.service                     disabled
network-online.target                      static 
network.target                             static

Offline

#9 2014-01-31 02:13:41

publicus
Member
Registered: 2014-01-01
Posts: 129

Re: [RESOLVED] Cannot authenticate with wireless router

I have no idea how I did it, but I can now connect wirelessly.  All I know is that there were several reboots and making sure that I had the necessary NetworkManager tools installed (and turning off netctl.)

Offline

#10 2014-03-23 09:31:02

idiotz
Member
From: Switzerland
Registered: 2014-03-22
Posts: 23

Re: [RESOLVED] Cannot authenticate with wireless router

hi

I have the same problem. I disabled netctl but I keep getting the same error

Error: Connection activation failed: (5) IP configuration could not be reserved (no available address, timeout, etc.)

Do you remember what you mean by "the necessary NetworkManager tools" ?

thank you

Offline

#11 2014-03-23 09:43:01

idiotz
Member
From: Switzerland
Registered: 2014-03-22
Posts: 23

Re: [RESOLVED] Cannot authenticate with wireless router

sorry, problem solved. I disabled dhcpcd.service and it worked.

Offline

Board footer

Powered by FluxBB