Appendix A. PPP Tools
This appendix is a reference for dip, pppd,
and chat. These tools are used to
create dial-up IP connections for the Point-to-Point Protocol (PPP). dip and
chat are both scripting languages.
Creating a script that initializes the modem, dials the remote server,
logs in, and configures the remote server is the biggest task in
configuring a PPP connection. Chapter 6
provides examples and tutorial information about all three of the programs
covered here. This appendix provides a reference to the programs.
Dial-Up IP
dip is a scripting tool
designed specifically for creating SLIP and PPP
connections.[154]
The syntax of the dip command
is:
dip [options] [scriptfile]
The dip command is invoked with
an option set, a script file specified, or both. When
scriptfile is specified, dip executes the commands contained in the
script file to create a point-to-point connection. Examples of scripts
and dip are shown in Chapter 6. The
options
valid with script files are:
-vRuns
dipin verbose mode. In this mode,dipechoes each line of the script file as it is executed and displays enhanced status messages.-mmtuSets the maximum transmission unit (MTU) to the number of bytes specified by
mtu. The default MTU is 296 bytes.-pprotoSelects the serial line protocol. Possible values for
protoare: SLIP, CSLIP, PPP, or TERM.
The other dip command-line
options are:
-kKills the last
dipprocess you started. You can only kill a process you own, unless of course you’re root.-ldeviceSpecifies ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access