To find examples of the /etc/ppp/peers/peer-name files, refer to the following:
For a dial-out machine, see How to Define the Connection With an Individual Peer.
For a local machine on a leased line, see How to Configure a Machine on a Leased Line.
For support of PAP authentication on a dial-out machine, see How to Add PAP Support to the PPP Configuration Files (Dial-out Machine).
For support of CHAP authentication on a dial-out machine, see How to Add CHAP Support to the PPP Configuration Files (Dial-out Machine).
For support of PPPoE on a client system, see Setting Up the PPPoE Client.