Installed Cinnamon - WIFI DWA171 -Not working

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
johnny57
Level 1
Level 1
Posts: 8
Joined: Sun May 09, 2021 2:12 am

Installed Cinnamon - WIFI DWA171 -Not working

Post by johnny57 »

Hello,
I just installed Cinnamon Mint on my computer (Dual boot) and am completely new with Linux.
The problem I’m having is that I can’t get the D-Link DWA171 USB wireless adapter plug-in to work.
Lunix did install the driver for the adapter. I tried a few things from what I have read on the internet, and still I couldn’t solve the problem. I hope that in the process of trying to solve this issue, I didn’t add any unnecessary program(s) or mixed up any settings that would cause any other problems.

All I have displaying on the bottom right of my screen is “Wired network” (slider set to on). I do not see any available WI-FI signals nearby.

Can someone help me out?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Larry78723
Level 14
Level 14
Posts: 5476
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Installed Cinnamon - WIFI DWA171 -Not working

Post by Larry78723 »

Please post the results for each of the following commands. Here is how:

Open a terminal window (Ctrl-Alt-t). Make it fullscreen to avoid unneeded linebreaks or chopped lines. Execute the following commands, one at a time.

Code: Select all

inxi -Fxxxz

Code: Select all

mokutil --sb-state	

Code: Select all

rfkill list

Code: Select all

 iwconfig

Code: Select all

lsusb

Code: Select all

 lspci 
Mark the complete text output which each command will display with your mouse.
Press the keyboard shortcut <Shift><Ctrl>C to copy the marked text into the clipboard.
Enclose the results for each command between the code markers by selecting </> from the mini toolbar above the textbox where you type your reply then paste <Ctrl>V them in your reply between the code markers [code]Results [/code].
Image
If you have found the solution to your initial post, please open your original post, click on the pencil, and add (Solved) to the Subject, it helps other users looking for help, and keeps the forum clean.
johnny57
Level 1
Level 1
Posts: 8
Joined: Sun May 09, 2021 2:12 am

Re: Installed Cinnamon - WIFI DWA171 -Not working

Post by johnny57 »

Code: Select all

johnny@johnny-ThinkCentre-M58p:~$ inxi -Fxxxz
System:    Kernel: 5.4.0-72-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 4.8.6 wm: muffin 4.8.1 
           dm: LightDM 1.30.0 Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal 
Machine:   Type: Desktop System: LENOVO product: 9964A7U v: ThinkCentre M58p serial: <filter> Chassis: type: 3 
           serial: <filter> 
           Mobo: LENOVO model: LENOVO serial: <filter> BIOS: LENOVO v: 5CKT77AUS date: 05/07/2012 
Battery:   Device-1: hidpp_battery_0 model: Logitech Wireless Mouse M215 2nd Gen serial: <filter> 
           charge: 100% (should be ignored) rechargeable: yes status: Discharging 
           Device-2: hidpp_battery_1 model: Logitech Wireless Keyboard K330 serial: <filter> charge: 55% (should be ignored) 
           rechargeable: yes status: Discharging 
CPU:       Topology: Dual Core model: Intel Core2 Duo E8400 bits: 64 type: MCP arch: Penryn rev: A L2 cache: 6144 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx bogomips: 11969 
           Speed: 1995 MHz min/max: 2000/3000 MHz Core speeds (MHz): 1: 1995 2: 1995 
Graphics:  Device-1: Intel 4 Series Integrated Graphics vendor: Lenovo ThinkCentre M6258 driver: i915 v: kernel 
           bus ID: 00:02.0 chip ID: 8086:2e12 
           Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa DRI Intel Q45/Q43 (ELK) v: 2.1 Mesa 20.2.6 direct render: Yes 
Audio:     Device-1: Intel 82801JD/DO HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
           chip ID: 8086:3a6e 
           Sound Server: ALSA v: k5.4.0-72-generic 
Network:   Device-1: Intel 82567LM-3 Gigabit Network vendor: Lenovo driver: e1000e v: 3.2.6-k port: 1820 bus ID: 00:19.0 
           chip ID: 8086:10de 
           IF: enp0s25 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           Device-2: D-Link 802.11n WLAN Adapter type: USB driver: usb-network bus ID: 2-6:2 chip ID: 2001:3314 
           serial: <filter> 
Drives:    Local Storage: total: 298.09 GiB used: 19.78 GiB (6.6%) 
           ID-1: /dev/sda vendor: Western Digital model: WD3200AAJS-08L7A0 size: 298.09 GiB speed: 3.0 Gb/s serial: <filter> 
           rev: 3E03 scheme: MBR 
Partition: ID-1: / size: 127.28 GiB used: 19.78 GiB (15.5%) fs: ext4 dev: /dev/sda5 
Sensors:   System Temperatures: cpu: 34.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 168 Uptime: 9m Memory: 7.25 GiB used: 894.4 MiB (12.0%) Init: systemd v: 245 runlevel: 5 Compilers: 
           gcc: 9.3.0 alt: 9 Shell: bash v: 5.0.17 running in: gnome-terminal inxi: 3.0.38 
johnny@johnny-ThinkCentre-M58p:~$ 
-------------------------------------------------------------------------------------------------------------
johnny@johnny-ThinkCentre-M58p:~$ mokutil --sb-state
EFI variables are not supported on this system
johnny@johnny-ThinkCentre-M58p:~$ 
------------------------------------------------------------------------------------------------------------------
johnny@johnny-ThinkCentre-M58p:~$ rfkill list
johnny@johnny-ThinkCentre-M58p:~$ 
------------------------------------------------------------------------------
johnny@johnny-ThinkCentre-M58p:~$ iwconfig
lo        no wireless extensions.

enp0s25   no wireless extensions.

johnny@johnny-ThinkCentre-M58p:~$ 
-------------------------------------------------------------------------------
johnny@johnny-ThinkCentre-M58p:~$ lsusb
Bus 002 Device 002: ID 2001:3314 D-Link Corp. 802.11n WLAN Adapter
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 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
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:c52b Logitech, Inc. Unifying Receiver
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
johnny@johnny-ThinkCentre-M58p:~$
--------------------------------------------------------------------------------------------------------
johnny@johnny-ThinkCentre-M58p:~$ lspci
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
00:03.0 Communication controller: Intel Corporation 4 Series Chipset HECI Controller (rev 03)
00:03.2 IDE interface: Intel Corporation 4 Series Chipset PT IDER Controller (rev 03)
00:03.3 Serial controller: Intel Corporation 4 Series Chipset Serial KT Controller (rev 03)
00:19.0 Ethernet controller: Intel Corporation 82567LM-3 Gigabit Network Connection (rev 02)
00:1a.0 USB controller: Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB controller: Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI Controller #5 (rev 02)
00:1a.2 USB controller: Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI Controller #6 (rev 02)
00:1a.7 USB controller: Intel Corporation 82801JD/DO (ICH10 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801JD/DO (ICH10 Family) HD Audio Controller (rev 02)
00:1d.0 USB controller: Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB controller: Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB controller: Intel Corporation 82801JD/DO (ICH10 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB controller: Intel Corporation 82801JD/DO (ICH10 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a2)
00:1f.0 ISA bridge: Intel Corporation 82801JDO (ICH10DO) LPC Interface Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801JD/DO (ICH10 Family) SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801JD/DO (ICH10 Family) SMBus Controller (rev 02)
johnny@johnny-ThinkCentre-M58p:~$ 
-----------------------------------------------------------------------------------------------------------------------------
User avatar
GS3
Level 8
Level 8
Posts: 2384
Joined: Fri Jan 06, 2017 7:51 am

Re: Installed Cinnamon - WIFI DWA171 -Not working

Post by GS3 »

See this thread viewtopic.php?t=277394
Please do not use animated GIFs in avatars because many of us find them distracting and obnoxious. Thank you.
sleeper12
Level 21
Level 21
Posts: 14561
Joined: Thu May 25, 2017 3:22 pm

Re: Installed Cinnamon - WIFI DWA171 -Not working

Post by sleeper12 »

GS3 wrote: Sun May 09, 2021 6:40 pm See this thread viewtopic.php?t=277394
This one may be newer, do one line at a time:

Code: Select all

sudo apt install git dkms
git clone https://github.com/aircrack-ng/rtl8812au.git
cd rtl8812au
sudo ./dkms-install.sh 
Reboot
johnny57
Level 1
Level 1
Posts: 8
Joined: Sun May 09, 2021 2:12 am

Re: Installed Cinnamon - WIFI DWA171 -Not working

Post by johnny57 »

Hello Everyone,
I entered every line and this is what I got:


johnny@johnny-ThinkCentre-M58p:~$ sudo apt install git dkms
[sudo] password for johnny:
Reading package lists... Done
Building dependency tree
Reading state information... Done
dkms is already the newest version (2.8.1-5ubuntu2).
git is already the newest version (1:2.25.1-1ubuntu3.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

johnny@johnny-ThinkCentre-M58p:~$ git clone https://github.com/aircrack-ng/rtl8812au.git
fatal: destination path 'rtl8812au' already exists and is not an empty directory.

johnny@johnny-ThinkCentre-M58p:~$ cd rtl8812au

johnny@johnny-ThinkCentre-M58p:~/rtl8812au$ sudo ./dkms-install.sh
sudo: ./dkms-install.sh: command not found

johnny@johnny-ThinkCentre-M58p:~/rtl8812au$
johnny57
Level 1
Level 1
Posts: 8
Joined: Sun May 09, 2021 2:12 am

Re: Installed Cinnamon - WIFI DWA171 -Not working

Post by johnny57 »

Hello,
It does not work.
User avatar
Larry78723
Level 14
Level 14
Posts: 5476
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Installed Cinnamon - WIFI DWA171 -Not working

Post by Larry78723 »

Let's try this:

Open Terminal
cd rtl8812au
sudo make -f Makefile.dkms install
Image
If you have found the solution to your initial post, please open your original post, click on the pencil, and add (Solved) to the Subject, it helps other users looking for help, and keeps the forum clean.
johnny57
Level 1
Level 1
Posts: 8
Joined: Sun May 09, 2021 2:12 am

Re: Installed Cinnamon - WIFI DWA171 -Not working

Post by johnny57 »

Hello,
Does not work ...this is what it gave me:

johnny@johnny-ThinkCentre-M58p:~$ cd rtl8812au

johnny@johnny-ThinkCentre-M58p:~/rtl8812au$ sudo make -f Makefile.dkms install
[sudo] password for johnny:
make: Makefile.dkms: No such file or directory
make: *** No rule to make target 'Makefile.dkms'. Stop.

johnny@johnny-ThinkCentre-M58p:~/rtl8812au$
User avatar
Larry78723
Level 14
Level 14
Posts: 5476
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Installed Cinnamon - WIFI DWA171 -Not working

Post by Larry78723 »

I'm not giving up yet.

Open terminal
cd rtl8812au
ls -l

copy the entire output (Ctrl-Shift-C) and paste (Ctrl-V) into your reply.
Image
If you have found the solution to your initial post, please open your original post, click on the pencil, and add (Solved) to the Subject, it helps other users looking for help, and keeps the forum clean.
sleeper12
Level 21
Level 21
Posts: 14561
Joined: Thu May 25, 2017 3:22 pm

Re: Installed Cinnamon - WIFI DWA171 -Not working

Post by sleeper12 »

Try:

Code: Select all

cd rtl8812au
sudo make dkms_install 
Reboot
johnny57
Level 1
Level 1
Posts: 8
Joined: Sun May 09, 2021 2:12 am

Re: Installed Cinnamon - WIFI DWA171 -Not working

Post by johnny57 »

Hello Larry,
I entered what you told me to do and this is what I got. ..No Wifi .



johnny@johnny-ThinkCentre-M58p:~$ cd rtl8812au
johnny@johnny-ThinkCentre-M58p:~/rtl8812au$ ls -l
total 248
drwxrwxr-x 11 johnny johnny 4096 May 7 22:41 android
drwxrwxr-x 4 johnny johnny 4096 May 7 22:41 core
-rw-rw-r-- 1 johnny johnny 325 May 7 22:41 dkms.conf
drwxrwxr-x 2 johnny johnny 4096 May 8 09:39 docs
drwxrwxr-x 8 johnny johnny 4096 May 7 22:41 hal
drwxrwxr-x 5 johnny johnny 4096 May 7 22:41 include
-rw-rw-r-- 1 johnny johnny 99 May 7 22:41 Kconfig
-rw-rw-r-- 1 johnny johnny 18092 May 7 22:41 LICENSE
-rwxrwxr-x 1 johnny johnny 71077 May 7 22:41 Makefile
drwxrwxr-x 3 johnny johnny 4096 May 7 22:41 os_dep
drwxrwxr-x 2 johnny johnny 4096 May 7 22:41 platform
-rw-rw-r-- 1 johnny johnny 8290 May 7 22:41 README.md
-rw-rw-r-- 1 johnny johnny 105853 May 7 22:41 ReleaseNotes.pdf
drwxrwxr-x 3 johnny johnny 4096 May 7 22:41 tools
johnny@johnny-ThinkCentre-M58p:~/rtl8812au$
johnny57
Level 1
Level 1
Posts: 8
Joined: Sun May 09, 2021 2:12 am

Re: Installed Cinnamon - WIFI DWA171 -Not working

Post by johnny57 »

Hello Sleeper 12
Here are the results... I will reboot.




johnny@johnny-ThinkCentre-M58p:~/rtl8812au$ cd rtl8812au
bash: cd: rtl8812au: No such file or directory

johnny@johnny-ThinkCentre-M58p:~/rtl8812au$ sudo make dkms_install
[sudo] password for johnny:

mkdir -p /usr/src/8812au-5.6.4.2_35491.20191025
cp -r * /usr/src/8812au-5.6.4.2_35491.20191025
dkms add -m 8812au -v 5.6.4.2_35491.20191025

Creating symlink /var/lib/dkms/8812au/5.6.4.2_35491.20191025/source ->
/usr/src/8812au-5.6.4.2_35491.20191025

DKMS: add completed.
dkms build -m 8812au -v 5.6.4.2_35491.20191025

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
'make' -j2 KVER=5.4.0-73-generic KSRC=/lib/modules/5.4.0-73-generic/build.......................................
cleaning build area...

DKMS: build completed.
dkms install -m 8812au -v 5.6.4.2_35491.20191025

88XXau.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.4.0-73-generic/updates/

depmod..........

DKMS: install completed.
dkms status
8812au, 5.6.4.2_35491.20191025, 5.4.0-73-generic, x86_64: installed
8814au, 5.8.5.1, 5.4.0-72-generic, x86_64: installed
8814au, 5.8.5.1, 5.4.0-73-generic, x86_64: installed
bcmwl, 6.30.223.271+bdcom, 5.4.0-72-generic, x86_64: installed
bcmwl, 6.30.223.271+bdcom, 5.4.0-73-generic, x86_64: installed
rtl8812au, 4.3.14, 5.4.0-72-generic, x86_64: built
rtl8812au, 4.3.14, 5.4.0-73-generic, x86_64: built
rtl8812au, 4.3.8.12175.20140902+dfsg, 5.4.0-72-generic, x86_64: installed
rtl8812au, 4.3.8.12175.20140902+dfsg, 5.4.0-73-generic, x86_64: installed
rtl8821CU, 5.4.1, 5.4.0-72-generic, x86_64: installed
rtl8821CU, 5.4.1, 5.4.0-73-generic, x86_64: installed
virtualbox, 6.1.16, 5.4.0-72-generic, x86_64: installed
virtualbox, 6.1.16, 5.4.0-73-generic, x86_64:
johnny57
Level 1
Level 1
Posts: 8
Joined: Sun May 09, 2021 2:12 am

Re: Installed Cinnamon - WIFI DWA171 -Not working

Post by johnny57 »

Hello,
Good news !
I rebooted and I now have WIFI!!
I can see all the available WIFI signals around and I can also connect.

Thank you Sleeper12, Larry78723 and GS3 for helping me out!!


Later
Johnny
sleeper12
Level 21
Level 21
Posts: 14561
Joined: Thu May 25, 2017 3:22 pm

Re: Installed Cinnamon - WIFI DWA171 -Not working

Post by sleeper12 »

Ok, sorry for the mistake. That last command in my first post was wrong. It should have been sudo make dkms_install which is what made it work for you. :)
Locked

Return to “Beginner Questions”