困扰我多日的ADSL拨号问题解决
Pubdate:2006-10-23 00:46:00 Categories: 1491 Views
十一放假回来后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
这么简单就云开雾散了。但之前瞎摸了很长时间。
编辑/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
这么简单就云开雾散了。但之前瞎摸了很长时间。
Comments(0)