Score:0

Wifi connection disappears shortly after booting on Xiaomi Notebook 13

br flag

I've installed Ubuntu 20.04 on my Xiaomi Notebook 13. For some reason wifi connection disappears shortly after I boot laptop (possibly after connection to wifi network, which happens after reboot, I'm not sure). Wifi icon disappears from status bar, also "Wifi" section disappears from laptop preferences.

I've just tried to connect to new wifi network. I turn on laptop (no known wifi networks) and run:

$ rfkill list all
0: hci0: Bluetooth
       Soft blocked: no
       Hard blocked: no
1: phy0: Wireless LAN
       Soft blocked: no
       Hard blocked: no

Then I connected to wifi network (entered password etc), it has successfully connected and shortly after it wifi disappeared (disappeared icon from status bar, wifi from preferences and of course internet connection itself)

I've repeated rfkill:

$ rfkill list all
0: hci0: Bluetooth
       Soft blocked: no
       Hard blocked: no

The output of lspci -knn | grep Net -A3 (after connection is not working):

$ lspci -knn | grep Net -A3
02:00.0 Network controller [0280]: Intel Corporation Wireless 8260 [8086:24f3] (rev 3a)
        Subsystem: Intel Corporation Wireless 8260 [8086:9010]
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi, wl
$ uname -a
Linux air 5.11.0-40-generic #44-20.04.2-Ubuntu SMP Tue Oct 6 18:07:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
$ dmesg | grep iwl
[    3.066928] iwlwifi 0000:02:00.0: Found debug destination: EXTERNAL_DRAM
[    3.066934] iwlwifi 0000:02:00.0: Found debug configuration: 0
[    3.067676] iwlwifi 0000:02:00.0: loaded firmware version 36.77d01142.0 8000C-36.ucode op_mode iwlmvm
[    3.177189] iwlwifi 0000:02:00.0: Detected Intel(R) Dual Band Wireless AC 8260, REV=0x204
[    3.183800] iwlwifi 0000:02:00.0: Applying debug destination EXTERNAL_DRAM
[    3.185092] iwlwifi 0000:02:00.0: Allocated 0x00400000 bytes for firmware monitor.
[    3.251551] iwlwifi 0000:02:00.0: base HW address: a0:c5:89:3b:bb:e5
[    3.325233] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[    3.465015] iwlwifi 0000:02:00.0 wlp2s0: renamed from wlan0
[    5.074306] iwlwifi 0000:02:00.0: Applying debug destination EXTERNAL_DRAM
[    5.234285] iwlwifi 0000:02:00.0: Applying debug destination EXTERNAL_DRAM
[    5.360240] iwlwifi 0000:02:00.0: FW already configured (0) - re-configuring

Is there anything I can do? I tried a couple of fixes that I managed to find but none of them has helped. I was successfully using Ubuntu on this laptop, but it was forever ago and I don't remember if I had to do anything special (it was 16.04 I think but idk for sure).

Any input appreciated, many thanks.

Pilot6 avatar
cn flag
Please [edit] your question and add output of `lspci -knn | grep Net -A3` terminal command.
br flag
@Pilot6 thanks, added
Pilot6 avatar
cn flag
Did you manually type the output. `Kernel driver in use: vl` looks wrong.
Pilot6 avatar
cn flag
What is the kernel version `uname -a`?
br flag
@Pilot6 I'm sorry, that was a typo. I've updated my question. Will using USB tethering distort output of any of this commands?
Pilot6 avatar
cn flag
OK, then please run `dmesg | grep iwl`.
br flag
@Pilot6 updated
Pilot6 avatar
cn flag
It looks OK to me. Look into dmesg after Wi-Fi fails.
br flag
Got it, thanks for you time
waltinator avatar
it flag
Look at the logs! `sudo journalctl -b 0 -u NetworkManager`. Read `man journalctl`. Also see https://askubuntu.com/questions/425155/my-wireless-wifi-connection-does-not-work-what-information-is-needed-to-diagnos/425180
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.