ubuntu 无法启动 eth0
咋也没想到,俺也能在linux下发布web服务。由于联盟的网站要放到学校的服务器,网络中心然我们自己装个虚拟机,然后学校给发布。自己弄个虚拟机固然好了,但是,要求用不带图形界面的linux系统。于是乎,从同学那里copy过来一个在vm下面安装好的Ubuntu。
结果一直连不上网络,
然后使用 ifup eth0出现如下错误:
eth0: ERROR while getting interface flags: No such device
SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
SIOCSIFBRDADDR: No such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
Failed to bring up eth0.
解决办法:
rm /etc/udev/rules.d/70-persistent-net.rules
通过 nano /etc/network/interfaces 修改ip地址
然后 /etc/init.d/networking restart
页:
[1]