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

31 .Nd Point to Point Protocol (a.k.a. user-ppp)
99 .Bl -tag -width XXX -offset XXX
119 must be given on the command line (see below) and a
141 exits with a non-zero result.
148 This is useful if you wish to control
158 line and uses descriptor 0 as the link.
161 .Dq force-scripts
176 As pipes are not bi-directional, ppp will redirect all writes to descriptor
186 .Dq force-scripts
195 This is a no-op, and gives the same behaviour as if none of the above
198 loads any sections specified on the command line then provides an
205 may also be specified on the command line.
211 at startup, followed by each of the systems specified on the command line.
213 .Bl -diag
231 .It Supports on-demand dialup capability.
243 mode (direct-dial mode) also automatically dials and establishes the
248 This mode is useful for full-time connections where we worry less
249 about line charges and more about being connected full time.
255 will never voluntarily quit from dedicated mode - you must send it the
266 CallBack Control Protocol
267 .Pq Lk https://winprotocoldocs-bhdugrdyduf5h2e4.b02.azurefd.net/MS-CBCP/%5bMS-CBCP%5d.pdf .
275 UDP port numbers are NAT'd for outgoing packets and de-NAT'd for
285 .It Supports server-side PPP connections.
310 distributed database along with various per-user framed connection
377 .It "Supports IETF draft Predictor-1 (rfc 1978) and DEFLATE (rfc 1979) compression."
379 supports not only VJ-compression but also Predictor-1 and DEFLATE compression.
380 Normally, a modem has built-in compression (e.g., v42.bis) and the system
385 modem and also increases latency.
386 Unlike VJ-compression, Predictor-1 and DEFLATE compression pre-compresses
395 .It Supports Multi-link PPP (rfc 1990)
400 .It Supports MPPE (draft-ietf-pppext-mppe)
444 .Bl -bullet
470 .Bd -literal -offset indent
485 .Bd -literal -offset indent
530 .Bd -literal -offset indent
545 .Bd -literal -offset indent
550 Normally, hardware flow control (CTS/RTS) is used.
553 to certain PPP-capable terminal servers), this may result in
556 as it is waiting for the CTS (clear to send) signal - which will never
558 Thus, if you have a direct line and cannot seem to make a
563 description below too - you will probably need to
573 link-layer protocols (that is what
589 .Bd -literal -offset indent
594 .Bd -literal -offset indent
615 .Bd -literal -offset indent
630 .Bd -literal -offset indent
648 peer wants to use PAP or CHAP authentication instead of using Unix-style
652 .Bd -literal -offset indent
664 .Bd -literal -offset indent
683 .Bd -literal -offset indent
699 .Bd -literal -offset indent
701 * Modem related information is shown here *
705 * LCP (line control) related information is shown here *
725 .Bd -literal -offset indent
736 .Bd -literal -offset indent
765 Each line contains one comment, inclusion, label or command:
766 .Bl -bullet
768 A line starting with a
770 character is treated as a comment line.
773 An inclusion is a line beginning with the word
775 It must have one argument - the file to {include}.
785 A command line must contain a space or tab in the first column.
803 .Bd -literal -offset indent
818 .Dq ppp-in
836 .Bd -literal -offset indent
843 the command line or using the
866 .Bd -literal -offset indent
910 it was necessary to re-add routes such as the default route in the
927 non-interactively (such as from a
943 exits immediately with a non-zero exit code.
965 .Bd -literal -offset indent
966 # ppp -auto pmdemand
983 .Bd -literal -offset indent
1006 mode, the dialing action is performed any time the line is found
1016 .Oo - Ns Ar max Ns Oc Oc Ns
1020 .Bl -tag -width attempts -compact
1065 .Bd -literal -offset indent
1077 .Bd -literal -offset indent
1078 set redial 10+10-5.3 20
1108 .Bd -literal -offset indent
1114 to re-establish the connection
1120 .Bd -literal -offset indent
1153 .Bd -literal -offset indent
1176 .Bl -enum
1178 Make sure the modem and (optionally)
1181 .Bl -bullet -compact
1183 Use Hardware Handshake (CTS/RTS) for flow control.
1185 Modem should be set to NO echo back (ATE0) and NO results string (ATQ1).
1192 on the port where the modem is attached.
1204 .Dl # kill -HUP 1
1206 It is usually also necessary to train your modem to the same DTR speed
1208 .Bd -literal -offset indent
1230 .Bd -literal -offset indent
1232 exec /usr/sbin/ppp -direct incoming
1243 client-side
1258 .Bd -literal
1281 .Bl -enum
1288 .Bd -literal
1316 .Bd -literal
1351 This file contains one line per possible client, each line
1355 .Ar hisaddr Op Ar label Op Ar callback-number
1397 .Ar callback-number
1404 .Ar callback-number
1420 .Dl set device ui-gate:6669/tcp
1432 connection on the receiving machine (ui-gate).
1437 .Dl ppp-in 6669/tcp # Incoming PPP connections over TCP
1445 .Dl ppp-in stream tcp nowait root /usr/sbin/ppp ppp -direct ppp-in
1454 .Dq ppp-in .
1457 on ui-gate (the receiver) should contain the following:
1458 .Bd -literal -offset indent
1459 ppp-in:
1467 .Bd -literal -offset indent
1468 ppp-in:
1481 To enable PAP, add the following line:
1482 .Bd -literal -offset indent
1488 .Bd -literal -offset indent
1503 .Bd -literal -offset indent
1504 ui-gate:
1506 set device ui-gate:ppp-in/tcp
1515 .Bd -literal -offset indent
1516 ui-gate:
1523 .Bd -literal -offset indent
1528 We are assigning the address of 10.0.4.1 to ui-gate, and the address
1532 .Dl awfulhak # ppp -background ui-gate
1536 "route" on ui-gate to the 10.0.1.0/24 network.
1537 The networks are effectively bridged - the underlying TCP
1546 "guaranteed delivery" mechanisms in place - the underlying TCP
1549 link - probably TCP again.
1572 .Bd -literal -offset indent
1573 ui-gate:
1575 set device ui-gate:ppp-in/tcp
1576 add ui-gate x.x.x.x
1583 .Dq ui-gate
1594 .Bd -literal -offset indent
1615 command line option enables network address translation (a.k.a.\& packet
1623 host, and incoming packets are de-NAT'd so that they are routed
1674 .Bl -bullet
1680 .Ar rule-no
1694 .Bl -enum
1704 .Ar Rule-no
1711 .Ar rule-no ,
1778 meaning less-than, equal and greater-than respectively.
1818 .Ar filter-decapsulation
1822 .Dq set filter Ar name No -1
1834 .Bd -literal -offset indent
1842 .Bd -literal -offset indent
1859 Another trigger packet will cause it to attempt to re-establish the link.
1860 .Sh PREDICTOR-1 and DEFLATE COMPRESSION
1915 To control this IPCP behaviour, this implementation has the
1918 .Bd -ragged -offset indent
1960 .Bd -literal -offset indent
1966 .Bl -bullet -compact
1979 This is all fine when each side has a pre-determined IP address, however
1993 .Bl -bullet -compact
2014 When negotiating IPv6 addresses, no control is given to the user.
2018 .Bl -enum
2028 .Bd -ragged -offset indent
2033 Numbers after the first in a pipe-separated list are only used if the
2039 .Bd -literal -offset indent
2064 For example, if you have a bad telephone line or your provider is
2067 .Bd -literal -offset indent
2081 command is used to talk to your modem and establish a link with your
2083 .Bd -literal -offset indent
2085 ATZ OK-ATZ-OK ATDT\\\\T TIMEOUT 60 CONNECT"
2088 This modem "chat" string means:
2089 .Bl -bullet
2114 .Bd -literal -offset indent
2116 set login "TIMEOUT 15 login:-\\\\r-login: awfulhak \e
2121 .Bl -bullet
2164 to specify your serial line and speed, for example:
2165 .Bd -literal -offset indent
2177 serial ports found by
2187 if you have a modem capable of bit rates of 28800 or more.
2188 In general, the serial speed should be about four times the modem speed.
2193 .Bl -bullet
2219 .Bd -literal -offset indent
2224 If this is the case, add the line
2225 .Bd -literal -offset indent
2251 .Bd -literal -offset indent
2263 Ask your ISP to authenticate your nameserver address(es) with the line
2264 .Bd -literal -offset indent
2294 .Bl -tag -width XXXXXXXXX -offset XXX -compact
2303 Generate CBCP (CallBack Control Protocol) logs.
2315 Log commands executed either from the command line or any of the configuration
2354 Include the tun device on each log line.
2372 Multiple levels can be specified on a single command line.
2383 (i.e., only the un-maskable warning, error and alert output).
2390 .Sq -
2393 .Bd -literal -offset indent
2398 PPP ON awfulhak> set log +tcp/ip -warning
2416 .Bl -tag -width "USR2"
2434 to re-open any existing server socket, dropping all existing diagnostic
2443 can still be used to re-open the socket.
2445 .Sh MULTI-LINK PPP
2449 .Em MULTI-LINK PPP
2461 confusing lock-ups may result.
2473 Multi-link capabilities are enabled using the
2476 Once multi-link is enabled,
2478 will attempt to negotiate a multi-link connection with the peer.
2490 .Bl -enum
2494 command line.
2522 Some commands can still be used without specifying a link - resulting
2528 will show CCP configuration and statistics at the multi-link level, and
2535 .Bd -literal -offset indent
2542 OK-AT-OK \\\\dATDT\\\\T TIMEOUT 45 CONNECT"
2549 clone 1,2,3 # Create 3 new links - duplicates of the default
2556 to be up all the time, you can add the following line to the end of your
2558 .Bd -literal -offset indent
2563 .Bd -literal -offset indent
2569 line above, and specifying the following after the
2572 .Bd -literal -offset indent
2588 .Em MULTI-LINK
2604 capability), without needing to have initial control of the serial
2605 line.
2608 negotiates multi-link mode, it will pass its open link to any
2623 .Bl -tag -width 2n
2642 .Bl -tag -width 2n
2645 ACFComp stands for Address and Control Field Compression.
2647 field of 0xff (the All-Stations address) and a control field of
2661 The peer uses a one-way hash function to encrypt the
2685 implementations use "MS-CHAP" rather than MD5 when encrypting the
2687 MS-CHAP is a combination of MD4 and DES.
2691 to MS-CHAP authentication requests, but will never request them.
2695 compression will be used by the Compression Control Protocol (CCP).
2703 - a
2718 .Dq PPP Magna-link Variable Resource Compression
2767 This option allows control over whether we
2841 40-, 56- and 128-bits.
2849 combination of MD4, SHA-1 and DES to encrypt the challenge rather than using the
2861 CHAP type 0x80 for LANMan is also supported - see
2918 compression will be used by the Compression Control Protocol (CCP).
2930 sequence numbers when negotiating multi-link mode.
2931 This is only applicable if our MRRU is set (thus enabling multi-link).
2939 .Bl -tag -width 2n
2967 .It filter-decapsulation
2992 .It force-scripts
3003 exchanges low-level LCP, CCP and IPCP configuration traffic, the
3015 .It iface-alias
3039 .Sq iface-alias .
3044 to attempt to negotiate IP control protocol capabilities and if
3050 to attempt to negotiate IPv6 control protocol capabilities and if
3052 .It keep-session
3056 runs as a Multi-link server, a different
3107 .It NAS-IP-Address
3112 .Dq NAS-IP-Address
3117 .Dq NAS-IP-Address
3119 .Dq NAS-Identifier
3125 .Dq NAS-IP-Address
3128 .Dq NAS-IP-Address
3130 .Dq NAS-Identifier
3135 .Dq disable NAS-IP-Address .
3136 .It NAS-Identifier
3141 .Dq NAS-Identifier
3146 .Dq NAS-IP-Address
3148 .Dq NAS-Identifier
3213 Each time these variables change, this list is re-applied to the routing table.
3215 Disabling this option will prevent the re-application of sticky routes,
3335 It is possible to allow user-level access,
3350 .Bl -tag -width 2n
3404 When running in multi-link mode, a section can be loaded if it allows
3406 of the currently existing line modes.
3409 This command allows the control of the network address translation (also
3419 .Bl -tag -width 2n
3424 command line flag is synonymous with
3461 .No - Ns Ar targetPort
3464 .No - Ns Ar aliasPort
3468 .No - Ns Ar remotePort
3496 or a range of ports the same size as the other ranges.
3583 When enabled, UDP packets use endpoint-independent mapping (EIM) from RFC 4787
3595 When disabled, UDP packets use endpoint-dependent mapping (EDM) ("symmetric"
3598 external addresses:ports is mapped to a random and unpredictable NAT
3601 by port forwarding on the NAT, or tunnelling through an in-between server.
3621 .Bl -tag -width COMPILATIONDATE
3677 command line, via the
3711 Normally, this variable is assigned only in -direct mode.
3780 it will re-enter the STOPPED state, waiting for the peer to initiate
3800 all non-direct entries in the routing table for the current interface,
3862 This command is used to control the interface used by
3866 .Bl -tag -width 2n
3889 is used - in which case the previous interface address entry is overwritten
3943 .It iface help Op Ar sub-command
3945 .Ar sub-command ,
3948 sub-commands and a brief synopsis for each.
3950 .Ar sub-command ,
3951 only the synopsis for the given sub-command is shown.
3959 This is only applicable after multiple links have been created in Multi-link
4012 .Ar demand-dial
4013 links - these will come up based on the
4038 It is probably not good practice to re-open the PPP state machines
4053 command line.
4077 It is only really useful in multi-link mode.
4091 .Sq modem ,
4108 .Bl -tag -width readonly
4193 .Bl -tag -width 2n
4194 .It set accmap Ar hex-value
4195 ACCMap stands for Asynchronous Control Character Map.
4251 .Bl -bullet
4262 .Bl -bullet
4290 .Ar min-percent max-percent period
4292 These settings apply only in multi-link mode and default to zero, zero and
4295 .Ar demand-dial
4302 .Ar demand-dial
4304 .Ar max-percent
4309 .Ar min-percent
4313 .Ar demand-dial
4320 .Ar demand-dial
4357 will accept any of the given protocols - but the client
4367 .Bl -tag -width Ds
4377 Microsoft's callback control protocol is used.
4426 If no arguments are given, CBCP (Microsoft's CallBack Control Protocol)
4427 is disabled - ie, configuring CBCP in the
4459 .Bl -tag -width XXX -offset XXX
4467 NULL-modem cables), logs the fact and stops checking
4551 packets in multi-link mode), then stops reading the network interface
4560 This sets hardware flow control.
4561 Hardware flow control is
4564 .It set deflate Ar out-winsize Op Ar in-winsize
4568 .Ar out-winsize
4570 .Ar in-winsize
4576 .Ar in-winsize
4590 .It set device|line Xo
4692 .It set dial Ar chat-script
4705 .Bl -tag -width 2n
4747 .Bd -literal -offset indent
4771 .Bd -literal -offset indent
4772 set login "TIMEOUT 5 \\"\\" \\"\\" login:--login: ppp \e
4773 word: ppp \\"!sh \\\\-c \\\\\\"echo \\\\-n label: >&2\\\\\\"\\" \e
4780 .Bd -literal -offset indent
4785 Chat: Expecting: login:--login:
4791 Chat: Expecting: !sh \\-c "echo \\-n label: >&2"
4792 Chat: Exec: sh -c "echo -n label: >&2"
4793 Chat: Wait for (5): !sh \\-c "echo \\-n label: >&2" --> label:
4804 The first parses the original line, reading it as three arguments.
4810 an expect-send-expect sequence.
4818 As we wish to send the output back to the modem, in the first example
4822 which is attached directly to the modem.
4844 .Bl -tag -width indent
4895 .It set filter dial|alive|in|out Ar rule-no Xo
4896 .No permit|deny|clear\&| Ns Ar rule-no
4913 filter specifies packets that keep the connection alive - resetting the
4934 .Ar rule-no
4960 .It set hangup Ar chat-script
4997 .Bd -ragged -offset indent
5004 .Dl set ifaddr 10.0.0.1 10.0.1.2-10.0.1.10,10.0.1.20
5015 to re-establish a link using the same IP number as was previously
5043 line in the config file.
5068 This queue limit is necessary to flow control outgoing data as the tunnel
5136 .Op +|- Ns
5141 .It set login Ar chat-script
5143 .Ar chat-script
5144 compliments the dial-script.
5148 .It set logout Ar chat-script
5174 This is normally only useful in multi-link mode,
5175 but may also be used in uni-link mode.
5185 .Dq enable iface-alias
5217 encryption dictionary is re-initialised with every packet according to
5220 the encryption dictionary is re-initialised every 256 packets or after
5225 Setting this option enables Multi-link PPP negotiations, also known as
5226 Multi-link Protocol or MP.
5228 If no argument is given, multi-link mode is disabled.
5307 will always initiate LCP/IPCP/CCP negotiation one second after the line
5317 This allows the line parity to be set.
5333 the reason the line was dropped.
5371 .It set radius Op Ar config-file
5373 .Ar config-file
5394 .Bl -tag -width XXX -offset XXX
5452 .Dq 1.2.3.4/24 0.0.0.0 1 2 -1 3 400
5534 vendor specific attribute is supplied and if MS-CHAPv2 authentication is
5581 to a non-zero
5592 NAS-Port-Id.
5596 .Bl -tag -width Ds
5609 Should the line drop unexpectedly (due to loss of CD or LQR
5610 failure), a connection will be re-established after the given
5612 The line will be re-connected at most
5630 .Oo - Ns Ar max Ns Oc Oc Ns
5707 to attempt to re-open the port.
5812 .Oo Op +|- Ns
5816 This command controls the ports that
5819 The default priority TCP ports
5820 are ports 21 (ftp control), 22 (ssh), 23 (telnet), 513 (login), 514 (shell),
5822 There are no priority UDP ports by default.
5909 .Bl -tag -width 2n
5952 Show Multi-link information.
5976 .Bl -bullet
5991 .Bl -bullet -compact
5993 https://docs.freebsd.org/en/books/handbook/ppp-and-slip/
6007 .Bl -tag -width 2n
6048 .It Pa /var/run/ppp-authname-class-value
6049 In multi-link mode, local domain sockets are created using the peer
6101 .An Toshiharu OHNO Aq Mt tony-o@iij.ad.jp ,
6116 in early 1998 when multi-link ppp support was added.