Power & Source of Big Ideas

RTL8188CUS WIFI does not work on NanoPi NEO

Moderators: chensy, FATechsupport

Hi,

I'm using a RTL8188CUS WIFI dongle on my new NanoPi NEO. Your debian ROM image is installed.

ifconfig does not list wlan0
iwconfig does not list a wireless adapter
ifup wlan0 gives a wpa_supplicant error
lsusb lists the RTL8188CUS dongle

Thanks for your support.
Hello,
Thank you for your testing,we also tested ,the problem does exit which,we also could not get RTL8188CUS to work and find WLAN0. Now we have identified the problem and have been fixed it . Now you can download the latest NanoPi NOE ROM to test again,the latest ROM can work perfectly with USB WiFi.

thank you !
I have got realtek WIFI working on NanoPi NEO. This might not be required once FriendlyARM team provides
out of the box support for these drivers.

Getting RTL8188CUS working on NanoPi NEO.

1. Add next line to the end of /etc/apt/sources.list :
deb http://httpredir.debian.org/debian/ jessie main contrib non-free

2. Refresh :
apt update

3. Install
apt install firmware-realtek

4. Reboot

5. Check if driver is working
lsusb
iwconfig
ifconfig

In my case instead of wlan0 it is listed as enx0013ef6d10f4 adapter connection.

6. Edit /etc/network/interfaces file:

# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

allow-hotplug eth0
iface eth0 inet dhcp

allow-hotplug enx0013ef6d10f4
iface enx0013ef6d10f4 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

7. Edit /etc/wpa_supplicant/wpa_supplicant.conf file:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="your_router_wifi_ssid_here"
psk="your_password_here"
key_mgmt=WPA-PSK
}

8. Remove next line from the end of /etc/apt/sources.list :
deb http://httpredir.debian.org/debian/ jessie main contrib non-free

9. Refresh
apt update
Hi jjm,

It works with a fresh install (newest ROM sd4g-20160804.img). But after apt-get upgrade the WLAN0 interface is gone again. I figured out, that the udev package update causes the problem.

Thanks for your support.

Regards
After updating udev package wlan0 gets renamed. In my case it's now wlxe84e062774a5.
Found it out by typing

Code: Select all

ifconfig -a

I changed /etc/network/interfaces and wifi is working again.
With the most recent image my Realtek wifi driver was loaded by default.

iwconfig utility listed adapter as wlan0.

There was no need to do any other steps except edit /etc/wpa_supplicant/wpa_supplicant.conf file:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="your_router_wifi_ssid_here"
psk="your_password_here"
key_mgmt=WPA-PSK
}

Who is online

In total there are 11 users online :: 0 registered, 0 hidden and 11 guests (based on users active over the past 5 minutes)
Most users ever online was 2865 on Sun Nov 10, 2019 5:27 am

Users browsing this forum: No registered users and 11 guests