mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-16 08:09:23 +01:00
iwd-wifi.bash: note existence of hidden networks
This commit is contained in:
parent
c2c19323df
commit
2953f724da
@ -12,13 +12,14 @@ WIFIDEVICE=wlan0
|
|||||||
# Scan and list results
|
# Scan and list results
|
||||||
iwctl station $WIFIDEVICE scan
|
iwctl station $WIFIDEVICE scan
|
||||||
iwctl station $WIFIDEVICE get-networks
|
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
|
# Print the command to connect. Replace $KEY and $SSID with the actual ones
|
||||||
# The manpage says: iwctl --passphrase=PASSPHRASE station DEVICE connect SSID
|
# The manpage says: iwctl --passphrase=PASSPHRASE station DEVICE connect SSID
|
||||||
# but considering it says -P is shorthand for passphrase, I think this should
|
# but considering it says -P is shorthand for passphrase, I think this should
|
||||||
# work too while being more logical in my opinion.
|
# work too while being more logical in my opinion.
|
||||||
echo "To connect:
|
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
|
# For permanent connections https://gitea.blesmrt.net/mikaela/shell-things/src/branch/master/var/lib/iwd
|
||||||
|
|
||||||
|
1
bash/usr-local-bin/iwd-wifi.bash
Symbolic link
1
bash/usr-local-bin/iwd-wifi.bash
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../iwd-wifi.bash
|
Loading…
Reference in New Issue
Block a user