Deleted Added
full compact
ng_pppoe.4 (162392) ng_pppoe.4 (162404)
1.\" Copyright (c) 1996-1999 Whistle Communications, Inc.
2.\" All rights reserved.
3.\"
4.\" Subject to the following obligations and disclaimer of warranty, use and
5.\" redistribution of this software, in source or object code forms, with or
6.\" without modifications are expressly permitted by Whistle Communications;
7.\" provided, however, that:
8.\" 1. Any and all reproductions of the source or object code must include the

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

27.\" SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY
28.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
30.\" THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY
31.\" OF SUCH DAMAGE.
32.\"
33.\" Author: Archie Cobbs <archie@FreeBSD.org>
34.\"
1.\" Copyright (c) 1996-1999 Whistle Communications, Inc.
2.\" All rights reserved.
3.\"
4.\" Subject to the following obligations and disclaimer of warranty, use and
5.\" redistribution of this software, in source or object code forms, with or
6.\" without modifications are expressly permitted by Whistle Communications;
7.\" provided, however, that:
8.\" 1. Any and all reproductions of the source or object code must include the

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

27.\" SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY
28.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
30.\" THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY
31.\" OF SUCH DAMAGE.
32.\"
33.\" Author: Archie Cobbs <archie@FreeBSD.org>
34.\"
35.\" $FreeBSD: head/share/man/man4/ng_pppoe.4 162392 2006-09-18 11:04:08Z maxim $
35.\" $FreeBSD: head/share/man/man4/ng_pppoe.4 162404 2006-09-18 15:24:20Z ru $
36.\" $Whistle: ng_pppoe.8,v 1.1 1999/01/25 23:46:27 archie Exp $
37.\"
38.Dd August 9, 2006
39.Dt NG_PPPOE 4
40.Os
41.Sh NAME
42.Nm ng_pppoe
43.Nd RFC 2516 PPPoE protocol netgraph node type

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

189.Ed
190.Bl -tag -width 3n
191.It Dv NGM_PPPOE_GETMODE
192This command returns the current compatibility mode of the node
193as a string.
194.Tn ASCII
195form of this message is
196.Qq Li pppoe_getmode .
36.\" $Whistle: ng_pppoe.8,v 1.1 1999/01/25 23:46:27 archie Exp $
37.\"
38.Dd August 9, 2006
39.Dt NG_PPPOE 4
40.Os
41.Sh NAME
42.Nm ng_pppoe
43.Nd RFC 2516 PPPoE protocol netgraph node type

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

189.Ed
190.Bl -tag -width 3n
191.It Dv NGM_PPPOE_GETMODE
192This command returns the current compatibility mode of the node
193as a string.
194.Tn ASCII
195form of this message is
196.Qq Li pppoe_getmode .
197The following keywords are can be returned:
197The following keywords can be returned:
198.Bl -tag -width 3n
199.It Qq standard
200The node operates according to RFC 2516.
201.It Qq 3Com
202When
203.Nm
204is a PPPoE client, it initiates a session encapsulating packets into
205incorrect 3Com ethertypes.

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

213.Nm
214is a PPPoE server serving only specific Service-Name(s), it will respond
215to a PADI requests with empty Service-Name tag, returning all available
216Service-Name(s) on node.
217This option is necessary for compatibility with D-Link DI-614+ and DI-624+
218SOHO routers as clients, when serving only specific Service-Name.
219This compatibility option does not affect client mode.
220.El
198.Bl -tag -width 3n
199.It Qq standard
200The node operates according to RFC 2516.
201.It Qq 3Com
202When
203.Nm
204is a PPPoE client, it initiates a session encapsulating packets into
205incorrect 3Com ethertypes.

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

213.Nm
214is a PPPoE server serving only specific Service-Name(s), it will respond
215to a PADI requests with empty Service-Name tag, returning all available
216Service-Name(s) on node.
217This option is necessary for compatibility with D-Link DI-614+ and DI-624+
218SOHO routers as clients, when serving only specific Service-Name.
219This compatibility option does not affect client mode.
220.El
221.Pp
222.It Dv NGM_PPPOE_SETMODE
223Configure node to the specified mode.
224The string argument is required.
221.It Dv NGM_PPPOE_SETMODE
222Configure node to the specified mode.
223The string argument is required.
225This command understands same keywords, that are returned by
224This command understands the same keywords that are returned by the
226.Dv NGM_PPPOE_GETMODE
227command.
228.Tn ASCII
229form of this message is
230.Qq Li pppoe_setmode .
231For example, the following command will configure the node to initiate
232the next session in the proprietary 3Com mode:
225.Dv NGM_PPPOE_GETMODE
226command.
227.Tn ASCII
228form of this message is
229.Qq Li pppoe_setmode .
230For example, the following command will configure the node to initiate
231the next session in the proprietary 3Com mode:
233.Pp
234.Bd -literal -offset indent
235ngctl msg fxp0:orphans pppoe_setmode '"3Com"'
236.Ed
237.It Dv NGM_PPPOE_SETENADDR
238Set the node Ethernet address for outgoing datagrams.
239This message is important when a node has failed to obtain an Ethernet
240address from its peer on the
241.Dv ethernet

--- 265 unchanged lines hidden ---
232.Bd -literal -offset indent
233ngctl msg fxp0:orphans pppoe_setmode '"3Com"'
234.Ed
235.It Dv NGM_PPPOE_SETENADDR
236Set the node Ethernet address for outgoing datagrams.
237This message is important when a node has failed to obtain an Ethernet
238address from its peer on the
239.Dv ethernet

--- 265 unchanged lines hidden ---