this post was submitted on 31 Dec 2023
33 points (90.2% liked)

Linux

48372 readers
1238 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Yesterday night I had a problem with a usb port and the touch pad not working, I restarted the system a few times and switched back and forth with windows (which is installed on a different drive), they didn't work even there.After a few restarts the usbport and the touch pad came back to life, but the wifi stopped working. When I type wifi in the terminal I get: wifi = none (no device)
This time the problem is only on linux though.

Where/What should I check?

System Info:

spoiler
System:
Kernel: 5.15.0-91-generic x86_64 bits: 64 compiler: gcc v: 11.4.0 Desktop: Cinnamon 5.8.4
tk: GTK 3.24.33 wm: muffin dm: LightDM Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
Machine:
Type: Laptop System: Micro-Star product: GS65 Stealth Thin 8RF v: REV:1.0
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: Micro-Star model: MS-16Q2 v: REV:1.0 serial: <superuser required>
UEFI: American Megatrends v: E16Q2IMS.112 date: 05/21/2019
Battery:
ID-1: BAT1 charge: 52.4 Wh (65.3%) condition: 80.3/80.3 Wh (100.0%) volts: 16.5 min: 15.2
model: MSI BIF0_9 serial: N/A status: Charging
CPU:
Info: 6-core model: Intel Core i7-8750H bits: 64 type: MT MCP arch: Coffee Lake rev: A cache:
L1: 384 KiB L2: 1.5 MiB L3: 9 MiB
Speed (MHz): avg: 900 min/max: 800/4100 cores: 1: 900 2: 900 3: 900 4: 900 5: 900 6: 900
7: 900 8: 900 9: 900 10: 900 11: 900 12: 900 bogomips: 52799
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Micro-Star MSI driver: i915
v: kernel ports: active: eDP-1 empty: DP-1,HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:3e9b
Device-2: NVIDIA GP104M [GeForce GTX 1070 Mobile] vendor: Micro-Star MSI driver: nvidia
v: 535.129.03 pcie: speed: 2.5 GT/s lanes: 16 ports: active: none empty: DP-2,HDMI-A-2
bus-ID: 01:00.0 chip-ID: 10de:1ba1
Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: modesetting,nvidia
unloaded: fbdev,nouveau,vesa gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 98
Monitor-1: eDP-1 model: AU Optronics res: 1920x1080 dpi: 142 diag: 394mm (15.5")
OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 23.0.4-0ubuntu1~22.04.1
direct render: Yes
Audio:
Device-1: Intel Cannon Lake PCH cAVS vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
bus-ID: 00:1f.3 chip-ID: 8086:a348
Device-2: NVIDIA GP104 High Definition Audio driver: snd_hda_intel v: kernel pcie:
speed: 2.5 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:10f0
Sound Server-1: ALSA v: k5.15.0-91-generic running: yes
Sound Server-2: PulseAudio v: 15.99.1 running: yes
Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
Device-1: Qualcomm Atheros Killer E2500 Gigabit Ethernet vendor: Micro-Star MSI driver: alx
v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 3d:00.0 chip-ID: 1969:e0b1
IF: enp61s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Device-2: Intel Wireless-AC 9260 driver: iwlwifi v: kernel pcie: speed: 5 GT/s lanes: 1
bus-ID: 3e:00.0 chip-ID: 8086:2526
Bluetooth:
Device-1: Intel Wireless-AC 9260 Bluetooth Adapter type: USB driver: btusb v: 0.8 bus-ID: 1-14:4
chip-ID: 8087:0025
Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 3.0 lmp-v: 5.1
sub-v: 100
Drives:
Local Storage: total: 1.38 TiB used: 220.24 GiB (15.6%)
ID-1: /dev/nvme0n1 vendor: Kingston model: SA2000M81000G size: 931.51 GiB speed: 31.6 Gb/s
lanes: 4 serial: <filter> temp: 29.9 C
ID-2: /dev/nvme1n1 vendor: Samsung model: MZVLB512HAJQ-00000 size: 476.94 GiB speed: 31.6 Gb/s
lanes: 4 serial: <filter> temp: 40.9 C
Partition:
ID-1: / size: 106.75 GiB used: 39.66 GiB (37.2%) fs: ext4 dev: /dev/nvme1n1p1
ID-2: /boot/efi size: 296 MiB used: 31.8 MiB (10.7%) fs: vfat dev: /dev/nvme0n1p1
ID-3: /home size: 361.45 GiB used: 180.55 GiB (50.0%) fs: ext4 dev: /dev/nvme1n1p2
Swap:
ID-1: swap-1 type: file size: 1.42 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile
Sensors:
System Temperatures: cpu: 55.0 C pch: 46.0 C mobo: N/A
Fan Speeds (RPM): N/A
Repos:
Packages: 2796 apt: 2746 flatpak: 50
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
1: deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https: //brave-browser-apt-release.s3.brave.com/ stable main
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http: //linux-mint.froonix.org victoria main upstream import backport
2: deb http: //mirror2.tuxinator.org/ubuntu jammy main restricted universe multiverse
3: deb http: //mirror2.tuxinator.org/ubuntu jammy-updates main restricted universe multiverse
4: deb http: //mirror2.tuxinator.org/ubuntu jammy-backports main restricted universe multiverse
5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
No active apt repos in: /etc/apt/sources.list.d/spotify.list
Active apt repos in: /etc/apt/sources.list.d/syncthing.list
1: deb [signed-by=/usr/share/keyrings/syncthing-archive-keyring.gpg] https: //apt.syncthing.net/ syncthing stable
Active apt repos in: /etc/apt/sources.list.d/trebelnik-stefina-grub-customizer-jammy.list
1: deb [arch=amd64 signed-by=/etc/apt/keyrings/trebelnik-stefina-grub-customizer-jammy.gpg] https: //ppa.launchpadcontent.net/trebelnik-stefina/grub-customizer/ubuntu jammy main
Info:
Processes: 370 Uptime: 1h 40m Memory: 15.46 GiB used: 5.53 GiB (35.8%) Init: systemd v: 249
runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12 Client: Cinnamon v: 5.8.4 inxi: 3.3.13

top 17 comments
sorted by: hot top controversial new old
[–] loo 11 points 11 months ago

I have the exact same issue atm. After a new Windows update, I have to disable Wifi on Windows for it to work on Linux. It sounds bizarre, but try disabling Wifi on Windows.

[–] [email protected] 8 points 11 months ago* (last edited 11 months ago) (1 children)

I'm not sure if this is exactly the same issue I had, but mine ended up being resolved by disabling fastboot on the Windows side. Near as I can figure when I "shutdown" from windows, fastboot prevented releasing control of the network adapter to Linux. Wifi would only work if I restarted from windows, or when fastboot got disabled.

[–] [email protected] 7 points 11 months ago (1 children)

Son of a bitch. Instead of "turning shit the fuck off", is windows putting the wifi card into some sort of eternal WoL mode when it shuts down? And the wifi card isn't resetting at boot time (or honoring a reset command) to give the linux drivers a known starting state?

[–] [email protected] 6 points 11 months ago

I think that's the gist. But don't worry - windows will boot .5 seconds faster....

[–] [email protected] 6 points 11 months ago (1 children)

I had the same problem with a MSI GF65.

I had an Intel AX201, which is basically the same device as the intel killer wifi card on the GS65.

I battled with the issue for a very long time. It came from Windows and only from Windows. You have to disable fastboot and there is a way to shut it down "fully" which you have to do.

If that does not solve it your only way out of it is to reinstall Windows.

[–] [email protected] 1 points 11 months ago

I too have the Intel card because the killer one had shitty software, how do I shut down fastboot fully???

[–] [email protected] 2 points 11 months ago (1 children)

Device-2: Intel Wireless-AC 9260 driver: iwlwifi v: kernel pcie: > speed: 5 GT/s lanes: 1 bus-ID: 3e:00.0 chip-ID: 8086:2526

So I assume this is not old info and the thing shows up in lspci?

wifi seems to be a shell script coming from tlp, maybe you can do:

sh -x /usr/bin/wifi

to figure out why it thinks you have no wifi. This gives you a trace of the commands that wifi actually runs.

Also, wifi should be managed by NetworkManager so you could look into that documentation and log files for that. Also look at kernel logs like dmesg maybe.

Also also, this could be hardware problem of course. Maybe it just needs to be fully powered off to reset. Have you tried removing the battery? If you cannot do that, there might be little hole at the bottom of the laptop, to stick a paper clip into, to completely power cycle the machine. Maybe that'll reset it.

[–] [email protected] 1 points 11 months ago

yeah it showed on lspci but not on rfkill. It reset by itself at a certain point, dunno how or why.

[–] [email protected] 2 points 11 months ago (1 children)

I've had issues like this (but with Bluetooth) resolved by unplugging the computer from the wall, and holding the power button for a few seconds to clear out the capacitors.

If it's a laptop that's a bit harder to do, but might be worth a consider.

I haven't gone so far as to figure out why this fix works, but it's happened a few times now and i can't deny results

[–] [email protected] 1 points 11 months ago

it's a laptop :(

[–] mvirts 2 points 11 months ago* (last edited 11 months ago)

I would check for kernel logs from the iwlwifi driver. If there is nothing in dmesg about it failing, maybe see if newer firmware is available for your device?

[–] [email protected] 1 points 11 months ago (1 children)

You can try booting into a live environment of Mint and checking to see if the WiFi works there. I found that booting into a live environment can fix the Wifi issue.

[–] [email protected] 3 points 11 months ago (1 children)

it didn't work, but after a bit it started working again, pretty wild

[–] [email protected] 0 points 11 months ago* (last edited 11 months ago) (1 children)

I always carry with me a USB live environment of Linux Mint with me, it's been a lifesaver in some situations when my wifi card stopped cooperating for whatever reason.

Also good for showcasing Linux Mint to other people.

[–] [email protected] 2 points 11 months ago

me too, but it still didn't work. :/

[–] [email protected] 1 points 11 months ago (1 children)
[–] [email protected] 1 points 11 months ago

didn't register the wifi, after a few attempts with a live usb stick (where the same thing happened, so no fix there), I got back into the mint installation and it worked