LinuxSir.cn,穿越时空的Linuxsir!

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

interfaces问题

[复制链接]
发表于 2007-9-28 23:03:18 | 显示全部楼层 |阅读模式
[php]
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface

auto lo
iface lo inet loopback

auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
provider dsl-provider

auto eth0
iface eth0 inet manual
#iface eth0 inet dhcp

#auto eth0
#iface eth0 inet manual
#iface eth0 inet dhcp
[/php]
这个文件是不是一步一步,执行?有时我的proe运行之后,就不能上网了,我的proe需要eth0的mac地址,最后2段 回执行马?
 楼主| 发表于 2007-9-29 07:43:20 | 显示全部楼层
如果我要用proe,我的把
auto eth0
iface eth0 inet manual
放在最前面,但是这样,就上不了网了,我是pppoe
这个auto eth0
iface eth0 inet manual 放在最后,proe就起不来,提示
WARNING: shu.org appears to have the loopback address 127.0.0.1 as IP address
This may imply that processes on shu.org may not be able to connect to non-local  processes
回复 支持 反对

使用道具 举报

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

本版积分规则

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