If you have an interesting example of how you use ppp then please
submit it to the
linux-ppp mailing list
for inclusion on this page.
Dialling out to an ISP
I use this command to get pppd to dial my ISP from my Linux box at
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'
The chat script /etc/ppp/chat/apex looks like this:
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "NO ANSWER"
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
# Secrets for authentication using PAP
# client server secret IP addresses
paulus apex "notmypassword"