WiFi adapters & drivers - smx06/DIYorange GitHub Wiki

https://www.aliexpress.com/item/NEW-arrive-Mini-150Mbps-USB-Wireless-Network-Card-WiFi-LAN-Adapter-Antenna-Mini-PC-wifi-adapter/32567784074.html?spm=2114.13010608.0.123.C4EMut

https://www.aliexpress.com/item/Hot-Sale-Mini-PC-wifi-adapter-150M-USB-WiFi-antenna-Wireless-Computer-Network-Card-802-11n/32659894879.html?spm=2114.13010608.0.74.Y9DmOD

https://www.aliexpress.com/item/Original-Xiaomi-WiFi-Portable-Mini-USB-Wireless-Router-Repeator-WiFi-USB-Adapter-with-1TB-Free-Cloud/32318777324.html?spm=2114.13010608.0.114.IXkApP

NB: xiaomi can work as wifi hot-spot also! (not tested on Armbian yet)

Compile Wifi driver (mt7601 xiaomi miwifi)

git clone https://github.com/flexiti/mt7601.git

cd mt7601

Edit common/rtusb_dev_id.c. Add {USB_DEVICE(0x2717, 0x4106)}, before { }/* Terminating entry */

make clean

make

make install

mkdir -p /etc/Wireless/RT2870STA/

cp RT2870STA.dat /etc/Wireless/RT2870STA/

modprobe mt7601Usta

[save mt7601Usta.ko]

Test:

iwconfig

ip link set ra0 up (?)

iwlist scan // watch wifi nets nearby

Configuring home wifi:

wpa_passphrase YOUR_WIFI_NET_NAME password > /root/wpa.conf

nano /etc/network/interfaces

->ssid/pass (from wpa.conf from above)

/etc/init.d/networking restart