Your Dockerfile just saved my day (definitely an evening).kolla wrote:I updated the Dockerfile a few days ago to reflect updates with MiSTer, so now it build 4.19 kernel using gcc 6.2.1, just like the "official" kernel. I have a few specific reasons for building kernel myself (IPv6 mostly), and this Dockerfile does all I want. As usual, feel free to fork and improve(...)

TL;DR
Today arrived TP-Link T2U nano AC600 dual band dongle, before I was running some ancient and bulky 54Mbps WiFi dongle. I bought T2U Nano reading that it is likely using rtl8821a and looking at MiSTer_defconfig CONFIG_RTL8821AU=y driver was there. Unfortunately when I swapped it wlan0 was missing. So I did lsusb and new dongle was listed, but driver was apparently not picking it up. I freaked out a bit first, but then I found Dockerfile of yours and some parch request at https://github.com/aircrack-ng/rtl8812a ... -495289004. I patched one line, run build and now it works great.
Just sharing if anyone is interested in running this dongle too as it seems to be pretty popular, small and cheap.
Code: Select all
diff --git a/drivers/net/wireless/realtek/rtl8821AU/os_dep/linux/usb_intf.c b/drivers/net/wireless/realtek/rtl8821AU/os_dep/linux/usb_intf.c
index d06f76daa..c228b7426 100644
--- a/drivers/net/wireless/realtek/rtl8821AU/os_dep/linux/usb_intf.c
+++ b/drivers/net/wireless/realtek/rtl8821AU/os_dep/linux/usb_intf.c
@@ -325,6 +325,7 @@ static struct usb_device_id rtw_usb_id_tbl[] ={
{USB_DEVICE(0x7392, 0xA811),.driver_info = RTL8821}, /* Edimax - Edimax */
{USB_DEVICE(0x7392, 0xA812),.driver_info = RTL8821}, /* Edimax - EW-7811UTC */
{USB_DEVICE(0x7392, 0xA813),.driver_info = RTL8821}, /* Edimax - EW-7811UAC */
+ {USB_DEVICE(0x2357, 0x011E),.driver_info = RTL8821}, /* TP-Link - Archer T2U Nano */
#endif
#ifdef CONFIG_RTL8192E