我有Debian 6.0。在我的界面文件(/etc/network/interfaces
)中,有以下几行:
auto eth0
iface eth0 inet static
address 192.168.0.8
netmask 255.255.255.0
gateway 192.168.0.1
每次我启动计算机时,eth0
都无法正常工作。
当我输入时ifconfig -a
,eth0
不是“启动”和“运行”。
我必须输入:
ifconfig eth0 up
/etc/init.d/networking restart
...然后就可以了。
我必须如何更改配置才能eth0
开始工作?
重新启动之前网络服务的状态是什么?
—
olivecoder 2012年
系统日志(
—
吉尔斯(Gillles)“所以-别再邪恶了”
/var/log/*
)中是否有关于eth0的信息?如果您/etc/init.d/networking start
在eth0关闭时运行,会收到任何错误消息吗?是否有其他网络接口(除外lo
)?
请把所有
—
PersianGulf 2012年
/etc/network/interfaces
请显示
—
BatchyX
ifup -v eth0
启动后的输出?
ifconfig eth0 up
使用dmesg之前,请查看其别名?