Skip to content

Instantly share code, notes, and snippets.

@zeroby0
Last active February 6, 2019 14:16
Show Gist options
  • Select an option

  • Save zeroby0/edd78b284050f24d6f8dd5e3d81bd9fe to your computer and use it in GitHub Desktop.

Select an option

Save zeroby0/edd78b284050f24d6f8dd5e3d81bd9fe to your computer and use it in GitHub Desktop.
Login to IIITB Milan WiFi with raspberry-pi.
  • Add these lines to your /etc/wpa_supplicant/wpa_supplicant.conf
network={
        ssid="IIITB-Milan"
        proto=RSN
        key_mgmt=WPA-EAP
        pairwise=CCMP TKIP
        group=CCMP TKIP
        identity="iiitb\user.name"
        password="Your password"
        phase1="peaplabel=0"
        phase2="auth=MSCHAPV2"
}
  • Add these to your /etc/network/interface
auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
    pre-up wpa_supplicant -B -Dwext -i wlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf
    post-down killall -q wpa_supplicant
  • Restart you pi

  • Edit files as root with sudo. ctrl-shift-v to paste to terminal.
  • I found ethernet to be orders of magnitude faster with 3B. Use ethernet for large downloads.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment