- 论坛徽章:
- 0
|
建议搜索一下,你会成长的更快。以下内容为转贴
PPP.conf给你参考(改三个地方:网卡,用户名,密码):
default:
set log Phase Chat LCP IPCP CCP tun command
ident user-ppp VERSION (built COMPILATIONDATE)
# Ensure that "device" references the correct serial port
# for your modem. (cuaa0 = COM1, cuaa1 = COM2)
#
# set device PPPoE:rl0 # /dev/cuaa0
set device PPPoEl0
# set speed 115200
set login
set dial # "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
# \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
# set timeout 900 # 3 minute idle timer (the default)
enable dns # request DNS info (for resolv.conf)
nat enable yes
#papchap:
#
# edit the next three lines and replace the items in caps with
# the values which have been assigned by your ISP.
#
pppoe:
# set phone
set authname 帐号
set authkey 密码
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR # Add a (sticky) default route
#96353:
# set phone 96353
# set authname USERNAME
# set authkey PASSWORD
# set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
# add default HISADDR # Add a (sticky) default route |
|