You are not logged in.
I've got wpa_supplicant and wpa_actiond installed, but netctl-auto exits with the following output after trying to start it:
[root@localhost bjoern]# NETCTL_DEBUG='yes' netctl-auto start wlan0
DEBUG: Examining profile 'Kackoeli'
Included profile 'Kackoeli'
DEBUG: Examining profile 'Eltern'
Included profile 'Eltern'
DEBUG: Examining profile 'Dub_Inn'
Included profile 'Dub_Inn'
DEBUG: wpa_start: wpa_supplicant -B -P /run/wpa_supplicant_wlan0.pid -i wlan0 -D nl80211,wext -c/run/network/wpa_supplicant_wlan0.conf -W
Successfully initialized wpa_supplicant
Line 6: Invalid passphrase length 0 (expected: 8..63) '"'.
Line 6: failed to parse psk '""'.
Line 8: failed to parse network block.
Failed to read or parse configuration '/run/network/wpa_supplicant_wlan0.conf'.Telling me what's wrong is fine and dandy, but it does not help the least bit if it doesn't tell me WHERE things go wrong!
Using any of the profiles above via "netctl start Profile1" works like it should, so it can't be the profiles themselves.
Any ideas?
- Edit:
Seems netcfg-auto has a problem translating the quotation marks from the profile in /etc/netctl for use in /run/network/wpa_supplicant_wlan0.conf . I've tried different configurations for the "Key=" line in all my profiles (quoted/non-quoted), but this only expands the error messages.
[root@localhost bjoern]# NETCTL_DEBUG='yes' netctl-auto start wlan0
DEBUG: Examining profile 'Profile1'
Included profile 'Profile1'
DEBUG: Examining profile 'Profile2'
Included profile 'Profile2'
DEBUG: Examining profile 'Profile3'
Included profile 'Profile3'
DEBUG: wpa_start: wpa_supplicant -B -P /run/wpa_supplicant_wlan0.pid -i wlan0 -D nl80211,wext -c/run/network/wpa_supplicant_wlan0.conf -W
Successfully initialized wpa_supplicant
Line 6: Invalid passphrase length 0 (expected: 8..63) '"'.
Line 6: failed to parse psk '""'.
Line 8: failed to parse network block.
Line 12: Invalid PSK '*********'.
Line 12: failed to parse psk '*********'.
Line 14: failed to parse network block.
Failed to read or parse configuration '/run/network/wpa_supplicant_wlan0.conf'.- Edit 2:
A WPA key in one of the profiles was wrongly formatted or had whatever else error in it. I've deleted the profile and "netctl-auto start wlan0" ran without error.
So much headache for such a simple solution... *grr*
Last edited by ph34rb0t (2013-04-25 13:46:41)
Offline