PPPoE/v6 Administrator's Guide

Configuring PPPoE
Setting Up the Client
Chapter 3 33
Setting Up the Client
The pppoec daemon, on the client, discovers an access concentrator that
is able to offer services. It obtains a unique session ID from the chosen
access concentrator. Also, it forks a pppd daemon to perform session
stage functions as mentioned in RFC 2516.
To run pppoec, run one of the following commands on the command line:
pppoec -i interface-name
or
pppoec -i interface-name [-c config-file] [-d debug-level]
[-l log-file] [-r retry-time]
[-i interface-name] specifies the name of the network interface to be
used for the PPPoE session.
[-c config-file] specifies the name of the configuration file to be used
by pppoec. The default file is /etc/ppp/pppoec.conf.
[-d debug-level] specifies the various debug levels. See Table 3-1 on
page 28for more information.
[-l log-file] specifies the name of the log file to be used for logging
messages. The default log file is /var/adm/pppoec.log.
[-r retry-time] specifies the time in seconds, after which a PADI or
PADR packet is retransmitted when there is no response from the access
concentrator. The default value is 3.
Following are examples of pppoec usage:
/usr/bin/pppoec -i lan0
/usr/bin/pppoec -i lan4 -c /tmp/ppp/pppoec.conf -d 2 -l
/tmp/pppoec.log -r 5
For more information, type man 1 pppoec at the HP-UX prompt. See
“Client Log File,” on page 45‚ for more information on how pppoec logs
messages to its log file.
IMPORTANT The [-i interface-name] option is mandatory. You must specify avalid
interface name to be used for the PPPoE session.