Mention that ppp.conf.isdn isn't appropriate for external TAs
Add a section to ppp.conf.sample that is. MFC after: 3 weeks
This commit is contained in:
parent
0ec59619a5
commit
fa8c1aaabc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=77171
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user