freebsd配置拨号上网

发表于:2007-06-09来源:作者:点击数: 标签:
修改ppp.conf 与rc.conf #/etc/ppp/ppp.conf 全文大致如下 default: # PPP over Ethernet set device PPPoE: lr 0 #这里的lr0是大家的网卡代号,可能大家不一样的 set speed sync set mru 1492 set mtu 1492 set ctsrts off # monitor line quality enable

修改ppp.conf 与rc.conf

#/etc/ppp/ppp.conf 全文大致如下

default:
# PPP over Ethernet
set device PPPoE:lr0 #这里的lr0是大家的网卡代号,可能大家不一样的
set speed sync
set mru 1492
set mtu 1492
set ctsrts off

# monitor line quality
enable lqr

# log just a bit
set log phase tun

# insert default route upon connection
add default HISADDR

# 从 /etc/resolv.conf 中得到域名服务器地址
enable dns

adsl:
set authname **** #用户名
set authkey **** #密码

然后编辑 /etc/rc.conf 加入下面两行
ppp_enable="YES"
ppp_mode="ddial"
ppp_profile="adsl"



原文转自:http://www.ltesting.net