【Ubuntu22.04装备 异常丢失WIFI、网络图标,无法连网】更新英伟达显卡驱动后,网络异常
征象使用ubuntu22.04系统,做了一些操作后(当时就是安装了一些软件、更新了一些驱动),突然发现WIFI、网络图标消失,无法连网。
办理方案
网络参考方案:重启网络服务 [个人未能生效]
参考链接:https://blog.csdn.net/weixin_54051652/article/details/126699097
sudo service NetworkManager stop
sudo rm /var/lib/NetworkManager/NetworkManager.state
sudo service NetworkManager start
乐成实现方案:更新内核驱动
参考链接:https://blog.csdn.net/me_ysd/article/details/137125664
办理步调:必须看清楚情况,相似情况方可实行,制止升级内核相干驱动导致系统崩溃
[*]检察是否存在igc模块
[如果以下下令无返回,则继承下列方法,否则此方法不适合你的情况]
# 1. 查看igc模块
lsmod | grep igc
# 正常返回如下,如果缺失igc模块则没有返回
# igc 1024000
[*]检察系统内核版本与网卡驱动
# 2. 查看系统内核
uname -r
# 返回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盘拷贝至没有网络的电脑上安装即可
# 3. 安装内核驱动
sudo dpkg -i linux-modules-extra-6.8.0-52-generic_6.8.0-52.53~22.04.1_amd64.deb
重启电脑重新安装显卡驱动
重启电脑后,wifi和网络图标都出来了,规复正常,但是我的英伟达显卡驱动又掉了,必要重新安装显卡驱动,安装完成后再重启,电脑规复正常。
sudo reboot
缘故原由分析
重新找了一台ubuntu22.04的装备验证,发现原系统内核为6.8.0-51-generic,安装了英伟达的显卡驱动后,系统内核从原先的6.8.0-51-generic 突然升至6.8.0-52-generic
# 1. 查看系统内核, 返回6.8.0-52-generic
uname -r
# 安装显卡驱动前6.8.0-51-generic,显卡驱动安装完成重启后6.8.0-52-generic
[*]检察网卡驱动与依赖项
# 2. 查看网卡驱动
sudo lshw -C network
# 返回信息如下
*-network UNCLAIMED
description: Ethernet controller
product: Ethernet Controller I225-LM
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:04:00.0
version: 03
width: 32 bits
clock: 33MHz
capabilities: pm msi msix pciexpress cap_list
configuration: latency=0
resources: memory:92a00000-92afffff memory:92b00000-92b03fff
*-network UNCLAIMED
description: Ethernet controller
product: Ethernet Controller I225-LM
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:05:00.0
version: 03
width: 32 bits
clock: 33MHz
capabilities: pm msi msix pciexpress cap_list
configuration: latency=0
resources: memory:92800000-928fffff memory:92900000-92903fff
借助GPU查询 UNCLAIMED 的含义
[*]UNCLAIMED 表示网络装备(网卡)没有被分配驱动步伐(或没有驱动步伐认领该装备)。
[*]简单来说,系统没有正确加载该装备的驱动步伐或驱动步伐可能未安装。
[*]这种情况通常会出现在以下几种情况下:
[*]没有安装合适的驱动步伐。
[*]驱动步伐未加载或未能正确启动。
[*]装备硬件存在问题,无法被系统辨认。
此处代表断网是由于网卡驱动掉了导致,检察正常连网Ubuntu22.04装备的情况
WARNING: you should run this program as super-user.
*-network
description: Wireless interface
product: Wi-Fi 6 AX210/AX211/AX411 160MHz
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:01:00.0
logical name: wlp1s0
version: 1a
serial: 74:13:ea:bc:62:1d
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical wireless
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
resources: irq:17 memory:80c00000-80c03fff
*-network
description: Ethernet interface
product: Ethernet Controller I225-V
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:02:00.0
logical name: enp2s0
version: 03
serial: 00:04:5f:47:15:af
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
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
resources: irq:16 memory:80900000-809fffff memory:80a00000-80a03fff memory:80800000-808fffff
*-network
description: Ethernet interface
product: Intel Corporation
vendor: Intel Corporation
physical id: 1f.6
bus info: pci@0000:00:1f.6
logical name: eno1
version: 11
serial: 00:04:5f:47:15:ae
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
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
resources: irq:134 memory:80d00000-80d1ffff
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
此处driver=igc表示网卡驱动依赖igc模块,通过如下下令检察
# 查看igc模块
lsmod | grep igc
# 正常返回如下,如果缺失igc模块则没有返回
# igc 1024000
此处可知是由于安装英伟达驱动,英伟达卸载了网卡驱动依赖的igc模块,导致网卡驱动缺少drivers,因此后续重装内核驱动规复系统正常,有遇到相似问题的大佬可以一同交换下。
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
页:
[1]