Dual boot: Linux wifi only works when I update Windows 10

If I log into the Windows partition and its not up to date, then after if I log into Linux partition wifi does not work. I do a ip link and the wlan0 does not show. Then If I update Windows 10 and log back into Linux wifi works. I’ve had firmware issues with this laptop in the past. Specifically when I completely removed Windows 10 it bricked the laptop (wouldn’t turn on for a month then miraculously booted one day). Its annoying to be dependent on the Windows partition for firmware. I have looked online and there are no posts about this anywhere. I’ve never observed this in any of the computers I have installed Linux on, usually its just plug and play. I have deduced that Windows contains firmware that the laptop needs to run. Any ideas on this strange behaviour?

  Kernel: 6.7.0-arch3-1 arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    Desktop: dwm v: 6.4 Distro: EndeavourOS base: Arch Linux
  Type: Laptop System: Dell product: Latitude 5590 v: N/A
    serial: <superuser required>
  Mobo: Dell model: 0VYDFF v: A00 serial: <superuser required> UEFI: Dell
    v: 1.14.0 date: 07/15/2020
  ID-1: BAT0 charge: 16.9 Wh (100.0%) condition: 16.9/68.0 Wh (24.9%)
    volts: 8.3 min: 7.6 model: BYD DELL KCM8297 status: full
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse M510
    charge: 55% (should be ignored) status: discharging
  Info: quad core model: Intel Core i5-8350U bits: 64 type: MT MCP
    arch: Coffee Lake rev: A cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
  Speed (MHz): avg: 400 min/max: 400/3600 cores: 1: 400 2: 400 3: 400 4: 400
    5: 400 6: 400 7: 400 8: 400 bogomips: 30409
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Device-1: Intel UHD Graphics 620 vendor: Dell driver: i915 v: kernel
    arch: Gen-9.5 bus-ID: 00:02.0
  Device-2: Sunplus Innovation Integrated_Webcam_HD driver: uvcvideo
    type: USB bus-ID: 1-5:4
  Display: server: X.Org v: 21.1.11 driver: X: loaded: intel
    unloaded: modesetting dri: i965 gpu: i915 resolution: 1: 1050x1680~60Hz
    2: 1920x1080~60Hz 3: 1920x1080~60Hz
  API: EGL v: 1.5 drivers: iris,swrast platforms:
    active: x11,surfaceless,device inactive: gbm,wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 23.3.3-arch1.1
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel UHD Graphics 620 (KBL
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Dell driver: snd_hda_intel
    v: kernel bus-ID: 00:1f.3
  API: ALSA v: k6.7.0-arch3-1 status: kernel-api
  Server-1: PipeWire v: 1.0.1 status: active
  Device-1: Intel Ethernet I219-LM vendor: Dell driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6
  IF: enp0s31f6 state: down mac: <filter>
  Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel
    bus-ID: 02:00.0
  IF: wlan0 state: up mac: <filter>
  Device-1: Intel Bluetooth wireless interface driver: btusb v: 0.8 type: USB
    bus-ID: 1-7:5
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 4.2
    lmp-v: 8
  Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci
    v: 3.0 bus-ID: 00:17.0
  Local Storage: total: 238.47 GiB used: 31.63 GiB (13.3%)
  ID-1: /dev/sda vendor: Micron model: 1300 SATA 256GB size: 238.47 GiB
  ID-1: / size: 194.26 GiB used: 31.43 GiB (16.2%) fs: ext4 dev: /dev/sda4
  ID-2: /boot/efi size: 998 MiB used: 202 MiB (20.2%) fs: vfat
    dev: /dev/sda1
  Alert: No swap data was found.
  System Temperatures: cpu: 42.0 C pch: 40.5 C mobo: N/A
  Fan Speeds (rpm): N/A
  Processes: 208 Uptime: 18m Memory: total: 16 GiB available: 15.48 GiB
  used: 1.8 GiB (11.6%) Init: systemd Compilers: gcc: 13.2.1 Packages: 1436
  Shell: Zsh v: 5.9 inxi: 3.3.31

make sure that fastboot is turned off in BIOS. Sounds like a classical case of Windows doing fastboot shenanigans that can only be solved by a clean shutdown and boot (which happens when Windows is updating itself)

1 Like

I would try the lts kernel as well. But, as noted above make sure fastboot is off (I always forget that since I haven’t had a dual boot in many years). Updating Windows probably kicks it out.

I keep a cheap USB WiFi dongle in my laptop carry case for just such occasions. If wlan0 doesn’t show up, put in the dongle, logon to your network, then run a full upgrade. This restores the internal WiFi adapter almost every time. If you still don’t see wlan0, reboot and look again.

This is a rare problem! I’ve been dual booting Windows & Linux on all of my desktop & laptop machines since 2018 and this has happened maybe 5 times. I’ve always been able to fix it.

Note: TP Link brand dongles seem to be the most compatible with Linux.

Make sure the fast startup feature in Windows is disabled in power management. This is different than the fast start up in the bios. Then shutdown and restart and boot into EOS.

1 Like