Hi all, I am developing an iot kit based on NanoPi-NEO, but encountering problem on using wifi dongle on Neo 1. I use firmware nanopi-neo-core-qte-sd4g-20160704.img RTL8188, RT3070, RT5370 could detected by lsusb, but cannot bring wifi up. 2. firmware: nanopi-neo-linux-rootfs-core-qte-sd4g-20160804.img RTL8188 can connect to wifi RT3070, RT5370 could detected by lsusb, but still no wifi. However, after I doing "apt-get upgrade", RTL8188 also disappeared in ifconfig... -_- I've tried compiled kernel manually $ make sun8iw7p1smp_defconfig kernel can compiled successfully. But, after I menuconfig $ make menuconfig and add wifi support to kernel, the compilation process failed. :-( Does any known how to use wifi dongle on nanopi-neo? Thanks
Nanopi-Neo problem
Our Debian system has support for popular USB WiFi drivers. Many USB WiFi modules are plug and play with our system. Here is a list of models we tested; Number Model 1 RTL8188CUS 802.11n WLAN Adapter 2 RT2070 Wireless Adapter 3 RT2870/RT3070 Wireless Adapter 4 RTL8192CU Wireless Adapter 5 mi WiFi mt7601 If you NanoPi M1 is connected to a USB WiFi and is powered up you can log into M1 and run the following command to check if the USB WiFi is recognized. If "wlan0" is listed it indicates your USB WiFi has been recognized: ifconfig -aOpen the /etc/wpa_supplicant/wpa_supplicant.conf file and append the following lines: network={ ssid="YourWiFiESSID" psk="YourWiFiPassword" }The "YourWiFiESSID" and "YourWiFiPassword" need to be replaced with your actual ESSID and password. Save, exit and run the following commands to connect to your WiFi router: ifdown wlan0 ifup wlan0If your WiFi password has special characters or you don't want your password saved as plain text you can use "wpa_passphrase" to generate a psk for your WiFi password. Here is how you can do it: wpa_passphrase YourWiFiESSIDFollowing the prompt type in your password and you will get a new password in the /etc/wpa_supplicant/wpa_supplicant.conf file. Now you can replace the existing password in the wlan0 file with the new one.
Hi jjm Thank you for your reply. but, my question is NanoPi-NEO, not then Nanopi-M1 Here is my test result, on firmware: nanopi-neo-core-qte-sd4g-20160704.img after insert RTL8188CUS, the kernel report: [ 93.778099] ehci_irq: highspeed device connect [ 93.790102] ehci_irq: highspeed device connect [ 94.040208] usb 4-1: new high-speed USB device number 2 using sunxi-ehci # ifconfig -a cannot find wlan0, whether I'd set the configuration files related to wifi/networking or not configuration files including /etc/wpa_supplicant/wpa_supplicant.conf, /etc/network/* # ifdown wlan0 ifdown: interface wlan0 not configured # ifup wlan0 wpa_supplicant: /sbin/wpa_supplicant daemon failed to start run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1 Failed to bring up wlan0. # lsusb Bus 004 Device 002: ID 0bda:8176 Realtek Semiconductor Crop. RTL8188CUS 802.11n WLAN Adapter QC
Hello, They use the same kernel, you can download the latest image from wiki and reference the above steps to use USB WiFi.