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

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Olivi
Level 1
Level 1
Posts: 14
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 guys for explaining.

Again I'm so ignorant that I thought it was just one long code, not separate ones!

But thanks for clarifying it for me.

In regards to the firmware this is what I got. I'm gonna go over the steps:

wget -c http://archive.ubuntu.com/ubuntu/pool/m ... 94_all.deb
--2021-01-13 16:32:42-- http://archive.ubuntu.com/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.194_all.deb
Risoluzione di archive.ubuntu.com (archive.ubuntu.com)... 91.189.88.152, 91.189.88.142, 2001:67c:1360:8001::23, ...
Connessione a archive.ubuntu.com (archive.ubuntu.com)|91.189.88.152|:80... connesso.
Richiesta HTTP inviata, in attesa di risposta... 416 Requested Range Not Satisfiable

Il file è già interamente scaricato; niente da fare. [Already downloaded]




sudo dpkg -i linux-firmware_1.194_all.deb
(Lettura del database... 400087 file e directory attualmente installati.)
Preparativi per estrarre linux-firmware_1.194_all.deb...
Estrazione di linux-firmware (1.194) su (1.194)...
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


Image


I'm also hoping this image above can provide some information. It's a screenshot of the terminal commands I was to enter.


And hglee, thanks for that recommendation. Currently I'm using USB tethering to connect, but a wifi adapter would be much better.


Guys, I hope I'm not being too thick here, I'm really trying to follow the great help. Maybe this is too much for me, haha.
User avatar
hglee
Level 3
Level 3
Posts: 153
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: Il file è già interamente scaricato; niente da fare. [Already downloaded]
That message is from wget. I used "wget -c" so that it won't download another copy of a file you've already downloaded -- the deb file -- because I figured you might make several attempts. That is not the installation step.

To affirm that you've got the firmware installed, run dpkg with the 'E' option...

Code: Select all

# you've already downloaded the deb file, so just...
sudo dpkg -iGE linux-firmware_1.194_all.deb
If already installed it should just say, "dpkg: version 1.194 of linux-firmware already installed, skipping".
Linux Mint 20.1 Ulyssa, MATE 1.24.0, kernel 5.8.0-38-generic x64
Dell 2-in-1 AMD Ryzen-7 4700U with Radeon (Renoir) GPU @1920x1080
Touchscreen X.Org 1.20.9 driver: amdgpu,ati OpenGL 4.6 Mesa 21.1.0
Wi-Fi 6 Intel AX200 driver: iwlwifi; 32GB DDR4; 2TB SSD
JeremyB
Level 20
Level 20
Posts: 11933
Joined: Fri Feb 21, 2014 8:17 am

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

Post by JeremyB »

Do this in terminal

Code: Select all

wget -N -t 5 -T 10 https://github.com/UbuntuForums/wireless-info/raw/master/wireless-info && chmod +x wireless-info
Reboot and when wireless doesnt work do

Code: Select all

./wireless-info
When you get connected again do cat wireless-info.txt | nc termbin.com 9999
Post URL
Olivi
Level 1
Level 1
Posts: 14
Joined: Wed Oct 28, 2020 4:04 pm

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

Post by Olivi »

hglee wrote:
Wed Jan 13, 2021 4:46 pm
Olivi wrote: Il file è già interamente scaricato; niente da fare. [Already downloaded]
That message is from wget. I used "wget -c" so that it won't download another copy of a file you've already downloaded -- the deb file -- because I figured you might make several attempts. That is not the installation step.

To affirm that you've got the firmware installed, run dpkg with the 'E' option...

Code: Select all

# you've already downloaded the deb file, so just...
sudo dpkg -iGE linux-firmware_1.194_all.deb
If already installed it should just say, "dpkg: version 1.194 of linux-firmware already installed, skipping".
Ok, thanks!

Heres's the result of the command:

sudo dpkg -iGE linux-firmware_1.194_all.deb
dpkg: versione 1.194 di linux-firmware già installata, ignorata [ "dpkg: version 1.194 of linux-firmware already installed, skipping"]
JeremyB wrote:
Wed Jan 13, 2021 5:39 pm
Do this in terminal

Code: Select all

wget -N -t 5 -T 10 https://github.com/UbuntuForums/wireless-info/raw/master/wireless-info && chmod +x wireless-info
Reboot and when wireless doesnt work do

Code: Select all

./wireless-info
When you get connected again do cat wireless-info.txt | nc termbin.com 9999
Post URL
Hey, JeremyB!

Ok, this is what I got:

wget -N -t 5 -T 10 https://github.com/UbuntuForums/wireles ... eless-info && chmod +x wireless-info
--2021-01-14 13:42:16-- https://github.com/UbuntuForums/wireless-info/raw/master/wireless-info
Risoluzione di github.com (github.com)... 140.82.114.3
Connessione a github.com (github.com)|140.82.114.3|:443... connesso.
Richiesta HTTP inviata, in attesa di risposta... 302 Found
Posizione: https://raw.githubusercontent.com/UbuntuForums/wireless-info/master/wireless-info [segue]
--2021-01-14 13:42:17-- https://raw.githubusercontent.com/UbuntuForums/wireless-info/master/wireless-info
Risoluzione di raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.192.133, 151.101.128.133, 151.101.64.133, ...
Connessione a raw.githubusercontent.com (raw.githubusercontent.com)|151.101.192.133|:443... connesso.
Richiesta HTTP inviata, in attesa di risposta... 200 OK
Lunghezza: 17452 (17K) [text/plain]
Salvataggio in: "wireless-info"

wireless-info 100%[===================>] 17,04K --.-KB/s in 0,001s

Intestazione Last-modified mancante -- marche temporali disattivate.
2021-01-14 13:42:19 (19,0 MB/s) - "wireless-info" salvato [17452/17452]



So I rebooted and wireless wasn't working so I did:

./wireless-info
[I have attached the .txt results to this post]


Still no wireless, I'm connected to USB tethering at the moment.

Here's the result from

cat wireless-info.txt | nc termbin.com 9999 [connected through USB tethering]
https://termbin.com/ar1w


Note: The wifi connection that was working before on this laptop was listed under the device 'wlp2s0'. Do you think my hardware could be at fault here?
Attachments
wireless-info.txt
Result from ./wireless-info
(8.4 KiB) Downloaded 12 times
User avatar
hglee
Level 3
Level 3
Posts: 153
Joined: Fri Jun 22, 2018 4:31 pm

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

Post by hglee »

Whoa, Olivi, I've never seen a Linux system with so few kernel modules. I have three different models of Dell laptop, and they all have the usual dozens of kernel modules, while your Dell 5737 appears to have less than a dozen, almost all from just Dell. And your module blacklist is larger than I'd expect.

You don't have any wifi drivers installed, not even Intel's.

It appears that you don't have any other operating system installed on your laptop, so could you reformat your hard-disk and reinstall Mint from scratch?
Last edited by hglee on Thu Jan 14, 2021 7:15 pm, edited 1 time in total.
Linux Mint 20.1 Ulyssa, MATE 1.24.0, kernel 5.8.0-38-generic x64
Dell 2-in-1 AMD Ryzen-7 4700U with Radeon (Renoir) GPU @1920x1080
Touchscreen X.Org 1.20.9 driver: amdgpu,ati OpenGL 4.6 Mesa 21.1.0
Wi-Fi 6 Intel AX200 driver: iwlwifi; 32GB DDR4; 2TB SSD
JeremyB
Level 20
Level 20
Posts: 11933
Joined: Fri Feb 21, 2014 8:17 am

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

Post by JeremyB »

hglee wrote:
Thu Jan 14, 2021 7:13 pm
Whoa, Olivi, I've never seen a Linux system with so few kernel modules. I have three different models of Dell laptop, and they all have the usual dozens of kernel modules, while your Dell 5737 appears to have less than a dozen, almost all from just Dell. And your driver module is larger than I'd expect.

You don't have any wifi drivers installed, not even Intel's.

It appears that you don't have any other operating systems installed on your laptop, so could you reformat your hard-disk and reinstall Mint from scratch?
That isn't the problem as the wireless script doesn't report all loaded kernel modules, just the relevant ones. It seems the card isn't always being detected during boot so the card might need to be removed and reinstalled to see if it gets a better connection to the motherboard
User avatar
hglee
Level 3
Level 3
Posts: 153
Joined: Fri Jun 22, 2018 4:31 pm

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

Post by hglee »

JeremyB wrote: That isn't the problem. It seems the card isn't always being detected during boot so the card might need to be removed and reinstalled to see if it gets a better connection to the motherboard
I've downloaded a Dell 5737 service manual, but I'm hesitant to advise Olivi to open their laptop. For non-techies, electronic internals can be more bewildering than low-level software.

For the 5737, it appears that Dell expected end-users to update mostly just their HDD or memory, so they made that fairly uncomplicated to do from the bottom of the laptop. Getting at the 5737's wifi card requires first removing the internal battery and base cover from the bottom -- plus the keyboard, trackpad, and palmrest from the top. Aside from aptitude, this calls for small tools that aren't generally found in the typical basement or kitchen drawer!

The wifi card is secured to the system board by a screw, so unless the laptop rattles when shaken it's likely firmly seated -- unless previously tampered with.
Linux Mint 20.1 Ulyssa, MATE 1.24.0, kernel 5.8.0-38-generic x64
Dell 2-in-1 AMD Ryzen-7 4700U with Radeon (Renoir) GPU @1920x1080
Touchscreen X.Org 1.20.9 driver: amdgpu,ati OpenGL 4.6 Mesa 21.1.0
Wi-Fi 6 Intel AX200 driver: iwlwifi; 32GB DDR4; 2TB SSD
Olivi
Level 1
Level 1
Posts: 14
Joined: Wed Oct 28, 2020 4:04 pm

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

Post by Olivi »

hglee and JeremyB,

Thank you so much, wow, you guys even went so far as to look up Del 5737 specific stuff!

I'm really glad because, you guys cleared up a thing I would never have been able to figure out on my own.

By the way the wifi was acting, I thought it was just having some troubles with driver, but I should've guessed, looks like it's faulty hardware.

This Dell 5737 has some great spec (when I bought it in 2013) but it gave me a bit of a headache with its GPU never having good Dell drivers, the screen has also got some white spots of bleeding, and now this with the wifi...


Regardless...

You guys are not going to believe but, since you both mentioned I was going to have to open this laptop up, and hglee guessed right that I don't have the skills for that, I just went: "oh what the heck, let me just shake this guy up a bit and give the classic 2 slaps on the bottom to see if the card goes back to place"

And, yep, you've guessed it, here I am with wifi posting this to you guys, haha.

Here's some commands we've done before but now with the driver working (I'm not sure which one will show my wifi card, so I'm just going to do a bunch of commands we've run through here):

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


rfkill list

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


inxi -Fxz

System:
Kernel: 5.4.0-60-generic x86_64 bits: 64 compiler: gcc v: 9.3.0
Desktop: Cinnamon 4.8.6 Distro: Linux Mint 20.1 Ulyssa
base: Ubuntu 20.04 focal
Machine:
Type: Portable System: Dell product: Inspiron 5737 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%)
model: LGC DELL 0MF6943B 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: 19154
Speed: 798 MHz min/max: 800/1700 MHz Core speeds (MHz): 1: 798 2: 800
3: 798 4: 799
Graphics:
Device-1: Intel Haswell-ULT Integrated Graphics vendor: Dell driver: i915
v: kernel bus ID: 00:02.0
Device-2: AMD Venus XT [Radeon HD 8870M / R9 M270X/M370X] vendor: Dell
driver: radeon v: kernel bus ID: 03:00.0
Display: x11 server: X.Org 1.20.9 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.2.6 direct render: Yes
Audio:
Device-1: Intel Haswell-ULT HD Audio vendor: Dell driver: snd_hda_intel
v: kernel bus ID: 00:03.0
Device-2: Intel 8 Series HD Audio vendor: Dell driver: snd_hda_intel
v: kernel bus ID: 00:1b.0
Sound Server: ALSA v: k5.4.0-60-generic
Network:
Device-1: Realtek RTL810xE PCI Express Fast Ethernet vendor: Dell
driver: r8169 v: kernel port: 4000 bus ID: 01:00.0
IF: enp1s0 state: down mac: <filter>
Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel port: 4000
bus ID: 02:00.0
IF: wlp2s0 state: up mac: <filter>
Drives:
Local Storage: total: 931.51 GiB used: 10.99 GiB (1.2%)
ID-1: /dev/sda vendor: Seagate model: ST1000LM024 HN-M101MBB
size: 931.51 GiB
Partition:
ID-1: / size: 914.41 GiB used: 10.99 GiB (1.2%) fs: ext4 dev: /dev/sda5
Sensors:
System Temperatures: cpu: 44.0 C mobo: N/A gpu: radeon temp: 46 C
Fan Speeds (RPM): cpu: 0
Info:
Processes: 197 Uptime: 18m Memory: 15.53 GiB used: 1.26 GiB (8.1%)
Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.17
inxi: 3.0.38



I'm guessing by the looks of it that if I lift up this laptop and move it around I might face the same problem again, but luckily I currently use it in a stationary position, so I'm all fine... for now.


Again, thanks all for the immense help, this community is amazingly helpful!
User avatar
hglee
Level 3
Level 3
Posts: 153
Joined: Fri Jun 22, 2018 4:31 pm

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

Post by hglee »

Yes, there it is, Olivi...

Code: Select all

sudo lshw -C network
Now you know, your laptop may occassionally need a spanking. ;)
Linux Mint 20.1 Ulyssa, MATE 1.24.0, kernel 5.8.0-38-generic x64
Dell 2-in-1 AMD Ryzen-7 4700U with Radeon (Renoir) GPU @1920x1080
Touchscreen X.Org 1.20.9 driver: amdgpu,ati OpenGL 4.6 Mesa 21.1.0
Wi-Fi 6 Intel AX200 driver: iwlwifi; 32GB DDR4; 2TB SSD
Post Reply

Return to “Wireless”