Jump to content

Recommended Posts

Posted

Problem:
Wifi Dongle D-Link DWA-131 (RTL8192EU) doesn't work in automated 'armbian-config' program to configure it as an AP.

 

Tried:

On a fresh install of Buster Current on SD card, I booted up and did 'armbian-config > Network > Hotspot'.

At the end of the setup it said there is no compatible 'hostapd' driver.

 

I also tried an image of FriendlyWRT on this SBC. I could get the Wifi Dongle to be recognized, but radio0 said "device not set", and wifi was 'not associated'.

 

Goal:
Get DWA-131 to function as a hotspot on my FriendlyElec NanoPi R2S using armbian (or FriendlyWRT). I want to use this device as a hotspot (or router) at my work because their wifi sucks and to learn more about SBC's.

 

Specs:
NanoPi R2S https://www.friendlyarm.com/index.php?route=product/product&path=69&product_id=282
D-link DWA-131 https://24h.pchome.com.tw/prod/DSBA0W-A90085BDV
Armbian_20.05.2_Nanopi-r2s_buster_current_5.4.43

 

Quote

 

armbianmonitor -u

http://ix.io/2suY

 


Debug info:
 

Quote

# dmesg
[    4.333069] usb 2-1: New USB device found, idVendor=2001, idProduct=3319, bcdDevice= 2.00
[    4.333088] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.333099] usb 2-1: Product: Wireless N Nano USB Adapter
[    4.333109] usb 2-1: Manufacturer: Realtek
[    4.333121] usb 2-1: SerialNumber: 00e04c000001
... (cut out lines)
[   12.131320] usbcore: registered new interface driver cdc_ether
[   12.163106] usb 2-1: This Realtek USB WiFi dongle (0x2001:0x3319) is untested!
[   12.163114] usb 2-1: Please report results to Jes.Sorensen@gmail.com
[   12.235701] EXT4-fs (zram0): mounted filesystem without journal. Opts: discard
[   12.235744] ext4 filesystem being mounted at /var/log supports timestamps until 2038 (0x7fffffff)
[   12.261799] usb 5-1: reset SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[   12.297327] r8152 5-1:1.0 (unnamed net_device) (uninitialized): DT mac addr aa:b4:3e:6d:73:95
[   12.333013] r8152 5-1:1.0 eth1: v1.10.11
[   12.338547] r8152 5-1:1.0 lan0: renamed from eth1
[   12.433172] usb 2-1: Vendor: Realtek
[   12.433180] usb 2-1: Product: Wireless N
[   12.433184] usb 2-1: Serial: no USB Adap
[   12.433189] usb 2-1: rtl8192eu_parse_efuse: dumping efuse (0x200 bytes):
[   12.433194] usb 2-1: 00: 29 81 00 7c 01 40 03 00
[   12.433199] usb 2-1: 08: 40 74 04 50 14 00 00 00
[   12.433204] usb 2-1: 10: 21 21 21 21 21 21 25 25
[   12.433208] usb 2-1: 18: 25 25 25 ee 0f ef ff ff
[   12.433212] usb 2-1: 20: ff ff ff ff ff ff ff ff
[   12.433217] usb 2-1: 28: ff ff ff ff ff ff ff ff
[   12.433221] usb 2-1: 30: ff ff ff ff ff ff ff ff
[   12.433226] usb 2-1: 38: ff ff 1e 1e 1e 1e 1e 1e
[   12.433231] usb 2-1: 40: 24 24 24 24 24 ee 0f ef
[   12.433235] usb 2-1: 48: ff ff ff ff ff ff ff ff
[   12.433239] usb 2-1: 50: ff ff ff ff ff ff ff ff
[   12.433243] usb 2-1: 58: ff ff ff ff ff ff ff ff
[   12.433248] usb 2-1: 60: ff ff ff ff ff ff ff ff
[   12.433252] usb 2-1: 68: ff ff ff ff ff ff ff ff
[   12.433257] usb 2-1: 70: ff ff ff ff ff ff ff ff
[   12.433261] usb 2-1: 78: ff ff ff ff ff ff ff ff
[   12.433265] usb 2-1: 80: ff ff ff ff ff ff ff ff
[   12.433270] usb 2-1: 88: ff ff ff ff ff ff ff ff
[   12.433275] usb 2-1: 90: ff ff ff ff ff ff ff ff
[   12.433279] usb 2-1: 98: ff ff ff ff ff ff ff ff
[   12.433284] usb 2-1: a0: ff ff ff ff ff ff ff ff
[   12.433288] usb 2-1: a8: ff ff ff ff ff ff ff ff
[   12.433292] usb 2-1: b0: ff ff ff ff ff ff ff ff
[   12.433297] usb 2-1: b8: 22 36 21 00 00 00 ff ff
[   12.433301] usb 2-1: c0: ff 01 00 10 00 00 00 ff
[   12.433306] usb 2-1: c8: 00 00 ff ff ff ff ff ff
[   12.433310] usb 2-1: d0: 01 20 19 33 e7 47 02 c4
[   12.433314] usb 2-1: d8: e9 0a 03 80 c9 09 03 52
[   12.433319] usb 2-1: e0: 65 61 6c 74 65 6b 1d 03
[   12.433323] usb 2-1: e8: 57 69 72 65 6c 65 73 73
[   12.433328] usb 2-1: f0: 20 4e 20 4e 61 6e 6f 20
[   12.433332] usb 2-1: f8: 55 53 42 20 41 64 61 70
[   12.433337] usb 2-1: 100: 74 65 72 00 ff ff ff ff
[   12.433341] usb 2-1: 108: ff ff ff ff ff ff ff ff
[   12.433346] usb 2-1: 110: ff ff ff ff ff ff ff 0d
[   12.433351] usb 2-1: 118: 03 00 05 00 30 00 00 00
[   12.433355] usb 2-1: 120: 00 93 ff ff ff ff ff ff
[   12.433360] usb 2-1: 128: ff ff ff ff ff ff ff ff
[   12.433365] usb 2-1: 130: f6 a8 98 2d 03 92 98 00
[   12.433369] usb 2-1: 138: fc 8c 00 11 9b 44 02 0a
[   12.433374] usb 2-1: 140: ff ff ff ff ff ff ff ff
[   12.433378] usb 2-1: 148: ff ff ff ff ff ff ff ff
[   12.433383] usb 2-1: 150: ff ff ff ff ff ff ff ff
[   12.433387] usb 2-1: 158: ff ff ff ff ff ff ff ff
[   12.433392] usb 2-1: 160: ff ff ff ff ff ff ff ff
[   12.433396] usb 2-1: 168: ff ff ff ff ff ff ff ff
[   12.433401] usb 2-1: 170: ff ff ff ff ff ff ff ff
[   12.433406] usb 2-1: 178: ff ff ff ff ff ff ff ff
[   12.433410] usb 2-1: 180: ff ff ff ff ff ff ff ff
[   12.433415] usb 2-1: 188: ff ff ff ff ff ff ff ff
[   12.433419] usb 2-1: 190: ff ff ff ff ff ff ff ff
[   12.433423] usb 2-1: 198: ff ff ff ff ff ff ff ff
[   12.433427] usb 2-1: 1a0: ff ff ff ff ff ff ff ff
[   12.433432] usb 2-1: 1a8: ff ff ff ff ff ff ff ff
[   12.433437] usb 2-1: 1b0: ff ff ff ff ff ff ff ff
[   12.433441] usb 2-1: 1b8: ff ff ff ff ff ff ff ff
[   12.433446] usb 2-1: 1c0: ff ff ff ff ff ff ff ff
[   12.433450] usb 2-1: 1c8: ff ff ff ff ff ff ff ff
[   12.433454] usb 2-1: 1d0: ff ff ff ff ff ff ff ff
[   12.433458] usb 2-1: 1d8: ff ff ff ff ff ff ff ff
[   12.433463] usb 2-1: 1e0: ff ff ff ff ff ff ff ff
[   12.433467] usb 2-1: 1e8: ff ff ff ff ff ff ff ff
[   12.433472] usb 2-1: 1f0: ff ff ff ff ff ff ff ff
[   12.433476] usb 2-1: 1f8: ff ff ff ff ff ff ff ff
[   12.433485] usb 2-1: RTL8192EU rev B (SMIC) 2T2R, TX queues 3, WiFi=1, BT=0, GPS=0, HI PA=0
[   12.433491] usb 2-1: RTL8192EU MAC: c4:e9:0a:03:80:c9
[   12.433497] usb 2-1: rtl8xxxu: Loading firmware rtlwifi/rtl8192eu_nic.bin
[   12.436151] usb 2-1: Firmware revision 19.0 (signature 0x92e1)
[   13.512552] usbcore: registered new interface driver rtl8xxxu


 

Quote

root@nanopi-r2s:~# lsusb
Bus 005 Device 002: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
Bus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 2001:3319 D-Link Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 

Quote

root@nanopi-r2s:~# lsmod | grep rt
rtl8xxxu              118784  0
mac80211              544768  1 rtl8xxxu


 

Quote

 

root@nanopi-r2s:~# nmcli
eth0: connected to Wired connection 2
        "eth0"
        ethernet (rk_gmac-dwmac), AA:B4:3E:6D:73:75, hw, mtu 1500
        ip4 default
        inet4 192.168.0.102/24
        route4 0.0.0.0/0
        route4 192.168.0.0/24
        inet6 fe80::1c02:d0fe:3a49:a2e7/64
        route6 fe80::/64
        route6 ff00::/8

lan0: connected to lan0
        "Realtek RTL8153"
        ethernet (r8152), AA:B4:3E:6D:73:95, hw, mtu 1500
        inet4 169.254.8.45/16
        route4 169.254.0.0/16

wlxc4e90a0380c9: disconnected
        "D-Link Nano"
        wifi (rtl8xxxu), C4:E9:0A:03:80:C9, hw, mtu 1500

lo: unmanaged
        "lo"
        loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536

DNS configuration:
        servers: 192.168.0.1 61.31.233.1 8.8.8.8 61.31.1.1
        domains: hitronhub.home
        interface: eth0

 

 

Quote

 

root@nanopi-r2s:~# iwconfig
eth0      no wireless extensions.

lo        no wireless extensions.

lan0      no wireless extensions.

wlxc4e90a0380c9  IEEE 802.11  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Encryption key:off
          Power Management:off

 

 

Thank you in advance for any suggestions, or advice you can give me.

Posted

Update:

 

I emailed Friendly Elec's techsupport and asked what USB Wifi dongles they suggest. They suggested the following 2 ones:

 

翼联(EDUP)精灵系列 USB无线网卡 5G双频1300M迷你千兆网卡 台式机笔记本随身WiFi接收器发射器

https://item.jd.com/100010609884.html

 

Comfast CF-811AC

https://item.taobao.com/item.htm?spm=a1z09.2.0.0.727b2e8dKBBArc&id=591251554421&_u=s1q462875f9

 

You can find these on Aliexpress. I bought both of these and will test them when they arrive in 20-40 days.

 

I asked if these would work on Nano Pi R1, and they said 'no' :(

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines