惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

J
Java Code Geeks
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Blog — PlanetScale
Blog — PlanetScale
G
Google Developers Blog
Microsoft Security Blog
Microsoft Security Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
腾讯CDC
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Jina AI
Jina AI
雷峰网
雷峰网
T
Tailwind CSS Blog
爱范儿
爱范儿
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
酷 壳 – CoolShell
酷 壳 – CoolShell
大猫的无限游戏
大猫的无限游戏
月光博客
月光博客
博客园 - 司徒正美
I
InfoQ
Engineering at Meta
Engineering at Meta
Vercel News
Vercel News
小众软件
小众软件
U
Unit 42
Google DeepMind News
Google DeepMind News
D
DataBreaches.Net

又见苍岚

COLMAP PatchMatch Stereo 算法详解 事件驱动的状态机框架:从理论到工程实践 Git 在国内网络环境下无法 Push 的排查与修复 —— 配置 Clash 代理 分段五次多项式插值原理详解 路径插值方法深度对比研究 Claude Code 使用指南 OpenClaw 记忆管理与技能创建指南 CBS(Conflict-Based Search)算法详解 A* 算法及其变种详解 OpenClaw 配置多 Agents Windows Powershell 无法加载文件,因为在此系统上禁止运行脚本问题的解决方案 MaxClaw 安装流程 大模型 AI 名词介绍 AList 网盘聚合工具简介 Protobuf 简介与测试 Claude Code 简介以及 GLM 4.7 模型接入 Github 歌词下载工具 163MusicLyrics Python __getattr__ 懒加载 Python TypedDict 机器人仿真平台 Gazebo 安装记录 机器人仿真平台 Gazebo 简介 多机器人路径规划问题(Multi-Agent Path Finding, MAPF)简介 Python exifread 读取修改过的 jpeg 信息错误问题修复 3D 坐标系变换的理解 3D 旋转矩阵基本概念 MongoDB Compass 介绍 Python 环境管理工具 uv Flutter 开发指南 Snipaste 安装下载与黑屏问题解决方案 全局路径规划算法记录
Ubuntu中没有wired connected的解决方案
Yiwei Zhang · 2025-04-07 · via 又见苍岚

突然发现我的 Ubuntu 22.04 里没有有线连接的配置项,本文记录解决方案。

问题复现

没有有线连接配置项,插网线也不行。

解决方案

输入命令:

1
sudo lshw -c Network

检查 network 的状态,当前出问题的输出为:

1
2
3
4
5
6
7
8
9
10
11
12
*-network:1 UNCLAIMED
description: Ethernet controller
product: Ethernet Connection (17) I219-LM
vendor: Intel Corporation
physical id: 1f.6
bus info: pci@0000:00:1f.6
version: 11
width: 32 bits
clock: 33MHz
capabilities: pm msi cap_list
configuration: latency=0
resources: memory:75280000-7529ffff

UNCLAIMED 可以理解为未激活的状态,另一种异常为 DISABLED

DISABLED

如果遇到 DISABLED 状态:

1
ls /etc/NetworkManager/conf.d/
1
2
sudo touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf
sudo systemctl restart NetworkManager

问题解决!

UNCLAIMED

修改NetworkManager配置

1
sudo vi /etc/NetworkManager/NetworkManager.conf

将managed=false修改为managed=true,保存并退出

1
2
3
sudo service NetworkManager stop
sudo rm /var/lib/NetworkManager/NetworkManager.state
sudo service NetworkManager start

重启 Ubuntu ,问题解决。

解决后

重新查看 sudo lshw -c Network 命令:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
*-network:1
description: Ethernet interface
product: Ethernet Connection (17) I219-LM
vendor: Intel Corporation
physical id: 1f.6
bus info: pci@0000:00:1f.6
logical name: enp0s31f6
version: 11
serial: 4c:d7:17:97:c2:7b
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi 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.5.0-28-generic duplex=full firmware=2.3-4 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:145 memory:75280000-7529ffff

出现了 Wired 选项

参考资料

文章链接:
https://www.zywvvd.com/notes/system/linux/ubuntu-wired-conn-lost/ubuntu-wired-conn-lost/