Hi all. First time poster and first time Puppy Linux user.
Puppy has been a distro that I have crossed paths with for years but never installed. So finally, I decided to give it a go, since EasyOS seems really interesting in premise. I did the not recommended thing and installed it on one of my PCs. It is an old machine and Puppy being as light as it is, made for a pretty good match in my use case, given the hardware.
I have a few questions but I will focus on just one here, the other question is Re: Freezing Containers. Which I will probably make another post, later.
But I digress, I have an ASUS micro wifi adapter and I am having issues getting it to install. Specifically, I am getting an error while trying to make the driver.
For reference, I am using this driver:
https://github.com/cilynx/rtl88x2bu
I know it works on the harware because on it, I dual-boot it with Q4OS and I am able to compile and install the driver with 0 issues, however, Q4 is Debian based and a pretty straightforward/run of the mill distro. Unfortunately, albeit using the machine right now, I am on Q4, so I cannot exactly quote the error in detail, I apologize for that, so I will have to update this question a bit later once I run the cable back into the PC.
I am getting a "[modules] Error 2," and I guess that right now, I am just asking if anyone is/was having the same issue with a mediatek driver and I wanted to get the ball rolling on this. I did a quick search and I saw someone mention an adjacent issue with another mediatek driver on a puppy distro but the issues seem pretty different in how to go around fixing them. On the github above there are related issues but not the exact one.
Likely I am missing a dependency but I am not really sure, yet. Especially since EasyOS is so different than most other distros.
Otherwise, really liking it so far, when connected via cable. It really makes this old PC fly.
I will update the error here.
Thanks to anyone who is able to shed some light on this. Cheers.
Update: To give more info, below is the error I get while running make. I do not understand the error.
/bin/sh: line 1: cc: command not found
(standard_in) 1: syntax error
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.15.148/build M=/mnt/sda8/easyos/files/documents/Wifi Adapter Stuff/Cilynx Driver/rtl88x2bu-5.6.1.6_35492.20191025_COEX20180928-6a6a modules
make[1]: *** /lib/modules/5.15.148/build: No such file or directory. Stop.
make: *** [Makefile modules] Error 2
I do have a /lib/modules/5.15.148/ folder.
When I run make install. I get the following:
/bin/sh: line 1: cc: command not found
(standard_in) 1: syntax error
install -p -m 644 88x2bu.ko /lib/modules/5.15.148/kernel/drivers/net/wireless/
install: cannot stat '88x2bu.ko': No such file or directory
make: *** [Makefile install] Error 1
Just as reference, when I copy the files from Q4OS, and run make install just to see the output, I get a slightly different error.
/bin/sh: line 1: cc: command not found
(standard_in) 1: syntax error
install -p -m 644 88x2bu.ko /lib/modules/5.15.148/kernel/drivers/net/wireless/
/sbin/depmod -a 5.15.148
I am still looking into it.