wifi 不能直接在 Ubuntu 上使用

kou*_*uty 5 wireless wireless-access-point

我的电脑上有 Ubuntu 18.04 和 Windows 10。当 WiFi 在 Windows 上工作时,我将计算机重新启动到 Ubuntu,即使在 Ubuntu 中,WiFi 也可以。但是当电脑关闭并启动Ubuntu时,显然无法启动WiFi。有人可以帮我直接在 Ubuntu 中使用 WiFi 吗?

我按照评论中的建议输入 inxi -F ,结果如下:

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 
Run Code Online (Sandbox Code Playgroud)

此外,我打开“显示应用程序”并输入 wifi,他们说我“没有找到 wifi 适配器”。所以我重新启动并打开Windows,wifi开始工作。我再次重新启动并打开 Ubuntu,并且我的 wifi 信号良好。如果我将其关闭,我将无法再连接,因为“找不到 wifi 适配器”。有人可以解释一下如何安装正确的 wifi 适配器吗?我在这里看到了很多帖子和 Ubuntu 文档,但不知道是什么是正确的程序。

内核版本是 Linux 5.3.0-28-generic 我知道我需要一些与 Card-2 一致的 WiFi 适配器:Intel Wireless 8265 / 8275 驱动程序:iwlwifi

按照@pilot6 的建议进行更新。我在 wifi 无法使用时打字

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
Run Code Online (Sandbox Code Playgroud)

poo*_*and 3

只需打开 Windows 10,然后在管理员模式下打开命令提示符(右键单击鼠标)并写入:

powercfg.exe /hibernate off
Run Code Online (Sandbox Code Playgroud)

这是因为Windows 10并没有真正关闭,而是处于休眠模式。

祝你有美好的一天 ;)