|
|
/etc/conf.d/net内容:
routes_eth0=" ("defautt via 192.168.72.254") "
iface_eth0="192.168.72.26 broadcast 192.168.72.255 netmask 255.255.255.0"
/etc/resolv.conf内容
nameserver:202.102.24.34
用ifconfig命令会显示
inet addr : 192.168.72.255等。
不可以上网。
后来按照handbook上面做了如下操作:
# cd /etc/init.d
# ln -s net.lo net.eth0
修改/etc/conf.d/net
config_eth0=( "192.168.72.26 netmask 255.255.255.0" )
routes_eth0=( "default gw 192.168.72.254" )
/etc/init.d/net.eth0 start还是会出错。
You are using a depreciated configuration syntax for eth0等等。
求教。 |
|