Point-to-Point Protocol Over Ethernet (PPPOE) daemon
pppoed [options] [suboptions]
The options are:
The suboptions are:
Use the pppoed daemon to negotiate the PPPOE session. Once the PPPOE session is established, pppd is used to create a point-to-point connection over the PPPOE session. The pppd daemon gets a local TCP/IP configuration from the server (ISP).
If you find pppoed has problems connecting to certain sites on the Internet, take a look at the technote PPPOE and Path MTU Discovery. |
The pppoed daemon uses the /etc/ppp/pppoe-up script to start pppd. The pppoe-up script contains the following commands:
#!/bin/sh pppd debug /dev/io-net/ppp_en -ac -pc -detach defaultroute require-ns mtu 1492 name username
The options are (see pppd for full descriptions):
Note that the gateway and nameservers are obtained from the ISP, if possible; you don't need to be set them under phlip unless the nameservers aren't provided automatically.
Normally pppoed closes the PPPOE session and terminates when the upscript exits (i.e. when pppd terminates). If you don't want this to happen, use the scriptdetach option, which detaches pppoed from the execution of the script and makes pppoed wait for the session to close before terminating.
Normally, verbose debug messages are directed to the system log. If you want to have these messages also logged to a file descriptor, (e.g. in the case of spawning pppoed), specify the logfd option. All debug messages are then passed to the specified file descriptor.
When pppoed executes, it moves to the background when a session is established with an exit status of 0. If you specify the nodetach option, pppoed stays in the foreground.
Start io-net with PPPOE support:
io-net -del900 -pttcpip -ppppmgr -ppppoe
Make a session to any server; this depends on /etc/ppp/pppoe-up to start pppd:
pppoed
Make a session using en0 -- don't use other en* devices:
pppoed en=en0
Make a session to the server with name of PPPOE_GATWAY:
pppoed name=PPPOE_GATEWAY
"Network protocol modules (npm-*)" in the Utilities Summary
TCP/IP Networking in the Neutrino User's Guide
If you find pppoed has problems connecting to certain sites on the Internet, take a look at the technote PPPOE and Path MTU Discovery.