LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-23-2019, 02:47 PM   #16
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929

@Faultygaia

Based on your idVender=2357, idProduct=0106 (google search term: 2357:0106) I found this Linux Mint thread:
https://forums.linuxmint.com/viewtop...rt=20#p1519119
Pointing at:
https://github.com/nazar-pc/RTL8814AU
Which requires DKMS:
http://slackbuilds.org/repository/14...elopment/dkms/

On lsusb not listing your adapter, I thought it doesn't list it at all, but you now detailed that only the "human friendly" description is missing. This is just cosmetic and not a real issue.
Slackware, AFAIK, doesn't provide you with a tool to update the USB IDs database found in /usr/share/hwdata/usb.ids
You can do it manually from: http://www.linux-usb.org/usb-ids.html
HowTo:
Code:
cd /usr/share/hwdata/
mv usb.ids usb.ids.old
wget http://www.linux-usb.org/usb.ids
cd /
Then run lsusb again to check if the new DB contains details about your adapter.
 
1 members found this post helpful.
Old 09-23-2019, 02:55 PM   #17
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
yeah, you don't need to worry about lsusb being blank, it just means that device is not in its database so it can't print a pretty name
as I suspected and alluded to.
I should have looked it up to save some worry.
 
Old 09-23-2019, 02:57 PM   #18
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
ok, I disabled bc , it complained but appeared to compile ok

I'll try the 4.4.14 kernel
 
Old 09-23-2019, 03:06 PM   #19
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
ok, it fails on 4.4.14

upgrade to current

I'm kidding, I'll see what I can do
 
Old 09-23-2019, 03:30 PM   #20
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
ok,

I think i have it

and it matches well with what Terry reported

Code:
make clean
git checkout v5.2.20
make && sudo make install
alternatively, install dkms that @abga linked, and run the dkms-install.sh
mah, just peeked , that seems hard coded to rtl8812au
we can fix that if the driver works and you want to add dkms

/!\ I compiled with current against 4.4.14 kernel source
bc didn't seem to matter
( but you should probably install it anyway, it can be handy )

Last edited by Firerat; 09-23-2019 at 03:35 PM.
 
Old 09-23-2019, 03:56 PM   #21
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
@Faultygaia
I had difficulties understanding what Firerat was testing in the latest posts, considering that he/she's failing to build what I suggested in #16
The positive side effect of this latest development, is that I tested the instructions I presented in #16 and can confirm they are working, module is built and can be loaded, at least on a Slackware 14.2 using the 4.4.190 kernel (only test system I had ATM).

After I built & installed DKMS from SlackBuilds, I ran the following:
Code:
/kit# uname -r
4.4.190-smp
/kit#git clone https://github.com/nazar-pc/RTL8814AU.git
/kit#cd RTL8814AU/

/kit/RTL8814AU# ./dkms-install.sh
About to run dkms install steps...

Creating symlink /var/lib/dkms/rtl8814au/4.3.21/source ->
                 /usr/src/rtl8814au-4.3.21

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make'.....................................................................................................
cleaning build area...

DKMS: build completed.

rtl8814au.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.4.190-smp/updates/dkms/

depmod.....

DKMS: install completed.
Finished running dkms install steps.

/kit/RTL8814AU# ls -al /lib/modules/4.4.190-smp/updates/dkms/
total 1332
drwxr-xr-x 2 root root    4096 Sep 23 21:36 ./
drwxr-xr-x 3 root root    4096 Sep 23 21:36 ../
-rw-r--r-- 1 root root 1355280 Sep 23 21:36 rtl8814au.ko

/kit/RTL8814AU# modinfo rtl8814au
filename:       /lib/modules/4.4.190-smp/updates/dkms/rtl8814au.ko
version:        v4.3.21_17997.20160531
author:         Realtek Semiconductor Corp.
description:    Realtek Wireless Lan Driver
license:        GPL
....
/kit/RTL8814AU#modprobe rtl8814au
#dmesg:
[ 1137.823724] rtl8814au: loading out-of-tree module taints kernel.
[ 1137.833096] RTL871X: module init start
[ 1137.833109] RTL871X: rtl8814au v4.3.21_17997.20160531
[ 1137.833242] usbcore: registered new interface driver rtl8814au
[ 1137.833249] RTL871X: module init ret=0

/kit/RTL8814AU# ./dkms-remove.sh
About to run dkms removal steps...

-------- Uninstall Beginning --------
Module:  rtl8814au
Version: 4.3.21
Kernel:  4.4.190-smp (i686)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

rtl8814au.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.4.190-smp/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod...

DKMS: uninstall completed.

------------------------------
Deleting module version: 4.3.21
completely from the DKMS tree.
------------------------------
Done.
Finished running dkms removal steps.
 
Old 09-23-2019, 03:59 PM   #22
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
not trying is not failing
 
Old 09-23-2019, 04:10 PM   #23
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Could always try the windows driver with ndiswrapper? Not that this isn't the Slackware form.
 
Old 09-23-2019, 08:01 PM   #24
Faultygaia
LQ Newbie
 
Registered: Sep 2019
Posts: 9

Original Poster
Rep: Reputation: Disabled
To give an update on the situation, I tried the method with DKMS shown on post number 16 that @abga posted, it compiled fine and everything but I decided to start up wpa_supplicant to see if I could edit any settings and see if anything was working and all that was in the .conf was
"ctrl_interface=/var/run/wpa_supplicant"
"ctrl_interface_group=root"
I have been logged in as root the whole time btw.
Also I ran dmesg after that and whenever I plugged in the usb It would spit out "Driver 'rtl8814au' is already registered, aborting."

I know that this is abrupt but im not going to be able to do anymore testing until tomorrow morning,
so I will try what @firerat said in post #20 and what @abga said in post #21 then.
But thanks for the help as always!!
 
Old 09-23-2019, 08:04 PM   #25
Terry Coats
Member
 
Registered: Mar 2017
Posts: 122

Rep: Reputation: 54
Quote:
Originally Posted by Firerat View Post
@Terry
The aircrack-ng one linked by @USUARIONUEVO may sort out the issues with led

it has more chipsets that the one you have
( top link from a startpage.com search gets the github I used in the second one )

you may need to install git on your Linux Mint.
Thanks but the make of that driver crashes with same error
Faultygaia down below got.
 
Old 09-23-2019, 08:30 PM   #26
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
ok, lets take a breath

uninstall the existing kernel modules

into each Src/ and
Code:
make uninstall # as root
./dkms-remove.sh # if dkms
check lsmod, and rmmod any wifi modules in memory


now, try again one at a time, removing if it fails
 
Old 09-23-2019, 08:31 PM   #27
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
Quote:
Originally Posted by Faultygaia View Post
To give an update on the situation, I tried the method with DKMS shown on post number 16 that @abga posted, it compiled fine and everything but I decided to start up wpa_supplicant to see if I could edit any settings and see if anything was working and all that was in the .conf was
"ctrl_interface=/var/run/wpa_supplicant"
"ctrl_interface_group=root"
I have been logged in as root the whole time btw.
Also I ran dmesg after that and whenever I plugged in the usb It would spit out "Driver 'rtl8814au' is already registered, aborting."

I know that this is abrupt but im not going to be able to do anymore testing until tomorrow morning,
so I will try what @firerat said in post #20 and what @abga said in post #21 then.
But thanks for the help as always!!
My post #21 is just a confirmation (testing) for what I suggested in #16

Have you checked if you got a working wifi interface - wlan0 after loading the driver I suggested in #16 ?
Code:
/usr/sbin/iw dev
If positive, you can also do a test - tune the Wifi card to your ESSID - change "ESSID" to reflect the real one (keep the quotes)
Code:
#tune it:
/sbin/iwconfig wlan0 essid "ESSID"
#check if tuned:
/sbin/iwconfig wlan0
How did you launch wpa_supplicant? A normal way would be:
Code:
/usr/sbin/wpa_supplicant -B -D nl80211 -i wlan0 -c /etc/wpa_supplicant.conf
A simple way to add your ESSID & Password to wpa_supplicant.conf you might find useful:
Code:
/usr/sbin/wpa_passphrase ESSID PASSWORD | tee -a /etc/wpa_supplicant.conf
P.S.
Do clean the system from your previous (previous to my post #16) attempts to get a working driver as Firerat suggested in the previous post. I didn't mention this because I didn't consider it necessary - I mean, it's obvious you need to clean the other drivers before you attempt installing a new one.

Last edited by abga; 09-23-2019 at 08:47 PM. Reason: P.S.
 
Old 09-23-2019, 08:39 PM   #28
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Quote:
Originally Posted by Terry Coats View Post
Thanks but the make of that driver crashes with same error
Faultygaia down below got.
I thought you had a working version but no led

when I saw the v5.2.20 in the git and it compiled on 4.4.14 I assumed we were getting somewhere.

down below?
Ah, I configure for top down reading... ( oldest first )
"Previous Post" fits either way
A good habit as is use of gender natural pronouns.
 
Old 09-23-2019, 10:41 PM   #29
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Quote:
Originally Posted by Faultygaia View Post
Thank you for all the answers!!!

I first tried ponce's driver, when I make'd it I got no errors but nothing changed on the machine so I went with Firerat's first answer with aircrack. Midway through make'ing it I got and error and it stopped, so I went with the second answer and it make'ed and install'ed perfectly.

Im current not at my house so im unable to test connecting to any wireless networks but when I do iwconfig now I get wlan0 (which I didn't get before). When I do lsusb though it still doesn't recognize the actual usb device, it just has a blank spot. Should I be worried about this? Thanks!!
what was wrong with this one again?
 
Old 09-24-2019, 01:33 AM   #30
Terry Coats
Member
 
Registered: Mar 2017
Posts: 122

Rep: Reputation: 54
Quote:
Originally Posted by Firerat View Post
I thought you had a working version but no led

when I saw the v5.2.20 in the git and it compiled on 4.4.14 I assumed we were getting somewhere.

down below?
Ah, I configure for top down reading... ( oldest first )
"Previous Post" fits either way
A good habit as is use of gender natural pronouns.
I tried the driver in the link you suggested but
make crashed with an error so I returned to the
5.2.20 driver.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing drivers for TP_LINK Archer T9UH ob Ubuntu 18.04.2 LTS Irbis Linux - Hardware 1 06-13-2019 05:16 PM
Connecting external storage through TP-Link Archer C8 router USB KYJazzyJeff Linux - Hardware 2 07-09-2018 12:58 PM
TP-LINK Archer T4U on USB 2.0 c7aig2123 Linux - Hardware 2 02-24-2017 06:12 AM
Install wireless adapter (TP-Link Archer T4U) on Kali virtual machine WZalm Linux - Newbie 1 04-30-2015 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration