- Bash
- either wpa_supplicant or iwd
- (optional) NetworkManager with/without Netplan
Run any one of
su -c "wget -qO- https://github.com/sidstuff/bits/raw/master/wifi-setup.sh | bash" -
su -c "curl -fsSL https://github.com/sidstuff/bits/raw/master/wifi-setup.sh | bash" -
while connected to another network. If no root password is set but sudo is available, prefix the above command with sudo
.
Once the above script is done running, you should be connected to the BITS-STUDENT Wi-Fi within a few seconds, at which point you will also need to log in through a captive portal.
This can be done via the CLI by running (as root) the file
/root/bits-login.sh
which will have been created by the earlier command.
Henceforth all that needs to be done is to re-run the above (as root or with sudo
) whenever you need to get past the captive portal again.