情況
我在桌面上運行 Ubuntu 16.04 (4.15.0-48-generic),我想獲得我的Netgear AC1200 WiFi USB 轉接器,型號 A6150(配備 Realtek RTL8812BU 晶片組)即可運作。
我已遵循chili555 在這個 SE 問題中的解決方案,所有步驟都成功終止。即我已經從這個儲存庫安裝了驅動程式:
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.
Outout of
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
重啟