Skip to content

sidstuff/bits

Repository files navigation

How to connect to the BITS Pilani Wi-Fi on Linux via the CLI

Requirements

  • Bash
  • either wpa_supplicant or iwd
  • (optional) NetworkManager with/without Netplan

Initial setup

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.

Login

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.

About

How to connect to the BITS Pilani Wi-Fi using either wpa_supplicant or netplan.

Resources

Stars

Watchers

Forks

Languages