PPPoE device type commands

Mpd 3.18 User Manual : Device Types : PPPoE device type commands
Previous: PPTP setup hints
Next: Chat Scripting

## 5.6. PPPoE device type commands

This chapter describes commands that are specific to PPPoE type links. These commands apply to the currently active link, and are only valid if the currently active link has type pppoe.

Your kernel must be compiled with ``options NETGRAPH'' to netgraph-enable the Ethernet interfaces (if your system is new enough to have the `/modules/ng_ether.ko` KLD installed, then this is no longer true; you only need load this KLD).

PPPoE requires two pieces of configuration information: the name of the Ethernet interface to use, and a service name, which should be supplied by your ISP. If you do not have a service name, then the empty string (the default) often suffices.

`set pppoe iface interface-name`

  Set the name of the Ethernet interface to use. PPPoE does not affect normal use of the interface.

`set pppoe service service-name`

  Sets the requested PPPoE service name. Setting service name to "*" on link with allowed incoming connections allows to accept incoming connection requests with any service name specified.

`set pppoe enable option ...`
`set pppoe disable option ...`

  Enable and disable PPPoE device type options for the link.

The following options are supported:

`originate`

  This option enables the initiation of PPPoE connections to the peer. If this option is disabled, mpd will not initiate any PPPoE connections.

`incoming`

  This option enables the acceptance of incoming PPPoE connections. If this option is disabled, mpd will not accept any incoming PPPoE connections. You must configure iface and service parameters before using this option.

Mpd 3.18 User Manual : Device Types : PPPoE device type commands
Previous: PPTP setup hints
Next: Chat Scripting