Ubuntu 16.04:使用 WPA 和 WPA2 Enterprise(使用证书)无法上网

Ubuntu 16.04:使用 WPA 和 WPA2 Enterprise(使用证书)无法上网

第一次提问!

我正在尝试使用我的新 Acer Aspire F15 笔记本电脑连接到我大学的 wifi,并且我运行的是 Ubuntu 16.04.2 LTS 64 位。我以前在家里连接 wifi 没有任何问题,我可以通过手机热点连接到互联网。问题是不是我无法连接到路由器 - 它让我连接正常。但是,一旦连接,我就无法连接到互联网。我还咨询了 IT 服务部门,据说我已经正确设置了所有设置(包括使用证书 - 请参阅附件中的设置)。将这些相同的设置与运行相同 Ubuntu 发行版的旧款 Acer 笔记本电脑一起使用,运行正常。

这个问题也并不一致。我去了我所在大学的 IT 帮助台,删除了连接,然后重新连接,在大楼里就可以上网了。然而,回到办公室后,我再也无法上网了,删除并重新连接也无法解决问题。我问过 IT 台他们是否有任何见解,但他们似乎力不从心,因为他们几乎只使用 Windows 和 Mac。

我尝试了该网站提供的不同解决方案,包括在文件的部分auth-alg=open内进行设置,但没有成功。[wifi-security]/etc/NetworkManager/system-connections/wpa.mcgill.ca这个人似乎有与我类似的问题,没有解决方案。

我附上了一张显示我的连接设置的截图(为了便于查看,我删除了我的用户名和密码)。我还附上了一些我听说过的命令的相关输出,以节省您的时间(我认为应该删除一些细节,用 # 符号代替)。如果您需要任何其他输出,请告诉我!

任何帮助都将不胜感激!我不想继续使用我的手机数据……

$ sudo lspci -vnn
02:00.0 Network controller [0280]: Qualcomm Atheros Device [168c:0042] (rev 31)
    Subsystem: Lite-On Communications Inc Device [11ad:08a6]
    Flags: bus master, fast devsel, latency 0, IRQ 131
    Memory at a1000000 (64-bit, non-prefetchable) [size=2M]
    Capabilities: [40] Power Management version 3
    Capabilities: [50] MSI: Enable+ Count=8/8 Maskable+ 64bit-
    Capabilities: [70] Express Endpoint, MSI 00
    Capabilities: [100] Advanced Error Reporting
    Capabilities: [148] Virtual Channel
    Capabilities: [168] Device Serial Number 00-00-00-00-00-00-00-00
    Capabilities: [178] Latency Tolerance Reporting
    Capabilities: [180] L1 PM Substates
    Kernel driver in use: ath10k_pci
    Kernel modules: ath10k_pci
03:00.1 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 12)
    Subsystem: Acer Incorporated [ALI] RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1025:108f]
    Flags: bus master, fast devsel, latency 0, IRQ 128
    I/O ports at 3000 [size=256]
    Memory at a1204000 (64-bit, non-prefetchable) [size=4K]
    Memory at a1200000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: [40] Power Management version 3
    Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
    Capabilities: [70] Express Endpoint, MSI 01
    Capabilities: [b0] MSI-X: Enable- Count=4 Masked-
    Capabilities: [d0] Vital Product Data
    Capabilities: [100] Advanced Error Reporting
    Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
    Capabilities: [170] Latency Tolerance Reporting
    Capabilities: [178] L1 PM Substates
    Kernel driver in use: r8169
    Kernel modules: r8169

$ sudo lshw -C network
*-network               
   description: Wireless interface
   product: Qualcomm Atheros
   vendor: Qualcomm Atheros
   physical id: 0
   bus info: pci@0000:02:00.0
   logical name: wlp2s0
   version: 31
   serial: 94:e9:79:e4:91:b3
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
   configuration: broadcast=yes driver=ath10k_pci driverversion=4.4.0-70-generic firmware=WLAN.TF.1.0-00267-1 ip=###.###.###.## latency=0 link=yes multicast=yes wireless=IEEE 802.11abgn
   resources: irq:131 memory:a1000000-a11fffff
*-network
   description: Ethernet interface
   product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
   vendor: Realtek Semiconductor Co., Ltd.
   physical id: 0.1
   bus info: pci@0000:03:00.1
   logical name: enp3s0f1
   version: 12
   serial: a8:1e:84:0b:05:2b
   size: 10Mbit/s
   capacity: 1Gbit/s
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
   configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8411-2_0.0.1 07/08/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
   resources: irq:127 ioport:3000(size=256) memory:a1204000-a1204fff memory:a1200000-a1203fff

$ iwconfig
enp3s0f1  no wireless extensions.

lo        no wireless extensions.

wlp2s0    IEEE 802.11abgn  ESSID:"wpa.mcgill.ca"  
      Mode:Managed  Frequency:5.18 GHz  Access Point: ##:##:##:##:##:##   
      Bit Rate=6 Mb/s   Tx-Power=30 dBm   
      Retry short limit:7   RTS thr:off   Fragment thr:off
      Power Management:on
      Link Quality=64/70  Signal level=-46 dBm  
      Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
      Tx excessive retries:0  Invalid misc:20   Missed beacon:0

$ sudo cat /etc/NetworkManager/system-connections/wpa.mcgill.ca 
[connection]
id=wpa.mcgill.ca
uuid=##########################
type=wifi
permissions=user:####:;
secondaries=
timestamp=#######

[wifi]
mac-address=##:##:##:##:##:##
mac-address-blacklist=
mac-address-randomization=0
mode=infrastructure
seen-bssids=##:##:##:##:##:##;##:##:##:##:##:##;
ssid=wpa.mcgill.ca

[wifi-security]
group=
key-mgmt=wpa-eap
pairwise=
proto=

[802-1x]
altsubject-matches=
ca-cert=/etc/ssl/certs/thawte_Primary_Root_CA_-_G3.pem
eap=peap;
identity=########@mail.mcgill.ca
password=#######
phase2-altsubject-matches=
phase2-auth=mschapv2

[ipv4]
dns-search=
method=auto

[ipv6]
addr-gen-mode=stable-privacy
dns-search=
ip6-privacy=0
method=auto

$ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

$ rfkill list
0: hci0: Bluetooth
    Soft blocked: yes
    Hard blocked: no
1: acer-wireless: Wireless LAN
    Soft blocked: no
    Hard blocked: no
2: acer-bluetooth: Bluetooth
    Soft blocked: yes
    Hard blocked: no
3: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no

屏幕截图显示了用于连接 Wifi 的参数:

在此处输入图片描述

更新:

4.4.0-72-generic内核升级到4.8.0-46-generic内核并没有解决我的问题...仍然没有解决方案。

相关内容