Some fixes from jmc@openbsd.
This commit is contained in:
parent
d2773f76b5
commit
6db487450e
@ -1,4 +1,4 @@
|
|||||||
.\" $NetBSD: pppoe.4,v 1.26 2003/10/02 07:06:36 wiz Exp $
|
.\" $NetBSD: pppoe.4,v 1.27 2004/12/05 13:17:35 wiz Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 2002 The NetBSD Foundation, Inc.
|
.\" Copyright (c) 2002 The NetBSD Foundation, Inc.
|
||||||
.\" All rights reserved.
|
.\" All rights reserved.
|
||||||
@ -78,7 +78,8 @@ mode, selected by setting
|
|||||||
.Em link1 ,
|
.Em link1 ,
|
||||||
only establishes a connection when data is being sent to the interface.
|
only establishes a connection when data is being sent to the interface.
|
||||||
.Pp
|
.Pp
|
||||||
If the kernel is compiled with options PPPOE_SERVER,
|
If the kernel is compiled with options
|
||||||
|
.Dv PPPOE_SERVER ,
|
||||||
there are two modes of connection, controlled via the
|
there are two modes of connection, controlled via the
|
||||||
.Em link0
|
.Em link0
|
||||||
switch.
|
switch.
|
||||||
@ -262,30 +263,26 @@ Under special circumstances
|
|||||||
.Nm
|
.Nm
|
||||||
driver can be told to kill all unknown
|
driver can be told to kill all unknown
|
||||||
.Nm PPPoE
|
.Nm PPPoE
|
||||||
sessions received by the ethernet interface used for a configured
|
sessions received by the Ethernet interface used for a configured
|
||||||
.Nm
|
.Nm
|
||||||
interface.
|
interface.
|
||||||
To do this, add
|
To do this, add the following to your kernel config file:
|
||||||
.Pp
|
.Pp
|
||||||
.Nm options
|
.Dl options PPPOE_TERM_UNKNOWN_SESSIONS
|
||||||
.Ar PPPOE_TERM_UNKNOWN_SESSIONS
|
|
||||||
.Pp
|
|
||||||
to your kernel config file.
|
|
||||||
.Pp
|
.Pp
|
||||||
Note that this will break all userland
|
Note that this will break all userland
|
||||||
.Nm PPPoE
|
.Nm PPPoE
|
||||||
implementations using the same ethernet interface!
|
implementations using the same Ethernet interface!
|
||||||
.Pp
|
.Pp
|
||||||
This option is only useful if you have a static IP address assigned and
|
This option is only useful if you have a static IP address assigned and
|
||||||
your ISP does not use LCP echo requests to monitor the link status.
|
your ISP does not use LCP echo requests to monitor the link status.
|
||||||
After a crash or power failure the peer device still tries to send data to
|
After a crash or power failure the peer device still tries to send data to
|
||||||
the no longer active session on your computer, and might refuse to
|
the no longer active session on your computer, and might refuse to
|
||||||
reestablish a new connection, because there already is an open session.
|
reestablish a new connection, because there already is an open session.
|
||||||
On receipt of such packets the
|
On receipt of such packets, the
|
||||||
.Nm
|
.Nm
|
||||||
driver with this option set will send a
|
driver with this option set will send a PADT packet (request to
|
||||||
.Nm PADT
|
terminate the session).
|
||||||
packet (request to terminate the session).
|
|
||||||
The peer will immediately disconnect
|
The peer will immediately disconnect
|
||||||
the orphaned session and allow a new one to be established.
|
the orphaned session and allow a new one to be established.
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
@ -294,8 +291,8 @@ the orphaned session and allow a new one to be established.
|
|||||||
.Rs
|
.Rs
|
||||||
.%R RFC
|
.%R RFC
|
||||||
.%N 2516
|
.%N 2516
|
||||||
.%D February 1999
|
|
||||||
.%T "A Method for Transmitting PPP Over Ethernet (PPPoE)"
|
.%T "A Method for Transmitting PPP Over Ethernet (PPPoE)"
|
||||||
|
.%D February 1999
|
||||||
.Re
|
.Re
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
|
Loading…
Reference in New Issue
Block a user