情况
我在桌面上运行 Ubuntu 16.04 (4.15.0-48-generic),我想让我的Netgear AC1200 WiFi USB 适配器,型号 A6150(与 Realtek RTL8812BU 芯片组)一起工作。
我已经关注chili555 在此 SE 问题中提供的解决方案,所有步骤成功结束。例如,我已经从这个 repo 安装了驱动程序:
https://github.com/cilynx/rtl88x2BU_WiFi_linux_v5.2.4.4_26334.20180126_COEX20171012-5044.git
我已重新启动系统。
问题
它似乎不起作用,也就是说,当我拔掉以太网电缆时,我失去了连接(插入了加密狗)。我不知道现在该怎么办(而且我对 Linux 还很陌生)。
更多信息
- 在
All Settings
>中Network
我没有看到任何与 wifi 相关的内容。我的桌面是否需要设置才能使用 wifi?
- 输出
lsusb
(除其他外)显示我的加密狗已被找到
Bus 002 Device 005: ID 0846:9055 NetGear, Inc.
输出
lshw -C network
(整个输出)network description: Ethernet interface product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:05:00.0 logical name: enp5s0 version: 06 serial: bc:5f:f4:0d:49:48 size: 1Gbit/s capacity: 1Gbit/s width: 64 bits clock: 33MHz capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168e-3_0.0.4 03/27/12 ip=192.168.137.249 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s resources: irq:17 ioport:d000(size=256) memory:d2104000-d2104fff memory:d2100000-d2103fff
rfkill list all
不输出任何东西。
更新(例如基于评论)
sudo modprobe 88x2bu
不产生任何输出。即,它会立即请求下一个输入,而不会输出任何内容。输出
dmesg | grep -i rtl
[ 3.054709] r8169 0000:05:00.0 eth0: RTL8168evl/8111evl at 0x (ptrval), bc:5f:f4:0d:49:48, XID 0c900800 IRQ 30
[ 5573.899004] RTW: rtl88x2bu v5.3.1_27678.20180430_COEX20180427-5959
[ 5573.899005] RTW: rtl88x2bu BT-Coex version = COEX20180427-5959
[ 5573.899033] usbcore: registered new interface driver rtl88x2bu
[ 6025.932877] usbcore: deregistering interface driver rtl88x2bu
[ 6028.668674] RTW: rtl88x2bu v5.3.1_27678.20180430_COEX20180427-5959
[ 6028.668675] RTW: rtl88x2bu BT-Coex version = COEX20180427-5959
[ 6028.668705] usbcore: registered new interface driver rtl88x2bu
- 输出
dkms status
:
bbswitch, 0.8, 4.15.0-32-generic, x86_64: installed
bbswitch, 0.8, 4.15.0-33-generic, x86_64: installed
bbswitch, 0.8, 4.15.0-34-generic, x86_64: installed
bbswitch, 0.8, 4.15.0-36-generic, x86_64: installed
bbswitch, 0.8, 4.15.0-39-generic, x86_64: installed
bbswitch, 0.8, 4.15.0-42-generic, x86_64: installed
bbswitch, 0.8, 4.15.0-43-generic, x86_64: installed
bbswitch, 0.8, 4.15.0-48-generic, x86_64: installed
ndiswrapper, 1.60, 4.15.0-48-generic, x86_64: installed
nvidia-384, 384.130, 4.15.0-43-generic, x86_64: installed
nvidia-384, 384.130, 4.15.0-48-generic, x86_64: installed
rtl88x2bu, 5.2.4.4, 4.15.0-48-generic, x86_64: installed (WARNING! Diff between built and installed module!)
rtl88x2bu, 5.3.1, 4.15.0-48-generic, x86_64: built
输出
modinfo 88x2bu | grep 9055
:无输出
modprobe -c | grep 0846 | grep 9055
:无
答案1
在终端中执行此操作
sudo dkms uninstall rtl88x2bu/5.2.4.4
sudo dkms remove rtl88x2bu/5.2.4.4 --all
sudo dkms uninstall rtl88x2bu/5.3.1
sudo dkms remove rtl88x2bu/5.3.1 --all
git clone https://github.com/cilynx/rtl88x2bu.git
cd rtl88x2bu</pre></code>
VER=$(sed -n 's/\PACKAGE_VERSION="\(.*\)"/\1/p' dkms.conf)
sudo rsync -rvhP ./ /usr/src/rtl88x2bu-${VER}
sudo dkms add -m rtl88x2bu -v ${VER}
sudo dkms build -m rtl88x2bu -v ${VER}
sudo dkms install -m rtl88x2bu -v ${VER}
sudo modprobe 88x2bu
重启