Odroid C1+ | Issue to setup WLAN device

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 -




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 -




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 -




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 -




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 -




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 …




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_right: * it works out-of-the-box in all offered modes (WiFi client and P2P-device).

  • Tested with Raspberry Pi B+| DietPi V116
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_right: * it works as managed (WiFi client) and AP ( WiFi HotSpot and Tor WiFi Hotspot)


  • Tested with oDroid-C1+ | DietPi V116
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

:exclamation: - WiFi scan with " dietpi-config " and " iwlist wlan0 scan " works, but it will impossible to connect to the network (Router WiFi Channel 7)
:exclamation: - 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.

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

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). :smiley:


  • 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 -


  • Works as WiFi HotSpot

  • Tor WiFi Hotspot

  • and WiFi client:
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-90.1 sec  10.9 MBytes  1.01 Mbits/sec



  • CSL - 300 Mbit/s USB 2.0 WLAN Stick -


  • Doesn’t get it on work ! :roll_eyes:



  • TP-Link TL-WN722N High Gain -


  • Only tested as WiFi client.
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-91.4 sec  5.38 MBytes  0.49 Mbits/sec



  • Hama N300 WLAN-USB-Stick, 2,4 GHz -


  • Only tested as WiFi client.
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-90.1 sec  9.62 MBytes  0.90 Mbits/sec

  • ALFA AWUS036EAC -


  • Only tested as WiFi client.
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-90.7 sec  6.50 MBytes  0.60 Mbits/sec



  • Wired connection for comparison -




[ 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
.

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!