相关疑难解决方法(0)

为什么我的网络接口名为 enp0s25 而不是 eth0?

安装 Ubuntu 15.10 后,我的许多脚本停止工作,而且我很难记住这个新名称,因为我已经习惯了 ethx 和 wlanx 多年。这种变化有原因吗?我是否必须习惯这一点,或者我可以重命名它并回到旧的 eth0 吗?

$ ifconfig

enp0s25   Link encap:Ethernet  HWaddr 77:5a:5e:a6:86:d5  
      inet addr:192.168.31.239  Bcast:192.168.31.255  Mask:255.255.255.0
      inet6 addr: fe80::725a:b6ff:fea6:86d7/64 Scope:Link
      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
      RX packets:4833 errors:1332 dropped:0 overruns:0 frame:666
      TX packets:5589 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000 
      RX bytes:3266446 (3.2 MB)  TX bytes:1046654 (1.0 MB)
      Interrupt:20 Memory:d3500000-d3520000
Run Code Online (Sandbox Code Playgroud)

networking

126
推荐指数
1
解决办法
19万
查看次数

ifup 升级到 16.04 后无法调出 eth0

我已将服务器从 14.04 升级到 16.04。我可以在 syslog 上看到以下错误:

ifup[478]: Internet Systems Consortium DHCP Client 4.2.4
ifup[478]: Copyright 2004-2012 Internet Systems Consortium.
ifup[478]: All rights reserved.
ifup[478]: For info, please visit https://www.isc.org/software/dhcp/
ifup[478]: Usage: dhclient [-4|-6] [-SNTP1dvrx] [-nw] [-p <port>] [-D LL|LLT]
ifup[478]:             [-s server-addr] [-cf config-file] [-lf lease-file]
ifup[478]:             [-pf pid-file] [--no-pid] [-e VAR=val]
ifup[478]:             [-sf script-file] [interface]
ifup[478]: Failed to bring up eth0.
systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: Failed to start Raise network interfaces.
systemd[1]: networking.service: Unit entered …
Run Code Online (Sandbox Code Playgroud)

upgrade server networking dhclient 16.04

9
推荐指数
3
解决办法
3万
查看次数

Broadcom NetXtreme II BCM5716 以太网控制器更新至 16.04 服务器后无人认领

我正在运行带有 Broadcom NetXtreme II BCM5716 以太网控制器(2 个以太网端口,有线)的 Ubuntu 服务器机器(Dell Poweredge R410)。我最近决定将机器从 14.04 升级到 16.04(使用do-release-uprade时没有其他选项)。这是一个巨大的错误。起初,除非使用恢复模式,否则启动不会成功,但是,通过恢复模式,我可以使用 linux 内核 3.0.0-17 启动而没有问题(继续正常启动)。哪个是来自 ubuntu 11 的内核(具有相应 Linux 内核版本的 Ubuntu 版本列表))?。无论如何,我可以启动机器,但似乎无法激活网络。由于服务器位于我不容易接触到的服务器场中,我想建立网络并在家中进行进一步的调试。任何建议都受到热烈欢迎,我已经包含了所有(社区)信息以及我迄今为止尝试过的内容。一切都是手工输入的(因为我在服务器上没有网络),如果打字错误,请见谅。我愿意尝试其他建议并将主驱动器复制到外部硬盘驱动器。如果 ubuntu 16.04 服务器的全新安装是我最好的解决方案,也请告诉我(尽管我宁愿避免它)。

系统信息

lsb_release -a

Distributor ID: Ubuntu
Description:    Ubuntu 16.04.2 LTS
Release:        16.04
Codename:       xenial
Run Code Online (Sandbox Code Playgroud)

uname -a

Linux [servername] 3.0.0-17-server #30-Ubuntu [system date and time] x86_64 x86_64 x86_64 GNU/Linux
Run Code Online (Sandbox Code Playgroud)

cat /etc/network/interfaces

#This file describes the network interfaces available on your system
#and how to activate them. For more information, …
Run Code Online (Sandbox Code Playgroud)

server networking broadcom 16.04

8
推荐指数
1
解决办法
7360
查看次数

标签 统计

networking ×3

16.04 ×2

server ×2

broadcom ×1

dhclient ×1

upgrade ×1