You are not logged in.
I have four wireless profiles in /etc/netctl and all of them work just fine when used manually, i.e. netctl enable <profile> or netctl start <profile>, but when I set up netctl-auto one of them keeps failing.
The three others are identical except for the SSID and the WPA key so I'm including just one of them here along with the one the keeps failing, but there's really nothing special here. The only difference is that the one that keeps failing has a hidden SSID.
One of the three which work:
Description='WiFi: AMPERSAND'
Interface=wlan0
Connection=wireless
Security=wpa
IP=dhcp
ESSID='ampersand'
# Prepend hexadecimal keys with \"
# If your key starts with ", write it as '""<key>"'
# See also: the section on special quoting rules in netctl.profile(5)
Key='0f20f8g0fg2'
# Uncomment this if your ssid is hidden
#Hidden=yes
The one that doesn't:
Description='WiFi: HANLUKIO'
Interface=wlan0
Connection=wireless
Security=wpa
IP=dhcp
ESSID='kjKJls83jpkskKkkUyasjqKAS'
# Prepend hexadecimal keys with \"
# If your key starts with ", write it as '""<key>"'
# See also: the section on special quoting rules in netctl.profile(5)
Key='CCyzJvIVljL9hsHSbhspPhs929c0hLssh38sPssofo382d8OS320dgSop3hfIGdi32GF'
# Uncomment this if your ssid is hidden
Hidden=yes
The wiki doesn't seem to mention anything specific concerning a hidden SSID and netctl-auto, and since all four work flawlessly when used manually, I'm out of ideas. I'll try setting $NETCTL_DEBUG on the next try and hopefully that will output something meaningful but that wont be till next week and I was curious if anyone knew off the bat what the issue might me.
Offline
As I understand man netctl.special, the netctl-auto does not honor the WPADriver parameters in the profiles, because it works on the interface level. Hence, the "Hidden=yes" is not parsed and the hidden ones are probably discarded.
You should be able to add the parameter "scan_ssid=1" (or "Hidden=yes" - not sure) to a hook for the interface in /etc/netctl/interfaces/
edit: wrong semantics striked; see below.
Last edited by Strike0 (2013-12-16 22:16:36)
Offline
As I understand man netctl.special, the netctl-auto does not honor the WPADriver parameters in the profiles, because it works on the interface level. Hence, the "Hidden=yes" is not parsed and the hidden ones are probably discarded.
That's nonsense. The hidden argument has no relation to the WPADriver.
Offline