3 3
Alex Kholodkov

Odroid XU4 + WiFi USB dongle Realtek RTL8812AU

Recommended Posts

Hello,

I had succeeded install last version of Armbian on Odroid XU4.
I have WiFi USB dongle Realtek RTL8812AU chipset (ID = 0bda:8812)

I see it  

$ lsusb
Bus 003 Device 003: ID 0bda:8812 Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac WLAN Adapter
$ dmesg | grep -i usb
[    9.630704] [c5] RTL871X: rtl8812au v4.2.5_10143.20140103_ASUS
[    9.887562] [c5] usbcore: registered new interface driver rtl8812au
[18812.680134] [c2] RTL871X: nolinked power save leave

but no Wifi interface

Could anyone please help solve it

201609291607421166.jpg

Share this post


Link to post
Share on other sites

Did you figure out this issue?  I have been considering buying this dongle since my current Realtek N dongle intermittently drops the signal on Armbian Ubuntu zenial mainline...not sure if the OS is actually the problem.

Share this post


Link to post
Share on other sites
6 hours ago, BigG2017 said:

not sure if the OS is actually the problem.


In most cases, problems are drivers and WiFi drivers are among most critical ones. It's actually hard to find a good working one.  RTL8812AU was working fine on my brief testing ... but don't actually use it.

 

Not with build in driver, but with this one: https://github.com/gnab/rtl8812au It's easy to compile within armbian, just blacklist the on which is build in if necessary. And make sure you have good - original power supply, USB3 powering is a must.

Share this post


Link to post
Share on other sites

This should work in both Debian Jessie and Ubuntu Xenial:

git clone https://github.com/gnab/rtl8812au
sed -i -e 's/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/' \
    -e 's/CONFIG_PLATFORM_ARM_RPI = n/CONFIG_PLATFORM_ARM_RPI = y/' rtl8812au/Makefile
sudo apt install build-essential dkms
sudo mv rtl8812au /usr/src/8812au-4.2.2
sudo dkms add -m 8812au -v 4.2.2
sudo dkms build -m 8812au -v 4.2.2
sudo dkms install -m 8812au -v 4.2.2

And this is the result:

root@clearfogpro:~# iwconfig wlan0
wlan0     IEEE 802.11an  ESSID:"Snort-Honeynet 5GHz"  Nickname:"<WIFI@REALTEK>"
          Mode:Managed  Frequency:5.2 GHz  Access Point: BC:05:43:BE:C1:E3   
          Bit Rate:300 Mb/s   Sensitivity:0/0  
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:****-****-****-****-****-****-****-****   Security mode:open
          Power Management:off
          Link Quality=100/100  Signal level=68/100  Noise level=0/100
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

 

Share this post


Link to post
Share on other sites

Thanks again.  On a separate but related note, I'm having issues maintaining wifi connectivity using the latest Armbian mainline (zenial based) with the Airlink101 Wireless N 150 Mini USB Adapter.  It worked fine with my Raspberry Pi3, but it frequently disconnects, and I have to manual reconnect frequently.  'lsusb' identifies it as "Realtek RTL8188CUS".  Any ideas on how to fix this issue?

Share this post


Link to post
Share on other sites

Well, I couldn't determine the cause of signal dropping with the Airlink (RTL 8188CUS), so I took the somewhat easier way out and purchased a similar USB wifi adapter used on this thread with the RTL8812AU.  So far, I haven't experience any drops.

 @tkaiserThanks for the command line help!

Share this post


Link to post
Share on other sites

I did not tested myself yet, but RTL8811AU is more cheap alternative to RTL8812AU.

 

My devices are listed as "0bda:a811 Realtek Semiconductor Corp.", this id already exists in driver, discussed in this thread.

Share this post


Link to post
Share on other sites
3 minutes ago, AlexisTM said:

is not present on armbian with the rtl8814AU driver?


I haven't noticed anything like that but this doesn't mean it is not present. There is only one way - to test closely but I can do that fastest once next week.

Odroid kernel doesn't have support for 8814au either IIRC, only 8812au.

Share this post


Link to post
Share on other sites

@AlexisTM

Odroid XU4 4.9.y

Spoiler

64 bytes from 172.16.100.1: icmp_seq=1 ttl=64 time=1.23 ms
64 bytes from 172.16.100.1: icmp_seq=2 ttl=64 time=1.35 ms
64 bytes from 172.16.100.1: icmp_seq=3 ttl=64 time=1.47 ms
64 bytes from 172.16.100.1: icmp_seq=4 ttl=64 time=1.55 ms
64 bytes from 172.16.100.1: icmp_seq=5 ttl=64 time=1.24 ms
64 bytes from 172.16.100.1: icmp_seq=6 ttl=64 time=1.25 ms
64 bytes from 172.16.100.1: icmp_seq=7 ttl=64 time=1.25 ms
64 bytes from 172.16.100.1: icmp_seq=8 ttl=64 time=1.47 ms
64 bytes from 172.16.100.1: icmp_seq=9 ttl=64 time=1.60 ms
64 bytes from 172.16.100.1: icmp_seq=10 ttl=64 time=1.21 ms
64 bytes from 172.16.100.1: icmp_seq=11 ttl=64 time=1.94 ms
64 bytes from 172.16.100.1: icmp_seq=12 ttl=64 time=1.28 ms
64 bytes from 172.16.100.1: icmp_seq=13 ttl=64 time=1.41 ms
64 bytes from 172.16.100.1: icmp_seq=14 ttl=64 time=1.16 ms
64 bytes from 172.16.100.1: icmp_seq=15 ttl=64 time=1.52 ms
64 bytes from 172.16.100.1: icmp_seq=16 ttl=64 time=1.18 ms
64 bytes from 172.16.100.1: icmp_seq=17 ttl=64 time=1.18 ms
64 bytes from 172.16.100.1: icmp_seq=18 ttl=64 time=1.25 ms
64 bytes from 172.16.100.1: icmp_seq=19 ttl=64 time=1.21 ms
64 bytes from 172.16.100.1: icmp_seq=20 ttl=64 time=1.17 ms
64 bytes from 172.16.100.1: icmp_seq=21 ttl=64 time=1.18 ms
64 bytes from 172.16.100.1: icmp_seq=22 ttl=64 time=2.20 ms
64 bytes from 172.16.100.1: icmp_seq=23 ttl=64 time=1.25 ms
64 bytes from 172.16.100.1: icmp_seq=24 ttl=64 time=1.24 ms
64 bytes from 172.16.100.1: icmp_seq=25 ttl=64 time=1.15 ms
64 bytes from 172.16.100.1: icmp_seq=26 ttl=64 time=1.19 ms
64 bytes from 172.16.100.1: icmp_seq=27 ttl=64 time=1.34 ms

 

 

 

Cubox 4.14.18

Spoiler

64 bytes from 172.16.100.1: icmp_seq=1 ttl=64 time=2.34 ms
64 bytes from 172.16.100.1: icmp_seq=2 ttl=64 time=2.47 ms
64 bytes from 172.16.100.1: icmp_seq=3 ttl=64 time=2.70 ms
64 bytes from 172.16.100.1: icmp_seq=4 ttl=64 time=2.27 ms
64 bytes from 172.16.100.1: icmp_seq=5 ttl=64 time=2.55 ms
64 bytes from 172.16.100.1: icmp_seq=6 ttl=64 time=2.41 ms
64 bytes from 172.16.100.1: icmp_seq=7 ttl=64 time=2.63 ms
64 bytes from 172.16.100.1: icmp_seq=8 ttl=64 time=4.95 ms
64 bytes from 172.16.100.1: icmp_seq=9 ttl=64 time=2.57 ms
64 bytes from 172.16.100.1: icmp_seq=10 ttl=64 time=2.70 ms
64 bytes from 172.16.100.1: icmp_seq=11 ttl=64 time=2.89 ms
64 bytes from 172.16.100.1: icmp_seq=12 ttl=64 time=2.47 ms
64 bytes from 172.16.100.1: icmp_seq=13 ttl=64 time=2.42 ms
64 bytes from 172.16.100.1: icmp_seq=14 ttl=64 time=2.33 ms
64 bytes from 172.16.100.1: icmp_seq=15 ttl=64 time=2.32 ms
64 bytes from 172.16.100.1: icmp_seq=16 ttl=64 time=2.54 ms
64 bytes from 172.16.100.1: icmp_seq=17 ttl=64 time=2.55 ms
64 bytes from 172.16.100.1: icmp_seq=18 ttl=64 time=2.58 ms
64 bytes from 172.16.100.1: icmp_seq=19 ttl=64 time=2.57 ms
64 bytes from 172.16.100.1: icmp_seq=20 ttl=64 time=2.40 ms
64 bytes from 172.16.100.1: icmp_seq=21 ttl=64 time=2.55 ms
64 bytes from 172.16.100.1: icmp_seq=22 ttl=64 time=2.54 ms
64 bytes from 172.16.100.1: icmp_seq=23 ttl=64 time=2.67 ms
64 bytes from 172.16.100.1: icmp_seq=24 ttl=64 time=2.38 ms
64 bytes from 172.16.100.1: icmp_seq=25 ttl=64 time=2.41 ms
64 bytes from 172.16.100.1: icmp_seq=26 ttl=64 time=2.42 ms
64 bytes from 172.16.100.1: icmp_seq=27 ttl=64 time=2.43 ms
64 bytes from 172.16.100.1: icmp_seq=28 ttl=64 time=2.28 ms
64 bytes from 172.16.100.1: icmp_seq=29 ttl=64 time=2.54 ms
64 bytes from 172.16.100.1: icmp_seq=30 ttl=64 time=2.30 ms
64 bytes from 172.16.100.1: icmp_seq=31 ttl=64 time=2.41 ms
64 bytes from 172.16.100.1: icmp_seq=32 ttl=64 time=2.72 ms
64 bytes from 172.16.100.1: icmp_seq=33 ttl=64 time=5.14 ms
64 bytes from 172.16.100.1: icmp_seq=34 ttl=64 time=2.32 ms
64 bytes from 172.16.100.1: icmp_seq=35 ttl=64 time=2.51 ms
64 bytes from 172.16.100.1: icmp_seq=36 ttl=64 time=2.46 ms
64 bytes from 172.16.100.1: icmp_seq=37 ttl=64 time=4.58 ms
64 bytes from 172.16.100.1: icmp_seq=38 ttl=64 time=2.47 ms
64 bytes from 172.16.100.1: icmp_seq=39 ttl=64 time=2.42 ms
64 bytes from 172.16.100.1: icmp_seq=40 ttl=64 time=2.30 ms
64 bytes from 172.16.100.1: icmp_seq=41 ttl=64 time=2.44 ms
64 bytes from 172.16.100.1: icmp_seq=42 ttl=64 time=2.38 ms
64 bytes from 172.16.100.1: icmp_seq=43 ttl=64 time=2.55 ms
64 bytes from 172.16.100.1: icmp_seq=44 ttl=64 time=2.42 ms
64 bytes from 172.16.100.1: icmp_seq=45 ttl=64 time=2.30 ms
64 bytes from 172.16.100.1: icmp_seq=46 ttl=64 time=2.53 ms
64 bytes from 172.16.100.1: icmp_seq=47 ttl=64 time=2.43 ms
64 bytes from 172.16.100.1: icmp_seq=48 ttl=64 time=2.44 ms
64 bytes from 172.16.100.1: icmp_seq=49 ttl=64 time=2.41 ms
64 bytes from 172.16.100.1: icmp_seq=50 ttl=64 time=2.28 ms
64 bytes from 172.16.100.1: icmp_seq=51 ttl=64 time=2.42 ms
64 bytes from 172.16.100.1: icmp_seq=52 ttl=64 time=2.40 ms
64 bytes from 172.16.100.1: icmp_seq=53 ttl=64 time=2.61 ms
64 bytes from 172.16.100.1: icmp_seq=54 ttl=64 time=2.51 ms
64 bytes from 172.16.100.1: icmp_seq=55 ttl=64 time=2.41 ms
64 bytes from 172.16.100.1: icmp_seq=56 ttl=64 time=2.42 ms
64 bytes from 172.16.100.1: icmp_seq=57 ttl=64 time=2.39 ms
64 bytes from 172.16.100.1: icmp_seq=58 ttl=64 time=2.43 ms
64 bytes from 172.16.100.1: icmp_seq=59 ttl=64 time=5.81 ms
64 bytes from 172.16.100.1: icmp_seq=60 ttl=64 time=2.30 ms
64 bytes from 172.16.100.1: icmp_seq=61 ttl=64 time=2.54 ms
64 bytes from 172.16.100.1: icmp_seq=62 ttl=64 time=2.71 ms
64 bytes from 172.16.100.1: icmp_seq=63 ttl=64 time=3.32 ms
64 bytes from 172.16.100.1: icmp_seq=64 ttl=64 time=2.42 ms
64 bytes from 172.16.100.1: icmp_seq=65 ttl=64 time=2.57 ms
64 bytes from 172.16.100.1: icmp_seq=66 ttl=64 time=2.42 ms
64 bytes from 172.16.100.1: icmp_seq=67 ttl=64 time=2.45 ms
64 bytes from 172.16.100.1: icmp_seq=68 ttl=64 time=2.45 ms
64 bytes from 172.16.100.1: icmp_seq=69 ttl=64 time=2.57 ms
64 bytes from 172.16.100.1: icmp_seq=70 ttl=64 time=2.65 ms
64 bytes from 172.16.100.1: icmp_seq=71 ttl=64 time=2.45 ms
64 bytes from 172.16.100.1: icmp_seq=72 ttl=64 time=2.52 ms
64 bytes from 172.16.100.1: icmp_seq=73 ttl=64 time=2.42 ms
64 bytes from 172.16.100.1: icmp_seq=74 ttl=64 time=2.45 ms
64 bytes from 172.16.100.1: icmp_seq=75 ttl=64 time=2.80 ms
64 bytes from 172.16.100.1: icmp_seq=76 ttl=64 time=2.72 ms
64 bytes from 172.16.100.1: icmp_seq=77 ttl=64 time=2.66 ms
64 bytes from 172.16.100.1: icmp_seq=78 ttl=64 time=2.31 ms
64 bytes from 172.16.100.1: icmp_seq=79 ttl=64 time=2.65 ms
64 bytes from 172.16.100.1: icmp_seq=80 ttl=64 time=2.54 ms
64 bytes from 172.16.100.1: icmp_seq=81 ttl=64 time=2.38 ms
64 bytes from 172.16.100.1: icmp_seq=82 ttl=64 time=2.29 ms
64 bytes from 172.16.100.1: icmp_seq=83 ttl=64 time=2.55 ms
64 bytes from 172.16.100.1: icmp_seq=84 ttl=64 time=2.27 ms
64 bytes from 172.16.100.1: icmp_seq=85 ttl=64 time=7.72 ms
64 bytes from 172.16.100.1: icmp_seq=86 ttl=64 time=2.31 ms
64 bytes from 172.16.100.1: icmp_seq=87 ttl=64 time=2.58 ms
64 bytes from 172.16.100.1: icmp_seq=88 ttl=64 time=2.29 ms
64 bytes from 172.16.100.1: icmp_seq=89 ttl=64 time=2.30 ms
64 bytes from 172.16.100.1: icmp_seq=90 ttl=64 time=4.36 ms
64 bytes from 172.16.100.1: icmp_seq=91 ttl=64 time=2.73 ms
64 bytes from 172.16.100.1: icmp_seq=92 ttl=64 time=2.42 ms
64 bytes from 172.16.100.1: icmp_seq=93 ttl=64 time=2.30 ms
64 bytes from 172.16.100.1: icmp_seq=94 ttl=64 time=2.55 ms

 

 

 

It looks normal, no glitch. This driver update was already pushed into most kernels. Same results with 8814 or 8812, both test were made on 2.4 band.

Share this post


Link to post
Share on other sites
Bus 001 Device 010: ID 0bda:8812 Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac WLAN Adapter
Bus 001 Device 008: ID 0bda:a811 Realtek Semiconductor Corp.
Bus 001 Device 012: ID 0bda:8813 Realtek Semiconductor Corp.

Serial # :)

[ 1560.988790] usb 1-1.4.4.2: Product: 802.11ac NIC
[ 1560.988802] usb 1-1.4.4.2: Manufacturer: Realtek
[ 1560.988813] usb 1-1.4.4.2: SerialNumber: 123456

 

8814  https://www.gearbest.com/network-cards/pp_625323.html 

8811 https://www.gearbest.com/network-cards/pp_613225.html 

8812 is no name from eBay. It looks like this one.

 

Try again building from sources, Odroid XU4 NEXT ... I just pushed patches up. Those are tested.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
3 3