Lines Matching +full:config +full:- +full:complete +full:- +full:timeout +full:- +full:us
23 # This section is *not* pre-loaded by the ``load'' or ``dial'' commands.
33 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT \
34 OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
41 # is required by the server either using a unix-style login procedure
46 # use a unix-style login script:
48 # If the peer assigns us an arbitrary IP (most ISPs do this) and we
57 # The fourth arg to "set ifaddr" makes us send "0.0.0.0" as our requested
61 # This entry also works with static IP numbers or when not in -auto mode.
64 # The "set ifaddr" is required in -auto mode only.
65 # It's better to put the ``add'' line in ppp.linkup when not in -auto mode.
80 set login "ABORT NO\\sCARRIER TIMEOUT 5 ogin:--ogin: ppp word: ppp"
81 set timeout 120
86 # If you want to use PAP or CHAP instead of using a unix-style login
97 set timeout 120
106 # # ppp -auto ondemand
114 set login "ABORT NO\\sCARRIER TIMEOUT 5 ogin:--ogin: ppp word: ppp"
115 set timeout 120
120 # An on-demand dialup example using an external Terminal Adapter (TA)
121 # that supports multi-link ppp itself.
138 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATB41CL2048 \
139 OK-AT-OK ATB40&J3E1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
144 set timeout 60 300 # The minimum charge period is 5 minutes, so don't
158 set server /var/run/ppp/ppp-TA "" 0177 # The diagnostic port (-rw-------)
164 # section and aren't themselves complete. They're provided as examples
168 # Multi-phone example. Numbers separated by a : are used sequentially.
175 # Some phone numbers may include # characters - don't forget to escape
193 set login "\"!chat \\-f /etc/ppp/ppp.dev.chat\""
195 # If we have a ``strange'' modem that must be re-initialized when we
198 set hangup "\"\" AT OK-AT-OK ATZ OK"
202 set log -command +tcp/ip
236 # If we're using the -nat switch, redirect ftp and http to an internal
276 set filter alive 10 deny 0/0 MYADDR icmp # Ping to us from outside
300 set filter in 3 permit tcp src eq 20 dst gt 1023 # ftp-data
301 set filter out 3 permit tcp dst eq 20 # ftp-data
324 TIMEOUT 5 \"\" ATZ OK-ATZ-OK \
326 TIMEOUT 40 CONNECT"
327 set login "TIMEOUT 10 \"\" \"\" \ # And to login to remote system
328 gin:--gin: \\U word: \\P"
332 set timeout 900
334 # Hard-code remote system to appear within local subnet and use proxy arp
389 # Established TCP connections and non-PASV FTP
434 # with IP numbers 10.0.0.1 - 10.0.0.99, and we assign numbers to our
440 # # ppp -direct server
445 set ifaddr 10.0.0.1 10.0.0.100-10.0.0.199
456 radius-server:
457 load server # load in the server config from above
461 # Example to connect using a null-modem cable:
463 # Without them enabled, we can't tell if the line's dropped - there
470 # lqrperiod interval (ppp-style-pings).
472 direct-client:
476 set timeout 900
479 set login "ABORT NO\\sCARRIER TIMEOUT 5 ogin:--ogin: ppp word: ppp HELLO"
484 direct-server:
485 set timeout 0
500 set login "TIMEOUT 100 \"\" \"\" Name: CIS ID: 999999,9999/go:pppconnect \
502 set timeout 300
510 # configured to run "ppp -direct tcp-server" when it gets a connection on
513 # ppp stream tcp nowait root /usr/sbin/ppp ppp -direct tcp-server
521 # Note, we assume we're using a binary-clean connection. If something
524 tcp-client:
530 tcp-server:
536 # ppp dgram udp wait root /usr/sbin/ppp ppp -direct udp-server
542 udp-client:
548 udp-server:
559 # ppploop stream tcp nowait root /usr/sbin/ppp ppp -direct inet-loop-in
561 inet-loop:
562 set timeout 0
570 inet-loop-in:
571 set timeout 0
579 # You should already have set up ssh using ssh-agent & ssh-add.
582 load inet-loop
585 set device "!ssh whatevermachine /usr/sbin/ppp -direct inet-loop-in"
591 vpn-client:
601 vpn-server:
609 # Example of non-PPP callback.
612 # ppp doesn't look for carrier 'till `set login' is complete:
622 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATZ OK-ATZ-OK \
623 ATDT\\T TIMEOUT 60 CONNECT"
625 set login "TIMEOUT 5 ogin:--ogin: ppp word: ppp TIMEOUT 15 DIALBACK \
626 \"\" NO\\sCARRIER \"\" TIMEOUT 60 RING ATA CONNECT"
630 # happy either with ``auth'' style callback where the server dials us
640 load pmdemand # load in the pmdemand config
647 callback-server:
655 set dial "TIMEOUT 10 \"\" AT OK-AT-OK ATDT\\T CONNECT"
660 callback-server-client-decides:
661 load callback-server
665 # To enable multi-link capabilities, you must specify a MRRU. 1500 is
671 # It's worth increasing your MTU and MRU slightly in multi-link mode to
690 mloop-in:
691 set timeout 0 # No idle timer
701 # prompt to a known user. The ``chap-auth'' program is supplied
706 set authkey !/usr/share/examples/ppp/chap-auth
718 set login "ABORT NO\\sCARRIER TIMEOUT 15 \"\" \"\" name:--name: \\U \
719 code: \"!/usr/share/examples/ppp/login-auth -display keep:0.0 \
732 set device PPPoE:de0:pppoe-in
741 # /usr/libexec/pppoed -p pppoe-in fxp0
745 pppoe-in:
746 allow mode direct # Only for use on server-side
747 enable lqr echo proxy # Enable LQR and proxy-arp
749 set ifaddr 10.0.0.1 10.0.0.100-10.0.0.199 # Hand out up to 100 IP numbers
752 # It's possible to run ppp back-to-back with itself. This is useful
768 # while [ $n -lt 1000 ]; do ppp -b loop; n=$(($n + 1)); done
770 # If you want to test concurrency, try using ``ppp -dd loop'' instead.
773 set timeout 0
775 set device "!ppp -direct loop-in"
778 set ifaddr 10.0.1.1/0 10.0.10.1-10.0.19.255
782 loop-in:
783 set timeout 0
786 set ifaddr 10.0.10.1/0 10.0.1.1-10.0.9.255