Hi. I'm running Linux kernel 2.0.3 and ppp version 2.2.0.
I've been going through the ppp-howto and I'm at the point where i'm
making the ppp-on script. When it describes the ppp-on script for PAP/CHAP
dialups it gives an example of a 'simpler script'. I used that, added in
the phone number for my isp and tried to start pppd as suggested inthe
how-to. I got a message about an unexpected line termination. After
looking a bit more I realized I needed to add the 'exec pppd....' string.
I still got an unexpected line termination. Could someone look at my
script and tell me what I'm missing? I'm sure it's something they
explained in the non-PAP/CHAP section but I'm having trouble pulling out
what's needed for all connections.
Here is my present script (replace ###-#### with my ISP's number)
#!/bin/sh
#
# This is part 2 of the ppp-on script. It will perform the connection
#protocol for the desired connection.
# exec /usr/sbin/chat -v \
TIMEOUT 3 \
ABORT '\nBUSY\r' \
ABORT '\nNO ANSWER\r' \
ABORT '\nRINGING\r\n\r\nRINGING\r' \
'' \rAT \
'OK-+++\c-OK' ATH0 \
TIMEOUT 30 \
OK ATDT###-#### \
CONNECT '' \
exec /usr/sbin/pppd debug /dev/ttyS1 38400
Thank you very much,
Alice