Wifi (RTL8811AU) Setup

Post Reply
jhov94
Posts: 5
Joined: Sat Jan 04, 2020 9:10 am
languages_spoken: english
ODROIDs: C1+
Has thanked: 0
Been thanked: 0
Contact:

Wifi (RTL8811AU) Setup

Unread post by jhov94 » Sat Jan 04, 2020 9:27 am

Is there a setup guide to get a USB wifi dongle working on a C1+? The manual states "configure it like this screenshot" without any further guidance. I'm running Ubuntu MATE 18.04.3. Also note, I only have wifi network access so until I get it working, any downloads need to be transferred via flash drive.

User avatar
mad_ady
Posts: 7347
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 350 times
Been thanked: 252 times
Contact:

Re: Wifi (RTL8811AU) Setup

Unread post by mad_ady » Sat Jan 04, 2020 4:03 pm

It may depend on the dongle chipset you're using. Most should work out of the box. In the case of C1 make sure you reboot after plugging something in the usb port. Once booted you should see the network card (and surrounding networks) in NetworkManager.
If you don't, please paste here the output of these commands:

Code: Select all

lsusb
lsusb -t
ifconfig -a
nmcli c
nmcli dev wifi
uname -a
Your dongle should be the same as odroid module 5a, so should work.
You may need to do sudo apt-get dist-upgrade to upgrade the kernel though. Do an sudo apt-mark hold snapd before upgrading to prevent some booting issues.

jhov94
Posts: 5
Joined: Sat Jan 04, 2020 9:10 am
languages_spoken: english
ODROIDs: C1+
Has thanked: 0
Been thanked: 0
Contact:

Re: Wifi (RTL8811AU) Setup

Unread post by jhov94 » Sun Jan 05, 2020 1:03 am

Is there any way to upgrade the kernel with no internet access on the device being upgraded? Can I transfer it via flash drive, or even better, is there an image which includes the upgrade? I'm running the latest official release from HardKernel as far as I'm aware. Thanks.

User avatar
mad_ady
Posts: 7347
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 350 times
Been thanked: 252 times
Contact:

Re: Wifi (RTL8811AU) Setup

Unread post by mad_ady » Sun Jan 05, 2020 2:01 am

Yes, you can, but it's more difficult.

You'll need to grab and install the latest kernel, u-boot and firmware from here:
http://deb.odroid.in/c1/pool/main/l/linux-odroid-c/
http://deb.odroid.in/c1/pool/main/u/u-boot/

It should work with dpkg -i *.deb

jhov94
Posts: 5
Joined: Sat Jan 04, 2020 9:10 am
languages_spoken: english
ODROIDs: C1+
Has thanked: 0
Been thanked: 0
Contact:

Re: Wifi (RTL8811AU) Setup

Unread post by jhov94 » Sun Jan 05, 2020 10:20 am

Looks like I already had the latest kernel, 3.10.107-13. Here are the results of the commands you suggested. Thanks for your help!

Code: Select all

odroid@odroid:~$ lsusb
Bus 001 Device 006: ID 0bda:c811 Realtek Semiconductor Corp. 
Bus 001 Device 005: ID 125f:0001 A-DATA Technology Co., Ltd. 
Bus 001 Device 008: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 007: ID 413c:2011 Dell Computer Corp. Multimedia Pro Keyboard
Bus 001 Device 004: ID 413c:1005 Dell Computer Corp. Multimedia Pro Keyboard Hub
Bus 001 Device 003: ID 0c0b:b001 Dura Micro, Inc. (Acomdata) USB 2.0 Mass Storage IDE adapter
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
odroid@odroid:~$ lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M
        |__ Port 2: Dev 4, If 0, Class=Hub, Driver=hub/3p, 12M
            |__ Port 1: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
            |__ Port 1: Dev 7, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
            |__ Port 3: Dev 8, If 0, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 3: Dev 8, If 1, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 3: Dev 8, If 2, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 3: Dev 5, If 0, Class=Mass Storage, Driver=usb-storage, 480M
        |__ Port 4: Dev 6, If 0, Class=Vendor Specific Class, Driver=, 480M
odroid@odroid:~$ ifconfig -a
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 00:1e:06:10:33:d9  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 40  

ip6tnl0: flags=128<NOARP>  mtu 1452
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 0  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 1254  bytes 76801 (76.8 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1254  bytes 76801 (76.8 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

sit0: flags=128<NOARP>  mtu 1480
        sit  txqueuelen 0  (IPv6-in-IPv4)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

odroid@odroid:~$ nmcli c
NAME                UUID                                  TYPE      DEVICE 
Wired connection 1  2a924a19-d51c-32b7-8522-78e1dc492ae7  ethernet  --     
odroid@odroid:~$ nmcli dev wifi
odroid@odroid:~$ uname -a
Linux odroid 3.10.107-13 #2 SMP PREEMPT Wed Jun 19 02:31:43 -03 2019 armv7l armv7l armv7l GNU/Linux
odroid@odroid:~$ 


User avatar
mad_ady
Posts: 7347
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 350 times
Been thanked: 252 times
Contact:

Re: Wifi (RTL8811AU) Setup

Unread post by mad_ady » Sun Jan 05, 2020 4:08 pm

I see the dongle over usb but there is no driver attached. Try to collect the dmesg output as well. Either the driver is too old and doesn't see the new dongle or it's missing firmware files.
There are also alternate drivers on github that you can compile, but it requires your c1 to have internet access.

Maybe @odroid has better suggestions.

User avatar
odroid
Site Admin
Posts: 33297
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 376 times
Been thanked: 449 times
Contact:

Re: Wifi (RTL8811AU) Setup

Unread post by odroid » Mon Jan 06, 2020 10:49 am

Your wifi dongle is not RTL8811AU since the VID:PID is not 0BDA:A811.
I think your dongle has the RTL8811CU chipset which is not compatible with RTL8811AU/RTL8812AU device driver.

If you have an Ethernet connection with your C1, try this DKMS driver build.
viewtopic.php?f=177&t=34769

jhov94
Posts: 5
Joined: Sat Jan 04, 2020 9:10 am
languages_spoken: english
ODROIDs: C1+
Has thanked: 0
Been thanked: 0
Contact:

Re: Wifi (RTL8811AU) Setup

Unread post by jhov94 » Mon Jan 06, 2020 11:14 am

Thanks, I guess I'll return the adapter and try another. It was advertised as a RTL8811AU chipset. I either have ethernet and no display, or a display and no ethernet, so I need to get this running offline.

User avatar
odroid
Site Admin
Posts: 33297
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 376 times
Been thanked: 449 times
Contact:

Re: Wifi (RTL8811AU) Setup

Unread post by odroid » Mon Jan 06, 2020 11:27 am

If you don't use the display GPU driver, consider using Armbian C1 OS image which seems to support the RTL8811CU chipset.
https://www.armbian.com/odroid-c1/

jhov94
Posts: 5
Joined: Sat Jan 04, 2020 9:10 am
languages_spoken: english
ODROIDs: C1+
Has thanked: 0
Been thanked: 0
Contact:

Re: Wifi (RTL8811AU) Setup

Unread post by jhov94 » Mon Jan 06, 2020 11:30 pm

I do need the GPU. I'm returning the wifi dongle to try another. Hopefully the next one will have the correct chipset. Thanks again for all the help!

Post Reply

Return to “Hardware and peripherals”

Who is online

Users browsing this forum: No registered users and 6 guests