[Midnightbsd-cvs] src [11818] U trunk/share/examples/ppp: update descriptions

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Jul 12 19:55:57 EDT 2018


Revision: 11818
          http://svnweb.midnightbsd.org/src/?rev=11818
Author:   laffer1
Date:     2018-07-12 19:55:57 -0400 (Thu, 12 Jul 2018)
Log Message:
-----------
update descriptions

Modified Paths:
--------------
    trunk/share/examples/ppp/ppp.conf.sample
    trunk/share/examples/ppp/ppp.conf.span-isp
    trunk/share/examples/ppp/ppp.linkup.sample

Property Changed:
----------------
    trunk/share/examples/ppp/ppp.conf.sample
    trunk/share/examples/ppp/ppp.conf.span-isp
    trunk/share/examples/ppp/ppp.linkup.sample

Modified: trunk/share/examples/ppp/ppp.conf.sample
===================================================================
--- trunk/share/examples/ppp/ppp.conf.sample	2018-07-12 23:17:49 UTC (rev 11817)
+++ trunk/share/examples/ppp/ppp.conf.sample	2018-07-12 23:55:57 UTC (rev 11818)
@@ -4,8 +4,8 @@
 #
 #           Originally written by Toshiharu OHNO
 #
-# $FreeBSD: src/share/examples/ppp/ppp.conf.sample,v 1.35 2004/12/13 17:54:30 brian Exp $
-#
+# $FreeBSD: stable/10/share/examples/ppp/ppp.conf.sample 331513 2018-03-25 01:24:02Z sevan $
+# $MidnightBSD$
 #################################################################
 
 # This file is separated into sections.  Each section is named with
@@ -29,7 +29,7 @@
 #
 default:
  set log Phase Chat LCP IPCP CCP tun command
- set device /dev/cuad1
+ set device /dev/cuau1
  set speed 115200
  set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT \
            OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
@@ -145,7 +145,7 @@
  set timeout 60 300	# The minimum charge period is 5 minutes, so don't
 			# hangup before then
 
- set device /dev/cuad0	# Or whatever
+ set device /dev/cuau0	# Or whatever
  set speed 115200	# Use as high a speed as possible
 
  enable dns		# Ask the peer what to put in resolv.conf
@@ -315,7 +315,7 @@
 dodgynet:
     set log Phase                               # Log link uptime
     allow mode auto                             # For autoconnect only
-    set device /dev/cuad1                       # Define modem device and speed
+    set device /dev/cuau1                       # Define modem device and speed
     set speed 115200
     deny lqr                                    # Don't support LQR
     set phone 0W1194                            # Remote system phone number,
@@ -472,7 +472,7 @@
 #
 direct-client:
  set dial
- set device /dev/cuad0
+ set device /dev/cuau0
  set sp 115200
  set timeout 900
  set lqrperiod 10
@@ -523,7 +523,7 @@
 #  such as `rlogin' is involved, you may need to ``set escape 0xff''
 #
 tcp-client:
- set device tcpsrv.mynet:1234
+ set device tcpsrv.mynet:6671
  set dial
  set login
  set ifaddr 10.0.5.1 10.0.4.1 255.255.255.0
@@ -538,10 +538,10 @@
 #
 # and this in /etc/services:
 #
-#    ppp 6671/tcp
+#    ppp 6671/udp
 #
 udp-client:
- set device udpsrv.mynet:1234/udp
+ set device udpsrv.mynet:6671/udp
  set dial
  set login
  set ifaddr 10.0.5.1 10.0.4.1 255.255.255.0
@@ -651,7 +651,7 @@
  set cbcp
  set log +cbcp
  set redial 3 1
- set device /dev/cuad0
+ set device /dev/cuau0
  set speed 115200
  set dial "TIMEOUT 10 \"\" AT OK-AT-OK ATDT\\T CONNECT"
 
@@ -672,8 +672,6 @@
 #  It's worth increasing your MTU and MRU slightly in multi-link mode to
 #  prevent full packets from being fragmented.
 #
-#  See ppp.conf.isdn for an example of how to do multi-link isdn.
-#
 #  You can now ``dial'' specific links, or even dial all links at the
 #  same time.  The `dial' command may also be prefixed with a specific
 #  link that should do the dialing.
@@ -680,7 +678,7 @@
 #
 mloop:
  load loop
- set device /dev/cuad0 /dev/cuad1 /dev/cuad2   # Use any of these devices
+ set device /dev/cuau0 /dev/cuau1 /dev/cuau2   # Use any of these devices
  set mode interactive
  set mrru 1500
  set mru 1504                                  # Room for the MP header


Property changes on: trunk/share/examples/ppp/ppp.conf.sample
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/share/examples/ppp/ppp.conf.span-isp
===================================================================
--- trunk/share/examples/ppp/ppp.conf.span-isp	2018-07-12 23:17:49 UTC (rev 11817)
+++ trunk/share/examples/ppp/ppp.conf.span-isp	2018-07-12 23:55:57 UTC (rev 11818)
@@ -1,4 +1,4 @@
-# $FreeBSD: src/share/examples/ppp/ppp.conf.span-isp,v 1.7 2004/12/13 17:54:30 brian Exp $
+# $MidnightBSD$
 
 # This advanced ppp configuration file explains how to implement
 # the following:
@@ -104,7 +104,7 @@
 
 default:
   set speed 115200
-  set device /dev/cuad0 /dev/cuad1 /dev/cuad2 /dev/cuad3
+  set device /dev/cuau0 /dev/cuau1 /dev/cuau2 /dev/cuau3
   set dial "ABORT BUSY ABORT NO\\sCARRIER ABORT NO\\sDIAL\\sTONE TIMEOUT 4 \
             \"\" ATZ OK-ATZ-OK ATDT\\T TIMEOUT 60 CONNECT \\c \\n"
   set login


Property changes on: trunk/share/examples/ppp/ppp.conf.span-isp
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/share/examples/ppp/ppp.linkup.sample
===================================================================
--- trunk/share/examples/ppp/ppp.linkup.sample	2018-07-12 23:17:49 UTC (rev 11817)
+++ trunk/share/examples/ppp/ppp.linkup.sample	2018-07-12 23:55:57 UTC (rev 11818)
@@ -12,8 +12,8 @@
 #  3) If no label has been found, use MYADDR if it exists.
 #
 #
-# $FreeBSD: src/share/examples/ppp/ppp.linkup.sample,v 1.2 1999/08/28 00:19:31 peter Exp $
-#
+# $FreeBSD: stable/10/share/examples/ppp/ppp.linkup.sample 192799 2009-05-26 07:40:32Z brian $
+# $MidnightBSD$
 #########################################################################
 
 # It is no longer necessary to re-add the default route here as our
@@ -30,11 +30,16 @@
 192.244.176.32:
  add 192.244.176.0 0 HISADDR
 
-#You may want to execute a script after connecting.  This script can do
+# You may want to execute a script after connecting.  This script can do
 # nice things such as kick off "sendmail -q", "popclient my.isp" and
 # "slurp -d news".  It can be passed MYADDR, HISADDR and INTERFACE
 # as arguments too - useful for informing a DNS of your assigned IP.
 #
+# NOTE: It's vital that you use ``!bg'' rather than ``!'' if the program
+#       you're running will take some time or will require network
+#       connectivity.  Using ``!'' will delay ppp 'till the completion
+#       of the program being run!
+#
 # You may also want some sound effects....
 #
 pmdemand:


Property changes on: trunk/share/examples/ppp/ppp.linkup.sample
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list