Skip to content

Instantly share code, notes, and snippets.

@brahimmachkouri
Created November 11, 2014 16:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brahimmachkouri/c4f8ea39d9b177cba9c8 to your computer and use it in GitHub Desktop.
Save brahimmachkouri/c4f8ea39d9b177cba9c8 to your computer and use it in GitHub Desktop.
muliple ssids
# put the following content in /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet dhcp
auto wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
# put this content in /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="mon-ssid"
psk="ma-cle-secrete"
id_str="home"
}
network={
ssid="eduroam"
proto=WPA
key_mgmt=WPA-EAP
eap=TTLS
phase2="auth=PAP"
pairwise=TKIP
anonymous_identity="anonymous@univ-reims.fr"
identity="login"
password="password"
id_str="URCA"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment