Jump to content


DKMS Error When Installing a Linksys WSUB6300


  • Please log in to reply
7 replies to this topic

#1 OFFLINE   snminc

snminc

    Message Mogul

  • Members
  • PipPipPipPipPip
  • 265 posts

Posted 02 April 2018 - 01:56 PM

Greetings to all,
Having recently upgraded to PCLOS 2017.11 64 bit I am trying to install a Linksys WSUB 6300.

Unfortunately I have encountered a DKMS error.

I've been using the following script, found on an Unbutu forum.

apt-get install git
git clone https://github.com/a...AU_8821AU_linux
cd rtl8812AU_8821AU_linux
make
make install

Then reboot, insert the dongle and test. If there are any errors while running comands, then post them to your question.
To set it up permanently run these commands

cd ~/rtl8812AU_8821AU_linux
make uninstall
make clean
cp -R ~/rtl8812AU_8821AU_linux /usr/src/rtl8812AU_8821AU_linux-1.0
dkms install -m rtl8812AU_8821AU_linux -v 1.0

The driver will be installed using DKMS.
If the driver is installed first time the commands are

apt-get install git
git clone https://github.com/a...AU_8821AU_linux
cp -R rtl8812AU_8821AU_linux /usr/src/rtl8812AU_8821AU_linux-1.0
dkms install -m rtl8812AU_8821AU_linux -v 1.0

However when I enter dkms install -m rtl8812AU_8821AU_linux -v 1.0

the following error message is generated

Error! DKMS tree does not contain: rtl8812AU_8821AU_linux-1.0
Build cannot continue without the proper tree.

Any advice would be greatly appreciated.

Thanks

#2 OFFLINE   abarbarian

abarbarian

    Thread Kahuna

  • Forum MVP
  • 5,616 posts

Posted 02 April 2018 - 04:17 PM

http://community.lin...hat/td-p/968456

That link may be of use. :breakfast:
Install ARCH
You'll never need to install it again
"I did and I'm really happy"

Posted Image~~~~~~~~~~~~~Posted Image

#3 OFFLINE   Hedon James

Hedon James

    Topic Cop

  • Members
  • PipPipPipPipPipPipPip
  • 860 posts

Posted 02 April 2018 - 04:43 PM

looks like your line:

dkms install -m rtl8812AU_8821AU_linux -v 1.0

is perhaps missing use of "sudo" to install.  the way you typed it, i think your regular user is attempting to install and it can't find the dkms tree in the regular user directory structure, and/or the regular user doesn't have permission to write to that directory.  try the following:

sudo dkms install -m rtl8812AU_8821AU_linux -v 1.0

and see if that gives you any satisfaction.  otherwise, all I've got to offer is that I have had very good luck with Bolse USB wifi dongles...working on Windows, Mac, and Linux machines.  
https://www.amazon.c...r/dp/B00EZV8ZJI

I've also used the Bolse micro/nano adaptors, which are less obtrusive.  I've had good experiences with both, FWIW.

#4 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 23,845 posts

Posted 02 April 2018 - 05:26 PM

Why are things so difficult to set up on PCLos? I thought it  was an easy to use distro?

On Arch, all you would have to do is run trizen -S rtl8812au-dkms-git
On Ubuntu, sudo apt-get install rtl8812au-dkms
Posted ImagePosted Image Posted Image
CNI Radio/G+ Profile/Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#5 OFFLINE   sunrat

sunrat

    Thread Kahuna

  • Forum Moderators
  • 5,659 posts

Posted 03 April 2018 - 07:48 PM

Does ~/rtl8812AU_8821AU_linux actually contain a dkms.conf file?

Quote

apt-get install git
git clone https://github.com/a...AU_8821AU_linux
cp -R rtl8812AU_8821AU_linux /usr/src/rtl8812AU_8821AU_linux-1.0
Are you running this from inside the ~/rtl8812AU_8821AU_linux directory?

Try instead of the cp command:
dkms add .
then:
dkms install rtl8812AU_8821AU_linux/1.0

registered Linux user number 324659  ||    The importance of Reading The *Fine* Manual! :D
Posted ImagePosted ImagePosted ImagePosted Image
For the things we have to learn before we can do them, we learn by doing them.

#6 OFFLINE   snminc

snminc

    Message Mogul

  • Members
  • PipPipPipPipPip
  • 265 posts

Posted 10 April 2018 - 02:56 AM

My thanks to all for the advice offered.

PCLinuxOS is usually easy to use it's why I've stuck with it for so long.

Unfortunately they don't ship it with sudo capability (security reasons)

SO I tried to execute the script first posted using SU which lead to the files
been downloaded to a different location.

I've tried adding the sudo command without success, I can't seem to master editing visudo.

Then I decided to install Mint 18.3 as it runs on our netbook quite happily.

Alas there was an issue with the UEFI gremlin and the main PC couldn't boot into any OS.

Reinstalling PCLOS allowed access to Windows 10 but still cant connect wirelessly.

Another stab at installing Mint allows wireless access but didn't recognise Windows.

Decisions decisions...

#7 OFFLINE   sunrat

sunrat

    Thread Kahuna

  • Forum Moderators
  • 5,659 posts

Posted 10 April 2018 - 03:01 AM

Run from Mint
update-grub
Last time I did an install it didn't show Windows but did afterwards by doing that.
registered Linux user number 324659  ||    The importance of Reading The *Fine* Manual! :D
Posted ImagePosted ImagePosted ImagePosted Image
For the things we have to learn before we can do them, we learn by doing them.

#8 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 23,845 posts

Posted 10 April 2018 - 05:18 AM

View Postsnminc, on 10 April 2018 - 02:56 AM, said:

Unfortunately they don't ship it with sudo capability (security reasons)

Actually, if properly configured, sudo is much more secure than su to root. Sudo gives users access to a certain set of commands while su gives access to all commands. To give someone access to a restricted set of commands is more secure than giving them access to all commands. I set my systems to let sudo run certain things like updating but requires root to edit system configs.  There are many arguments for and against sudo but I find using a hybrid of both allows you to fine comb the security of your systems.
Posted ImagePosted Image Posted Image
CNI Radio/G+ Profile/Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users