Hello,
I am trying to set up a Wi-Fi network in my dorm room, which has dot1x protocol. Bought a TP-Link C6U and installed the latest version of OpenWrt. Followed some tutorials and ended up with the following wpa.conf:
trl_interface=/var/run/wpa_supplicant
ctrl_interface_group=root
ap_scan=0
network={
key_mgmt=IEEE8021X
eap=PEAP
phase2="auth=MSCHAPV2"
pairwise=CCMP TKIP
#ca_cert=""
identity=
psk=
}
When I run
wpa_supplicant -D wired -i wan -c /etc/config/wpa.conf
I get the following output:
wan: CTRL-EVENT-EAP-STARTED EAP authentication started
wan: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=13 -> NAK
wan: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=25
wan: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected
wan: CTRL-EVENT-EAP-FAILURE EAP authentication failed
My Uni doesn't use a security certificate for login, i think that might be important. The same credentials (username, password, phase, eap) are fine when I plug the laptop straight into the Ethernet port. I am using wpad, not wpad-mini or other variants.