You are not logged in.
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
Try connecting manually: it will provide relevant and informative error messages...
Offline
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
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.
Offline
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
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
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
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 staticOffline
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
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
sorry, problem solved. I disabled dhcpcd.service and it worked.
Offline