You are not logged in.
I always use net-auto-wireless in my home. And today is first time I use wifi-menu since I am on a trip.
Then I found wifi-menu could find the hotel wifi AP and creates the profile in /etc/network.d. This AP is WPA and wifi-menu doesn't ask for passwd. The profile in /etc/network./ also doesn't have key.
I add the passwd manually and have a look at wifi-menu source code.
In line 111, you could see wifi-menu will ask to input passwd if AP is PSK and WEP. But if AP is WPA, wifi-menu doesn't ask to input passwd.
Is anyone know why? is it a bug for wifi-menu?
if [[ "$flags" =~ PSK|WEP ]]; then
[[ "$OBSCURE" ]] && box="--insecure --passwordbox" || box="--inputbox"
msg="Enter $security security key for\n'$1'"
key=$(dialog $box "$msg" 10 40 --stdout) || return $?
if [[ "${#key}" -ge 8 && "${#key}" -le 63 ]]; then
if [[ "$OBSCURE" ]]; then
key=$(wpa_passphrase "$1" "$key" | grep -m 1 "^[[:space:]]*psk=")
key=${key#*psk=}
else
key=$(printf "%q" "$key")
fi
elif ! [[ "${#key}" -eq 64 && "$key" = +([[:xdigit:]]) ]]; then
return 4
fi
fiOffline