D-Link DWA-131 在 Ubuntu 18.04 中无法工作

D-Link DWA-131 在 Ubuntu 18.04 中无法工作

今天买了 Wi-Fi USB 适配器 D-Link DWA-131。它“开箱即用”。尝试了以下解决方案在 Ubuntu 14.04.4 下安装 DWA-131 WiFi 加密狗驱动程序- 也没什么帮助。

这是 dmesg 的结尾,希望它有意义:

[ 3548.951789] usb 1-5.2: new high-speed USB device number 7 using xhci_hcd
[ 3549.052123] usb 1-5.2: New USB device found, idVendor=2001, idProduct=3319
[ 3549.052133] usb 1-5.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3549.052138] usb 1-5.2: Product: Wireless N Nano USB Adapter
[ 3549.052144] usb 1-5.2: Manufacturer: Realtek
[ 3549.052148] usb 1-5.2: SerialNumber: 00e04c000001
[ 3549.053281] usb 1-5.2: This Realtek USB WiFi dongle (0x2001:0x3319) is untested!
[ 3549.053288] usb 1-5.2: Please report results to [email protected]
[ 3549.123642] usb 1-5.2: Vendor: Realtek
[ 3549.123646] usb 1-5.2: Product: Wireless N 
[ 3549.123648] usb 1-5.2: Serial: no USB Adap
[ 3549.123651] usb 1-5.2: rtl8192eu_parse_efuse: dumping efuse (0x200 bytes):
[ 3549.123654] usb 1-5.2: 00: 29 81 00 7c 01 40 03 00
...
[ 3549.123784] usb 1-5.2: 1f8: ff ff ff ff ff ff ff ff
[ 3549.123788] usb 1-5.2: RTL8192EU rev B (SMIC) 2T2R, TX queues 3, WiFi=1, BT=0, GPS=0, HI PA=0
[ 3549.123792] usb 1-5.2: RTL8192EU MAC: 18:0f:76:09:dc:de
[ 3549.123795] usb 1-5.2: rtl8xxxu: Loading firmware rtlwifi/rtl8192eu_nic.bin
[ 3549.267433] usb 1-5.2: Firmware revision 19.0 (signature 0x92e1)
[ 3550.737563] rtl8xxxu 1-5.2:1.0 wlx180f7609dcde: renamed from wlan0
[ 3550.793700] IPv6: ADDRCONF(NETDEV_UP): wlx180f7609dcde: link is not ready

对于此问题提供的任何帮助都将不胜感激。

UPD:这是 chili555 请求的诊断输出:

$ lsmod | grep rtl
rtl8xxxu              122880  0
rtl8188ee              94208  0
rtl_pci                32768  1 rtl8188ee
rtlwifi                77824  2 rtl_pci,rtl8188ee
mac80211              778240  4 rtl_pci,rtl8188ee,rtlwifi,rtl8xxxu
cfg80211              622592  3 mac80211,8192eu,rtlwifi

$ dmesg | grep wlx
[11931.764451] rtl8xxxu 1-5.2:1.0 wlx180f7609dcde: renamed from wlan0
[11931.966937] IPv6: ADDRCONF(NETDEV_UP): wlx180f7609dcde: link is not ready

$ rfkill list all
0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: yes
4: phy4: Wireless LAN
        Soft blocked: no
        Hard blocked: no

答案1

您加载了多个可能存在冲突的驱动程序。驱动程序rtl8xxxu应该可以很好地驱动 USB。让我们将所有其他设备列入黑名单,看看 USB 现在是否按预期工作。从终端:

sudo -i
echo "blacklist rtl8188ee"  >>  /etc/modprobe.d/blacklist.conf
echo "blacklist 8192eu"  >>  /etc/modprobe.d/blacklist.conf
exit

重新启动并告诉我们是否有任何改进。

答案2

这对我有用!我正在使用 ubuntu 18.04 和 D-link DWA-131 Ver E1 wifi usb 适配器。

https://github.com/Mange/rtl8192eu-linux-driver

答案3

对于我来说,它开箱即可使用,但我无法连接到任何 Wi-Fi 网络。

尝试在 BIOS 设置中启用 XHCI Handoff 和 EHCI Handoff。

将 regdomain 设置为正确的国家/地区,

iw reg set <US/CA/IN/etc>

设置禁用随机 MAC 扫描,

sudo nano /etc/NetworkManager/NetworkManager.conf

写下以下几行,

[device]
wifi.scan=rand-mac-address=no

遵循这些对我在 Xubuntu 20.04 上有效。

相关内容