Deleted Added
full compact
ppp.8 (169987) ppp.8 (179315)
1changequote({,})dnl
2changecom(,)dnl
3.\"
4.\" Copyright (c) 2001 Brian Somers <brian@Awfulhak.org>
5.\" All rights reserved.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

--- 11 unchanged lines hidden (view full) ---

20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
1changequote({,})dnl
2changecom(,)dnl
3.\"
4.\" Copyright (c) 2001 Brian Somers <brian@Awfulhak.org>
5.\" All rights reserved.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

--- 11 unchanged lines hidden (view full) ---

20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" $FreeBSD: head/usr.sbin/ppp/ppp.8.m4 169987 2007-05-25 16:05:17Z brueffer $
28.\" $FreeBSD: head/usr.sbin/ppp/ppp.8.m4 179315 2008-05-26 10:40:09Z bz $
29.\"
30.Dd May 24, 2007
31.Dt PPP 8
32.Os
33.Sh NAME
34.Nm ppp
35.Nd Point to Point Protocol (a.k.a. user-ppp)
36.Sh SYNOPSIS

--- 302 unchanged lines hidden (view full) ---

339.Op / Ns tcp|udp ,
340.Xc
341.Nm
342will open a TCP or UDP connection for transporting data rather than using a
343conventional serial device.
344UDP connections force
345.Nm
346into synchronous mode.
29.\"
30.Dd May 24, 2007
31.Dt PPP 8
32.Os
33.Sh NAME
34.Nm ppp
35.Nd Point to Point Protocol (a.k.a. user-ppp)
36.Sh SYNOPSIS

--- 302 unchanged lines hidden (view full) ---

339.Op / Ns tcp|udp ,
340.Xc
341.Nm
342will open a TCP or UDP connection for transporting data rather than using a
343conventional serial device.
344UDP connections force
345.Nm
346into synchronous mode.
347.It Supports PPP over ISDN.
348If
349.Nm
350is given a raw B-channel i4b device to open as a link, it is able to talk
351to the
352.Xr isdnd 8
353daemon to establish an ISDN connection.
354.It Supports PPP over Ethernet (rfc 2516).
355If
356.Nm
357is given a device specification of the format
358.No PPPoE: Ns Ar iface Ns Xo
359.Op \&: Ns Ar provider Ns
360.Xc
361and if

--- 4089 unchanged lines hidden (view full) ---

4451assumes that this is because the device does not support carrier (which
4452is true for most
4453.Dq laplink
4454NULL-modem cables), logs the fact and stops checking
4455for carrier.
4456.Pp
4457As ptys do not support the TIOCMGET ioctl, the tty device will switch all
4458carrier detection off when it detects that the device is a pty.
347.It Supports PPP over Ethernet (rfc 2516).
348If
349.Nm
350is given a device specification of the format
351.No PPPoE: Ns Ar iface Ns Xo
352.Op \&: Ns Ar provider Ns
353.Xc
354and if

--- 4089 unchanged lines hidden (view full) ---

4444assumes that this is because the device does not support carrier (which
4445is true for most
4446.Dq laplink
4447NULL-modem cables), logs the fact and stops checking
4448for carrier.
4449.Pp
4450As ptys do not support the TIOCMGET ioctl, the tty device will switch all
4451carrier detection off when it detects that the device is a pty.
4459.It ISDN (i4b) Devices
4460Carrier is checked once per second for 6 seconds.
4461If it is not set after
4462the sixth second, the connection attempt is considered to have failed and
4463the device is closed.
4464Carrier is always required for i4b devices.
4465.It PPPoE (netgraph) Devices
4466Carrier is checked once per second for 5 seconds.
4467If it is not set after
4468the fifth second, the connection attempt is considered to have failed and
4469the device is closed.
4470Carrier is always required for PPPoE devices.
4471.El
4472.Pp

--- 110 unchanged lines hidden (view full) ---

4583.It set device|line Xo
4584.Ar value Ns No ...
4585.Xc
4586This sets the device(s) to which
4587.Nm
4588will talk to the given
4589.Dq value .
4590.Pp
4452.It PPPoE (netgraph) Devices
4453Carrier is checked once per second for 5 seconds.
4454If it is not set after
4455the fifth second, the connection attempt is considered to have failed and
4456the device is closed.
4457Carrier is always required for PPPoE devices.
4458.El
4459.Pp

--- 110 unchanged lines hidden (view full) ---

4570.It set device|line Xo
4571.Ar value Ns No ...
4572.Xc
4573This sets the device(s) to which
4574.Nm
4575will talk to the given
4576.Dq value .
4577.Pp
4591All ISDN and serial device names are expected to begin with
4578All serial device names are expected to begin with
4592.Pa /dev/ .
4579.Pa /dev/ .
4593ISDN devices are usually called
4594.Pa i4brbchX
4595and serial devices are usually called
4580Serial devices are usually called
4596.Pa cuaXX .
4597.Pp
4598If
4599.Dq value
4600does not begin with
4601.Pa /dev/ ,
4602it must either begin with an exclamation mark
4603.Pq Dq !\& ,

--- 1481 unchanged lines hidden (view full) ---

6085.Xr radius.conf 5 ,
6086.Xr resolv.conf 5 ,
6087.Xr syslog.conf 5 ,
6088.Xr adduser 8 ,
6089.Xr chat 8 ,
6090.Xr getty 8 ,
6091.Xr inetd 8 ,
6092.Xr init 8 ,
4581.Pa cuaXX .
4582.Pp
4583If
4584.Dq value
4585does not begin with
4586.Pa /dev/ ,
4587it must either begin with an exclamation mark
4588.Pq Dq !\& ,

--- 1481 unchanged lines hidden (view full) ---

6070.Xr radius.conf 5 ,
6071.Xr resolv.conf 5 ,
6072.Xr syslog.conf 5 ,
6073.Xr adduser 8 ,
6074.Xr chat 8 ,
6075.Xr getty 8 ,
6076.Xr inetd 8 ,
6077.Xr init 8 ,
6093.Xr isdnd 8 ,
6094.Xr named 8 ,
6095.Xr ping 8 ,
6096.Xr pppctl 8 ,
6097.Xr pppd 8 ,
6098.Xr pppoed 8 ,
6099.Xr route 8 ,
6100.Xr sshd 8 ,
6101.Xr syslogd 8 ,

--- 20 unchanged lines hidden ---
6078.Xr named 8 ,
6079.Xr ping 8 ,
6080.Xr pppctl 8 ,
6081.Xr pppd 8 ,
6082.Xr pppoed 8 ,
6083.Xr route 8 ,
6084.Xr sshd 8 ,
6085.Xr syslogd 8 ,

--- 20 unchanged lines hidden ---