[SOLVED] WIFI not working on Linux Mint Cinnemon 20.2

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.
Erald
Level 1
Level 1
Posts: 7
Joined: Mon Jul 26, 2021 2:10 pm

[SOLVED] WIFI not working on Linux Mint Cinnemon 20.2

Post by Erald »

Hi guys, linux newbie here.

First time installing linux. Searched online and Linux Mint seemed to be best when transitioning from Windows.

After I installed Linux Mint on my old desktop, WIFI is not working. I haven't had any issues with my USB WIFI on Windows before.

Can someone please help me out?

I've read other similar threads in this forum, but the solutions do not seem to work for my case, or I'm doing something wrong.

Code: Select all

System:
  Kernel: 5.4.0-80-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: Cinnamon 5.0.5 wm: muffin 5.0.1 dm: LightDM 1.30.0 
  Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal 
Machine:
  Type: Desktop Mobo: ASRock model: H81M-VG4 R2.0 serial: <filter> 
  BIOS: American Megatrends v: P1.40 date: 07/23/2015 
CPU:
  Topology: Quad Core model: Intel Core i5-4460 bits: 64 type: MCP 
  arch: Haswell rev: 3 L2 cache: 6144 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 25589 
  Speed: 900 MHz min/max: 800/3400 MHz Core speeds (MHz): 1: 900 2: 900 
  3: 900 4: 900 
Graphics:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics 
  vendor: ASRock driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:0412 
  Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 4600 (HSW GT2) 
  v: 4.5 Mesa 20.2.6 compat-v: 3.0 direct render: Yes 
Audio:
  Device-1: Intel 8 Series/C220 Series High Definition Audio vendor: ASRock 
  driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:8c20 
  Sound Server: ALSA v: k5.4.0-80-generic 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: ASRock driver: r8169 v: kernel port: e000 bus ID: 02:00.0 
  chip ID: 10ec:8168 
  IF: enp2s0 state: down mac: <filter> 
  IF-ID-1: usb0 state: unknown speed: N/A duplex: N/A mac: <filter> 
Drives:
  Local Storage: total: 931.51 GiB used: 11.30 GiB (1.2%) 
  ID-1: /dev/sda vendor: Seagate model: ST31000322CS size: 931.51 GiB 
  speed: 3.0 Gb/s rotation: 5900 rpm serial: <filter> rev: CA13 scheme: MBR 
Partition:
  ID-1: / size: 915.40 GiB used: 11.30 GiB (1.2%) fs: ext4 dev: /dev/sda5 
Sensors:
  System Temperatures: cpu: 44.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://packages.linuxmint.com uma main upstream import backport #id:linuxmint_main
  2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
  3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
  4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ focal partner
Info:
  Processes: 191 Uptime: 14m Memory: 7.46 GiB used: 1.10 GiB (14.8%) 
  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
Last edited by Erald on Tue Jul 27, 2021 4:41 am, edited 1 time in total.
User avatar
Larry78723
Level 14
Level 14
Posts: 5479
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: WIFI not working on Linux Mint Cinnemon 20.2

Post by Larry78723 »

Please post the results of the following command:

Code: Select all

lsusb && lspci && rfkill list && mokutil --sb-state 
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.
Erald
Level 1
Level 1
Posts: 7
Joined: Mon Jul 26, 2021 2:10 pm

Re: WIFI not working on Linux Mint Cinnemon 20.2

Post by Erald »

Hi Larry, this is the result of the command.

Code: Select all

Bus 002 Device 002: ID 8087:8000 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 006: ID 062a:9013 MosArt Semiconductor Corp. 2.4G Keyboard Mouse
Bus 003 Device 008: ID 12d1:108a Huawei Technologies Co., Ltd. BLA-L09
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d5)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation H81 Express LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 11)
EFI variables are not supported on this system
User avatar
Larry78723
Level 14
Level 14
Posts: 5479
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: WIFI not working on Linux Mint Cinnemon 20.2

Post by Larry78723 »

I'm not seeing any wifi hardware in the lists. Try opening that desktop and reseating the wireless card. While you're in there, you might as well do some "spring cleaning". :P
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.
Erald
Level 1
Level 1
Posts: 7
Joined: Mon Jul 26, 2021 2:10 pm

Re: WIFI not working on Linux Mint Cinnemon 20.2

Post by Erald »

This is all that was registered during the OS install. Not sure I know how to reset the wireless card. Is there a specific command?

Also, what do you mean by "spring cleaning"? Total newbie here :shock:
User avatar
Larry78723
Level 14
Level 14
Posts: 5479
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: WIFI not working on Linux Mint Cinnemon 20.2

Post by Larry78723 »

Most 6-year-old machines have accumulated dust in them over the years. This is an opportunity to clean the dust bunnies out. Reseating the wifi card involves removing the wifi card and plugging it back in.
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.
motoryzen
Level 10
Level 10
Posts: 3443
Joined: Sun Dec 08, 2019 12:25 am

Re: WIFI not working on Linux Mint Cinnemon 20.2

Post by motoryzen »

Erald wrote: Mon Jul 26, 2021 6:21 pm This is all that was registered during the OS install. Not sure I know how to reset the wireless card. Is there a specific command?

Also, what do you mean by "spring cleaning"? Total newbie here :shock:
He means a spray can of compressed air. But let's stick to the issue at hand.

1st. Try re plugging in that usb wifi card. Also since you have multiple usb ports ( and both varieties..usb 2.0 and 3.0) just to rule that variable out if the 1st part doesn't matter...try a different usb port AND as well try a different type. If you tried usb 3.0, try 2.0 and vice versa and re do those commands to see if anything shows up/changes

Depending on the chipset inside that USB wireless card, you may need to download and install a specific driver ( had to do that on my 4790k backup/testing rig with my usb netgear n600 old card and then it worked 100% versus without doing that method..it was recognized..showed up in lsusb && lspci && rfkill list && mokutil --sb-state command(s) ...yet refuse to SEE any wireless networks...to connect to. odd thing to me)

Can you tell us the brand and model of that usb wifi card?
Mint 21.2 Cinnamon 5.8.4
asrock x570 taichi ...bios p5.00
ryzen 5900x
128GB Kingston Fury @ 3600mhz
Corsair mp600 pro xt NVME ssd 4TB
three 4TB ssds
dual 1TB ssds
Two 16TB Toshiba hdd's
24GB amd 7900xtx vid card
Viewsonic Elite UHD 32" 144hz monitor
Erald
Level 1
Level 1
Posts: 7
Joined: Mon Jul 26, 2021 2:10 pm

Re: WIFI not working on Linux Mint Cinnemon 20.2

Post by Erald »

Oh man, thanks :) :)
Try re plugging in that usb wifi card. Also since you have multiple usb ports ( and both varieties..usb 2.0 and 3.0) just to rule that variable out if the 1st part doesn't matter...try a different usb port AND as well try a different type. If you tried usb 3.0, try 2.0 and vice versa and re do those commands to see if anything shows up/changes
Previously was using a 2.0 port, now I tried on a 3.0 port and it showed up.

This is the new result.

Code: Select all

 Bus 002 Device 002: ID 8087:8000 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 006: ID 062a:9013 MosArt Semiconductor Corp. 2.4G Keyboard Mouse
Bus 003 Device 008: ID 12d1:108a Huawei Technologies Co., Ltd. BLA-L09
Bus 003 Device 017: ID 0bda:8812 Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac 2T2R DB WLAN Adapter
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d5)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation H81 Express LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 11)
EFI variables are not supported on this system
User avatar
Larry78723
Level 14
Level 14
Posts: 5479
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: WIFI not working on Linux Mint Cinnemon 20.2

Post by Larry78723 »

Now please post the results of the following command:

Code: Select all

inxi -nxxx
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.
Erald
Level 1
Level 1
Posts: 7
Joined: Mon Jul 26, 2021 2:10 pm

Re: WIFI not working on Linux Mint Cinnemon 20.2

Post by Erald »

The result of

Code: Select all

inxi -nxxx

Code: Select all

Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: ASRock driver: r8169 v: kernel port: e000 bus ID: 02:00.0 
  chip ID: 10ec:8168 
  IF: enp2s0 state: down mac: d0:50:99:86:37:d0 
  Device-2: Realtek RTL8812AU 802.11a/b/g/n/ac 2T2R DB WLAN Adapter 
  type: USB driver: usb-network bus ID: 3-1:17 chip ID: 0bda:8812 
  serial: 123456 
  IF-ID-1: usb0 state: unknown speed: N/A duplex: N/A mac: ca:2d:0e:3b:36:8e
sleeper12
Level 21
Level 21
Posts: 14396
Joined: Thu May 25, 2017 3:22 pm

Re: WIFI not working on Linux Mint Cinnemon 20.2

Post by sleeper12 »

Try this, 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 make dkms_install 
Reboot
Erald
Level 1
Level 1
Posts: 7
Joined: Mon Jul 26, 2021 2:10 pm

Re: WIFI not working on Linux Mint Cinnemon 20.2

Post by Erald »

Thanks sleeper12. It worked :)
sleeper12
Level 21
Level 21
Posts: 14396
Joined: Thu May 25, 2017 3:22 pm

Re: [SOLVED] WIFI not working on Linux Mint Cinnemon 20.2

Post by sleeper12 »

Excellent, & thanks to the other posters as well. :wink:
Erald
Level 1
Level 1
Posts: 7
Joined: Mon Jul 26, 2021 2:10 pm

Re: [SOLVED] WIFI not working on Linux Mint Cinnemon 20.2

Post by Erald »

Absolutely. A huge THANK YOU to Larry78723 and motoryzen for their guide 8)
motoryzen
Level 10
Level 10
Posts: 3443
Joined: Sun Dec 08, 2019 12:25 am

Re: [SOLVED] WIFI not working on Linux Mint Cinnemon 20.2

Post by motoryzen »

Erald wrote: Thu Jul 29, 2021 9:09 am Absolutely. A huge THANK YOU to Larry78723 and motoryzen for their guide 8)
*nods humbly*

Na..I have a long ways to go to catch up with people like Larry and SMG. SMG's driver installation method is exactly how I got my netgear n600 to be recognized by my backup desktop after researching it. I just couldn't remember which driver or the commands involved at the time before SMG posted that fix.

Happy the problem is solved :D
Cheers
Mint 21.2 Cinnamon 5.8.4
asrock x570 taichi ...bios p5.00
ryzen 5900x
128GB Kingston Fury @ 3600mhz
Corsair mp600 pro xt NVME ssd 4TB
three 4TB ssds
dual 1TB ssds
Two 16TB Toshiba hdd's
24GB amd 7900xtx vid card
Viewsonic Elite UHD 32" 144hz monitor
Ravenswood
Level 1
Level 1
Posts: 3
Joined: Wed Oct 21, 2015 7:58 am

Re: WIFI not working on Linux Mint Cinnemon 20.2

Post by Ravenswood »

sleeper12 wrote: Mon Jul 26, 2021 9:26 pm Try this, 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 make dkms_install 
Reboot
Thank you sleeper12. Also thanks to all other contributors
Tried this after getting nowhere with usb wireless keyboard intermittent problems, usb mouse right click button intermittent, and usb wireless dongle playing up.
All now working as they used to.
sleeper12
Level 21
Level 21
Posts: 14396
Joined: Thu May 25, 2017 3:22 pm

Re: WIFI not working on Linux Mint Cinnemon 20.2

Post by sleeper12 »

Ravenswood wrote: Mon Oct 18, 2021 9:47 am
Thank you sleeper12. Also thanks to all other contributors
Tried this after getting nowhere with usb wireless keyboard intermittent problems, usb mouse right click button intermittent, and usb wireless dongle playing up.
All now working as they used to.
Glad that helped you, enjoy. :wink:
atgeeuw
Level 1
Level 1
Posts: 1
Joined: Tue Oct 26, 2021 6:42 am

Re: [SOLVED] WIFI not working on Linux Mint Cinnemon 20.2

Post by atgeeuw »

I seem to have the same problem as this but following this advice has not been successful for me. Do you mind helping me out? I asked for help on another platform, check the link for more information:

https://unix.stackexchange.com/question ... t-cinnamon

Thanks in advanced!
User avatar
Larry78723
Level 14
Level 14
Posts: 5479
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: [SOLVED] WIFI not working on Linux Mint Cinnemon 20.2

Post by Larry78723 »

@atgeeuw - Please read  How to get help paying special attention to item #5 and start a thread of your own.
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.
motoryzen
Level 10
Level 10
Posts: 3443
Joined: Sun Dec 08, 2019 12:25 am

Re: [SOLVED] WIFI not working on Linux Mint Cinnemon 20.2

Post by motoryzen »

@atgeuuw

Larry means all good vibes. It's just that he makes sense about starting your own thread for the following reasons and possibly not limited to these below:

1. Thread hijacking isn't allowed here.
2. There is always the chance that your exact situation is not the same as the OP's ( possibly different hardware...different troubleshooting steps may be needed....etc )... So it prevents any confusion on anyone else visiting who is trying to sift through multiple users' PC's configurations to find which one is most applicable to him or her own.

....Just to explain the main reasons why. :D
Mint 21.2 Cinnamon 5.8.4
asrock x570 taichi ...bios p5.00
ryzen 5900x
128GB Kingston Fury @ 3600mhz
Corsair mp600 pro xt NVME ssd 4TB
three 4TB ssds
dual 1TB ssds
Two 16TB Toshiba hdd's
24GB amd 7900xtx vid card
Viewsonic Elite UHD 32" 144hz monitor
Locked

Return to “Networking”