The wireless card on my laptop is no longer reliable, so I bought an ASUS USB AC55 B1 adapter. ASUS website lists drivers for Windows, Mac, and Linux. I was able to install it on a Linux Mint system with only a chmod of install.sh.
I have tried it on Devuan Cinnamon and Sparky LXDE systems with the same result, a failed make. I'm hoping someone here can give me a hint.
$ sudo ./install.sh
[sudo] password for user:
##################################################
Realtek Wi-Fi driver Auto installation script
Novembor, 21 2011 v1.1.0
##################################################
clean hal include Makefile platform runwpa
core ifcfg-wlan0 Kconfig os_dep rtl8822b.mk wlan0dhcp
Authentication requested [root] for make clean:
#make -C /lib/modules/4.9.0-9-amd64/build M=/home/user/Downloads/USB-AC55_B1/Linux/RTL88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959/driver/rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959 clean
cd hal ; rm -fr */*/*/*.mod.c */*/*/*.mod */*/*/*.o */*/*/.*.cmd */*/*/*.ko
cd hal ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.ko
cd hal ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd platform ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm -fr .tmp_versions
Authentication requested [root] for make driver:
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.9.0-9-amd64/build M=/home/user/Downloads/USB-AC55_B1/Linux/RTL88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959/driver/rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959 modules
make[1]: Entering directory '/lib/modules/4.9.0-9-amd64/build'
make[1]: *** No rule to make target 'modules'. Stop.
make[1]: Leaving directory '/lib/modules/4.9.0-9-amd64/build'
Makefile:1986: recipe for target 'modules' failed
make: *** [modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################
$
I got it to work on Devuan by installing the latest kernel, but I would assume that Sparky Linux, with its frequent updates, does not have that problem.
Please post lspci of what it exactly is or inxi output. "inxi -nr" would do.
inxi -n
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169
IF: enp2s0 state: up speed: 100 Mbps duplex: full mac: 40:8d:5c:72:9d:65
Device-2: Realtek RTL8812AU 802.11a/b/g/n/ac 2T2R DB WLAN Adapter type: USB driver: rtl8812au
IF: wlx24050ff6739c state: up mac: 24:05:0f:f6:73:9c
IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A
As you can see, I have to make, make build and dkms that POS that said it was linux friendly.
peace out.
the -r flag would let us know 5 0r 6 - kind of crucial information also.
My Linux appears to be rather different than yours. The -r option returns repos. It's the same on Linux Mint.
Network: Card-1: Ralink Device 539a driver: rt2800pci
IF: wlan0 state: up speed: N/A duplex: N/A mac: DELETED
Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169
IF: eth0 state: down mac: DELETED
Repos: Active apt sources in file: /etc/apt/sources.list
deb http://ftp.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.debian.org/debian/ stretch main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main contrib non-free
deb http://www.deb-multimedia.org stretch main non-free
""the -r flag would let us know 5 0r 6 - kind of crucial information also."" ## I did not put a Sparky before 5 or 6
Exactly. -r Crucial information.
You would be in Sparky 4 "would" being I do not see any sparky repos. Old Stable.
https://sparkylinux.org/download/oldstable/
Sparky 5 is based on Buster. Sparky 6 is based on Bookworm EDIT "Bullseye actually is the name of Debian Testing now. end edit.
Backports might help. difference between firmware-realtek (20190114-2~bpo9+1) [non-free] and Package: firmware-realtek (20161130-5) [non-free]
https://packages.debian.org/stretch-backports/firmware-realtek
Is firmware-realtek installed.
I am working a boat load of hours and getting my parents house ready to sell, lot of work.
If others want to help pcobbler please do.
Okay, I will upgrade to the latest Sparky and try again.
I was skimming the Debian forum
When you do clean install (or full-upgrade) keep in mind
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931812
via 2nd page of
http://forums.debian.net/viewtopic.php?f=5&t=143782&start=15
That individuals problem was speed. The noted bug would seem to me to imply rt-8169 is the way to go. I would first try (if it does not automatically install it) the non-free rt8169 binary as opposed to using the install.sh
Possibly your kernel was over 4.15 and that caused the install.sh to hiccup. Personally I prefer using dkms in these cases.
I realized I forgot to close this one, sorry.
I needed to install build-essential and ALL of the latest kernel. I was missing some of the kernel. I finally searched on the kernel # in Synaptic to find all parts I needed.