Use a Wifi Dongle USB RT5572

Hello, I try to Add a Wifi dongle for have a second Wifi AP, but impossible to make it work LSUSB: Bus 003 Device 002: ID 148f:5572 Ralink Technology, Corp. RT5572 Wireless Adapter I don’t find on iw list

You have to build kernel with the driver…

https://wikidevi.com/wiki/Ralink_RT5572

Seems to be available in 4.4.70: https://github.com/BPI-SINOVOIP/BPI-R2-bsp/blob/master/linux-mt/drivers/net/wireless/rt2x00/rt2800usb.h

Hi, I found pi@bpi-iot-ros-ai:/$ locate rt2870.bin /lib/firmware/rt2870.bin

but My dongle is not usable! I use this dongle on a raspberry Pi and raspbian without problem (it’s natively usable)

you have to compile kernel with the mentioned option above…

Arg I am a bad linux user… I thought the presence of Rt2870.bin was enough. I’m going to try

It’s possible to build kernel directly on the bananapi (time is not a problem)?

apt-get install git gcc-arm-linux-gnueabihf u-boot-tools
git clone https://github.com/BPI-SINOVOIP/BPI-R2-bsp.git bpi-r2
cd bpi-r2
./build.sh

option 4

Networking support - Wireless - Generic IEEE 802.11 Networking Stack (mac80211) => [*]
Device Drivers - Network device support - [*]   Wireless LAN  - <M>   Ralink driver support - <M>   Ralink rt27xx/rt28xx/rt30xx (PCI/PCIe/PCMCIA) support  

then option 1

maybe compile on r2 works, but i havn’t tried it, because it’s slow and you have to install compile-environment on a router…

uploaded a 4.4.70-kernel with all wireless cards as module: https://drive.google.com/drive/folders/1V952svqy2wyCf1fDLPl2d28tkyMTsr87?usp=sharing

  • 4.4.70-BPI-R2-Kernel.tgz must be unpacked with root-rights to BPI-ROOT (the ext4-partition, #2)
  • BPI-BOOT-bpi-r2.tgz must be unpacked to BPI-BOOT (FAT-Partition, #1)

maybe the adapter+module will be found automaticly…else load rt2800usb manually with modprobe