|
|
最近升级后发现启动机器不自动启动网卡
发现/etc/init.d/下net.eth0不存在...
运行:ln -s net.lo net.eth0
cat /etc/conf.d/net
config_eth0=( "192.168.0.225 netmask 255.255.255.0 broadcast 192.168.0.255" )
routes_eth0=(
"default via 192.168.0.254" # IPv4 default route
)
localhost conf.d # /etc/init.d/net.eth0 start
* Caching service dependencies ... [ ok ]
* Bringing up interface eth0
* 192.168.0.225 ...
SIOCSIFADDR: File exists
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFNETMASK: Cannot assign requested address
SIOCSIFBRDADDR: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address [ !! ]
* ERROR: net.eth0 failed to start
大家看看是什么问题。。。谢谢.. |
|