Cant make WiFi working on ROCK64.
#1
Hi People!

I have 2 usb dongles for WiFi, but none of them are working in Rock64.

First one is a TP-Link WN721N uses AR9271 chip and is not accepted.

The second is a DLink DWA-123 uses RTL8188EU driver and is not accepted.
I think this is the same used in the dongle sold originaly by Pine site.

I running a Rock64 board with 2 Rb of Ram.

S.O. = MATE 1.12.1
Release 16.04.3 LTS (Xenial Xerus) 64-bit
Kernel Linux 4.4.77-rockchip-ayufan-136 aarch64

Running ifconfig only lo and eth0 are shown.

Running iwconfig only lo and eth0 are shown.

With tplink atached:

rock64@rock64:~$ lsusb
Bus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
rock64@rock64:~$



With D-Link atached to USB 2.0:

rock64@rock64:~$ lsusb
Bus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 2001:3310 D-Link Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


My system is updated.

rock64@rock64:~$ sudo apt update
[sudo] password for rock64:
Hit:1 http://ppa.launchpad.net/ayufan/rock64-ppa/ubuntu xenial InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports xenial InRelease              
Get:3 http://ports.ubuntu.com/ubuntu-ports xenial-security InRelease [102 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports xenial-updates InRelease [102 kB]   
Get:5 http://deb.ayufan.eu/orgs/ayufan-rock64/releases  InRelease [1,245 B]    
Fetched 206 kB in 3s (52.3 kB/s)                                               
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
rock64@rock64:~$



dmesg for DLink:

[ 2356.031492] usb 1-1: new high-speed USB device number 3 using dwc2
[ 2356.494490] usb 1-1: New USB device found, idVendor=2001, idProduct=3310
[ 2356.494522] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2356.494543] usb 1-1: Product: DWA-123 11n Adapter
[ 2356.494563] usb 1-1: Manufacturer: Realtek
[ 2356.494582] usb 1-1: SerialNumber: C0A0BB58700D


More information:

zgrep -i rtl /proc/config.gz
CONFIG_BT_RTL=y
CONFIG_BT_HCIBTUSB_RTL=y
CONFIG_USB_RTL8150=m
CONFIG_USB_RTL8152=m
# CONFIG_RTL8180 is not set
CONFIG_RTL8187=m
CONFIG_RTL8187_LEDS=y
CONFIG_RTL_CARDS=y
# CONFIG_RTL8192CE is not set
# CONFIG_RTL8192SE is not set
# CONFIG_RTL8192DE is not set
# CONFIG_RTL8723AE is not set
# CONFIG_RTL8723BE is not set
# CONFIG_RTL8188EE is not set
# CONFIG_RTL8192EE is not set
# CONFIG_RTL8821AE is not set
CONFIG_RTL8192CU=m
CONFIG_RTLWIFI=m
CONFIG_RTLWIFI_USB=m
CONFIG_RTLWIFI_DEBUG=y
CONFIG_RTL8192C_COMMON=m
CONFIG_RTL8XXXU=m
CONFIG_RTL8XXXU_UNTESTED=y
# CONFIG_RTL_WIRELESS_SOLUTION is not set
CONFIG_RTL8188EU=m
CONFIG_RTL8188FU=m
# CONFIG_RTL8189ES is not set
# CONFIG_RTL8189FS is not set
# CONFIG_RTL8723BS is not set
# CONFIG_RTL8723CS is not set
# CONFIG_RTL8723DS is not set
# CONFIG_RTL8822BE is not set
# CONFIG_SERIAL_UARTLITE is not set
CONFIG_DVB_USB_RTL28XXU=m
CONFIG_DVB_RTL2830=m
CONFIG_DVB_RTL2832=m
CONFIG_DVB_RTL2832_SDR=m
# CONFIG_RTL8192U is not set
# CONFIG_RTLLIB is not set
rock64@rock64:~$

modprobe rtl8188eu
modprobe: FATAL: Module rtl8188eu not found in directory /lib/modules/4.4.77-rockchip-ayufan-136

Well, what can I do for WiFi to work???

Download something, compile something???

Thanks in advance,

VieiraBrazil
  Reply
#2
Did you tried "modprobe r8188eu" or "modprobe 8188eu" instead ?

To figure out the filename, do a ' find /lib/modules -name "*8188*ko" ' ...
  Reply
#3
(10-22-2017, 07:41 AM)martinayotte Wrote: Did you tried "modprobe r8188eu" or "modprobe 8188eu" instead ?

To figure out the filename, do a ' find /lib/modules -name "*8188*ko" ' ...

Thanks for your reply.

This is the output:

rock64@rock64:~$ modprobe r8188eu
modprobe: FATAL: Module r8188eu not found in directory /lib/modules/4.4.77-rockchip-ayufan-136
rock64@rock64:~$ modprobe 8188eu
modprobe: ERROR: could not insert '8188eu': Operation not permitted
rock64@rock64:~$ sudo modprobe 8188eu
[sudo] password for rock64:
rock64@rock64:~$

rock64@rock64:~$ find /lib/modules -name "*8188*ko"
/lib/modules/4.4.77-rockchip-ayufan-136/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/8188fu.ko
/lib/modules/4.4.77-rockchip-ayufan-136/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/8188eu.ko

But I dont know what to do with this info.

what's next, man?

Vieirabrazil
  Reply
#4
(10-22-2017, 11:42 AM)vieirabrazil Wrote: rock64@rock64:~$ modprobe 8188eu
modprobe: ERROR: could not insert '8188eu': Operation not permitted
rock64@rock64:~$ sudo modprobe 8188eu
[sudo] password for rock64:
rock64@rock64:~$

So, you've figured out that "sudo" was required ... Tongue

Now, since driver is loaded, you should see the "wlan0" while doing "ifconfig",  right ?

Then, you can use "nmtui" to connect to your router AP...
  Reply
#5
(10-22-2017, 04:08 PM)martinayotte Wrote:
(10-22-2017, 11:42 AM)vieirabrazil Wrote: rock64@rock64:~$ modprobe 8188eu
modprobe: ERROR: could not insert '8188eu': Operation not permitted
rock64@rock64:~$ sudo modprobe 8188eu
[sudo] password for rock64:
rock64@rock64:~$

So, you've figured out that "sudo" was required ... Tongue

Now, since driver is loaded, you should see the "wlan0" while doing "ifconfig",  right ?

Then, you can use "nmtui" to connect to your router AP...
Hi martinayotte,

Thanks again.

Unfortunately, things are not as simple as they should be.

Take a look:

rock64@rock64:~$ find /lib/modules -name "*8188*ko"
/lib/modules/4.4.77-rockchip-ayufan-136/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/8188fu.ko
/lib/modules/4.4.77-rockchip-ayufan-136/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/8188eu.ko

rock64@rock64:~$ sudo modprobe 8188eu

rock64@rock64:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 2a:09:b9:e3:f3:0c
          inet addr:10.1.1.111  Bcast:10.1.1.255  Mask:255.255.255.0
          inet6 addr: fe80::e2c0:5325:b971:bc55/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1778 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1133 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:346175 (346.1 KB)  TX bytes:352764 (352.7 KB)
          Interrupt:39

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:3 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:147 (147.0 B)  TX bytes:147 (147.0 B)

rock64@rock64:~$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

---------------

wlan0 or whatever was not recognized.

If you or someone else have another idea I would like very much to know.

Thanks,
  Reply
#6
New info from dmesg:


Code:
[   97.902876] =======================================================
[   97.902881] ==== Launching Wi-Fi driver! (Powered by Rockchip) ====
[   97.902885] =======================================================
[   97.902890] Realtek 8188EU USB WiFi driver (Powered by Rockchip,Ver 2.20.WFD) init.
[   97.902896] [WLAN_RFKILL]: rockchip_wifi_power: 1
[   97.902901] [WLAN_RFKILL]: rockchip_wifi_power: rfkill-wlan driver has not Successful initialized
[   97.902905] RTL871X: module init start
[   97.902911] RTL871X: rtl8188eu v4.3.24_16705.20160509
[   97.904423] usbcore: registered new interface driver rtl8188eu
[   97.904435] RTL871X: module init ret=0

wifi_power?
  Reply
#7
On my side, I'm running Armbian build which still use Ayufan's github source tree, and I've "wlan0" working properly ...
  Reply
#8
(10-23-2017, 12:25 PM)vieirabrazil Wrote: New info from dmesg:


Code:
[   97.902876] =======================================================
[   97.902881] ==== Launching Wi-Fi driver! (Powered by Rockchip) ====
[   97.902885] =======================================================
[   97.902890] Realtek 8188EU USB WiFi driver (Powered by Rockchip,Ver 2.20.WFD) init.
[   97.902896] [WLAN_RFKILL]: rockchip_wifi_power: 1
[   97.902901] [WLAN_RFKILL]: rockchip_wifi_power: rfkill-wlan driver has not Successful initialized
[   97.902905] RTL871X: module init start
[   97.902911] RTL871X: rtl8188eu v4.3.24_16705.20160509
[   97.904423] usbcore: registered new interface driver rtl8188eu
[   97.904435] RTL871X: module init ret=0

wifi_power?

Hi vieirabrazil, did you find a solution to this? Im in the exact same position!
  Reply
#9
Hi Man,

No, same situation until now.

But like martinayotte said, in Armbian works ok. But the time I used it was command Line only.

I became disappointed with the level of development for ROCK64. I was expecting a true alternative to Raspberry Pi 3 to run Mate or some other flavor, without "stall" using Gmail / Youtube.

Since that sad experience Rock64 is in the shelf. I dont know the status now.

Good luck,
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Are HW design files available for ROCK64? irenek 3 6,232 12-11-2023, 09:31 PM
Last Post: tllim
  Rock64 is unreliable after 3 years of service - power problem? ReleaseTheGeese 0 611 11-23-2023, 05:05 AM
Last Post: ReleaseTheGeese
  Rock64 PoE compatbility with Pi4 Hatt recent Single Board Computer offering from PINE kharak 1 1,510 04-26-2023, 11:38 PM
Last Post: tllim
  Case for the rock64 that supports the POE hat. o1CRiMSON1o 0 865 03-21-2023, 03:48 PM
Last Post: o1CRiMSON1o
Brick Rock64 usb2.0 Power Control Floating GPIO Tutorial Files & Notes MarkHaysHarris777 6 14,564 01-15-2023, 10:36 AM
Last Post: ds00
  rock64 totally brick dakobg 2 2,323 11-07-2022, 05:45 PM
Last Post: olivercfc
  3D-Printable Button Pegs for the ROCK64 Aluminium Case CounterPillow 2 4,081 08-04-2022, 01:31 AM
Last Post: Vicky Weimann PhD
  Where can I find the ROCK64 POE HAT Zoz 2 3,345 06-08-2022, 12:44 AM
Last Post: Zoz
Smile wooden case for ROCK64 killor 13 18,498 03-04-2022, 06:56 AM
Last Post: killor
  1wire DS18b20 on Rock64? mypineme 6 8,248 09-28-2021, 03:07 PM
Last Post: TRS-80

Forum Jump:


Users browsing this thread: 6 Guest(s)