Wifi adapter

Post Reply
cipi65
Posts: 7
Joined: Fri May 18, 2018 11:21 pm
languages_spoken: english
ODROIDs: ODROID C2
Has thanked: 0
Been thanked: 0
Contact:

Wifi adapter

Unread post by cipi65 » Sun Oct 06, 2019 9:26 pm

I want to add a wifi usb adapter on my Odroid C2 ( with Android )and I tried a D-link DWA-171 with RTL8811( ID 0bda:1a2b ) chipset but Odroid not recognize the adapter.
I understood the Module 5A have the same chipset.
I put in atach a picture of adapter.
Attachments
RTL8811.jpg
RTL8811.jpg (276.44 KiB) Viewed 344 times

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

Re: Wifi adapter

Unread post by odroid » Mon Oct 07, 2019 8:35 am

Look into /system/etc/wifi_id_list.txt file to know how to add the VID/PID.

cipi65
Posts: 7
Joined: Fri May 18, 2018 11:21 pm
languages_spoken: english
ODROIDs: ODROID C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Wifi adapter

Unread post by cipi65 » Mon Oct 07, 2019 10:55 pm

This is really funny.
I use this Odroid to see Netflix and HBO GO on an old TV.
Because Netflix blocked all rooted devices I unroot Odroid and Netflix problem was solved.
Now I can't see HBO GO because after an update can't see wired internet connection, and this is the reason why I want to add the wireless adapter.
Surprise, now I need to edit /system/etc/wifi_id_list.txt ( I put this line in file: 0bda 1a2b 8811cu /system/etc/modprobe.d/8192cu /* D-Link DWA-171 */ ) but I can't modify the file because I unrooted the Odroid.
The question now, is how to root back the Odroid and after I will edit the file :/system/etc/wifi_id_list.txt, I will unroot, to see Netflix again :lol:

User avatar
tobetter
Posts: 4036
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 43 times
Been thanked: 188 times
Contact:

Re: Wifi adapter

Unread post by tobetter » Mon Oct 07, 2019 11:00 pm

cipi65 wrote:
Mon Oct 07, 2019 10:55 pm
This is really funny.
I use this Odroid to see Netflix and HBO GO on an old TV.
Because Netflix blocked all rooted devices I unroot Odroid and Netflix problem was solved.
Now I can't see HBO GO because after an update can't see wired internet connection, and this is the reason why I want to add the wireless adapter.
Surprise, now I need to edit /system/etc/wifi_id_list.txt ( I put this line in file: 0bda 1a2b 8811cu /system/etc/modprobe.d/8192cu /* D-Link DWA-171 */ ) but I can't modify the file because I unrooted the Odroid.
The question now, is how to root back the Odroid and after I will edit the file :/system/etc/wifi_id_list.txt, I will unroot, to see Netflix again :lol:
Can you run mount -o remount,rw /system in the command shell before editing /system/etc/wifi_id_list.txt?

cipi65
Posts: 7
Joined: Fri May 18, 2018 11:21 pm
languages_spoken: english
ODROIDs: ODROID C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Wifi adapter

Unread post by cipi65 » Tue Oct 08, 2019 1:46 am

tobetter wrote:
Mon Oct 07, 2019 11:00 pm
cipi65 wrote:
Mon Oct 07, 2019 10:55 pm
This is really funny.
I use this Odroid to see Netflix and HBO GO on an old TV.
Because Netflix blocked all rooted devices I unroot Odroid and Netflix problem was solved.
Now I can't see HBO GO because after an update can't see wired internet connection, and this is the reason why I want to add the wireless adapter.
Surprise, now I need to edit /system/etc/wifi_id_list.txt ( I put this line in file: 0bda 1a2b 8811cu /system/etc/modprobe.d/8192cu /* D-Link DWA-171 */ ) but I can't modify the file because I unrooted the Odroid.
The question now, is how to root back the Odroid and after I will edit the file :/system/etc/wifi_id_list.txt, I will unroot, to see Netflix again :lol:
Can you run mount -o remount,rw /system in the command shell before editing /system/etc/wifi_id_list.txt?
mount : operation not permitted

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

Re: Wifi adapter

Unread post by mad_ady » Tue Oct 08, 2019 2:08 pm

See if adb is running as root when connecting via microusb. Otherwise you can edit the file on a different system (pull the emmc, mount in a different pc and make the edit)

cipi65
Posts: 7
Joined: Fri May 18, 2018 11:21 pm
languages_spoken: english
ODROIDs: ODROID C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Wifi adapter

Unread post by cipi65 » Wed Oct 09, 2019 12:02 am

I rooted the Odroid with Kingo ROOT and add in /system/etc/wifi_id_list_txt a line with: "0bda 1a2b 8811cu /system/etc/modprobe.de/8811cu" , and also I try with "0bda 1a2b 8812au /system/etc/modprobe.de/8812au" but when I connect the wireless adapter nothing hapening.
This is what I see in USB Device Info:

Device Info
Device Path: /sys/bus/usb/devices/1-1.4/
Device Class: Use class information in the Interface Descriptors (0x0)
Vendor ID: 0bda
Vendor Name (reported): D-Link Corporation
Vendor Name (from DB): Realtek Semiconductor Corp.
Product ID: 1a2b
Product Name (reported): DISK
Product Name (from DB): not found

Additional Info
USB Version: 2.00
Speed: 480
Protocol: 00
Maximum Power: 500mA
Serial Number:

When the adapter in connected to Odroid I see a mesage : Corupted Realtek USB drive.Touch to fix
When I connected first time the adapter to Windows PC I see a disk drive and inside was the Windows driver. After I installed the adapter I can't see the disk drive.

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

Re: Wifi adapter

Unread post by mad_ady » Wed Oct 09, 2019 12:45 am

I didn't know they make hybrid wifis, I only knew of 3g modems that behaved like this. They needed usb_modeswitch to change operating mode.
They change vid/pid when switching

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

Re: Wifi adapter

Unread post by odroid » Wed Oct 09, 2019 10:25 am

As far as I remember, RTL8821CU also needed a "usb_modeswitch" command.

cipi65
Posts: 7
Joined: Fri May 18, 2018 11:21 pm
languages_spoken: english
ODROIDs: ODROID C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Wifi adapter

Unread post by cipi65 » Wed Oct 09, 2019 10:55 pm

odroid wrote:
Wed Oct 09, 2019 10:25 am
As far as I remember, RTL8821CU also needed a "usb_modeswitch" command.
Can you be more specific about "usb modeswich" command ?
I need same advices how the make the wireless adapter functional.

Thank you

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

Re: Wifi adapter

Unread post by odroid » Thu Oct 10, 2019 9:04 am


cipi65
Posts: 7
Joined: Fri May 18, 2018 11:21 pm
languages_spoken: english
ODROIDs: ODROID C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Wifi adapter

Unread post by cipi65 » Thu Oct 10, 2019 11:03 pm

odroid wrote:
Thu Oct 10, 2019 9:04 am
viewtopic.php?f=177&t=34769
Now I don't understand, the topic is about building a LINUX driver for RTL8821.
All that I want, is to make my wifi adapter to work with Android (Marshmallow v5.4) installed on Odroid C2.
I put below the description of Wifi Module 5A, that is sold for Odroid C2.

IEEE 802.11ac/a/b/g/n WLAN module with on-board 2.4Ghz and 5.8Ghz Dual band antenna.

Works with ODROID series
Android and Linux compatible

Please update your OS to the latest version if it doesn’t work.

Realtek RTL8811AU chipset ( USB ID = 0bda:a811 )
– Dual-Band 11ac 1×1 with 64/128/152 bit WEP, WPA/WPA-PSK,WPA2/WPA2-PSK securities
– Frequency Range: 2.4-2.483GHz ; 5.725~5.825GHz
– Support WLAN Standards: IEEE802.11ac/a/b/g/n
– Transmission Speed : ~200 Mbps
– USB 2.0 High-speed
– Antenna Gain: 2dBi
– Dimension : 36 x 19 x 9 mm
– LED for WiFi Link Activity
– Frequency Range: 2.4-2.483GHz ; 5.725~5.825GHz
– Dimension : 36 x 19 x 9 mm
– Weight : 5 g

This module is build with RTL8811 and is Android compatible, only the USB ID is different. That's the reson that I modify the :/system/etc/wifi_id_list.txt but my wifi adapter did't work.

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

Re: Wifi adapter

Unread post by odroid » Fri Oct 11, 2019 9:44 am

I believe CU and AU are very different chipset and their device drivers are not compatible each other.

cipi65
Posts: 7
Joined: Fri May 18, 2018 11:21 pm
languages_spoken: english
ODROIDs: ODROID C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Wifi adapter

Unread post by cipi65 » Sun Oct 13, 2019 4:29 pm

odroid wrote:
Fri Oct 11, 2019 9:44 am
I believe CU and AU are very different chipset and their device drivers are not compatible each other.
I really don't undersatnd, the ANDROID for Odroid not have all drivers that ANDROID put in his build ??
The adapter from picture is with RTL8811CU, like mine, and HAVE ANDROID DRIVER !!!
Attachments
RTL8811CU.jpg
RTL8811CU.jpg (33.16 KiB) Viewed 120 times

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

Re: Wifi adapter

Unread post by odroid » Mon Oct 14, 2019 10:05 am

I have no idea how they can sell it with the strange advertising.
I think you have to contact the seller first to get an Android porting guide and relevant source code packages.

User avatar
codewalker
Posts: 745
Joined: Mon Feb 25, 2013 11:03 am
languages_spoken: english
ODROIDs: all
Has thanked: 30 times
Been thanked: 26 times
Contact:

Re: Wifi adapter

Unread post by codewalker » Mon Oct 14, 2019 3:03 pm

If you can use adb command, Try this.

Code: Select all

[~]$ adb shell
1|root@odroidc2:/ # mount -o rw,remount /system                                
root@odroidc2:/ # vi /system/etc/wifi_id_list.txt   
cipi65 wrote:
Tue Oct 08, 2019 1:46 am
tobetter wrote:
Mon Oct 07, 2019 11:00 pm
cipi65 wrote:
Mon Oct 07, 2019 10:55 pm
This is really funny.
I use this Odroid to see Netflix and HBO GO on an old TV.
Because Netflix blocked all rooted devices I unroot Odroid and Netflix problem was solved.
Now I can't see HBO GO because after an update can't see wired internet connection, and this is the reason why I want to add the wireless adapter.
Surprise, now I need to edit /system/etc/wifi_id_list.txt ( I put this line in file: 0bda 1a2b 8811cu /system/etc/modprobe.d/8192cu /* D-Link DWA-171 */ ) but I can't modify the file because I unrooted the Odroid.
The question now, is how to root back the Odroid and after I will edit the file :/system/etc/wifi_id_list.txt, I will unroot, to see Netflix again :lol:
Can you run mount -o remount,rw /system in the command shell before editing /system/etc/wifi_id_list.txt?
mount : operation not permitted

Post Reply

Return to “Android”

Who is online

Users browsing this forum: No registered users and 4 guests