PINE64

Full Version: Cant make WiFi working on ROCK64.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Did you tried "modprobe r8188eu" or "modprobe 8188eu" instead ?

To figure out the filename, do a ' find /lib/modules -name "*8188*ko" ' ...
(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
(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...
(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,
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?
On my side, I'm running Armbian build which still use Ayufan's github source tree, and I've "wlan0" working properly ...
(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!
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,