Chinaunix首页 | 论坛 | 博客
  • 博客访问: 942455
  • 博文数量: 102
  • 博客积分: 8134
  • 博客等级: 中将
  • 技术积分: 1072
  • 用 户 组: 普通用户
  • 注册时间: 2007-11-21 15:30
文章分类

全部博文(102)

文章存档

2019年(1)

2018年(1)

2014年(1)

2013年(2)

2012年(1)

2011年(2)

2010年(5)

2009年(9)

2008年(10)

2007年(70)

分类: BSD

2007-11-21 16:18:53

ADSL 拨号上网

将以下内容保存为 /etc/ppp/ppp.conf 文件,其中的网络端口pcn0改为ADSL modem所接的端口,user 改为上网用户名,password 改为上网口令
拨号上网命令 ppp -ddial pppoe (断线自动重拨)

#################################
default:
    set log Phase Chat IPCP CCP tun command
    set redial 15 0
    set reconnect 15 10000

pppoe:
    set device "!/usr/sbin/pppoe -i pcn0"
    disable acfcomp protocomp
    deny acfcomp
    set mtu max 1492
    set crtscts off
    set speed sync
    enable lqr
    set lqrperiod 5
    set cd 5
    set dial
    set login
    set timeout 0
    set authname "user"
    set authkey password
    add! default HISADDR
    enable dns
    enable mssfixup
##################################
阅读(1114) | 评论(2) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2008-11-27 15:05:38

你认为这样就能上网么。。。 我照这个,参考无数,openbsd下都没能用lynx 连接上一个网站

chinaunix网友2008-11-27 15:05:38

你认为这样就能上网么。。。 我照这个,参考无数,openbsd下都没能用lynx 连接上一个网站