Wi-fi breaks after every restart/shutdown on Linux Mint 20 Cinnamon

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.
Olivi
Level 1
Level 1
Posts: 15
Joined: Wed Oct 28, 2020 4:04 pm

Wi-fi breaks after every restart/shutdown on Linux Mint 20 Cinnamon

Post by Olivi »

Hi,

Problem is as title says. What I've been doing as a workaround is, I plug in on an Ethernet cable, then run sudo apt-get update. It works like a charm but, yeah, I really wish I didn't have to this.

Is there a way to fix this issue permanently?

Thank you in advance.
OS:
Linux Mint 20 Cinnamon (64-bits)

System:
Kernel: 5.4.0-52-generic x86_64 bits: 64 compiler: gcc v: 9.3.0
Desktop: Cinnamon 4.6.7 wm: muffin 4.6.3 dm: LightDM 1.30.0
Distro: Linux Mint 20 Ulyana base: Ubuntu 20.04 focal
Machine:
Type: Portable System: Dell product: Inspiron 5737 v: A10 serial: <filter>
Chassis: type: 8 v: A10 serial: <filter>
Mobo: Dell model: 045YHR v: A00 serial: <filter> UEFI [Legacy]: Dell
v: A10 date: 01/24/2018
Battery:
ID-1: BAT1 charge: 41.9 Wh condition: 41.9/66.6 Wh (63%) volts: 12.9/11.1
model: LGC DELL 0MF6943B type: Li-ion serial: <filter> status: Full
CPU:
Topology: Dual Core model: Intel Core i7-4500U bits: 64 type: MT MCP
arch: Haswell rev: 1 L2 cache: 4096 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
bogomips: 19155
Speed: 798 MHz min/max: 800/1700 MHz Core speeds (MHz): 1: 798 2: 798
3: 798 4: 798
Graphics:
Device-1: Intel Haswell-ULT Integrated Graphics vendor: Dell driver: i915
v: kernel bus ID: 00:02.0 chip ID: 8086:0a16
Device-2: AMD Venus XT [Radeon HD 8870M / R9 M270X/M370X] vendor: Dell
driver: radeon v: kernel bus ID: 03:00.0 chip ID: 1002:6821
Display: x11 server: X.Org 1.20.8 driver: ati,modesetting,radeon
unloaded: fbdev,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 4400 (HSW GT2)
v: 4.5 Mesa 20.0.8 compat-v: 3.0 direct render: Yes
Audio:
Device-1: Intel Haswell-ULT HD Audio vendor: Dell driver: snd_hda_intel
v: kernel bus ID: 00:03.0 chip ID: 8086:0a0c
Device-2: Intel 8 Series HD Audio vendor: Dell driver: snd_hda_intel
v: kernel bus ID: 00:1b.0 chip ID: 8086:9c20
Sound Server: ALSA v: k5.4.0-52-generic
Network:
Device-1: Realtek RTL810xE PCI Express Fast Ethernet vendor: Dell
driver: r8169 v: kernel port: 4000 bus ID: 01:00.0 chip ID: 10ec:8136
IF: enp1s0 state: down mac: <filter>
Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel port: 4000
bus ID: 02:00.0 chip ID: 8086:08b1
IF: wlp2s0 state: up mac: <filter>
Drives:
Local Storage: total: 931.51 GiB used: 36.22 GiB (3.9%)
ID-1: /dev/sda vendor: Seagate model: ST1000LM024 HN-M101MBB
size: 931.51 GiB speed: 6.0 Gb/s rotation: 5400 rpm serial: <filter>
rev: 0001 scheme: MBR
Partition:
ID-1: / size: 915.40 GiB used: 36.22 GiB (4.0%) fs: ext4 dev: /dev/sda5
Sensors:
System Temperatures: cpu: 42.0 C mobo: N/A gpu: radeon temp: 46 C
Fan Speeds (RPM): cpu: 0
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://mirror.ufscar.br/mint-archive ulyana main upstream import backport
2: deb http://mirror.ufscar.br/ubuntu focal main restricted universe multiverse
3: deb http://mirror.ufscar.br/ubuntu focal-updates main restricted universe multiverse
4: deb http://mirror.ufscar.br/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: 196 Uptime: 7h 57m Memory: 15.53 GiB used: 1.40 GiB (9.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

iwconfig:
lo no wireless extensions.

enp1s0 no wireless extensions.

wlp2s0 IEEE 802.11 ESSID:"vanmar"
Mode:Managed Frequency:2.452 GHz Access Point: EC:41:18:06:8E:69
Bit Rate=300 Mb/s Tx-Power=22 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=70/70 Signal level=-21 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:133 Missed beacon:0


lsusb :
Bus 001 Device 005: ID 0c45:64ad Microdia
Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 003: ID 8087:07dc Intel Corp.
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lspci
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 09)
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
00:1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev e4)
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller (rev 07)
02:00.0 Network controller: Intel Corporation Wireless 7260 (rev 73)
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Venus XT [Radeon HD 8870M / R9 M270X/M370X]
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
MartyMint
Level 7
Level 7
Posts: 1730
Joined: Thu Dec 27, 2012 10:50 pm

Re: Wi-fi breaks after every restart/shutdown on Linux Mint 20 Cinnamon

Post by MartyMint »

Olivi wrote: Fri Oct 30, 2020 3:59 pm Hi,

Problem is as title says. What I've been doing as a workaround is, I plug in on an Ethernet cable, then run sudo apt-get update. It works like a charm but, yeah, I really wish I didn't have to this.

sudo apt-get update shouldn't have anything to do with restarting your wifi/network.
That command merely updates your apt list.
sleeper12
Level 21
Level 21
Posts: 14558
Joined: Thu May 25, 2017 3:22 pm

Re: Wi-fi breaks after every restart/shutdown on Linux Mint 20 Cinnamon

Post by sleeper12 »

Turn power management off:

Code: Select all

 sudo sed -i 's/3/2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf 
Reboot
Olivi
Level 1
Level 1
Posts: 15
Joined: Wed Oct 28, 2020 4:04 pm

Re: Wi-fi breaks after every restart/shutdown on Linux Mint 20 Cinnamon

Post by Olivi »

MartyMint and sleeper12,

thank you for replying so fast!


@MartyMint oh. I didn't know that. Sorry, someone recommended that to me and it "worked". By "worked", I mean it was probably a coincidence and then, in my lack of experience with Linux, I was lead to think that it was the command that did the trick. But thanks for teaching me on what the command does!

@sleeper12, weirdly enough I just did two reboots and the Wi-Fi driver was working fine this time!! Should I still proceed with the command in this case or only execute it if it breaks again?
Also, I'm thinking maybe it's the system updates that might have something to do with this, because twice have I updated some system files, and it coincidentally broke around these instances.
Olivi
Level 1
Level 1
Posts: 15
Joined: Wed Oct 28, 2020 4:04 pm

Re: Wi-fi breaks after every restart/shutdown on Linux Mint 20 Cinnamon

Post by Olivi »

Guys,

It just broke again after an update and a reboot.

I did what sleeper12 told me, I copy pasted the command and rebooted. Still, no wi-fi signal.

Then... and I'm not joking nor I know why this helps, I ran sudo apt-get update, it returned this:
Ignored:1 http://mirror.ufscar.br/mint-archive ulyana InRelease
Found:2 http://mirror.ufscar.br/ubuntu focal InRelease
Found:3 http://mirror.ufscar.br/ubuntu focal-updates InRelease
Found:4 http://mirror.ufscar.br/ubuntu focal-backports InRelease
Found:5 http://mirror.ufscar.br/mint-archive ulyana Release
Found:6 http://security.ubuntu.com/ubuntu focal-security InRelease
Found:7 http://archive.canonical.com/ubuntu focal InRelease
Reading packages list... Done*

After a reboot, everything was back to normal. What's going on?

*P.s: My system is in Italian, I had to translate the output result above. Disregard if some sound weird or not 'real' commands, it's just because I don't know their English originals in Linux
sleeper12
Level 21
Level 21
Posts: 14558
Joined: Thu May 25, 2017 3:22 pm

Re: Wi-fi breaks after every restart/shutdown on Linux Mint 20 Cinnamon

Post by sleeper12 »

Is power management off now or still on? Check with:

Code: Select all

 iwconfig 
Olivi
Level 1
Level 1
Posts: 15
Joined: Wed Oct 28, 2020 4:04 pm

Re: Wi-fi breaks after every restart/shutdown on Linux Mint 20 Cinnamon

Post by Olivi »

sleeper12 wrote: Fri Oct 30, 2020 9:57 pm Is power management off now or still on? Check with:

Code: Select all

 iwconfig 
This is the output:
enp1s0 no wireless extensions.

lo no wireless extensions.



Note: It broke again and I connected my laptop to the Ethernet cable and, upon another restart, wireless was back to normal. Is this relevant?
sleeper12
Level 21
Level 21
Posts: 14558
Joined: Thu May 25, 2017 3:22 pm

Re: Wi-fi breaks after every restart/shutdown on Linux Mint 20 Cinnamon

Post by sleeper12 »

Let's assume it's off then & see if wifi keeps working or not.
Olivi
Level 1
Level 1
Posts: 15
Joined: Wed Oct 28, 2020 4:04 pm

Re: Wi-fi breaks after every restart/shutdown on Linux Mint 20 Cinnamon

Post by Olivi »

sleeper12 wrote: Sat Oct 31, 2020 10:52 am Let's assume it's off then & see if wifi keeps working or not.
Thanks mate! So far so good.
Olivi
Level 1
Level 1
Posts: 15
Joined: Wed Oct 28, 2020 4:04 pm

Re: Wi-fi breaks after every restart/shutdown on Linux Mint 20 Cinnamon

Post by Olivi »

Hi.

So, the Wi-Fi driver became erratic again.

And by erratic I mean, 9 out of 10 times it will boot and the Wi-Fi driver isn't there.


And, when I get my Wi-Fi driver functioning, now I can't connect to the internet. So what I do is turn off the wireless, but, when I turn it on again, then the Wi-Fi option completely vanishes.


Couple of additional information that I didn't give before:
  • I do know now that I have an Intel Wireless 7260 and the driver listed is iwlwifi. But it doesn't show that most of the time, because the computer doesn't detect it
    Also, I do know that it doesn't support 5GHz Wi-Fi, and my signal is dual channel: 2.4 and 5Ghz. I'm wondering if this is the culprit?

Again, thanks for your help!
sleeper12
Level 21
Level 21
Posts: 14558
Joined: Thu May 25, 2017 3:22 pm

Re: Wi-fi breaks after every restart/shutdown on Linux Mint 20 Cinnamon

Post by sleeper12 »

Olivi
Level 1
Level 1
Posts: 15
Joined: Wed Oct 28, 2020 4:04 pm

Re: Wi-fi breaks after every restart/shutdown on Linux Mint 20 Cinnamon

Post by Olivi »

sleeper12 wrote: Mon Nov 30, 2020 1:24 pm Try disable IPv6, #2.2 here:
https://easylinuxtipsproject.blogspot.c ... html#ID2.2
Well, just had the chance to boot the machine with the Linux Mint today and... Wi-fi is working.

Would you look at that, thanks!

I'm not sure at the moment if it just worked at random or if it was the changes (I turned Ipv6 off like you mentioned and set the wifi for 2.4Ghz only, which is what my intel wireless 7260 supports)

In any case, thanks soooo much!
sleeper12
Level 21
Level 21
Posts: 14558
Joined: Thu May 25, 2017 3:22 pm

Re: Wi-fi breaks after every restart/shutdown on Linux Mint 20 Cinnamon

Post by sleeper12 »

Ok, let's hope it stays working now. :wink:
Olivi
Level 1
Level 1
Posts: 15
Joined: Wed Oct 28, 2020 4:04 pm

Re: Wi-fi breaks after every restart/shutdown on Linux Mint 20 Cinnamon

Post by Olivi »

Hi, same user with the same problem... again :(

I'm not sure what the problem is at this point. It was working fine - the wifi- for a good month and a half with Ipv6 disabled and 2.4GhZ selected, but I just turned the laptop on these last days and... no wifi signal at all.

Here's some i updated information on my current laptop setup. You guys might notice a USB connection, that's a USB tethering that I'm currently using to connect temporarily to the internet:

OS
Linux Mint 20.1

Specs
(still the same as the first post)

iwconfig
lo no wireless extensions.

enp1s0 no wireless extensions.

usb0 no wireless extensions.


lsusb
Bus 001 Device 005: ID 0c45:64ad Microdia
Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 003: ID 8087:07dc Intel Corp.
Bus 001 Device 008: ID 0b05:7774 ASUSTek Computer, Inc. Zenfone GO (ZB500KL) (RNDIS mode)
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


lspci
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 09)
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
00:1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev e4)
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller (rev 07)
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Venus XT [Radeon HD 8870M / R9 M270X/M370X]



Let me know if additional commands can be ran to find out what's at fault here!
sleeper12
Level 21
Level 21
Posts: 14558
Joined: Thu May 25, 2017 3:22 pm

Re: Wi-fi breaks after every restart/shutdown on Linux Mint 20 Cinnamon

Post by sleeper12 »

Not sure if it will help, but maybe update the kernel to 5.4.0-60.
User avatar
hglee
Level 6
Level 6
Posts: 1422
Joined: Fri Jun 22, 2018 4:31 pm

Re: Wi-fi breaks after every restart/shutdown on Linux Mint 20 Cinnamon

Post by hglee »

Let's update/restore your firmware. The next time your wifi is up, copy-and-paste the following terminal commands...

Code: Select all

wget -c http://archive.ubuntu.com/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.194_all.deb
sudo dpkg -i linux-firmware_1.194_all.deb
Also tell NetworkManager not to let wifi do a snooze power-down...

Code: Select all

sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
Reboot.

If that fails, download and install Intel's own 7260 driver...

Code: Select all

wget -c https://wireless.wiki.kernel.org/_media/en/users/drivers/iwlwifi-7260-ucode-25.30.14.0.tgz
tar zxvf iwlwifi-7260-ucode-25.30.14.0.tgz
cd iwlwifi-7260-ucode-25.30.14.0/
sudo mv -f *.* /lib/firmware
Reboot.
Linux Mint 21 Vanessa, MATE 1.26.0, kernel 5.15.0*, Dell 2-in-1
AMD Ryzen 7 5825U / Barcelo iGPU - 14" WUXGA Touchscreen
MediaTek MT7921 WiFi-6 BT-5.2; 32GB DDR4@3200MHz; XPG 2TB-NVMe
User avatar
kc1di
Level 18
Level 18
Posts: 8175
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Wi-fi breaks after every restart/shutdown on Linux Mint 20 Cinnamon

Post by kc1di »

Also next time it happens go to a terminal and post the output of

Code: Select all

rfkill list
Also this page may be of help: https://easylinuxtipsproject.blogspot.c ... html#ID2.4
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
Olivi
Level 1
Level 1
Posts: 15
Joined: Wed Oct 28, 2020 4:04 pm

Re: Wi-fi breaks after every restart/shutdown on Linux Mint 20 Cinnamon

Post by Olivi »

Thank you all for the quick replies!
sleeper12 wrote: Mon Jan 11, 2021 9:50 pm Not sure if it will help, but maybe update the kernel to 5.4.0-60.
Unfortunately it told me I'm already at it!

uname -r
5.4.0-60-generic

hglee wrote: Wed Jan 13, 2021 7:57 am Let's update/restore your firmware. The next time your wifi is up, copy-and-paste the following terminal commands...

Code: Select all

wget -c http://archive.ubuntu.com/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.194_all.deb
sudo dpkg -i linux-firmware_1.194_all.deb
Also tell NetworkManager not to let wifi do a snooze power-down...

Code: Select all

sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
Reboot.

If that fails, download and install Intel's own 7260 driver...

Code: Select all

wget -c https://wireless.wiki.kernel.org/_media/en/users/drivers/iwlwifi-7260-ucode-25.30.14.0.tgz
tar zxvf iwlwifi-7260-ucode-25.30.14.0.tgz
cd iwlwifi-7260-ucode-25.30.14.0/
sudo mv -f *.* /lib/firmware
Reboot.

Sorry, but I can't get my wifi up by no means whatsoever! Is this what you meant?

Regardless, I followed the commands you've suggested¹:

wget -c http://archive.ubuntu.com/ubuntu/pool/m ... 94_all.deb
sudo dpkg -i linux-firmware_1.194_all.deb

(Lettura del database... 399893 file e directory attualmente installati.)
Preparativi per estrarre linux-firmware_1.194_all.deb...
Estrazione di linux-firmware (1.194) su (1.187.7)...
Configurazione di linux-firmware (1.194)...
update-initramfs: Generating /boot/initrd.img-5.4.0-60-generic
update-initramfs: Generating /boot/initrd.img-5.4.0-59-generic
update-initramfs: Generating /boot/initrd.img-5.4.0-54-generic
update-initramfs: Generating /boot/initrd.img-5.4.0-26-generic
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_vcn.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_smc.bin for module amdgpu


After downloading it, it told me that the firmware was already installed. Bummer.


sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
[Done]


Code: Select all

wget -c https://wireless.wiki.kernel.org/_media/en/users/drivers/iwlwifi-7260-ucode-25.30.14.0.tgz
tar zxvf iwlwifi-7260-ucode-25.30.14.0.tgz
cd iwlwifi-7260-ucode-25.30.14.0/
sudo mv -f *.* /lib/firmware
I had a problem with this code. I mean, I managed to download it fine, but, how am I supposed to install it? I'm familiarized with double clicking and installing, but here it didn't work. Again, sorry, I'm really new to Linux. I'll try to see if the readme can help me getting this installed. For now, I haven't managed it.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
¹Sorry, my OS is in Italian. Let me know if it posed a problem.
kc1di wrote: Wed Jan 13, 2021 8:42 am Also next time it happens go to a terminal and post the output of

Code: Select all

rfkill list
Also this page may be of help: https://easylinuxtipsproject.blogspot.c ... html#ID2.4
Ok, thanks!

Just for the sake of it, here's what the command returned:

rfkill list

0: dell-rbtn: Wireless LAN
Soft blocked: no
Hard blocked: no
1: hci0: Bluetooth
Soft blocked: no
Hard blocked: no



Regarding the webpage, actually that site has been really helpful in the past. Sleeper12, who's also helping with this issue, told me to follow the turning the IPV6 off steps and it worked wonderfully for a good month and a half. Now I'm back to square one, no wifi... sigh...
User avatar
Larry78723
Level 14
Level 14
Posts: 5476
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Wi-fi breaks after every restart/shutdown on Linux Mint 20 Cinnamon

Post by Larry78723 »

Olivi wrote: Wed Jan 13, 2021 1:56 pm

Code: Select all

wget -c https://wireless.wiki.kernel.org/_media/en/users/drivers/iwlwifi-7260-ucode-25.30.14.0.tgz
tar zxvf iwlwifi-7260-ucode-25.30.14.0.tgz
cd iwlwifi-7260-ucode-25.30.14.0/
sudo mv -f *.* /lib/firmware
I had a problem with this code. I mean, I managed to download it fine, but, how am I supposed to install it? I'm familiarized with double clicking and installing, but here it didn't work. Again, sorry, I'm really new to Linux. I'll try to see if the readme can help me getting this installed. For now, I haven't managed it.
You'll need to open a terminal and copy and paste one line at a time and hit enter. Hopefully, the problem will cease to exist once it's done.
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.
User avatar
hglee
Level 6
Level 6
Posts: 1422
Joined: Fri Jun 22, 2018 4:31 pm

Re: Wi-fi breaks after every restart/shutdown on Linux Mint 20 Cinnamon

Post by hglee »

Olivi wrote:I had a problem with this code. I mean, I managed to download it fine, but, how am I supposed to install it?
Again, just copy-and-paste and Enter each of these four Terminal commands, in order -- but be certain that they all finish successfully...

Code: Select all

wget -c https://wireless.wiki.kernel.org/_media/en/users/drivers/iwlwifi-7260-ucode-25.30.14.0.tgz
tar zxvf iwlwifi-7260-ucode-25.30.14.0.tgz
cd iwlwifi-7260-ucode-25.30.14.0/
sudo mv -f *.* /lib/firmware
Afterward, you can delete the empty iwlwifi-7260-ucode-25.30.14.0 subdirectory.

Olivi wrote:After downloading it, it told me that the firmware was already installed. Bummer.
No, the new firmware that I want you to download was not already installed. You have firmware v1.187, I directed you download firmware v1.194 -- so it does not appear to have successfully installed.

In this case, you may ignore all of the 'W: Possible missing firmware /lib/firmware/amdgpu/...' absent AMD video driver errors...

Code: Select all

wget -c http://archive.ubuntu.com/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.194_all.deb
sudo dpkg -iG linux-firmware_1.194_all.deb
Try again when you have a wifi connection. It is always a good idea to have a USB wifi adapter on hand, to use whenever internal wifi has a problem. For example, I have the OSGEAR UW150BT that has both WiFi and Bluetooth, and it works right-out-of-the-box with Mint.
Linux Mint 21 Vanessa, MATE 1.26.0, kernel 5.15.0*, Dell 2-in-1
AMD Ryzen 7 5825U / Barcelo iGPU - 14" WUXGA Touchscreen
MediaTek MT7921 WiFi-6 BT-5.2; 32GB DDR4@3200MHz; XPG 2TB-NVMe
Locked

Return to “Networking”