Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Connect to a WPA2 Enterprise network with wpa_supplicant with this .conf file. I used this to connect to my university's wireless network.
# Connect to a WPA2 Enterprise network with wpa_supplicant with this .conf file.
# I used this to connect to my university's wireless network on Arch linux.
# Here's the command I used:
#
# wpa_supplicant -i wlan0 -c ./wpa_supplicant.conf
#
network={
ssid="YOUR_SSID"
scan_ssid=1
key_mgmt=WPA-EAP
identity="YOUR_USERNAME"
password="YOUR_PASSWORD"
eap=PEAP
phase1="peaplabel=0"
phase2="auth=MSCHAPV2"
}
@fillipefeitosa

This comment has been minimized.

Copy link

commented May 8, 2018

Thanks for sharing. It worked on Eduroam, although I made the mistake to click on another conection and now I cant connect to eduroam anymore. Any ideias on how to connect to eduroam automatically?

@james4388

This comment has been minimized.

Copy link

commented Jun 19, 2018

@fillipefeitosa you can add priority to the config file

network={
  ssid="YOUR_SSID"
  priority=1
}
@the2boys10

This comment has been minimized.

Copy link

commented Aug 9, 2018

Yo man trying to use this to access eduroam from a EV3 but when I try to use the command it tells me that phrase1 and phrase2 are unknown network fields, any ideas?

@dikeert

This comment has been minimized.

Copy link

commented Aug 12, 2018

@the2boys10 its "pHAse1" and "pHAse2"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.