Dongle wifi 5b not working with HC4 and ubuntu 22.04

Post Reply
Hunken
Posts: 6
Joined: Thu Dec 24, 2020 5:12 pm
languages_spoken: english
ODROIDs: Odroid H2+
Has thanked: 0
Been thanked: 0
Contact:

Dongle wifi 5b not working with HC4 and ubuntu 22.04

Post by Hunken »

Hello,

I bought an odroid HC4 and I installed ubuntu 22.04 on a SSD (SATA port) by following the tutorial here.

Everything seems to work fine with an ethernet cable. I wanted to try to set up a wifi connection via the 5B dongle.

I plugged the dongle but it is not recognized properly.

Code: Select all

~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 0bda:1a2b Realtek Semiconductor Corp. RTL8188GU 802.11n WLAN Adapter (Driver CDROM Mode)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
So I use

Code: Select all

~$ sudo usb_modeswitch -KW -v 0bda -p 1a2b
And I get

Code: Select all

~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0bda:c820 Realtek Semiconductor Corp. 802.11ac NIC
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
But it seems it is not recognize

Code: Select all

~$ iwconfig 
lo        no wireless extensions.

eth0      no wireless extensions.

Code: Select all

~$ nmcli dev wifi
~$

Code: Select all

~$ rfkill list all
0: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
I am not an expert and I dont know what to do to get the dongle working. If someone need more information feel free to ask.

Thank you for your help.

User avatar
tobetter
Posts: 10306
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 664 times
Been thanked: 1761 times
Contact:

Re: Dongle wifi 5b not working with HC4 and ubuntu 22.04

Post by tobetter »

Please refer to the link here and try RTL8812AU or RTL8821AU.
https://docs.linuxfactory.or.kr/guides/usb_wifi.html

Hunken
Posts: 6
Joined: Thu Dec 24, 2020 5:12 pm
languages_spoken: english
ODROIDs: Odroid H2+
Has thanked: 0
Been thanked: 0
Contact:

Re: Dongle wifi 5b not working with HC4 and ubuntu 22.04

Post by Hunken »

Thank you for your quick reply.

I have installed the driver RTL8812AU and reboot the HC4. But I am still in the same situation.

User avatar
odroid
Site Admin
Posts: 39381
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 2617 times
Been thanked: 1430 times
Contact:

Re: Dongle wifi 5b not working with HC4 and ubuntu 22.04

Post by odroid »

You had to run sudo apt install rtl8821cu-dkms linux-firmware since WiFi Module 5B must have a RTL8821CU chipset.

Hunken
Posts: 6
Joined: Thu Dec 24, 2020 5:12 pm
languages_spoken: english
ODROIDs: Odroid H2+
Has thanked: 0
Been thanked: 0
Contact:

Re: Dongle wifi 5b not working with HC4 and ubuntu 22.04

Post by Hunken »

odroid wrote:
Sun Apr 03, 2022 1:33 pm
You had to run sudo apt install rtl8821cu-dkms linux-firmware since WiFi Module 5B must have a RTL8821CU chipset.
Thank you for your reply.

Indeed now the wifi works. However after a restart I have to redo

Code: Select all

sudo usb_modeswitch -KW -v 0bda -p 1a2b
I try to add

Code: Select all

# Realtek 8821CU Wifi AC USB
ATTR{idVendor}=="0bda", ATTR{idProduct}=="1a2b", RUN+="/usr/sbin/usb_modeswitch -KW -v 0bda -p 1a2b"
in the file

Code: Select all

/lib/udev/rules.d/40-usb_modeswitch.rules
but it doesn't work. Do you have any idea ?

Post Reply

Return to “Hardware and peripherals”

Who is online

Users browsing this forum: No registered users and 1 guest