Linux 版 (精华区)

发信人: superman (风雨无阻), 信区: Unix
标  题: FreeBSD中的范例ppp.conf
发信站: 紫 丁 香 (Wed Jul  1 07:50:48 1998), 站内信件

【 以下文字转载自 cnlinux 讨论区 】
【 原文由 Gamble_Tan@bbs.ustc.edu.cn 所发表 】

来 源: freebsd.csie.nctu.edu.tw 
档  名: 0/System/network/ppp.conf/dj.ppp(使用 70 埠) 
标  题: FreeBSD中的范例ppp.conf
 
#发信人: louisbb@m2.dj.net.tw (Louisbb), 看板: bsd 
#标  题: Re: [ppp] 收集 dial 各家 isp 的 ppp.conf 
#发信站: BIGBOY (Sat Jan 31 14:55:20 1998) 
 
#这是DJNET 大至网路的设定档 
 
############################################################################ 

# ppp.conf  for DJNET dial up server 

  
default: 
set device /dev/cuaa1 
set speed 115200 
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 
CONNECT" 
set redial 1 10 
  
DJNET: 
set openmode active 
set phone <TELPHONE> 
deny chap 
disable chap 
accept pap 
set authname YOUR-USERNAME 
set authkey  YOUR-PASSWORD 
set ifaddr 0 0 
dial 
 
############################################################################ 

# ppp.linkup  for DJNET dial up server 

  
MYADDR: 
add 0 0 HISADDR 
 
 
 
 
 
=============================================================================================
 
 
 
 
 
 
来 源: freebsd.csie.nctu.edu.tw 
档  名: 0/System/network/ppp.conf/tku.ppp(使用 70 埠) 
标  题: FreeBSD中的范例ppp.conf
 
#作者  Ala.bbs@bbs.tku.edu.tw (下巴),                           看板 bsd 
#标题  Re: [ppp] 收集 dial 各家 isp 的 ppp.conf 
#时间  淡江大学 BBS (Sat Jan 31 09:10:36 1998) 
#—————————————————————————————————————— 
 
#    这个是 淡大计中的设定....希望有帮助 :) 
 
############################################################################ 

# ppp.conf  for TKU dial up server 

 
default: 
 set device /dev/cuaa1 
 set speed 38400 
 disable lqr 
 deny lqr 
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 
CONNECT" 
 
tku: 
 set phone 26201470:26201471:26201472:26201541:26201551:26201571:26201879:26203801:26206924 
 set login "TIMEOUT 10 name:--name: 帐号 word: 密码 ): 6" 
 set ifaddr   0 0 
 set redial 30 200 
 dial 
 
############################################################################ 

# ppp.linkup  for TKU dial up server 

 
tku: 
 delete ALL 
 add 0 0 HISADDR 
 
 
 
 
 
================================================================================= 
 
 
 
 
 
来 源: freebsd.csie.nctu.edu.tw 
档  名: 0/System/network/ppp.conf/some.ppp(使用 70 埠) 
标  题: FreeBSD中的范例ppp.conf
 
#发信人: tatsuya.bbs@engbbs.ust.hk (真心.予你), 看板: bsd 
#标  题: Re: [ppp] 收集 dial 各家 isp 的爌pp.conf 
#发信站: 科大工学院 BBS (Sat Jan 31 10:39:44 1998) 
 
 
#这是小弟利用於一个很简单的isp的设定 
#其中使用到ppp的-auto功能,并利用ppp.etherup来做送信和更新dynamic dns的工作 
#请大家多多指教 
 
############################################################################ 

# /etc/ppp/ppp.conf 

 
default: 
 set device /dev/cuaa1 
 set speed 115200 
 set log LCP IPCP CCP 
#disable pred1 
#deny pred1 
 disable lqr 
 deny lqr 
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 
CONNECT" 
 set redial 3 10 
 
worldwide: 
 set phone xxx-xxxx 
 set login "TIMEOUT 5 ogin:--ogin: your_login word: your_password" 
 set timeout 180 
 set mtu 576 
 set openmode passive 
 set ifaddr 127.1.1.1/0 127.2.2.2/0 0.0.0.0 0.0.0.0 
 delete ALL 
 add 0 0 HISADDR 
 
/etc/ppp/ppp.linkup 
 
worldwide: 
 delete ALL 
 add 0 0 HISADDR 
 !bg /etc/ppp/ppp.etherup.worldwide 
 
############################################################################ 

# /etc/ppp/ppp.etherup.worldwide 

 
# process mail queue 
/usr/sbin/sendmail -q 
# update dynamic dns entry 
if [ ! -f /etc/noddns ] 
then 
  /usr/local/bin/iron 
fi 
 
 
 
 
 
======================================================================================== 
 
 
 
 
 
来 源: freebsd.csie.nctu.edu.tw 
档  名: 0/System/network/ppp.conf/seednet.ppp(使用 70 埠) 
标  题: FreeBSD中的范例ppp.conf
 
#seednet.ppp.conf 
 
#       适用於 SEEDNet dail-up 的 iijppp 设定档 
#       请适当修改里面的 set authname 还有 set authkey 
#       以及数据机的 device node 还有速度 
 
#       然後更名为 ppp.conf , 放在 /etc/ppp 
#       执行 ppp seednet 就可以了 
 
#-- 
#Edward Chuang 
#edwardc@tpts4.seed.net.tw 
 
############################################################################# 

#  Examples to connect to IIJ Dialup PPP service (FOR SEEDNet) 

#       1) On IIJ service, both user side and server side address can 
#          not be predicted by a customer. In this circumstance, you need 
#          some trick to use on-demand dialup. See iij-demand for example. 

#       2) IIJ has 3 kinds of authentication method; getty, PAP and CHAP. 
#          In all cases, you can use same username and password assigned 
#          from IIJ. 

#  $Id: ppp.conf.iij,v 1.2 1996/01/31 15:03:04 mpp Exp $ 

############################################################################# 

#  Very simple case. Note that this example automatically dials into IIJ. 
#  Please be sure to check phone number to access nearest location. 

#       % ppp iij 

############################################################################# 

# Setup for SEEDNet dail-up by edwardc@tpts4.seed.net.tw 
# please changing parameters to fit your machine and account.. 

# % ppp seednet 

# I think it's OK on SEEDNet dailup, modify it if you're others 

############################################################################# 
default: 
 set device /dev/cuaa1 
 set speed 38400 
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 
CONNECT" 
 
seednet: 
 set phone 4123000 
 set authname <ppp-id> 
 set authkey <ppp-password> 
 accept pap 
 deny chap 
 disable chap 
 set login "" 
 set timeout 150 
 set openmode active 
 destaddr 139.175.108.26 
 dial 
 
-- 

※ 来源: 中国科大BBS站 [bbs.ustc.edu.cn]
--
※ 转载:.紫 丁 香 bbs.hit.edu.cn.[FROM: poster.hit.edu.c]
[百宝箱] [返回首页] [上级目录] [根目录] [返回顶部] [刷新] [返回]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:3.407毫秒