我最近在一台配备 Qualcomm Atheros 无线网卡的 MSI G40 上安装了 Ubuntu 16.04(双启动 Windows 10)。它工作正常,直到我尝试连接到以太网,此时我的无线连接变成了“有线”,无法使用。Linux 似乎现在认为我的两个连接都是有线以太网连接(请参阅下面的 ifconfig)。我尝试重新安装专有驱动程序(/lib/firmware/ath10k/QCA6174)和 Linux 固件,但没有成功。在多次打开和关闭我的电脑后,我短暂地获得了无线连接,但随后它又停止工作了。我确保在 Windows 中 ifconfig /release 我的所有地址并关闭快速启动
ifconfig 返回:
enp60s0 Link encap:Ethernet HWaddr d8:cb:8a:f1:15:a5
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1220 errors:0 dropped:0 overruns:0 frame:0
TX packets:1220 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:89744 (89.7 KB) TX bytes:89744 (89.7 KB)
wlp61s0 Link encap:Ethernet HWaddr b0:10:41:bc:c7:0d
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
和 nmcli dev:
DEVICE TYPE STATE CONNECTION
enp60s0 ethernet connected Auto Ethernet
wlp61s0 ethernet disconnected --
lo loopback unmanaged --
wlp61s0 不应是以太网而是无线。我该如何更改?
我的设置如下:
3c:00.0 Ethernet controller [0200]: Qualcomm Atheros Killer E2400 Gigabit Ethernet Controller [1969:e0a1] (rev 10)
Subsystem: Micro-Star International Co., Ltd. [MSI] Killer E2400 Gigabit Ethernet Controller [1462:1155]
Kernel driver in use: alx
Kernel modules: alx
3d:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 20)
Subsystem: Bigfoot Networks, Inc. Killer N1525 Wireless-AC [1a56:1525]
Kernel driver in use: ath10k_pci
Kernel modules: ath10k_pci
*-network
description: Ethernet interface
product: Killer E2400 Gigabit Ethernet Controller
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:3c:00.0
logical name: enp60s0
version: 10
serial: d8:cb:8a:f1:15:a5
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=alx latency=0 link=no multicast=yes port=twisted pair
resources: irq:28 memory:dd400000-dd43ffff ioport:c000(size=128)
*-network
description: Wireless interface
product: QCA6174 802.11ac Wireless Network Adapter
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:3d:00.0
logical name: wlp61s0
version: 20
serial: b0:10:41:bc:c7:0d
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-28-generic firmware=SW_RM.1.1.1-00157-QCARMSWPZ-1 latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
resources: irq:26 memory:dd200000-dd3fffff
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no