16.04无法连接到WPA2企业PEAP网络

分享于 

3分钟阅读

ubuntu

  繁體

问题

以下是/etc/NetworkManager/system-connections/条目:


[connection]


id=tusd-students


uuid=d815af85-42ad-49b2-b207-1db6359e8c9a


type=wifi


permissions=user:ashwin:;


secondaries=



[wifi]


mac-address={my mac address}


mac-address-blacklist=


mac-address-randomization=0


mode=infrastructure


seen-bssids=


ssid=tusd-students



[wifi-security]


auth-alg=open


group=


key-mgmt=wpa-eap


pairwise=


proto=



[802-1x]


altsubject-matches=


eap=peap;


identity={my username}


password={my password}


phase2-altsubject-matches=


phase2-auth=mschapv2



[ipv4]


dns-search=


method=auto



[ipv6]


addr-gen-mode=stable-privacy


dns-search=


method=auto



两者的相关部分是:


Jul 6 07:58:10 smashtop NetworkManager[928]: <warn> [1499353090.8128] device (wlp4s0): Activation: (wifi) association took too long


Jul 6 07:58:10 smashtop NetworkManager[928]: <info> [1499353090.8129] device (wlp4s0): state change: config -> need-auth (reason 'none') [50 60 0]


Jul 6 07:58:10 smashtop kernel: [36118.979991] wlp4s0: deauthenticating from 64:d8:14:86:09:27 by local choice (Reason: 3=DEAUTH_LEAVING)


Jul 6 07:58:10 smashtop NetworkManager[928]: <warn> [1499353090.8163] device (wlp4s0): Activation: (wifi) asking for new secrets


Jul 6 07:58:10 smashtop wpa_supplicant[1053]: wlp4s0: CTRL-EVENT-DISCONNECTED bssid=64:d8:14:86:09:27 reason=3 locally_generated=1


Jul 6 07:58:10 smashtop NetworkManager[928]: <warn> [1499353090.8285] sup-iface[0x292acb0,wlp4s0]: connection disconnected (reason -3)




答案1

问题已经解决(来自这里)。


[ipv6]


method=auto



[connection]


id=SSID #(e.g.EDUroam)


uuid=9e123fbc-0123-46e3-97b5-f3214e123456 #unique uuid will be created upon creation of this profile


type=802-11-wireless



[802-11-wireless-security]


key-mgmt=wpa-eap


auth-alg=open



[802-11-wireless]


ssid=SSID


mode=infrastructure


mac-address=0A:12:3C:DA:C1:A5


security=802-11-wireless-security



[802-1x]


eap=peap;


identity=studentid123123


phase2-auth=mschapv2


password=mypass123123



[ipv4]


method=auto



删除其他内容。


答案2

你需要获取CA证书并安装它。



network  CAN  Enter  企业  WPA  
相关文章