If your you need to connect to a WPA2 Enterprise wireless server similar to this setting in Ubuntu's network manager
Wireless security: WPA & WPA2 Enterprise
Authentication: Protected EAP (PEAP)
Anonymous Identity: NetID
CA certificate: None
PEAP version: Automatic
Inner Authentication: MSCHAPv2
Username: NetID
Password: password
This is the Ubuntu's WPA2 for setting above using network manager in wpa_supplicant.conf
network={
pairwise=CCMP
proto=RSN
ssid="YOURWPA2_AP_SSID"
password="MYPASSWD"
eap=PEAP
key_mgmt=WPA-EAP
phase2="auth=MSCHAPV2"
identity="MYNETID"
auth_alg=OPEN
phase1="peaplabel=auto peapver=0"
eapol_flag s=0
disbaled=1
}
This is the setting of the default Mageia 5 WPA2 Enterprise setting using network manager. in /etc/wpa_supplicant.conf. This will not work.
network={
pairwise=TKIP
proto=WPA
identity="MYNETID"
ssid="YOURWPA2_AP_SSID"
password="MYPASSWD"
scan_ssid=1
group=TKIP
mode=0
eap=PEAP
key_mgmt=WPA-EAP
phase2="auth=MSCHAPV2"
}
This is the Mageia's working WPA2 Enterprise setting equivalent to the one in Ubuntu . It works!
network={
pairwise=CCMP
proto=RSN
identity="MYNETID"
ssid="YOURWPA2_AP_SSID"
password="MYPASSWD"
scan_ssid=1
group=CCMP TKIP
mode=0
eap=PEAP
key_mgmt=WPA-EAP
phase2="auth=MSCHAPV2"
}
the difference between Ubuntu and Mageia's default WPA2 enterprise setting
+ scan_ssid=1 // mageia default
+ group=TKIP // mageia old use TKIP
+ mode=0 // mageia default
- auth_alg=OPEN // Ubuntu's, not needed in
- phase1="peaplabel=auto peapver=0" // Ubuntu
- eapol_flags=0 // Ubuntu
- disbaled=1 // Ubuntu
diff wpa_supplicant.conf wpa_supplicant.conf.old (the later the is Mageia's non-working default setting)
< pairwise=CCMP
< proto=RSN
< group=CCMP TKIP
> pairwise=TKIP
> proto=WPA
> group=TKIP
This is the 2/20 of my 開放改變20 initiative in this year.
沒有留言:
張貼留言