[techtalk] pppd problems, redhat 6.0
Lighthouse Keeper in the Desert Sun
ccovingt at one-eyed-alien.net
Fri Nov 5 18:43:31 EST 1999
I know this is a similar problem to one that was discussed recently. But
I'm not using kppp. I'm using a script called ppp-on and ppp-on-dialer
that I got from /usr/doc/ppp-2.3.7/scripts/ I'll paste it in (changing
username and pwd to protect the guilty) and the error message that happens
when i do it.
# Export them so that they will be available at 'ppp-on-dialer' time.
export TELEPHONE ACCOUNT PASSWORD
exec /usr/sbin/pppd debug lock modem crtscts /dev/ttyS1 38400 \
asyncmap 20A0000 escape FF kdebug 0 $LOCAL_IP:$REMOTE_IP \
noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT
exec 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$TELEPHONE \
CONNECT '' \
ogin:--ogin: $ACCOUNT \
assword: $PASSWORD \
Nov 5 20:31:54 localhost pppd: pppd 2.3.7 started by <user>, uid 0
Nov 5 20:31:55 localhost chat: timeout set to 3 seconds
Nov 5 20:31:55 localhost chat: abort on (\nBUSY\r)
Nov 5 20:31:55 localhost chat: abort on (\nNO ANSWER\r)
Nov 5 20:31:55 localhost chat: abort on
Nov 5 20:31:55 localhost chat: send (rAT^M)
Nov 5 20:31:55 localhost chat: expect (OK)
Nov 5 20:31:58 localhost chat: alarm
Nov 5 20:31:58 localhost chat: send (+++)
Nov 5 20:31:58 localhost chat: expect (OK)
Nov 5 20:32:01 localhost pppd: Connect script failed
Nov 5 20:32:01 localhost chat: alarm
Nov 5 20:32:01 localhost chat: Failed
Nov 5 20:32:02 localhost pppd: Exit.
Before you ask, I did change the mod on the scripts to be executable.
Is there a way to see what the program is doing, other than tail -f?
Also, is there a way to get it to run as other than root? THere seems to
be a problem with locks on the modem.
THis is a new modem (well, kinda). ISA, non winmodem. I'm using it now
with a bloody remnant of kppp. It isn't really installed, but the dialer
works. (I'm running Enlightenment and Gnome.) Kppp will only work as
Thanks for any help you can give me!
Since they're all rude, Hi, I'm Neil.
techtalk at linuxchix.org http://www.linuxchix.org
More information about the Techtalk