summaryrefslogtreecommitdiffstats
path: root/share/examples
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2001-05-25 12:11:02 +0000
committerbrian <brian@FreeBSD.org>2001-05-25 12:11:02 +0000
commitb77da10b58d361fdc16be201ad6719287f773ec8 (patch)
tree58bc5588d137d31c887fdc1a9cacb50ae5d4b06b /share/examples
parent85f59ae6b93c21e6fea773ce3a324ef571050052 (diff)
downloadFreeBSD-src-b77da10b58d361fdc16be201ad6719287f773ec8.zip
FreeBSD-src-b77da10b58d361fdc16be201ad6719287f773ec8.tar.gz
Mention that ppp.conf.isdn isn't appropriate for external TAs
Add a section to ppp.conf.sample that is. MFC after: 3 weeks
Diffstat (limited to 'share/examples')
-rw-r--r--share/examples/ppp/ppp.conf.isdn4
-rw-r--r--share/examples/ppp/ppp.conf.sample41
2 files changed, 45 insertions, 0 deletions
diff --git a/share/examples/ppp/ppp.conf.isdn b/share/examples/ppp/ppp.conf.isdn
index 3cdc394..16a276f 100644
--- a/share/examples/ppp/ppp.conf.isdn
+++ b/share/examples/ppp/ppp.conf.isdn
@@ -29,6 +29,10 @@
# over ISDN. It needs at least version 0.83.0 of the i4b code. An example
# isdnd configuration file is also supplied in this directory (isdnd.rc)
#
+# NOTE: This is for use with i4b-supported ISDN cards. If you have an
+# external Terminal Adapter (TA) plugged into a serial port on your
+# machine, you should use the TA example in ppp.conf.sample.
+#
isdn:
set phone 12345678 # Replace this with your ISPs phone number
diff --git a/share/examples/ppp/ppp.conf.sample b/share/examples/ppp/ppp.conf.sample
index 236cdaf..3c0e7a4 100644
--- a/share/examples/ppp/ppp.conf.sample
+++ b/share/examples/ppp/ppp.conf.sample
@@ -118,6 +118,47 @@ ondemand:
add default HISADDR
enable dns
+# An on-demand dialup example using an external Terminal Adapter (TA)
+# that supports multi-link ppp itself.
+#
+# This may be specific to the AETHRA TA.
+#
+TA:
+ set phone 12345678 # Replace this with your ISPs phone number
+
+ set authname somename # Replace these with your login name & password.
+ set authkey somepasswd # This profile assumes you're using PAP or CHAP.
+
+ enable lqr
+ set reconnect 3 5
+ set redial 3 10
+ set lqrperiod 45
+ disable pred1 deflate mppe
+ deny pred1 deflate mppe
+
+ set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATB41CL2048 \
+ OK-AT-OK ATB40&J3E1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
+ set login
+ set logout
+ set hangup
+
+ set timeout 60 300 # The minimum charge period is 5 minutes, so don't
+ # hangup before then
+
+ set device /dev/cuaa0 # Or whatever
+ set speed 115200 # Use as high a speed as possible
+
+ enable dns # Ask the peer what to put in resolv.conf
+
+ # Take a wild guess at an IP number and let the other side decide
+ set ifaddr 172.16.0.1/0 212.0.0.0/0 0 0
+ add! default hisaddr
+
+ set mru 1504 # Some extra room for the MP header
+
+ set server /tmp/ppp-TA "" 0177 # The diagnostic port (-rw-------)
+
+
# Example segments
#
# The following lines may be included as part of your configuration
OpenPOWER on IntegriCloud