]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/examples/ppp/ppp.conf.isdn
This commit was generated by cvs2svn to compensate for changes in r50397,
[FreeBSD/FreeBSD.git] / share / examples / ppp / ppp.conf.isdn
1 #
2 # Copyright (c) 1997 Brian Somers <brian@Awfulhak.org>
3 # All rights reserved.
4 #
5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions
7 # are met:
8 # 1. Redistributions of source code must retain the above copyright
9 #    notice, this list of conditions and the following disclaimer.
10 # 2. Redistributions in binary form must reproduce the above copyright
11 #    notice, this list of conditions and the following disclaimer in the
12 #    documentation and/or other materials provided with the distribution.
13 #
14 # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 # ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18 # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 # SUCH DAMAGE.
25 #
26 #       $Id: ppp.conf.isdn,v 1.1 1999/08/09 22:57:47 brian Exp $
27
28 # This is an example ppp profile for bringing up a multilink ppp connection
29 # over ISDN.  It needs at least version 0.83.0 of the i4b code.  An example
30 # isdnd configuration file is also supplied in this directory (isdnd.rc)
31 #
32 isdn:
33  # Replace this with your ISPs phone number
34  set phone 12345678
35
36  # Replace these with your login name & password.  This profile assumes
37  # you're using PAP or CHAP.
38  set authname somename
39  set authkey somepasswd
40
41  # Assuming you have a LAN:
42  set enddisc mac
43
44  enable lqr
45  set reconnect 3 5
46  set redial 3 10
47  set lqrperiod 45
48  disable pred1 deflate
49  deny pred1 deflate
50
51  # Our minimum charge period is 5 minutes, so don't hangup before then
52  set timeout 60 600
53
54  # We have no chat scripts in the ISDN world (yet)
55  set dial
56  set login
57  set hangup
58
59  # Use the raw B-channel devices
60  set device /dev/i4brbch0 /dev/i4brbch1
61  set speed sync
62
63  # How long does it take to connect with ISDN ?
64  link * set cd 6
65
66  # Ask the peer what to put in resolv.conf
67  enable dns
68
69  # Take a wild guess and let the other side decide
70  set ifaddr 172.16.0.1/0 212.0.0.0/0
71  add! default hisaddr
72
73  # Multilink mode please
74  set mrru 1500
75
76  # Two new links
77  clone 1,2
78
79  # And get rid of the old one with the crusty name
80  link deflink rm
81
82  # Automatically manage the second link
83  link * set mode auto
84  set autoload 10 100 30
85
86  # Otherwise, do things via the diagnostic port
87  set server /tmp/pavilion "" 0177