困扰我多日的ADSL拨号问题解决

发表时间:2006-10-23 00:46:00    分类:    1654 阅读

十一放假回来后ADSL拨号就一直有问题,终于在此次出差之前解决了。原来是baselayout-1.12.5-r2 改了pppoe的拨号方式。现在是这样解决的:
编辑/etc/conf.d/net文件,为如下内容:

config_eth0=( "192.168.1.2/24 " )
config_eth1=( "192.168.0.1/24" )

config_ppp0=( "ppp" )
link_ppp0="eth0"
plugins_ppp0=(
        "pppoe"                         # Required plugin for PPPoE
)
username_ppp0='myusername'
password_ppp0='password'

pppd_ppp0=(
        "updetach"      # If not set, "/etc/init.d/net.ppp0 start" will return
        "defaultroute"  # Make this PPP interface the default route
)
执行命令
#ln -s /etc/init.d/net.lo /etc/init.d/net.ppp0

这么简单就云开雾散了。但之前瞎摸了很长时间。


评论(0)

相关文章

暂时没有文章!
评论这篇文章
请输入左边图片中的字符