Hello,
Arch Linux user here. Looking to resolve this issue to complete my transition to systemd.
lspci:
Code:
02:00.0 Ethernet controller: Atheros Communications Inc. AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)
The output of 'lsmod | grep ath'
Code:
ath5k 125144 0
ath 12381 1 ath5k
mac80211 359685 1 ath5k
cfg80211 150293 3 ath,ath5k,mac80211
Network profile in /etc/network.d/
Code:
CONNECTION='wireless'
DESCRIPTION='A simple WPA encrypted wireless connection'
INTERFACE='wlan0'
SECURITY='wpa-config'
ESSID='[deleted for security]'
## Uncomment if the supplied ESSID is hexadecimal
#ESSID_TYPE='hex'
KEY='[deleted]'
IP='dhcp'
WPA_CONF='/etc/wpa_supplicant/wpa_supplicant.conf'
Output of 'netcfg <profile name>' (with debugging on):
Code:
DEBUG: Loading profile [deleted]
DEBUG: Configuring interface wlan0
:: 245019 up [BUSY] DEBUG: status reported to profile_up as:
DEBUG: Loading profile 245019
DEBUG: Configuring interface wlan0
DEBUG: wireless_up start_wpa wlan0 /etc/wpa_supplicant/wpa_supplicant.conf nl80211,wext
DEBUG: wireless_up ifup
DEBUG: wireless_up wpa_check
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant GROUP=wheel status
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant GROUP=wheel status
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant GROUP=wheel status
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant GROUP=wheel status
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant GROUP=wheel status
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant GROUP=wheel status
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant GROUP=wheel status
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant GROUP=wheel status
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant GROUP=wheel status
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant GROUP=wheel status
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant GROUP=wheel status
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant GROUP=wheel status
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant GROUP=wheel status
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant GROUP=wheel terminate
> WPA Authentication/Association Failed
DEBUG: profile_up connect failed
I use this script to connect to my network manually and it works fine:
Code:
#!/bin/bash
error() {
echo Nope.
exit 1
}
[ $UID = 0 ] || error
[ -z $(pgrep wpa_supplicant) ] || killall wpa_supplicant
[ -z $(pgrep dhcpcd) ] || killall dhcpcd
iwconfig wlan0 essid 245019 || error
wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf || error
echo "Imagine the sound of little network wheels and gears grinding and whirring..."
dhcpcd -q wlan0
if [[ $? = 0 ]] ; then
echo 'Connectivity!'
exit 0
else
error
fi
This thread suggests manually editing dbus config files, which I don't want to do, as they will be overwritten by updates.