add eduroam connection script
This commit is contained in:
parent
6371fccf33
commit
5ddd6b0195
18
local/bin/eduroam
Executable file
18
local/bin/eduroam
Executable file
@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
sudo sv stop iwd
|
||||
|
||||
conf="$(mktemp)"
|
||||
|
||||
cat > "$conf" <<HERE
|
||||
ctrl_interface=DIR=/run/wpa_supplicant GROUP=wheel
|
||||
network={
|
||||
ssid="eduroam"
|
||||
key_mgmt=WPA-EAP
|
||||
auth_alg=OPEN
|
||||
eap=PEAP
|
||||
identity="fvdrjeug@ugent.be"
|
||||
password="$(pass show ugent/_ | head -1)"
|
||||
}
|
||||
HERE
|
||||
|
||||
sudo wpa_supplicant -iwlp58s0 -c"$conf"
|
Loading…
Reference in New Issue
Block a user