The pppoesd daemon, on the server, performs discovery activities
as described in RFC 2516. pppoesd responds to the client’s PADI and PADR packets about its willingness to offer services.
It generates a unique session ID for every client it services. In addition, pppoesd forks a pppd daemon to perform a set of activities in the session
phase.
To invoke pppoesd, run the following command on the command line:
pppoesd [-c config-file] [-d debug-level] [-l log-file]
[-c config-file] specifies the configuration file for the PPPoE
server. The default file is /etc/ppp/ppoesd.conf. See Table 3-1 “Debug Levels” for
information about debug levels.
[-d debug-level] specifies values for various debug levels.
[-l log-file] specifies the file to which pppoesd logs messages. The default log file is /var/adm/pppoesd.log.
Table 3-1 Debug Levels
| Level | Description |
|---|
| LOG_ERROR | Logs all error messages. To log these messages,
type -d 0 on the command line. |
| LOG_WARN | Logs all warning messages. To log these messages,
type -d 1 on the command line. |
| LOG_DEBUG | Logs all function level error messages. To
log these messages, type -d 2 on the command line. |
Following is an example of pppoesd usage:
/usr/sbin/pppoesd -d 1 -l /tmp/pppoesd.log
For more information, type man 1m pppoesd at the HP-UX prompt. See “Server Log File” for more information on how pppoesd logs messages to its log file.