iwd-wifi.bash: note existence of hidden networks

This commit is contained in:
Aminda Suomalainen 2024-07-09 21:20:09 +03:00
parent c2c19323df
commit 2953f724da
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 3 additions and 1 deletions

View File

@ -12,13 +12,14 @@ WIFIDEVICE=wlan0
# Scan and list results
iwctl station $WIFIDEVICE scan
iwctl station $WIFIDEVICE get-networks
iwctl station $WIFIDEVICE get-hidden-access-points
# Print the command to connect. Replace $KEY and $SSID with the actual ones
# The manpage says: iwctl --passphrase=PASSPHRASE station DEVICE connect SSID
# but considering it says -P is shorthand for passphrase, I think this should
# work too while being more logical in my opinion.
echo "To connect:
% iwctl station $WIFIDEVICE connect \$SSID -P \$KEY
% iwctl station $WIFIDEVICE connect-[hidden] \$SSID -P \$KEY
"
# For permanent connections https://gitea.blesmrt.net/mikaela/shell-things/src/branch/master/var/lib/iwd

View File

@ -0,0 +1 @@
../iwd-wifi.bash