【Ubuntu22.04装备 异常丢失WIFI、网络图标,无法连网】更新英伟达显卡驱动 ...

王柳  论坛元老 | 2025-3-30 16:41:32 | 显示全部楼层 | 阅读模式
打印 上一主题 下一主题

主题 1889|帖子 1889|积分 5667

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

x
征象

使用ubuntu22.04系统,做了一些操作后(当时就是安装了一些软件、更新了一些驱动),突然发现WIFI、网络图标消失,无法连网。
办理方案

网络参考方案:重启网络服务 [个人未能生效]
参考链接:https://blog.csdn.net/weixin_54051652/article/details/126699097
  1. sudo service NetworkManager stop
  2. sudo rm /var/lib/NetworkManager/NetworkManager.state
  3. sudo service NetworkManager start
复制代码
乐成实现方案:更新内核驱动
参考链接:https://blog.csdn.net/me_ysd/article/details/137125664
办理步调:必须看清楚情况,相似情况方可实行,制止升级内核相干驱动导致系统崩溃

  • 检察是否存在igc模块
[如果以下下令无返回,则继承下列方法,否则此方法不适合你的情况]
  1. # 1. 查看igc模块
  2. lsmod | grep igc
  3. # 正常返回如下,如果缺失igc模块则没有返回
  4. # igc   102400  0
复制代码

  • 检察系统内核版本与网卡驱动
  1. # 2. 查看系统内核
  2. uname -r
  3. # 返回6.8.0-52-generic
复制代码
下载内核驱动
由于我们的内核版本是6.8.0-52-generic , 因此前往清华镜像下载对应驱动
下载地址:https://mirrors.tuna.tsinghua.edu.cn/ubuntu/pool/main/l/linux-hwe-6.8/
linux-modules-extra-6.8.0-52-generic_6.8.0-52.53~22.04.1_amd64.deb
此处根据你返回的内核版本下载对应的deb包,下载完成后,U盘拷贝至没有网络的电脑上安装即可
  1. # 3. 安装内核驱动
  2. sudo dpkg -i linux-modules-extra-6.8.0-52-generic_6.8.0-52.53~22.04.1_amd64.deb
复制代码
重启电脑重新安装显卡驱动
重启电脑后,wifi和网络图标都出来了,规复正常,但是我的英伟达显卡驱动又掉了,必要重新安装显卡驱动,安装完成后再重启,电脑规复正常。
  1. sudo reboot
复制代码
缘故原由分析

重新找了一台ubuntu22.04的装备验证,发现原系统内核为6.8.0-51-generic,安装了英伟达的显卡驱动后,系统内核从原先的6.8.0-51-generic 突然升至6.8.0-52-generic
  1. # 1. 查看系统内核, 返回6.8.0-52-generic
  2. uname -r
  3. # 安装显卡驱动前6.8.0-51-generic,显卡驱动安装完成重启后6.8.0-52-generic
复制代码

  • 检察网卡驱动与依赖项
  1. # 2. 查看网卡驱动
  2. sudo lshw -C network
  3. # 返回信息如下
  4.   *-network UNCLAIMED      
  5.        description: Ethernet controller
  6.        product: Ethernet Controller I225-LM
  7.        vendor: Intel Corporation
  8.        physical id: 0
  9.        bus info: pci@0000:04:00.0
  10.        version: 03
  11.        width: 32 bits
  12.        clock: 33MHz
  13.        capabilities: pm msi msix pciexpress cap_list
  14.        configuration: latency=0
  15.        resources: memory:92a00000-92afffff memory:92b00000-92b03fff
  16.   *-network UNCLAIMED
  17.        description: Ethernet controller
  18.        product: Ethernet Controller I225-LM
  19.        vendor: Intel Corporation
  20.        physical id: 0
  21.        bus info: pci@0000:05:00.0
  22.        version: 03
  23.        width: 32 bits
  24.        clock: 33MHz
  25.        capabilities: pm msi msix pciexpress cap_list
  26.        configuration: latency=0
  27.        resources: memory:92800000-928fffff memory:92900000-92903fff
复制代码
借助GPU查询 UNCLAIMED 的含义


  • UNCLAIMED 表示网络装备(网卡)没有被分配驱动步伐(或没有驱动步伐认领该装备)。
  • 简单来说,系统没有正确加载该装备的驱动步伐或驱动步伐可能未安装。
  • 这种情况通常会出现在以下几种情况下:

    • 没有安装合适的驱动步伐。
    • 驱动步伐未加载或未能正确启动。
    • 装备硬件存在问题,无法被系统辨认。

此处代表断网是由于网卡驱动掉了导致,检察正常连网Ubuntu22.04装备的情况
  1. WARNING: you should run this program as super-user.
  2.   *-network                 
  3.        description: Wireless interface
  4.        product: Wi-Fi 6 AX210/AX211/AX411 160MHz
  5.        vendor: Intel Corporation
  6.        physical id: 0
  7.        bus info: pci@0000:01:00.0
  8.        logical name: wlp1s0
  9.        version: 1a
  10.        serial: 74:13:ea:bc:62:1d
  11.        width: 64 bits
  12.        clock: 33MHz
  13.        capabilities: bus_master cap_list ethernet physical wireless
  14.        configuration: broadcast=yes driver=iwlwifi driverversion=6.8.0-51-generic firmware=86.fb5c9aeb.0 ty-a0-gf-a0-86.uc latency=0 link=no multicast=yes wireless=IEEE 802.11
  15.        resources: irq:17 memory:80c00000-80c03fff
  16.   *-network
  17.        description: Ethernet interface
  18.        product: Ethernet Controller I225-V
  19.        vendor: Intel Corporation
  20.        physical id: 0
  21.        bus info: pci@0000:02:00.0
  22.        logical name: enp2s0
  23.        version: 03
  24.        serial: 00:04:5f:47:15:af
  25.        size: 1Gbit/s
  26.        capacity: 1Gbit/s
  27.        width: 32 bits
  28.        clock: 33MHz
  29.        capabilities: bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
  30.        configuration: autonegotiation=on broadcast=yes driver=igc driverversion=6.8.0-51-generic duplex=full firmware=1082:8770 ip=10.7.98.23 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
  31.        resources: irq:16 memory:80900000-809fffff memory:80a00000-80a03fff memory:80800000-808fffff
  32.   *-network
  33.        description: Ethernet interface
  34.        product: Intel Corporation
  35.        vendor: Intel Corporation
  36.        physical id: 1f.6
  37.        bus info: pci@0000:00:1f.6
  38.        logical name: eno1
  39.        version: 11
  40.        serial: 00:04:5f:47:15:ae
  41.        capacity: 1Gbit/s
  42.        width: 32 bits
  43.        clock: 33MHz
  44.        capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
  45.        configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=6.8.0-51-generic firmware=0.3-4 latency=0 link=no multicast=yes port=twisted pair
  46.        resources: irq:134 memory:80d00000-80d1ffff
  47. WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
复制代码
此处driver=igc表示网卡驱动依赖igc模块,通过如下下令检察
  1. # 查看igc模块
  2. lsmod | grep igc
  3. # 正常返回如下,如果缺失igc模块则没有返回
  4. # igc   102400  0
复制代码
此处可知是由于安装英伟达驱动,英伟达卸载了网卡驱动依赖的igc模块,导致网卡驱动缺少drivers,因此后续重装内核驱动规复系统正常,有遇到相似问题的大佬可以一同交换下。

免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
回复

使用道具 举报

0 个回复

倒序浏览

快速回复

您需要登录后才可以回帖 登录 or 立即注册

本版积分规则

王柳

论坛元老
这个人很懒什么都没写!
快速回复 返回顶部 返回列表