LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 966|回复: 4

how to set eth0 information

[复制链接]
发表于 2005-1-29 19:43:12 | 显示全部楼层 |阅读模式
when boot ,it said bring up  eth0 interface      failed
中文"弹出eth0界面 失败"

how to set eth0 information
 楼主| 发表于 2005-1-30 19:53:52 | 显示全部楼层
以前我设eth0 为 inactive 去掉了启动时弹出eth0界面.想问更好方法使eth0 active,谢谢!
回复 支持 反对

使用道具 举报

发表于 2005-1-30 20:45:18 | 显示全部楼层
我认为是这样的。系统在启动的时候自动通过eth0查找DHCP分配给它的地址,如没有DHCP设备的话就会出现这种情况。解决方法:可以设置eth0成为手动设置ip,写入ip地址,子网掩码,网关之后就可以了。启动的时候系统就会启用你输入的网络参数,并且激活eth0
回复 支持 反对

使用道具 举报

发表于 2005-1-31 03:01:23 | 显示全部楼层
比如用命令:ifconfig eth0 192.168.10.1 就默认子网掩码为255.255.255.0
设路由用:route add default gw 192.168.0.2 dev eth0
或用命令:system-config-network(在fc3下)

激活用:ifup eth0
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-2-2 20:46:54 | 显示全部楼层
thanks you!
but 1: when i set eth0 to active(system-config-network) ,I must inter eth0  ip information
one way auto(DHCP) ,failed ,the other is by hand ,what is eth0 ip information ? I have two local ip
which is right ?
Local IP:>        Found 2 addresses
Local IP:>
Local IP:>        169.2xx.249.138
Local IP:>        61.171.xx.215
2: I have set adsl ppp0 defaut eth0 ,when I set eth0 active ,adsl cannot work ,why ?
sorry I cannot  inter chinese on linux.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表