Note: This tutorial is a "scrap" meaning I'm just leaving it up for information purposes even though it's not totally complete. Follow at your own discretion.
The first thing you have to do is make sure all the packages on your system are up to date.
sudo pacman -Syu
As you probably already know this will do a full system upgrade on your Arch install. Reboot your system by typing reboot at the terminal.
Next thing you’ll want to do is verify what kernel you’re running.
uname -a
You want to pick the correct kernel version if it asks. I may be mixing this up with what you have to do on Manjaro because the steps are pretty much the same with the except of one thing.
Next install the linux-headers for your kernel. Most likely it’ll choose the right one but sometimes it’ll ask.
sudo pacman -S linux-headers
“reboot” your system again typing reboot in the terminal again.
Now you want to install the stuff you’ll need to build the files from the git. You’ll need to install the packages base-devel, git and dkms. You can install them by typing the command:
sudo pacman -S --needed base-devel git dkms
base-devel is the package you need to get the compiler and programs to compile the source code, git is to download the source code from git hub. Dkms is what the script needs to load the finished driver file into the kernel(Far as I know)
At the time of the writing of this I dont remember what driver worked. (There are several) Though you can figure it out with trial and error.
lsusb
This command will print the list of your usb devices, copy and paste The ID code of the wifi adapter into Google and you'll find git hub pages of different drivers people wrote for the card.
Once you find a driver you'd like to try navigate to the git page, copy and paste the url into the terminal with this command
git clone pasted-url
this will "clone" the git into a directory. Make sure you read any readme files using the cat command or any text editor of your choice before you begin trying to install them.
If for some reason the driver didnt work. You can verify the version that was installed by typing dkms status and then copy and paste the driver itself and version. and type
sudo dkms remove driver/version.
This way you'll be able to try another one without it conflicting.
If you're having a lot of trouble with this wifi adapter. I highly suggest you get different wifi adapter, as the majority of wifi adapters the drivers are baked into the kernel, but this one has been especially troublesome. It was a learning experience though.
No comments:
Post a Comment