运行时以太网和 WiFi 显示为无人认领
sudo lshw -C network
[sudo] password for gumby:
*-network UNCLAIMED
description: Network controller
product: RTL8188EE Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: ioport:3000(size=256) memory:f0200000-f0203fff
*-network UNCLAIMED
description: Ethernet controller
product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:05:00.0
version: 07
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list
configuration: latency=0
resources: ioport:2000(size=256) memory:f0004000-f0004fff memory:f0000000-f0003fff memory:f0010000-f001ffff
以旧版本启动
sudo lshw -C network
[sudo] password for gumby:
*-network
description: Wireless interface
product: RTL8188EE Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlo1
version: 01
serial: 0c:84:dc:86:d9:70
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtl8188ee driverversion=4.13.0-19-generic firmware=N/A ip=10.42.0.1 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:33 ioport:3000(size=256) memory:f0200000-f0203fff
*-network
description: Ethernet interface
product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:05:00.0
logical name: eno1
version: 07
serial: a0:48:1c:0b:29:53
size: 100Mbit/s
capacity: 100Mbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8106e-1_0.0.1 06/29/12 ip=192.168.1.13 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
resources: irq:31 ioport:2000(size=256) memory:f0004000-f0004fff memory:f0000000-f0003fff memory:f0010000-f001ffff
rfkill list all
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
答案1
首先,我们看到的是这样的:
/etc/modprobe.d/iwlwifi.conf 第 1 行:忽略以“option”开头的错误行
该文件现内容如下:
选项 iwlwifi 11n_disable=1
该文件被错误地覆盖。它应该是:
# /etc/modprobe.d/iwlwifi.conf
# iwlwifi will dyamically load either iwldvm or iwlmvm depending on the
# microcode file installed on the system. When removing iwlwifi, first
# remove the iwl?vm module and then iwlwifi.
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211
options iwlwifi 11n_disable=1
请恢复已删除的内容,然后确定该术语选项带有 s。
接下来,正如您所发现的,当您启动到较早的内核版本时,以太网和无线(我假设)会按预期工作。让我们尝试重新安装 -32 版本。
sudo apt install --reinstall linux-image-4.13.0-32-generic
sudo apt install --reinstall linux-headers-4.13.0-32-generic
重启。现在一切正常了吗?