You are not logged in.

#1 2013-04-09 13:42:38

ykooistra
Member
Registered: 2013-04-09
Posts: 3

Can't connect to wireless network

Hi,
When I try to connect to a wireless network with the net-auto-wireless and networkmanager deamons enabled, it won't work.
I just get the "WPA Authentication/Association failed" error. However, trying to connect to a wireless network with wifi-menu while the deamons are disabled, works perfectly.
But I don't like that I have to connect manually each time the system boots up. I set net-auto-wireless up as explained in the wiki. What do I have to do so Arch connects automatically to a wireless network with networkmanager?

I don't know which files I should be including in this topic, so please tell me smile

Offline

#2 2013-04-09 13:51:17

sano
Member
Registered: 2012-02-11
Posts: 114

Re: Can't connect to wireless network

You shouldn't enable two network services at the same time. Disable one and see if the problem persists.

Offline

#3 2013-04-09 14:10:30

ykooistra
Member
Registered: 2013-04-09
Posts: 3

Re: Can't connect to wireless network

Still can't get NetworkManager to connect, net-auto-wireless worked after reboot, but broke my keyboard, next reboot net-auto-wireless doesn't work again, but keyboard does.

Last edited by ykooistra (2013-04-09 14:49:10)

Offline

#4 2013-04-09 16:35:34

bananagranola
Member
From: US
Registered: 2011-08-07
Posts: 88
Website

Re: Can't connect to wireless network

How are you starting and stopping all these daemons, systemctl start/enable/stop/disable? Are you stopping and disabling net-auto-wireless before starting and enabling NetworkManager? Are there any error messages from NetworkManager? Have you set up permissions for NetworkManager?

Last edited by bananagranola (2013-04-09 16:35:48)

Offline

#5 2013-04-09 17:30:19

ykooistra
Member
Registered: 2013-04-09
Posts: 3

Re: Can't connect to wireless network

Yes, I'm using systemctl to enable/disable deamons.
I disabled net-auto-wireless before enabling networkmanager.
No, networkmanager just tries to connect, and then falls back to 'no connection'
No, didn't do that, will try right away!

Last edited by ykooistra (2013-04-09 17:31:17)

Offline

#6 2013-04-09 23:52:34

bananagranola
Member
From: US
Registered: 2011-08-07
Posts: 88
Website

Re: Can't connect to wireless network

What about error messages from journalctl? or systemctl log?

Offline

#7 2013-04-10 19:59:51

briest
Member
From: Katowice, PL
Registered: 2006-05-04
Posts: 468

Re: Can't connect to wireless network

Just try to get rid of all those "friendly" stuff (NM seems particularry buggy, on one of my systems it insisted to bring wireless up when connected to "copper" ethernet and down when disconnected, so I had either two interfaces up or none. To be honest, it was few years ago, maybe it has improved over time...).

Go to /etc/wpa_supplicant; move original config to some .bak file and create new:

ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=1
fast_reauth=1

network={
	ssid="yournetwork"
	psk="itspassword"
}

network={
	ssid="anothernetwork"
	psk="withanotherpass"
}

...and so on, for other networks you happen to use. Along with some dhcp client it may be all you'll ever need.

Offline

Board footer

Powered by FluxBB