USB Wifi adapter with BPI-W2?


#1

Hi, I was trying to use a USB Wifi adapter with BPI-W2 but it didn’t work. The image I tested is the Ubuntu 18.04 one. The adapter seems to be detected by Linux because it shows up in lsusb as

Bus 005 Device 002: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter

but no driver is loaded for it and it is not recognized by Linux as a network interface:

jimx@bpi-iot-ros-ai:~$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 00:10:20:30:40:50 brd ff:ff:ff:ff:ff:ff

Do I need to install any driver for this adapter? Is there any Wifi adapter known to work with BPI-W2?


(justin) #2

Any ac1200 usb network adapter will work as long as you use bpi-update -c bpi-w2.config…it may take a few tries but it will work eventually. I’m currently using a Realtek ac1200 usb 3.0 WiFi dongle on my boards. I couldn’t get the mpcie wireless modules to work but the usb dongles seem to work fine after inputting aforementioned bpi-update. Hope this helps


#3

Thanks. I rebuilt the kernel with driver for Ralink adapters and now the usb dongle works fine.


(justin) #4

I’m just glad I could help brother as I know how frustrating it can be and the only resources we have are each other. Enjoy my friend!