ubuntu 更新网卡丢失

查看网卡设备信息

复制代码
sudo lshw -c Network

设备 处于 description: Ethernet interface

sh 复制代码
root@-MoreFine-S500:/etc/netplan# sudo lshw -c Network
  *-network
       description: Ethernet interface
       product: RTL8125 2.5GbE Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: eno1
       version: 05
       serial: 70:70:fc:01:64:01
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=6.8.0-40-generic duplex=full firmware=rtl8125b-2_0.0.2 07/13/20 ip=192.168.5.71 latency=0 link=yes multicast=yes port=twisted pair
       resources: irq:24 ioport:f000(size=256) memory:fce00000-fce0ffff memory:fce10000-fce13fff
  *-network
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: enp3s0
       version: 15
       serial: 70:70:fc:01:64:02
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=6.8.0-40-generic firmware=rtl8168h-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:58 ioport:e000(size=256) memory:fcd04000-fcd04fff memory:fcd00000-fcd03fff
  *-network
       description: Wireless interface
       product: Wi-Fi 6 AX200
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: wlp4s0
       version: 1a
       serial: 34:13:e8:b6:05:49
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=6.8.0-40-generic firmware=77.2df8986f.0 cc-a0-77.ucode ip=192.168.5.61 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:79 memory:fcc00000-fcc03fff

执行以下两个命令

复制代码
sudo touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf
sudo systemctl restart NetworkManager

碰到同样问题按这位大佬的方式处理的

原文地址: https://blog.csdn.net/netwalk/article/details/140117154

相关推荐
代码AC不AC39 分钟前
【Linux】计算机的基石:从冯·诺依曼体系结构到操作系统管理
linux·操作系统·冯诺依曼体系结构
大柏怎么被偷了1 小时前
【Linux】进程等待
linux·运维·服务器
云和数据.ChenGuang2 小时前
运维面试题之oracle和mysql单表最大容量
运维·mysql·oracle
偶像你挑的噻2 小时前
12-Linux驱动开发- SPI子系统
linux·驱动开发·stm32·嵌入式硬件
酷柚易汛智推官2 小时前
Fastlane赋能移动研发:从全流程自动化到工程效能升级
运维·自动化·酷柚易汛
落798.2 小时前
Genlogin × Bright Data,一键解锁自动化采集的高成功率方案
运维·自动化·数据采集·亮数据
羑悻的小杀马特2 小时前
轻量跨云·掌控无界:Portainer CE + cpolar 让远程容器运维像点外卖一样简单——免复杂配置,安全直达对应集群
运维·网络·安全·docker·cpolar
松涛和鸣2 小时前
16、C 语言高级指针与结构体
linux·c语言·开发语言·数据结构·git·算法
L***86533 小时前
Failed to restart nginx.service Unit nginx.service not found
运维·nginx
念风3 小时前
[lvgl]如何优雅地向lv_port_linux中添加tslib支持
linux