I bought a couple of these https://www.aliexpress.com/item/KEBIDU-1200Mbps-Wireless-WiFi-USB-Adapter-Dual-Band-2-4-5Ghz-with-Aerial-802-11AC-Network/32967936678.html?spm=a2g0s.9042311.0.0.385c4c4dHpBx2j, so I’d also love this !
I am willing to help as I’ve manually compiled the driver on my desktop, pi3 and pi and am very happily using them.
To do so I followed the instructions on : https://github.com/cilynx/rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959
and to get by the (osmc specific) kernel header issues that came up at compile time
./include/linux/if.h:28:54: fatal error: sys/socket.h: No such file or directory
I followed instructions from :
https://discourse.osmc.tv/t/has-anybody-tried-to-install-wireguard/73506/27
Here is what I actually did:
OSMCVERS=$(uname -r)
VANILLAVERS=$(uname -r | sed "s/-.*//")
RBP=rbp2 #valid for pi2 and and pi3... for pi use RBP=rbp1
#Setup build environnment (might install more packages such as gcc, ...)
sudo apt-get install git bc build-essential
#Get kernel headers and kernel source
sudo apt-get install $RBP-headers-$OSMCVERS $RBP-source-$OSMCVERS
#Replace osmc faulty kernel headers
wget http://www.mirrorservice.org/pub/linux/kernel/v4.x/linux-$VANILLAVERS.tar.gz
tar -xvzf linux-$VANILLAVERS.tar.gz
sudo mv /usr/src/$RBP-headers-$OSMCVERS/include/linux /usr/src/$RBP-headers-$OSMCVERS/include/linux_original
sudo cp -ar linux-$VANILLAVERS/include/linux /usr/src/$RBP-headers-$OSMCVERS/include/linux
sudo ln -s /usr/src/$RBP-headers-$OSMCVERS /lib/modules/$OSMCVERS/build
#Get driver
git clone https://github.com/cilynx/rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959.git
#Compile driver
cd rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959
sed "s/CONFIG_PLATFORM_ARM_RPI = n/CONFIG_PLATFORM_ARM_RPI = y/g" -i Makefile
sed "s/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/g" -i Makefile
sudo make
sudo make install
sudo modprobe 88x2bu