Ubuntu 18.04 未找到以太网设备(WiFi 工作正常)

Ubuntu 18.04 未找到以太网设备(WiFi 工作正常)

我正在使用全新的 Dell XPS 13 9370(带有 Ubuntu 18.04 的开发者版本)和 Dell dock WD15(带有 RealTek 千兆以太网适配器)。设置后的第一天或第二天有线连接可以正常工作,但现在找不到设备,只有 WiFi 可以正常工作:

bart@bart:~$ ifconfig -a
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
    inet 127.0.0.1  netmask 255.0.0.0
    inet6 ::1  prefixlen 128  scopeid 0x10<host>
    loop  txqueuelen 1000  (Local Loopback)
    RX packets 2796  bytes 263389 (263.3 KB)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 2796  bytes 263389 (263.3 KB)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    inet 10.16.60.2  netmask 255.255.192.0  broadcast 10.16.63.255
    inet6 fe80::66a1:cfc:5a38:e81c  prefixlen 64  scopeid 0x20<link>
    ether 9c:b6:d0:92:e2:47  txqueuelen 1000  (Ethernet)
    RX packets 14541  bytes 9101768 (9.1 MB)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 10748  bytes 1753428 (1.7 MB)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Ubuntu GUI 中也没有可用的有线互联网设置,只有无线设置......

bart@bart:~$ 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:02:00.0
   logical name: wlp2s0
   version: 32
   serial: 9c:b6:d0:92:e2:47
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
   configuration: broadcast=yes driver=ath10k_pci driverversion=4.15.0-1028-oem firmware=WLAN.RM.4.4.1-00079-QCARMSWPZ-1 ip=10.16.60.2 latency=0 link=yes multicast=yes wireless=IEEE 802.11
   resources: irq:134 memory:dc000000-dc1fffff

任何帮助将不胜感激!

答案1

解决方案是通过创建以下文件来禁用 ehci_hcd 内核模块加载:

bart@bart:/etc/modprobe.d$ cat blacklist-test.conf
blacklist ehci_hcd

我不确定这为什么有效,但它解决了我的问题。

如果有人能对该解决方案的副作用提供解释或评论,我将不胜感激!

相关内容