Advertising

Author Topic: Unsure on how to properly find and install wifi adapter (88x2 BU) driver  (Read 419 times)

Offline Otto_Van_Chotto

  • Newbie
  • *
  • Posts: 7
Hi all,

So I finally decided to give Linux a try  (got fed up with Windows) and chose this great distro (Home Edition 5.6.2 LXQt). Before installing it on my main PC I decided to give it a try in the old family PC, and let me tell you, SparkyLinux gave new life to it. Anyways as the subject suggest I've been having problems finding and installing the driver for my wifi adapter, Realtek 8812BU to be specific. I found this driver here https://github.com/cilynx/rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959 but I'm not sure if it'll work on SparkyLinux, and also have no clue how to install it.

Thanks.

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1952
    • SparkyLinux
Re: Unsure on how to properly find and install wifi adapter (88x2 BU) driver
« Reply #1 on: February 16, 2019, 10:48:51 pm »
Hi
i am not sure too, will it be working or not.
The github's readme says that, it works on Linux kernel 4.18 & 4.19, which is used (the second one) as default on Sparky 5.6.x, so...
Follow the build instruction and good luck.
Nothing is easy as it looks.
Danielle Steel

Offline paxmark1

  • Hero Member
  • *****
  • Posts: 514
Re: Unsure on how to properly find and install wifi adapter (88x2 BU) driver
« Reply #2 on: February 17, 2019, 12:55:22 am »
Please continue to post your success or difficulties. 

I note with pleasure that he shows how to use dkms which is  Debian specific (Sparky is a Debian derivative)  and that he has been forked 8 times. 

More evidence of cliynx 's skill set is at what appears to be his blog.
https://www.wolfteck.com/

I have been down the road on this with the AU version.  I used Gordboys github
 My chipset   via lsusb Bus 001 Device 003: ID 0bda:8812 Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac WLAN Adapter

via inxi -n
Code: [Select]
Card-2: Realtek RTL8812AU 802.11a/b/g/n/ac WLAN Adapter driver: rtl8812au usb-ID: 001-003
           IF: wlx24050ff6739c state: N/A mac: N/A
 

NOTE:  I am <u>not</u>  suggesting you use the Gordboy github, AU is not BU.  My and your searches yielded cilynx as the best place to start.

I really can't wait until some more Realtek crap makes it into firmware-nonfree. 

peace out.



« Last Edit: February 17, 2019, 01:08:16 am by paxmark1 »
Don't make a FrankenDebian

Offline Otto_Van_Chotto

  • Newbie
  • *
  • Posts: 7
Re: Unsure on how to properly find and install wifi adapter (88x2 BU) driver
« Reply #3 on: February 17, 2019, 07:28:26 am »
Thanks for the help guys. One quick noob question though; since switching to Linux I’ve learned a few commands but I’m completely inexperienced when it comes to DKMS. To install one, do I need to input each command line individually as is tradition, or all at once.

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1952
    • SparkyLinux
Re: Unsure on how to properly find and install wifi adapter (88x2 BU) driver
« Reply #4 on: February 17, 2019, 10:25:20 pm »
Make sure you have dependencies pre-installed before you start building, in a terminal emulator:
Code: [Select]
sudo apt update
sudo apt install sed dkms rsync linux-headers-amd64
If you have 32 bit system installed, change 'amd64' to '686' or '686-pae'.
Then use all the commands from GitHub one after one.
Nothing is easy as it looks.
Danielle Steel

Offline Otto_Van_Chotto

  • Newbie
  • *
  • Posts: 7
Re: Unsure on how to properly find and install wifi adapter (88x2 BU) driver
« Reply #5 on: February 18, 2019, 02:49:30 am »
I had a feeling this was going to happen when trying to install the dependencies:
Code: [Select]
user@user:~$ sudo apt update
[sudo] password for user:
Err:1 http://ftp.debian.org/debian testing InRelease
  Could not resolve 'ftp.debian.org'
Err:2 http://www.deb-multimedia.org testing InRelease
  Could not resolve 'www.deb-multimedia.org'
Err:3 http://security.debian.org testing/updates InRelease
  Could not resolve 'security.debian.org'
Err:4 https://sparkylinux.org/repo core InRelease
  Could not resolve 'sparkylinux.org'
Err:5 https://sparkylinux.org/repo testing InRelease
  Could not resolve 'sparkylinux.org'
Err:6 https://sparkylinux.org/repo unstable InRelease
  Could not resolve 'sparkylinux.org'
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://ftp.debian.org/debian/dists/testing/InRelease  Could not resolve 'ftp.debian.org'
W: Failed to fetch http://security.debian.org/dists/testing/updates/InRelease  Could not resolve 'security.debian.org'
W: Failed to fetch http://www.deb-multimedia.org/dists/testing/InRelease  Could not resolve 'www.deb-multimedia.org'
W: Failed to fetch https://sparkylinux.org/repo/dists/core/InRelease  Could not resolve 'sparkylinux.org'
W: Failed to fetch https://sparkylinux.org/repo/dists/testing/InRelease  Could not resolve 'sparkylinux.org'
W: Failed to fetch https://sparkylinux.org/repo/dists/unstable/InRelease  Could not resolve 'sparkylinux.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
user@user:~$ sudo apt install sed dkms rsync linux-headers-amd64
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package dkms
E: Unable to locate package linux-headers-amd64

I think I'm gonna end up buying an ethernet cable (which I was already planning to get for my main PC), so I can finally install this driver on the family PC.

Thanks for the help everyone!
« Last Edit: February 21, 2019, 10:51:35 pm by Otto_Van_Chotto »

Offline Otto_Van_Chotto

  • Newbie
  • *
  • Posts: 7
Re: Unsure on how to properly find and install wifi adapter (88x2 BU) driver
« Reply #6 on: February 21, 2019, 10:48:21 pm »
Hello it's me again.

So the ethernet cable finally arrived and I was finally able to connect to the internet. I finally installed the dependencies:
Code: [Select]
sudo apt update
sudo apt install sed dkms rsync linux-headers-amd64

But when I try to sudo build or install the driver I get the following error:
Code: [Select]
Error! echo
Your kernel headers for kernel 4.20.11-sparky-amd64 cannot be found at
/lib/modules/4.20.11-sparky-amd64/build or /lib/modules/4.20.11-sparky-amd64/source.

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1952
    • SparkyLinux
Re: Unsure on how to properly find and install wifi adapter (88x2 BU) driver
« Reply #7 on: February 22, 2019, 12:42:01 am »
I suggest ot build the module on Debian's kernel & headers.
Nothing is easy as it looks.
Danielle Steel

Offline Otto_Van_Chotto

  • Newbie
  • *
  • Posts: 7
Re: Unsure on how to properly find and install wifi adapter (88x2 BU) driver
« Reply #8 on: February 22, 2019, 05:19:55 am »
Quote
I suggest ot build the module on Debian's kernel & headers.

How can I do that?

Offline paxmark1

  • Hero Member
  • *****
  • Posts: 514
Re: Unsure on how to properly find and install wifi adapter (88x2 BU) driver
« Reply #9 on: February 22, 2019, 09:40:13 pm »
From your first post     https://github.com/cilynx/rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959

Section DKMS Installation
Quote
cd rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959
VER=$(sed -n 's/\PACKAGE_VERSION="\(.*\)"/\1/p' dkms.conf)
sudo rsync -rvhP ./ /usr/src/rtl88x2bu-${VER}
sudo dkms add -m rtl88x2bu -v ${VER}
sudo dkms build -m rtl88x2bu -v ${VER}
sudo dkms install -m rtl88x2bu -v ${VER}
sudo modprobe 88x2bu

Each line is a  command to paste into a terminal ### Ctl-Shift-V   to paste into a terminal. 
« Last Edit: February 22, 2019, 09:50:32 pm by paxmark1 »
Don't make a FrankenDebian

Offline Otto_Van_Chotto

  • Newbie
  • *
  • Posts: 7
Re: Unsure on how to properly find and install wifi adapter (88x2 BU) driver
« Reply #10 on: February 23, 2019, 07:50:08 pm »
I see.