安装Ubuntu 16.04后没有网络设备

最近,我买了预装Windows 10的联想T470。我通过USB启动并行安装Ubuntu 16.04。 Wifi连接不会像许多其他post那样显示。

我的主目录是加密的,如果它是相关的。

检查后,没有可用的Wifi /网络设备。

lspci -n -d 14e4 

( 没有反应 )

 iwconfig enp0s31f6 no wireless extensions. lo no wireless extensions. 

设置中也没有显示任何无线驱动程序。

我怀疑Ubuntu无法识别我的无线设备。 是否有任何建议/更多信息需要解决问题?

更新1:
在Pilot6的评论之后,我再次检查,仍然没有回应。

 lspci -knn | grep Net -A2 

更新2:

 lspci 00:00.0 Host bridge: Intel Corporation Device 5904 (rev 02) 00:02.0 VGA compatible controller: Intel Corporation Device 5916 (rev 02) 00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21) 00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21) 00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI (rev 21) 00:1c.0 PCI bridge: Intel Corporation Device 9d10 (rev f1) 00:1c.6 PCI bridge: Intel Corporation Device 9d16 (rev f1) 00:1d.0 PCI bridge: Intel Corporation Device 9d18 (rev f1) 00:1d.2 PCI bridge: Intel Corporation Device 9d1a (rev f1) 00:1f.0 ISA bridge: Intel Corporation Device 9d58 (rev 21) 00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21) 00:1f.3 Audio device: Intel Corporation Device 9d71 (rev 21) 00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21) 00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (4) I219-V (rev 21) 04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device b822 3e:00.0 Non-Volatile memory controller: Toshiba America Info Systems Device 0115 (rev 01) lsusb Bus 002 Device 002: ID 0bda:0316 Realtek Semiconductor Corp. Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 04f2:b5ab Chicony Electronics Co., Ltd Bus 001 Device 003: ID 0bda:b023 Realtek Semiconductor Corp. Bus 001 Device 002: ID 058f:9540 Alcor Micro Corp. AU9540 Smartcard Reader Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 

更新3:在LaunchPad上询问后提供了更多信息

 sudo lshw -C network *-network description: Ethernet interface product: Ethernet Connection (4) I219-V vendor: Intel Corporation physical id: 1f.6 bus info: pci@0000:00:1f.6 logical name: enp0s31f6 version: 21 serial: 54:e1:ad:1f:de:57 capacity: 1Gbit/s width: 32 bits clock: 33MHz capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=0.1-4 latency=0 link=no multicast=yes port=twisted pair resources: irq:122 memory:ec200000-ec21ffff lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.2 LTS Release: 16.04 Codename: xenial uname -a Linux simon-ThinkPad-T470 4.8.0-36-generic #36~16.04.1-Ubuntu SMP Sun Feb 5 09:39:57 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux rfkill list 0: hci0: Bluetooth Soft blocked: no Hard blocked: no 1: tpacpi_bluetooth_sw: Bluetooth Soft blocked: no Hard blocked: no 

既然你有4.8内核,试试吧

 sudo apt-get install git build-essential git clone https://github.com/rtlwifi-linux/rtlwifi-next.git cd rtlwifi-next make sudo make install 

重启

它应该使用4.8内核进行一些警告编译

让我们禁用模块中的省电模式

 echo "options rtl8822be ips=N" | sudo tee /etc/modprobe.d/rtl8822be.conf 

我们将使用下一个命令阻止Network Manager尝试启用电源管理

 sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf 

重启

我最近遇到了与HP笔记本电脑(14-cf0xxx)同样的问题,我试图安装Fedora 28. Fedora 28附带了这个内核:

 kernel-4.16.3-301.fc28.x86_64 

使用此版本,rtl * WiFi硬件将无法正常工作。 然而,当我使用以太网更新系统以便我可以访问Internet时,这个较新版本的Linux内核可以正常工作:

内核4.18.5-200.fc28.x86_64

对包的简单更新解决了这个问题,节省了手动构建模块的工作量。

注意:这是我正在处理的WiFi硬件:

 $ lspci | grep Realtek 01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15) 02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter