Deleted Added
full compact
pppoed.8 (53609) pppoed.8 (66602)
1.\"-
2.\" Copyright (c) 1999 Brian Somers <brian@Awfulhak.org>
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

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

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

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

18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24.\" SUCH DAMAGE.
25.\"
26.\" $FreeBSD: head/libexec/pppoed/pppoed.8 53609 1999-11-23 00:21:20Z brian $
26.\" $FreeBSD: head/libexec/pppoed/pppoed.8 66602 2000-10-03 20:41:00Z brian $
27.\"
28.Dd November 8, 1999
29.Dt PPPOED 8
30.Os FreeBSD
31.Sh NAME
32.Nm pppoed
33.Nd handle incoming PPP over Ethernet connections
34.Sh SYNOPSIS
35.Nm pppoed
36.Op Fl Fd
37.Op Fl P Ar pidfile
38.Op Fl a Ar name
39.Op Fl e Ar exec
27.\"
28.Dd November 8, 1999
29.Dt PPPOED 8
30.Os FreeBSD
31.Sh NAME
32.Nm pppoed
33.Nd handle incoming PPP over Ethernet connections
34.Sh SYNOPSIS
35.Nm pppoed
36.Op Fl Fd
37.Op Fl P Ar pidfile
38.Op Fl a Ar name
39.Op Fl e Ar exec
40.Op Fl n Ar ngdebug
40.Op Fl p Ar provider
41.Ar interface
42.Sh DESCRIPTION
43The
44.Nm
45program listens to the given
46.Ar interface
47for PPP over Ethernet (PPPoE) service request packets, and actions them

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

116.Nm
117stays in the foreground.
118.Pp
119If the
120.Fl d
121flag is given, additional diagnostics are provided (see the
122.Sx DIAGNOSTICS
123section below).
41.Op Fl p Ar provider
42.Ar interface
43.Sh DESCRIPTION
44The
45.Nm
46program listens to the given
47.Ar interface
48for PPP over Ethernet (PPPoE) service request packets, and actions them

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

117.Nm
118stays in the foreground.
119.Pp
120If the
121.Fl d
122flag is given, additional diagnostics are provided (see the
123.Sx DIAGNOSTICS
124section below).
125If the
126.Fl n
127flag is given,
128.Fn NgSetDebug
129is called with an argument of
130.Ar ngdebug .
124.Pp
125If
126.Ar pidfile
127is given,
128.Nm
129will write its process ID to this file on startup.
130.Sh DIAGNOSTICS
131After creating the necessary

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

137to report all incoming connections. If the
138.Fl d
139flag is given,
140.Nm
141will report on the child processes creation of a new netgraph socket, it's
142service offer and the invocation of the
143.Em PPP
144program.
131.Pp
132If
133.Ar pidfile
134is given,
135.Nm
136will write its process ID to this file on startup.
137.Sh DIAGNOSTICS
138After creating the necessary

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

144to report all incoming connections. If the
145.Fl d
146flag is given,
147.Nm
148will report on the child processes creation of a new netgraph socket, it's
149service offer and the invocation of the
150.Em PPP
151program.
152If the
153.Fl n
154option is given, netgraph diagnostic messages are also redirected to
155.Xr syslogd 8 .
145.Pp
146It is sometimes useful to add the following to
147.Pa /etc/syslog.conf :
148.Pp
149.Dl !pppoed
150.Dl *.* /var/log/pppoed.log
151.Pp
152and the following to
153.Pa /etc/newsyslog.conf :
154.Pp
155.Dl /var/log/pppoed.log 640 3 100 * Z
156.Pp
157.Sh SEE ALSO
156.Pp
157It is sometimes useful to add the following to
158.Pa /etc/syslog.conf :
159.Pp
160.Dl !pppoed
161.Dl *.* /var/log/pppoed.log
162.Pp
163and the following to
164.Pa /etc/newsyslog.conf :
165.Pp
166.Dl /var/log/pppoed.log 640 3 100 * Z
167.Pp
168.Sh SEE ALSO
169.Xr NgSetDebug 3 ,
158.Xr netgraph 4 ,
159.Xr syslog.conf 5 ,
170.Xr netgraph 4 ,
171.Xr syslog.conf 5 ,
172.Xr ng_ether 8 ,
160.Xr ng_pppoe 8 ,
161.Xr ng_socket 8 ,
162.Xr ppp 8 ,
163.Xr syslogd 8
164.Sh BUGS
165If another netgraph node is using the given interface,
166.Nm
167will fail to start. This is because
168.Xr netgraph 4
169does not currently allow node chaining. This may change in the future.
170.Sh HISTORY
171The
172.Nm
173program was written by
174.An Brian Somers Aq brian@Awfulhak.org
175and first appeared in
176.Fx 3.4 .
173.Xr ng_pppoe 8 ,
174.Xr ng_socket 8 ,
175.Xr ppp 8 ,
176.Xr syslogd 8
177.Sh BUGS
178If another netgraph node is using the given interface,
179.Nm
180will fail to start. This is because
181.Xr netgraph 4
182does not currently allow node chaining. This may change in the future.
183.Sh HISTORY
184The
185.Nm
186program was written by
187.An Brian Somers Aq brian@Awfulhak.org
188and first appeared in
189.Fx 3.4 .