Odroid C1+ | Issue to setup WLAN device

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
User avatar
k-plan
Posts: 416
Joined: Sun Feb 28, 2016 5:28 pm

Odroid C1+ | Issue to setup WLAN device

Post by k-plan »

Hi,
to make a long story short. I fiddling around with a lot USB Wireless adapters to get it on work with a C1+ and DietPi.
No one will work on C1+ with DietPi. To be sure, tested all adapters on Win 7 (64bit), they all work well.
Most of them have manufacturer driver for Windows, Mac and Linux.

USB Wireless adapters are:
  • Edimax EW-7612UAn V2 - Image

    Code: Select all

    Bus 001 Device 005: ID 7392:7822 Edimax Technology Co., Ltd
    ...
    [  439.532108] usbcore: registered new interface driver rtl8192cu
  • CSL - 300 Mbit/s USB 2.0 WLAN Stick - Image

    Code: Select all

    Bus 001 Device 003: ID 0bda:8172 Realtek Semiconductor Corp. RTL8191SU 802.11n WLAN Adapter
    ...
    [   12.740788] usb 1-1.4: r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
    [   12.765921] usbcore: registered new interface driver r8712u
  • TP-Link TL-WN722N High Gain - Image

    Code: Select all

    Bus 001 Device 005: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
    ....
    [    7.693113] usb 1-1.4: ath9k_htc: Firmware htc_9271.fw requested
    [    7.693839] usbcore: registered new interface driver ath9k_htc
    [    8.936051] usb 1-1.4: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
    [   11.607908] ath9k_htc 1-1.4:1.0: ath9k_htc: FW Version: 1.3
    
  • Hama N300 WLAN-USB-Stick, 2,4 GHz - Image

    Code: Select all

    Bus 001 Device 005: ID 148f:2870 Ralink Technology, Corp. RT2870 Wireless Adapter
    ...
    [   11.492377] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 2860, rev 0103 detected
    [   11.667943] usbcore: registered new interface driver rt2800usb
    [  100.667131] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
    [  100.670274] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.29
    
  • ALFA AWUS036EAC - Image

    Code: Select all

    Bus 001 Device 006: ID 0bda:8812 Realtek Semiconductor Corp.
    ....
    [   56.252986] RTL871X: rtl8812au v4.2.5_10143.20140103_ASUS
    [   56.253042] RTL871X: build time: Mar 13 2016 16:04:38
    [   56.664924] usbcore: registered new interface driver rtl8812au
  • ... and some more ...
    Image Image
______________


But, to make it simple, lets concentrate on Edimax EW-7612UAn V2 with Realtek Chipset RTL8192SU.

HardKernel said:
We've supported below WiFi modules / chipsets.

Wifi module 4: Ralink RT5572 (148F:5572)
Wifi module 3: Realtek RTL8188CUS (0BDA:8176)
Wifi module 2: Realtek RTL8191SU (0BDA:8172)
Wifi module 1/0: Ralink RT5370 (148F:5370)

A few other chipsets might work. But we couldn't test every them.
- Tested with C1+ and HardKernels Ubuntu 14.04 (v1.6) with Desktop and Network-Manager
:arrow: * it works out-of-the-box in all offered modes (WiFi client and P2P-device).
__________

- Tested with Raspberry Pi B+| DietPi V116

Code: Select all

root@RPi-B-Plus-Test:~# uname -a
Linux RPi-B-Plus-Test 4.1.21+ #872 Wed Apr 6 17:27:13 BST 2016 armv6l GNU/Linux
:arrow: * it works as managed (WiFi client) and AP ( WiFi HotSpot and Tor WiFi Hotspot)
__________

- Tested with oDroid-C1+ | DietPi V116

Code: Select all

root@oDroid-C1_plus-test:~# uname -a
Linux oDroid-C1_plus-test 3.10.80 #1 SMP PREEMPT Sun Mar 13 15:50:53 CET 2016 armv7l GNU/Linux
:!: - WiFi scan with " dietpi-config " and " iwlist wlan0 scan " works, but it will impossible to connect to the network (Router WiFi Channel 7)
:!: - To be sure, also tested WiFi HotSpot and Tor WiFi Hotspot, result is equal. No success.

__________

I'm really frustrated, spend 20 hours for installing, testing, google around with no working result.
Don't think, it's a issue on DietPi itself.
Most of the adapters works with DietPi RPi image as WiFi client, but only Realtek Chipset RTL8192SU works with hostapd as WiFi HotSpot.
As well checked via apt all installed firmware on Odroid C1+. It's seem to be okay.

Code: Select all

firmware-atheros ist schon die neueste Version.
firmware-brcm80211 ist schon die neueste Version.
firmware-ralink ist schon die neueste Version.
firmware-realtek ist schon die neueste Version.
Truly strange. Is where any help? Thanks in advance.

cu
k-plan
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
User avatar
k-plan
Posts: 416
Joined: Sun Feb 28, 2016 5:28 pm

Re: Odroid C1+ | Issue to setup WLAN device

Post by k-plan »

Hi,

have to open a github ticket. You can read the story here, but be warned, it's long:
DietPi-System | C1+ | Issue to setup WLAN device #273

Upshot:
  • @Fourdee never give up, he did a great job and finally he get it on work in DietPi v116 (testing). :D
  • as well @Fourdee implement same new features, e.g. to have wired and wireless connection at the same time. But this is at the moment not perfect, but very useful. (work in process)
___________________________


Results of "iperf" tests as WiFi client:
  • Edimax EW-7612UAn V2 - Image
    ------
  • Works as WiFi HotSpot
    Image
  • Tor WiFi Hotspot
    Image
  • and WiFi client:

    Code: Select all

    [ ID] Interval       Transfer     Bandwidth
    [  4]  0.0-90.1 sec  10.9 MBytes  1.01 Mbits/sec
    
___________________________

___________________________

___________________________

___________________________
  • ALFA AWUS036EAC - Image
    --------
  • Only tested as WiFi client.

    Code: Select all

    [ ID] Interval       Transfer     Bandwidth
    [  4]  0.0-90.7 sec  6.50 MBytes  0.60 Mbits/sec
    
___________________________

  • Wired connection for comparison - Image

    Code: Select all

    [ ID] Interval       Transfer     Bandwidth
    [  4]  0.0-90.0 sec  9.73 GBytes   929 Mbits/sec
    
___________________________


Conclusion:

- use a wired connection wherever it's possible.

- WiFi HotSpot and Tor WiFi Hotspot are nice features, if your Wireless adapters support this.

- @Fourdee do a great job, best support I have ever seen, DietPi is a awesome minimal image. Thanks a lot!

- as well thanks to @rhkean

cu
k-plan
.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
Xenfomation

Re: Odroid C1+ | Issue to setup WLAN device

Post by Xenfomation »

Awesome -- you would happen to have a copy of dmesg before & after? It would be cool for any sort of automation during network setup/re-configure...

RealTek has been a pain for many, many builds of Ubuntu, Deb, etc on different architectures -- sometimes apt-get install linux-firmware works, sometimes it doesn't.

Kuods, though!
Post Reply