ASUS USB-AC58 Wi-Fi USB Adapter

Hi. I bought USB-AC58 Asus Wi-Fi adapter. I can not install it on my majaro:
6.1.11-1-MANJARO

When I try run install.sh from drivers delivered by producer I finally have error:


sudo bash ./install.sh

##################################################
Realtek Wi-Fi driver Auto installation script
Novembor, 21 2011 v1.1.0
##################################################
Decompress the driver source tar ball:
rtl88x2BU_WiFi_linux_v5.8.7.4_37264.20200922_COEX20191120-7777.tar.gz
rtl88x2BU_WiFi_linux_v5.8.7.4_37264.20200922_COEX20191120-7777/
rtl88x2BU_WiFi_linux_v5.8.7.4_37264.20200922_COEX20191120-7777/Makefile
rtl88x2BU_WiFi_linux_v5.8.7.4_37264.20200922_COEX20191120-7777/hal/

/home/pjgolebio/Pobrane/USB-AC58_ASUS_V1.0.5_20211108/linux_driver/driver/rtl88x2BU_WiFi_linux_v5.8.7.4_37264.20200922_COEX20191120-7777/core/rtw_br_ext.c:20:18: fatal error: net/ipx.h: Nie ma takiego pliku ani katalogu
20 | #include <net/ipx.h>
| ^~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.build:250: /home/pjgolebio/Pobrane/USB-AC58_ASUS_V1.0.5_20211108/linux_driver/driver/rtl88x2BU_WiFi_linux_v5.8.7.4_37264.20200922_COEX20191120-7777/core/rtw_br_ext.o] Błąd 1
make[1]: *** [Makefile:2005: /home/pjgolebio/Pobrane/USB-AC58_ASUS_V1.0.5_20211108/linux_driver/driver/rtl88x2BU_WiFi_linux_v5.8.7.4_37264.20200922_COEX20191120-7777] Błąd 2
make[1]: Opuszczenie katalogu ‘/usr/lib/modules/6.1.11-1-MANJARO/build’
make: *** [Makefile:2373: modules] Błąd 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################

The same is when i try install:
yay -S rtl8822bu-git

(yay -S rtl8822bu-dkms install with success but does not work).

I googled a lot and tried find solution but without results. E.g I tried headers:
sudo pacman -S base-devel linux61 linux61-headers
sudo pacman -S base-devel linux515 linux515-headers (suggested somewhere)

Has anyone this device working on Manjaro?

Install the appropriate headers for your kernel via pamac. eg search linux61-headers in pamac and install OR via terminal : pamac install linux61-headers

The driver is available from the AUR via pamac GUI or via terminal/makepkg. The easiest way to install is in terminal:

pamac build rtl8822bu-dkms

Reboot and test

Thanks [jrichard326] for answer, but your suggestions was tested.

As I wrote earlier I installed headers for kernel 6.1 and for 5.15. rtl8822bu-dkms is also installed.

pjgolebio@pjgolebio-dt ~]$ pamac search linux515-headers
linux515-headers                                                                                                              [Zainstalowane] 5.15.93-1  core 
    Header files and scripts for building modules for Linux515 kernel
[pjgolebio@pjgolebio-dt ~]$ pamac search linux61-headers
linux61-headers                                                                                                                [Zainstalowane] 6.1.11-1  core 
    Header files and scripts for building modules for Linux61 kernel
[pjgolebio@pjgolebio-dt ~]$ pamac search rtl8822bu-dkms
rtl8822bu-dkms                                                                                                                    [Zainstalowane] 5.8.7.4-1   
    Kernel module for Edimax EW7822ULC USB3, Asus AC53 Nano USB 802.11ac and TP-Link Archer T4U adapter. Patched for Linux v5.12.

After that I still have only two devices available under LAN tray icon - one standard LAN card, and my temporary solution via USB-tethering from phone.

The problem with net/ipx.h is from ASUS driver (which seems to be the same as rtl8822bu-git). I had hope that this maybe start working… but I failed on ipx.

In looking at the Asus driver it seems to be rtl88x2BU (rtl8812)??? I would try building and installing:

https://aur.archlinux.org/packages/rtl88x2bu-dkms-git

Available via pamac GUI or in terminal:

pamac build rtl88x2bu-dkms-git
1 Like

Thank you very much! It works like a charm with rtl88x2bu-dkms-git. I appreciate this suggestion very much because I googled a lot, but I haven’t seen that driver suggestion anywhere.

For others:
Fast speed test show me ~150Mbps from max (300) on 5G network. Because the main router is behind 3 walls I can wrote with high probability that those drivers has not performance issues. Small wi-fi usb dongle do not even allow comfortable browse simple web pages. After that I an recommend ASUS USB-AC58 for other Manjaro users.

jrichard326 - thank you!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.