我正在寻求帮助来尝试连接到我工作的 Wi-Fi。我目前使用的是 Kubuntu 18.04,无法在笔记本电脑上连接到我工作的 WPA2 企业 wifi,但我的 Android 手机工作正常。 android 设置为 EAP 方法 PEAP、无阶段 2 身份验证、无 CA 证书。我不认为这个问题是 Kubuntu 特有的。
这是我到目前为止所做的事情。我已经禁用了网络管理器,并一直使用wpa_supplicant
root 身份来测试/etc/wpa_supplicant.conf
文件中的各种配置。我可以使用这种方法很好地连接到我的家庭 WiFi,这样卡和驱动程序就可以工作。
当我使用以下方式扫描工作的 Wi-Fi 时:
ip link set wlp3s0 up
iw wlp3s0 scan
我得到以下输出:
ERP: <no flags>
RSN: *Version: 1
*Group cipher: TKIP
*Pairwise ciphers: CCMP
*Authentication suites: IEEE 802.1X
*Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)
WPA: *Version 1
*Group cipher: TKIP
*Pairwise ciphers: TKIP
*Authentication suites: IEEE 802.1X
所以我尝试了许多不同的配置参数来尝试让它工作。这是我的/etc/wpa_supplicant.conf
文件
ctrl_interface=/run/wpa_supplicant
ctrl_interface_group=root
update_config=1
network={
ssid="MYWORK"
scan_ssid=1
proto=RSN #Have also tried WPA here, as well as leaving blank
key_mgmt=WPA-EAP #Have also tried IEEE8021X here as well as leaving blank
pairwise=CCMP #when trying proto=WPA, changed this to TKIP, have also left blank before
group=TKIP #have tried leaving blank
eap=PEAP #have tried leaving blank
phase1="peaplabel=auto tls_disable_tlsv1_2=1" #tried this after reading another article on this site where some people's work's wifis were not tls 1.2. Neither blank nor disabled works.
phase2="autheap=MSCHAPV2" #have tried leaving this out
identity="MYID"
password="MYPASSWORD"
}
我已经尝试了上述的多种组合,但均无济于事。这是wpa_supplicant -Dnl80211 -i wlp3s0 -c /etc/wpa_supplicant.conf
我第一次尝试时的输出key_mgmt=WPA-EAP
:
Successfully initialized wpa_supplicant
wlp3s0: SME: Trying to authenticate with XX:XX:XX:XX:XX:XX (SSID='MYWORK' freq=2462 MHz)
wlp3s0: Trying to associate with XX:XX:XX:XX:XX:XX (SSID='MYWORK' freq=2462 MHz)
wlp3s0: Associated with XX:XX:XX:XX:XX:XX
wlp3s0: CTRL-EVENT-EAP-STARTED EAP authentication started
wlp3s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
wlp3s0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=25
wlp3s0: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected
wlp3s0: CTRL-EVENT-EAP-FAILURE EAP authentication failed
wlp3s0: CTRL-EVENT-DISCONNECTED bssid=00:0b:86:0a:b8:c1 reason=3
wlp3s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="MWORK" auth_failures=1 duration=10 reason=AUTH_FAILED
nl80211: deinit ifname=p2p-dev-wlp3s0 disabled_11b_rates=0
p2p-dev-wlp3s0: CTRL-EVENT-TERMINATING
nl80211: deinit ifname=wlp3s0 disabled_11b_rates=0
wlp3s0: CTRL-EVENT-TERMINATING
尝试时输出key-mgmt=IEEE8021X
有点不同:
Successfully initialized wpa_supplicant
wlp3s0: SME: Trying to authenticate with XX:XX:XX:XX:XX:XX (SSID='MYWORK' freq=2462 MHz)
wlp3s0: Trying to associate with XX:XX:XX:XX:XX:XX (SSID='MWORK' freq=2462 MHz)
wlp3s0: CTRL-EVENT-ASSOC-REJECT bssid=XX:XX:XX:XX:XX:XX status_code=10
wlp3s0: SME: Deauth request to the driver failed
我也尝试过使用-Dwext
驱动程序,但也不起作用。
我有什么想法或我应该尝试的事情吗?是否有windows和android都使用而linux默认没有的兼容模式?我没有获得任何证书,也不需要在 Windows 或 Android 上指定它们才能连接。我很感激任何帮助!