Chinaunix首页 | 论坛 | 博客
  • 博客访问: 33453
  • 博文数量: 23
  • 博客积分: 1400
  • 博客等级: 上尉
  • 技术积分: 235
  • 用 户 组: 普通用户
  • 注册时间: 2009-05-23 15:00
文章分类

全部博文(23)

文章存档

2011年(1)

2009年(22)

我的朋友
最近访客

分类: LINUX

2009-06-15 14:25:06

 


#time emerge rp-pppoe
#pppoe-setup
#ln -s /etc/init.d/net.lo /etc/init.d/net.eth1
#ln -s /etc/init.d/net.lo /etc/init.d/net.ppp0
#vim /etc/conf.d/rc
RC_NET_STARICT=yes
#vim /etc/conf.d/net 添加下面内容
5 config_eth0="192.168.1.102" netmask 255.255.255.0
6 config_eth1="null"
7 config_ppp0=("ppp")
8 link_ppp0="eth1"
9 plugins_ppp0="pppoe"
10 username_ppp0="宽带帐号"
11 password_ppp0="密码"
12 pppd_ppp0=(
13         "noauth"
14         "defaultroute"
15         "usepeerdns"
16         "holdoff 3"
17         "child_timeout 60"
18         "lcp-eth0-interval 15"
19         noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp
20          )
21 depend_ppp0(){
22         need net.eth1
23              }

 

阅读(419) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~