ppp 2.4.4 review

Download
by rbytes.net on

ppp (Paul's PPP Package) is an open source package which implements the Point-to-Point Protocol (PPP) on Linux and Solaris syste

License: GPL (GNU General Public License)
File size: 672K
Developer: Paul Mackerras
0 stars award from rbytes.net

ppp (Paul's PPP Package) is an open source package which implements the Point-to-Point Protocol (PPP) on Linux and Solaris systems.

ppp is an implementation of (PPP) Point-to-Point Protocol for Unix systems.

Dialling out to an ISP

I use this command to get pppd to dial my ISP from my Linux box at home:

pppd call apex

I have set up a file /etc/ppp/peers/apex containing this:

ttyS0 38400 crtscts
connect '/usr/sbin/chat -v -f /etc/ppp/chat/apex'
defaultroute
user paulus
remotename apex

The chat script /etc/ppp/chat/apex looks like this:

ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "ERROR"
ABORT "NO ANSWER"
ABORT "BUSY"
TIMEOUT 90
REPORT CARRIER
"" at
OK "atw1&d0&c1"
OK
atdt62485791
"~"

Note the "~" as the last expect string. This isn't strictly necessary but it does mean that the chat script doesn't finish until I actually see a ppp frame from the ISP.

My ISP uses PAP authentication rather than a login dialog, which simplifies the chat script. I have this in my /etc/ppp/pap-secrets file:

# Secrets for authentication using PAP
# client server secret IP addresses
paulus apex "notmypassword"

ppp 2.4.4 keywords