Skip to content

Instantly share code, notes, and snippets.

@vbajpai
Created August 24, 2012 12:56
Show Gist options
  • Save vbajpai/3450274 to your computer and use it in GitHub Desktop.
Save vbajpai/3450274 to your computer and use it in GitHub Desktop.
netcfg configuration for eduroam
CONNECTION='wireless'
INTERFACE='wlan0'
SCAN='no'
SECURITY='wpa-config'
ESSID='eduroam'
IP='dhcp'
TIMEOUT='30'
WPA_CONF='/etc/wpa_supplicant.conf'
@vbajpai
Copy link
Author

vbajpai commented Aug 24, 2012

    >> cat /etc/wpa_supplicant.conf

    ctrl_interface=/var/run/wpa_supplicant
    eapol_version=1
    ap_scan=1
    fast_reauth=1

    network={
      ssid="eduroam"
      key_mgmt=IEEE8021X WPA-NONE WPA-EAP
      eap=PEAP
      identity="..."
      password=hash:[...]
      priority=2
      auth_alg=OPEN
    }

@vbajpai
Copy link
Author

vbajpai commented Aug 24, 2012

To generate the hash:

>> echo -n $PASSWORD | iconv -t utf16le | openssl md4

@vbajpai
Copy link
Author

vbajpai commented Dec 27, 2012

identity is $USERNAME@$UNIVERSITY_DOMAIN

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment