summaryrefslogtreecommitdiffstats
path: root/libexec/pppoed/pppoed.8
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2000-10-03 20:41:00 +0000
committerbrian <brian@FreeBSD.org>2000-10-03 20:41:00 +0000
commit28012b0ee69c2295f38a032df9e266c503445c91 (patch)
treeb289475032d2a6707005f24d78e005125a1a1129 /libexec/pppoed/pppoed.8
parent619341766f13431cf1ad1bbed486967b84a17d64 (diff)
downloadFreeBSD-src-28012b0ee69c2295f38a032df9e266c503445c91.zip
FreeBSD-src-28012b0ee69c2295f38a032df9e266c503445c91.tar.gz
o Load netgraph.ko, ng_ether.ko and ng_pppoe.ko as required (I'm sure this
used not to be necessary). o Allow ``-n ngdebug'' to specify something to pass to NgSetDebug() and redirect NgSetDebug() output to syslog(8) in daemon() mode. o Xref ng_ether(8) and NgSetDebug(4). o Correct the type of the response passed to NgRecvData.
Diffstat (limited to 'libexec/pppoed/pppoed.8')
-rw-r--r--libexec/pppoed/pppoed.813
1 files changed, 13 insertions, 0 deletions
diff --git a/libexec/pppoed/pppoed.8 b/libexec/pppoed/pppoed.8
index 808c3dd..c00a744 100644
--- a/libexec/pppoed/pppoed.8
+++ b/libexec/pppoed/pppoed.8
@@ -37,6 +37,7 @@
.Op Fl P Ar pidfile
.Op Fl a Ar name
.Op Fl e Ar exec
+.Op Fl n Ar ngdebug
.Op Fl p Ar provider
.Ar interface
.Sh DESCRIPTION
@@ -121,6 +122,12 @@ If the
flag is given, additional diagnostics are provided (see the
.Sx DIAGNOSTICS
section below).
+If the
+.Fl n
+flag is given,
+.Fn NgSetDebug
+is called with an argument of
+.Ar ngdebug .
.Pp
If
.Ar pidfile
@@ -142,6 +149,10 @@ will report on the child processes creation of a new netgraph socket, it's
service offer and the invocation of the
.Em PPP
program.
+If the
+.Fl n
+option is given, netgraph diagnostic messages are also redirected to
+.Xr syslogd 8 .
.Pp
It is sometimes useful to add the following to
.Pa /etc/syslog.conf :
@@ -155,8 +166,10 @@ and the following to
.Dl /var/log/pppoed.log 640 3 100 * Z
.Pp
.Sh SEE ALSO
+.Xr NgSetDebug 3 ,
.Xr netgraph 4 ,
.Xr syslog.conf 5 ,
+.Xr ng_ether 8 ,
.Xr ng_pppoe 8 ,
.Xr ng_socket 8 ,
.Xr ppp 8 ,
OpenPOWER on IntegriCloud