Gentoo Archives: gentoo-user

From: walt <w41ter@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Noob WiFi question (yes-or-no answer will suffice) [SOLVED]
Date: Fri, 03 Oct 2014 17:24:58
Message-Id: m0mm4b$rhr$1@ger.gmane.org
In Reply to: [gentoo-user] Re: Noob WiFi question (yes-or-no answer will suffice) by walt
1 On 10/03/2014 07:21 AM, walt wrote:
2 > On 10/02/2014 09:39 PM, J. Roeleveld wrote:
3
4 >> Did you try "dhcpcd wlan0" to see if it gets an IP-address?
5 >
6 > That doesn't work (yet). An error message said that /etc/wpa_supplicant.conf
7 > was missing, so I copied this example from a man page:
8 >
9 > #cat /etc/wpa_supplicant.conf
10 > ctrl_interface=DIR=/run/wpa_supplicant GROUP=wheel
11 >
12 > network={
13 > ssid="myhomewireless"
14 > scan_ssid=1
15 > key_mgmt=WPA-PSK
16 > psk="mypsk"
17 > }
18 >
19 > #dhcpcd wlan0
20 > dhcpcd[1415]: version 6.4.7 starting
21 > dhcpcd[1415]: wlan0: adding address fe80::f45c:642e:a392:f47c
22 > dhcpcd[1415]: if_addaddress6: Permission denied
23 > dhcpcd[1423]: wlan0: starting wpa_supplicant
24 > dhcpcd[1415]: wlan0: waiting for carrier
25 > dhcpcd[1415]: timed out
26 > dhcpcd[1415]: allowing 8 seconds for IPv4LL timeout
27 > dhcpcd[1415]: timed out
28 > dhcpcd[1415]: exited
29 >
30 > NetworkManager gets wlan0 working normally, but the problem is the
31 > network doesn't come up until I log in and use the NetworkManager
32 > panel applet to enter the psk manually. Ugh.
33
34 The Arch wiki was very helpful once I knew where to start looking:
35
36 The solution was to disable NetworkManager (per Alan's oft-posted advice)
37 and enable wpa_supplicant.service and dhcpcd.service. I suppose my earlier
38 wpa_supplicant problem was caused by a conflict with NetworkManager.
39
40 Many thanks to everyone who replied. Very helpful as always.

Replies

Subject Author
Re: [gentoo-user] Re: Noob WiFi question (yes-or-no answer will suffice) [SOLVED] Alan McKinnon <alan.mckinnon@×××××.com>