Lines Matching +full:modem +full:- +full:control +full:- +full:line +full:- +full:ports

23 #  This section is *not* pre-loaded by the ``load'' or ``dial'' commands.
25 # This is the best place to specify your modem device, its DTR rate,
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:
61 # This entry also works with static IP numbers or when not in -auto mode.
62 # The ``add'' line adds a `sticky' default route that will be updated if
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.
67 # Finally, the ``enable dns'' line tells ppp to ask the peer for the
80 set login "ABORT NO\\sCARRIER TIMEOUT 5 ogin:--ogin: ppp word: ppp"
86 # If you want to use PAP or CHAP instead of using a unix-style login
106 # # ppp -auto ondemand
114 set login "ABORT NO\\sCARRIER TIMEOUT 5 ogin:--ogin: ppp word: ppp"
120 # An on-demand dialup example using an external Terminal Adapter (TA)
121 # that supports multi-link ppp itself.
139 OK-AT-OK ATB40&J3E1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
158 set server /var/run/ppp/ppp-TA "" 0177 # The diagnostic port (-rw-------)
168 # Multi-phone example. Numbers separated by a : are used sequentially.
175 # Some phone numbers may include # characters - don't forget to escape
180 # Ppp can accept control instructions from the ``pppctl'' program.
181 # First, you must set up your control socket. It's safest to use
186 # Although a TCP port may be used if you want to allow control
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
292 # Once the line's up, allow these connections
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
317 set device /dev/cuau1 # Define modem device and speed
324 TIMEOUT 5 \"\" ATZ OK-ATZ-OK \
328 gin:--gin: \\U word: \\P"
331 # Inactivity is defined by the `set filter alive' line below
334 # Hard-code remote system to appear within local subnet and use proxy arp
343 # private TCP ports 24 and 4000
370 # And new connections to http, rlogin, rsh, telnet, ftp and ports
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:
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:
479 set login "ABORT NO\\sCARRIER TIMEOUT 5 ogin:--ogin: ppp word: ppp HELLO"
484 direct-server:
494 # Compuserve insists on 7 bits even parity during the chat phase. Modem
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:
555 # Requires a line in /etc/services:
558 # and a line in /etc/inetd.conf:
559 # ppploop stream tcp nowait root /usr/sbin/ppp ppp -direct inet-loop-in
561 inet-loop:
570 inet-loop-in:
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.
622 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATZ OK-ATZ-OK \
625 set login "TIMEOUT 5 ogin:--ogin: ppp word: ppp TIMEOUT 15 DIALBACK \
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:
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.
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:
786 set ifaddr 10.0.10.1/0 10.0.1.1-10.0.9.255