4

I have Ubuntu 18.04 in my PC together with Windows 10. When the WiFi works on Windows and I restart the computer to Ubuntu, the WiFi is OK even in Ubuntu. But when the computer is shuted down and I start with Ubuntu, there is apparently no way to start the WiFi. Can someone help me to make the WiFi available in Ubuntu directly?

I typed inxi -F as recommended in comments and the result is as follows:

System:    Host: kouty-ThinkCentre-M720q Kernel: 5.0.0-37-generic x86_64
           bits: 64
           Desktop: Gnome 3.28.4 Distro: Ubuntu 18.04.3 LTS
Machine:   Device: un-determined System: LENOVO product: 10T7004NIV v: ThinkCentre M720q serial: N/A
           Mobo: LENOVO model: 312D v: SDK0J40697 WIN 3305169475212 serial: N/A
           UEFI: LENOVO v: M1UKT47A date: 08/14/2019
CPU:       6 core Intel Core i5-8400T (-MCP-) cache: 9216 KB
           clock speeds: max: 3300 MHz 1: 3200 MHz 2: 3192 MHz 3: 3106 MHz
           4: 3288 MHz 5: 3105 MHz 6: 3105 MHz
Graphics:  Card: Intel Device 3e92
           Display Server: x11 (X.Org 1.20.4 ) driver: i915
           Resolution: 1920x1080@60.00hz
           OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (Coffeelake 3x8 GT2)
           version: 4.5 Mesa 19.0.8
Audio:     Card Intel Cannon Lake PCH cAVS driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k5.0.0-37-generic
Network:   Card-1: Intel Ethernet Connection (7) I219-V driver: e1000e
           IF: eno1 state: down mac: e8:6a:64:2d:a4:ee
           Card-2: Intel Wireless 8265 / 8275 driver: iwlwifi
           IF: wlp1s0 state: up mac: 50:76:af:56:b2:60
Drives:    HDD Total Size: 256.1GB (3.5% used)
           ID-1: /dev/sda model: SanDisk_SD9TB8W2 size: 256.1GB
Partition: ID-1: / size: 59G used: 8.4G (16%) fs: ext4 dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 46.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 253 Uptime: 2 min Memory: 1248.8/7844.9MB
           Client: Shell (bash) inxi: 2.3.56 

Further I opened the "Show applications" and typed wifi and they say me I have "no wifi adapter found". So I restarted and opened Windows, the wifi started to work. I restarted again and opened Ubuntu and I have a good wifi. If I turn it off, I can "no more connect because "no wifi adapter found". Can someone explain me how I can install the right wifi adapter. I seen a lot of posts here and Ubuntu documentation, and don't know what is the right procedure.

The kernel version is Linux 5.3.0-28-generic I understand that I need some WiFi adapter congruent with Card-2: Intel Wireless 8265 / 8275 driver: iwlwifi

Update following the advise of @pilot6. I typed when the wifi doesn't work

kouty@kouty-ThinkCentre-M720q:~$ lspci -knn | grep Net -A3; rfkill list; dmesg | grep iwl
01:00.0 Network controller [0280]: Intel Corporation Wireless 8265 / 8275 [8086:24fd] (rev 78)
    Subsystem: Intel Corporation Dual Band Wireless-AC 8265 [8086:1010]
    Kernel modules: iwlwifi
0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
[    4.098054] iwlwifi 0000:01:00.0: enabling device (0000 -> 0002)
[    4.191186] iwlwifi: probe of 0000:01:00.0 failed with error -110
  • 3
    it seems that your problem is not a isolated issue for dual boot windows/ubuntu so please provide the output from this command inxi -F. Cheers! – Anton Dutsov Jan 19 at 7:13
  • it seems that your problem is not a isolated issue for dual boot windows/ubuntu so please provide the output from this command inxi -F. Cheers! – Kevin Bowen Jan 19 at 7:55
  • When the WiFi does not start at that point can you also list the output of rfkill. It might be that when Windows shut down, it might be hard blocking the adapter. – Domo N Car Jan 29 at 8:51
  • I don't know what is rfkill – kouty Jan 29 at 9:25
  • 1
    Please edit your question and add output of lspci -knn | grep Net -A3; rfkill list; dmesg | grep iwl terminal command. Run it when Wi-Fi deosn't work. – Pilot6 Jan 29 at 17:35
1

just open windows 10, then open a command prompt in administrator mode (right click of the mouse) and write:

powercfg.exe /hibernate off

It's because Windows 10 is not really shut down but in an hibernate mode.

Have a good day ;)

|improve this answer|||||
  • But when I changed version it works – kouty Feb 3 at 7:27
  • Hi, I got similar issue win10 + ubuntu18.04, I din't check the wifi like you, so I don't know if my problem was really similar to yours, but every time I shut down my computer and I start on ubuntu I got no wifi, and I must restart the computer to have it. You can try if you have time, or if you want an older version of ubuntu to downgrade to 18.04 and then do what I said. Do as you please :) – pooland Feb 3 at 10:38
  • This answer is the right, thanks so much. After uprgading ubuntu, after a few days, the problem comes back, perhaps when I updated windows 10. Then, I followed your recommendations and the wifi works fine in Ubuntu. thank's again, I am sorry that both I and you lost the points of the bounty. – kouty Feb 8 at 17:36
1

I was informed by @Pilot6 that the problem was a kernel bug or a hardware failure.

Finally, I forced upbrade to Ubuntu 20.04 by

update-manager –d

following this link, ad now the wifi works correctly.

The kernel version has been changed to Linux 5.4.0-12-generic

|improve this answer|||||
0

From Linux Mint forum you need to upgrade your kernel. They recommend 4.10 but personally I like4.14 because it has five years of support: How to update kernel to the latest mainline version without any Distro-upgrade?

|improve this answer|||||
  • Since I am not a specialist and cannot judge answers, I want to follow your answer according to your reputation. I searched the updates and go to Index of /~kernel-ppa/mainline but I am not able to find there the 4.10 or 4.14 – kouty Jan 29 at 21:39
  • I found v4.14.168 mainline build but after typing it there is a whole page of "build for" and I don't now what to choose. – kouty Jan 29 at 21:45
  • my kernel version is Linux 5.3.0-28-generic – kouty Jan 29 at 22:20
  • On the link if you scroll down to my answer it shows you which items to click on. 5.3 kernel may have broken wifi but I honestly don't know at this time. – WinEunuuchs2Unix Jan 29 at 22:48
  • 1
    Ubuntu 18.04 has minimum 4.15 kernel. HWE is 5.3 now. Why would you sugeest the 4.14.mainline? It can only break things. – Pilot6 Jan 30 at 11:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.