我的ppp.conf

2009-05-13 00:37:57来源:未知 阅读 ()

新老客户大回馈,云服务器低至5折


我是大学校园网,局域网接入,虚拟拨号
HTH~~
#################################################################
# PPP  Sample Configuration File
# Originally written by Toshiharu OHNO
# Simplified 5/14/1999 by
wself@cdrom.com
#
# See /usr/share/examples/ppp/ for some examples
#
# $FreeBSD: src/etc/ppp/ppp.conf,v 1.8 2001/06/21 15:42:26 brian Exp $
#################################################################
default:
set log Phase tun command #ident user-ppp VERSION (built COMPILATIONDATE)
set ifaddr 10.0.0.1/0 10.0.0.2/0
# Ensure that "device" references the correct serial port
# for your modem. (cuaa0 = COM1, cuaa1 = COM2)
#
adsl:
set device PPPoE:rl0
set speed sync
set mru 1492
set mtu 1492
set dial #"ABORT BUSY ABORT NOsCARRIER TIMEOUT 5
           #"" AT OK-AT-OK ATE1Q0 OK
dATDTT
TIMEOUT 40 CONNECT"
set timeout 180   # 3 minute idle timer (the default)
enable dns   # request DNS info (for resolv.conf)
set login
set dial
set authname YourID
set authkey YourPass
add default HISADDR
papchap:
#
# edit the next three lines and replace the items in caps with
# the values which have been assigned by your ISP.
#
#set phone PHONE_NUM
set authname YourID
set authkey YourPass
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
####################The End#########################
OS:FreeBSD 5.1
在windows2000下用EnterNet500
FB下手工拨号命令:
#ppp -ddial adsl[Enter]
如果需要开机自动拨号,编辑/etc/rc.conf文件
加入:
ppp_enable="YES"
ppp_mode="ddial"
ppp_profile="adsl"     //这里写adsl(包括上面手工命令中的adsl)是由于配置文件中的那个adsl,如果你写了其他的标志,就改成你的


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/703/showart_1346.html

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:有关uid问题的一些看法

下一篇:Postfix邮件系统的安装与测试