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

推荐订阅源

大猫的无限游戏
大猫的无限游戏
D
DataBreaches.Net
H
Help Net Security
aimingoo的专栏
aimingoo的专栏
F
Fortinet All Blogs
Y
Y Combinator Blog
M
MIT News - Artificial intelligence
D
Docker
A
About on SuperTechFans
Vercel News
Vercel News
腾讯CDC
C
Check Point Blog
The GitHub Blog
The GitHub Blog
博客园 - 三生石上(FineUI控件)
有赞技术团队
有赞技术团队
J
Java Code Geeks
MyScale Blog
MyScale Blog
Apple Machine Learning Research
Apple Machine Learning Research
量子位
MongoDB | Blog
MongoDB | Blog
博客园 - 司徒正美
博客园_首页
月光博客
月光博客
U
Unit 42

Oskyla 烹茶室

修复 Joplin on KDE 菜单栏显示问题 Copy Fail:Linux 内核 2017 年至今的高危漏洞(附临时缓解方案) | CVE-2026-31431 Hermes Agent — 在 K3s / K8s 中运行指南 在 K3s 节点上安装并使用 nerdctl Mouser:轻量开源的罗技鼠标驱动替代方案 Claude Opus 4.7:优缺点与评测信息汇总 openFuyao NPU-Operator故障排查 openFuyao 2603 共测测试报告 openFuyao InferNex AI推理集成部署 310P(300I Pro) 环境问题记录及解决 ceph mon Operation not permitted 问题解决 Ascend 310P + openFuyao + NPU-Operator 故障排查 KDE Plasma6 禁用全局菜单,恢复正常应用菜单 终极指南:在 Linux 裸机服务器上快速部署 Moltbot (原 Clawbot) 并集成飞书 Windows 配置 Claude Code 解决 settings.json 不生效 Windows 配置 Claude Code 全流程 2025-12-31 | 年终总结 AI 生图精品提示词|第二期:城市星球 AI 生图精品提示词|第一期 Kubernetes kubectl --raw 使用指南 彻底解决阿里云和 tailscale 冲突 2025-10-21 | 沉淀思维 macOS 单独为鼠标或触控板开启自然滚动 2025-10-16 | 负载高低 2025-10-15 | 睡眠周期 2025-10-14 | 转换情绪与独立观点 go 拉取 gitcode.com 私有 mod Git 将某个文件恢复到其他分支的状态 SSH 通过跳板机连接 lxc 使用 chronyc 构建 ntp 服务 2025-10-13 | 独立思考于未来能源
Ubuntu 16.04 网卡配置方法
Tianlun Song · 2021-11-05 · via Oskyla 烹茶室

November 5, 2021 | 1 分钟 | 230 字 | Tianlun Song |  PR

本文 首发于 🌱 煎茶转载 请注明 来源

Ubuntu 旧版网卡配置方法.

ubuntu 16.04 配置网卡的方法还是比较经典的做法,与

debian 类似的。

  • 第一步:修改网卡配置文件
sudo vi /etc/network/interfaces
  • 第二步:修改配置内容
auto enp0s3
iface enp0s3 inet static
address 192.168.0.1
netmask  255.255.255.0
gateway  192.168.0.1
  • 第三不:重启网络
/etc/init.d/networking restart
或者(下面是指定启动关闭某个网卡命令)
ifdown enp0s3    (关闭网卡enp0s3)
ifup   enp0s3    (启动网卡enp0s3)
sudo service network-manager restart

注:该方法不适用于 ubuntu 20 以上,请参考新文章。

参考文献