[SOLVED] D-Link DWA-171 Dual Band Adaptor with MINT 19.

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Unclefred
Level 2
Level 2
Posts: 57
Joined: Mon Feb 03, 2014 10:28 am
Location: Nova Scotia, Canada

[SOLVED] D-Link DWA-171 Dual Band Adaptor with MINT 19.

Post by Unclefred »

I've just moved & gave up my wired connection with my Desktop Machine. My new landlady is very nice but she offers only wireless. I had no adaptor so I went to Staples & got the DWA-171 D-Link dual band adaptor. Now no drivers. I can get to the library, as I have done here to post this, but I'll be D/Ling a driver, ( if there is one), onto a USB stick and carrying it home to install there. Can anyone name a proper driver for this and a D/L site for the driver, please? Do you have the proper commands, "make clean, make, etc. to get it installed & running? I'd be ever so grateful.
Last edited by Moem on Mon May 04, 2020 4:39 am, edited 1 time in total.
Reason: Marked this as [SOLVED] for you; please note that you can and should do this for your own topics. Thanks!
JeremyB
Level 21
Level 21
Posts: 13854
Joined: Fri Feb 21, 2014 8:17 am

Re: D-Link DWA-171 Dual Band Adaptor with MINT 19.

Post by JeremyB »

Post results for

Code: Select all

lsusb
With the adapter plugged in
Unclefred
Level 2
Level 2
Posts: 57
Joined: Mon Feb 03, 2014 10:28 am
Location: Nova Scotia, Canada

Re: D-Link DWA-171 Dual Band Adaptor with MINT 19.

Post by Unclefred »

I'll go home & do that, then I'll come back tomorrow. The liibrary closes in 40 minutes and I have an important email to write tonight. But I'll post it tomorrow.
Unclefred
Level 2
Level 2
Posts: 57
Joined: Mon Feb 03, 2014 10:28 am
Location: Nova Scotia, Canada

Re: D-Link DWA-171 Dual Band Adaptor with MINT 19.

Post by Unclefred »

The list looks like this, although I had to re-insert the line feeds in the text file to get it onto the thumb drive and down to the library. I hope I gotthem in the right places.

$ lsusb
Bus
002 Device 002: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
Bus
002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus
008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus
007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus
006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus
001 Device 005: ID 154b:005b PNY Flash Drive
Bus 001 Device 003:
ID 2001:3314 D-Link Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus
005 Device 002: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus
005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus
004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus
003 Device 002: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus
003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
JeremyB
Level 21
Level 21
Posts: 13854
Joined: Fri Feb 21, 2014 8:17 am

Re: D-Link DWA-171 Dual Band Adaptor with MINT 19.

Post by JeremyB »

When at the library with working internet do

Code: Select all

sudo apt install dkms git build-essential
git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
cd rtl8812AU_8821AU_linux
sudo make -f Makefile.dkms install
Reboot and check BIOS/UEFI to make sure Secure Boot is disabled, it may not be an option if you did not install Linux Mint in EFI mode
Unclefred
Level 2
Level 2
Posts: 57
Joined: Mon Feb 03, 2014 10:28 am
Location: Nova Scotia, Canada

Re: D-Link DWA-171 Dual Band Adaptor with MINT 19.

Post by Unclefred »

I don't have a working Internet. That's the difficulty. There is no wired connection and there is no WiFi connection. I can carry a thumb drive from this library computer to my machine a few blocks away. Would you be able to tell me that I need such a connection? There may be some people I could ask, but I'd have to tear down my system put it in their car and drive to their place and install it from there, online. It's a big deal, but being unconnected also is a big deal. I was hoping there could be an easier way.
JeremyB
Level 21
Level 21
Posts: 13854
Joined: Fri Feb 21, 2014 8:17 am

Re: D-Link DWA-171 Dual Band Adaptor with MINT 19.

Post by JeremyB »

What kernel is on you Linux Mint 19

Code: Select all

uname -a
I might be able to build the driver for you and provide some instructions to install so you can download
Unclefred
Level 2
Level 2
Posts: 57
Joined: Mon Feb 03, 2014 10:28 am
Location: Nova Scotia, Canada

Re: D-Link DWA-171 Dual Band Adaptor with MINT 19.

Post by Unclefred »

I'll check when I get home, and return with the answer, hopefully later today.
Unclefred
Level 2
Level 2
Posts: 57
Joined: Mon Feb 03, 2014 10:28 am
Location: Nova Scotia, Canada

Re: D-Link DWA-171 Dual Band Adaptor with MINT 19.

Post by Unclefred »

The version is

Linux George 4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Yes, I named my computer "George," after one of the Beatles. :)
JeremyB
Level 21
Level 21
Posts: 13854
Joined: Fri Feb 21, 2014 8:17 am

Re: D-Link DWA-171 Dual Band Adaptor with MINT 19.

Post by JeremyB »

Download https://www.dropbox.com/s/iy7m54y3e5q6h2z/rtl8812au.ko then copy it to the Mint Desktop, then in terminal do

Code: Select all

cd Desktop
sudo cp rtl8812au.ko /lib/modules/4.15.0-29-generic/kernel/drivers/net/wireless/
sudo depmod -a
Reboot, check BIOS/UEFI and make sure Secure Boot is not enabled, it it works on reboot, run commands at posting.php?mode=reply&f=53&t=277394#pr1525396
Unclefred
Level 2
Level 2
Posts: 57
Joined: Mon Feb 03, 2014 10:28 am
Location: Nova Scotia, Canada

Re: D-Link DWA-171 Dual Band Adaptor with MINT 19.

Post by Unclefred »

Sounds good. I can do all that, except I'm not sure what commands I am supposed to run at posting.php?mode=reply&f=53&t=277394#pr1525396
JeremyB
Level 21
Level 21
Posts: 13854
Joined: Fri Feb 21, 2014 8:17 am

Re: D-Link DWA-171 Dual Band Adaptor with MINT 19.

Post by JeremyB »

Run these one line at a time

Code: Select all

sudo apt install dkms git build-essential
git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
cd rtl8812AU_8821AU_linux
sudo make -f Makefile.dkms install
Unclefred
Level 2
Level 2
Posts: 57
Joined: Mon Feb 03, 2014 10:28 am
Location: Nova Scotia, Canada

Re: D-Link DWA-171 Dual Band Adaptor with MINT 19.

Post by Unclefred »

Thank-you! I've got it all on my thumb drive and I am clear on the commands. Somehow you are setting up a "temporary connection" that allows me to run the install commands. I don't understand it all but I can do what you have said. It's going to be such a good thing if I can get online again. It'll give me something to research too. I want to understand how this is done.
Unclefred
Level 2
Level 2
Posts: 57
Joined: Mon Feb 03, 2014 10:28 am
Location: Nova Scotia, Canada

Solved *** Yay! Re: D-Link DWA-171 Dual Band Adaptor with MINT 19.

Post by Unclefred »

Thank-you to Jeremy & all. Consider this solved. (If it holds after a reboot) :lol: .
Locked

Return to “Networking”