无法连接到特定的 wifi 网络

tru*_*ype 6 networking dell drivers 16.04

这个问题已经被问过几次了,但我找到的解决方案都没有帮助。我已经尝试了所有我觉得舒服的解决方案。

我有一台运行 Ubuntu 16.04 的 Dell XPS Developer Edition,它可以连接到我连接的每个无线网络,除了我的家庭 WiFi。我已经通过无线连接到数十个其他网络,但没有任何问题,但我在家里却无法连接。

我家的 wifi 连接其他 16.04 笔记本电脑没有问题,包括具有相同无线卡(不确定驱动程序是否相同)的笔记本电脑。

输出sudo lshw -c network

  *-network               
       description: Wireless interface
       product: QCA6174 802.11ac Wireless Network Adapter
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:3a:00.0
       logical name: wlp58s0
       version: 32
       serial: 9c:b6:d0:dc:d2:a7
       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-93-generic firmware=WLAN.RM.2.0-00180-QCARMSWPZ-1 latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
       resources: irq:135 memory:dc000000-dc1fffff
  *-network
       description: Ethernet interface
       physical id: 2
       logical name: enx9cebe851ff48
       serial: 9c:eb:e8:51:ff:48
       capabilities: ethernet physical
       configuration: broadcast=yes driver=cdc_ncm driverversion=22-Aug-2005 firmware=CDC NCM ip=192.168.1.116 link=yes multicast=yes
Run Code Online (Sandbox Code Playgroud)

我看过很多涉及的答案,modprobe但我对此并不熟悉,并且在做了一些研究之后,这似乎并不是我想要做的事情(在只在与其他相关的地方看到它之后)其他操作系统上的适配器”)。如果有人在这里发布了同样的内容,知道我拥有什么硬件,我会尝试一下。


编辑1

输出lspci -knn | grep Net -A3; rfkill list

3a:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)
    Subsystem: Bigfoot Networks, Inc. QCA6174 802.11ac Wireless Network Adapter [1a56:1535]
    Kernel driver in use: ath10k_pci
    Kernel modules: ath10k_pci
3b:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader [10ec:525a] (rev 01)
0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
Run Code Online (Sandbox Code Playgroud)

tru*_*ype 3

我终于找到了导致这个问题的原因。

我不是 100% 确定它为什么有效,因为我没有注意到与提出这个问题的人相同的问题,但它对我有用。

编辑NetworkManager.conf文件

vim /etc/NetworkManager/NetworkManager.conf
Run Code Online (Sandbox Code Playgroud)

并通过将这些行添加到文件底部来禁用随机 MAC 寻址:

[device]
wifi.scan-rand-mac-address=no
Run Code Online (Sandbox Code Playgroud)

然后,保存文件,并重新启动网络管理器

sudo service network-manager restart
Run Code Online (Sandbox Code Playgroud)

这对我有用。

  • 我已经在文件底部找到了这些行,但是根据这个答案重新启动网络管理器对我有用。 (2认同)