我刚刚在预装 Windows 10 的 eExo Smart R9 F2445 笔记本电脑上安装了 Ubuntu 16.04。问题是 Ubuntu 找不到任何 wifi 网络。它甚至没有给我启用 wifi 的选项。蓝牙工作正常,但没有 wifi。
我尝试使用 ndiswrapper 安装 Windows 驱动程序,但它仍然不起作用。
我lshw -C network
在终端上写道并输出:
descripción: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
fabricante: Realtek Semiconductor Co., Ltd.
id físico: 0
información del bus: pci@0000:02:00.0
nombre lógico: ens1
versión: 0c
serie: b0:25:aa:1f:fb:16
tamaño: 100Mbit/s
capacidad: 1Gbit/s
anchura: 64 bits
reloj: 33MHz
capacidades: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuración: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168g-2_0.0.1 02/06/13 ip=192.168.1.36 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
recursos: irq:310 ioport:e000(size=256) memoria:81200000-81200fff memoria:a0000000-a0003fff
结果lspci -knn
:
00:00.0 Host bridge [0600]: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series SoC Transaction Register [8086:2280] (rev 35)
Subsystem: Device [1d05:1012]
Kernel driver in use: iosf_mbi_pci
00:02.0 VGA compatible controller [0300]: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller [8086:22b1] (rev 35)
DeviceName: Onboard IGD
Subsystem: Device [1d05:1012]
Kernel driver in use: i915
Kernel modules: i915
00:13.0 SATA controller [0106]: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series SATA Controller [8086:22a3] (rev 35)
Subsystem: Device [1d05:1012]
Kernel driver in use: ahci
Kernel modules: ahci
00:14.0 USB controller [0c03]: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series USB xHCI Controller [8086:22b5] (rev 35)
Subsystem: Device [1d05:1012]
Kernel driver in use: xhci_hcd
00:1a.0 Encryption controller [1080]: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Trusted Execution Engine [8086:2298] (rev 35)
Subsystem: Device [1d05:1012]
Kernel driver in use: mei_txe
Kernel modules: mei_txe
00:1b.0 Audio device [0403]: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series High Definition Audio Controller [8086:2284] (rev 35)
Subsystem: Device [1d05:1012]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Express Port #1 [8086:22c8] (rev 35)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.1 PCI bridge [0604]: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Express Port #2 [8086:22ca] (rev 35)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1f.0 ISA bridge [0601]: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCU [8086:229c] (rev 35)
Subsystem: Device [1d05:1012]
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich
00:1f.3 SMBus [0c05]: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx SMBus Controller [8086:2292] (rev 35)
Subsystem: Device [1d05:1012]
Kernel modules: i2c_i801
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c)
Subsystem: Device [1d05:1012]
Kernel driver in use: r8169
Kernel modules: r8169
$lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0bda:b720 Realtek Semiconductor Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
答案1
您的无线设备是这样的:
0bda:b720 瑞昱半导体公司
它使用驱动程序 rtl8723bu。我将提出一种安装驱动程序的方法,如果成功,则对其进行一些修改,以避免每次内核升级后重新编译驱动程序。
请打开终端并执行:
sudo apt-get update
sudo apt-get install git
git clone https://github.com/lwfinger/rtl8723bu.git
cd rtl8723bu
nano Makefile
找到大约第 21 行的内容:
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
用符号 # 将其注释掉,现在内容如下:
#EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
保存(Ctrl+o 然后按 Enter)并关闭(Ctrl+x)文本编辑器。
现在继续:
make
sudo make install
sudo modprobe 8723bu
你的无线网络正常吗?
编辑:您将只为当前正在运行的内核编译驱动程序。当 Update Manager 在请求重启后安装较新的内核版本(也称为 linux-image)时,请重新编译:
cd rtl8723bu
make clean
make
sudo make install
sudo modprobe 8723bu
请保留该文件和这些说明。
编辑2:要使模块在启动时自动加载,请执行以下操作:
echo 8723bu | sudo tee -a /etc/modules