On 10/03/2014 07:21 AM, walt wrote:
> On 10/02/2014 09:39 PM, J. Roeleveld wrote:

>> Did you try "dhcpcd wlan0" to see if it gets an IP-address?
> 
> That doesn't work (yet).  An error message said that /etc/wpa_supplicant.conf
> was missing, so I copied this example from a man page:
> 
> #cat /etc/wpa_supplicant.conf 
> ctrl_interface=DIR=/run/wpa_supplicant GROUP=wheel
> 
> network={
>       ssid="myhomewireless"
>       scan_ssid=1
>       key_mgmt=WPA-PSK
>       psk="mypsk"
> }
> 
> #dhcpcd wlan0
> dhcpcd[1415]: version 6.4.7 starting
> dhcpcd[1415]: wlan0: adding address fe80::f45c:642e:a392:f47c
> dhcpcd[1415]: if_addaddress6: Permission denied
> dhcpcd[1423]: wlan0: starting wpa_supplicant
> dhcpcd[1415]: wlan0: waiting for carrier
> dhcpcd[1415]: timed out
> dhcpcd[1415]: allowing 8 seconds for IPv4LL timeout
> dhcpcd[1415]: timed out
> dhcpcd[1415]: exited
> 
> NetworkManager gets wlan0 working normally, but the problem is the
> network doesn't come up until I log in and use the NetworkManager
> panel applet to enter the psk manually.  Ugh.

The Arch wiki was very helpful once I knew where to start looking:

The solution was to disable NetworkManager (per Alan's oft-posted advice)
and enable wpa_supplicant.service and dhcpcd.service.  I suppose my earlier
wpa_supplicant problem was caused by a conflict with NetworkManager.

Many thanks to everyone who replied.  Very helpful as always.



Reply via email to