Adding ASUS AC56 USB WiFi dongle.

I’ve been following this tutorial but I’m stopped at iwconfig because wlan0 doesn’t exist.

debian@ebb:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster

Linux ebb 4.19.94-ti-r68 #1buster SMP PREEMPT Thu Sep 16 15:32:31 UTC 2021 armv7l GNU/Linux

I don’t see anything in /dev/ that suggests the USB device has even been discovered.

But there is this in DMESG
[ 2.815556] usb 1-1.2: new high-speed USB device number 4 using musb-hdrc
[ 2.916283] usb 1-1.2: New USB device found, idVendor=0b05, idProduct=17d2, bcdDevice= 0.00
[ 2.916301] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.916308] usb 1-1.2: Product: 802.11n NIC
[ 2.916315] usb 1-1.2: Manufacturer: Realtek
[ 2.916322] usb 1-1.2: SerialNumber: 123456

What’s the next step to get wireless working?
Thanks
John

let’s see your full dmesg, probably firmware…

Edit, you need the rtl8812au driver:

https://deviwiki.com/wiki/ASUS_USB-AC56

Regards,

@RobertCNelson
Looks like

which links to

says the 4.14 and up kernels are supported. How do i bring this into the Beagle?

Thanks
John

Start with:

sudo apt update
sudo apt install linux-headers-`uname -r`

Then start editing their Makefile to build the external module…

Regards,

@RobertCNelson
I wouldn’t even know where to start editing their makefile. That would be like handing me a Romanian/English dictionary and telling me to write an essay with good grammar in Romanian.

Instead I followed the steps in the morrownr link and took the risk to ignore the Raspi stuff. Quite a while later it was done recompiling the kernel (I think).
Now i have after a reboot:

Blockquote
debian@ebb:~$ iwconfig
lo no wireless extensions.
usb1 no wireless extensions.
can1 no wireless extensions.
eth0 no wireless extensions.
wlan0 unassociated Nickname:“WIFI@RTL8812AU”
Mode:Managed Frequency=2.412 GHz Access Point: Not-Associated
Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
usb0 no wireless extensions.
can0 no wireless extensions.

So it’s now been discovered. Time to figure out how to set the WLAN parameters so it can be discovered and issued an IP #.

https://www.fis.gatech.edu/how-to-configure-bbw-wifi/

wlan0: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC> mtu 1500
inet 192.168.0.190 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::ae9e:17ff:fe79:cb89 prefixlen 64 scopeid 0x20
ether ac:9e:17:79:cb:89 txqueuelen 1000 (Ethernet)
RX packets 106 bytes 16516 (16.1 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 106 bytes 14988 (14.6 KiB)
TX errors 0 dropped 26 overruns 0 carrier 0 collisions 0

And we’re up.
Thanks.
John