[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.

ppp-on
TELEPHONE=<number>	
ACCOUNT=	<user>
PASSWORD=	<passwd>	
LOCAL_IP=0.0.0.0	
REMOTE_IP=0.0.0.0	
NETMASK=255.255.0.0	

# Export them so that they will be available at 'ppp-on-dialer' time.
export TELEPHONE ACCOUNT PASSWORD
DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
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

ppp-on-dialer
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			\
	CS-->		ppp				

/var/log/messages
Nov  5 20:31:54 localhost pppd[1178]: pppd 2.3.7 started by <user>, uid 0
Nov  5 20:31:55 localhost chat[1179]: timeout set to 3 seconds
Nov  5 20:31:55 localhost chat[1179]: abort on (\nBUSY\r)
Nov  5 20:31:55 localhost chat[1179]: abort on (\nNO ANSWER\r)
Nov  5 20:31:55 localhost chat[1179]: abort on
(\nRINGING\r\n\r\nRINGING\r)
Nov  5 20:31:55 localhost chat[1179]: send (rAT^M)
Nov  5 20:31:55 localhost chat[1179]: expect (OK)
Nov  5 20:31:58 localhost chat[1179]: alarm
Nov  5 20:31:58 localhost chat[1179]: send (+++)
Nov  5 20:31:58 localhost chat[1179]: expect (OK)
Nov  5 20:32:01 localhost pppd[1178]: Connect script failed
Nov  5 20:32:01 localhost chat[1179]: alarm
Nov  5 20:32:01 localhost chat[1179]: Failed
Nov  5 20:32:02 localhost pppd[1178]: 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
root, too.

Thanks for any help you can give me!

Conni

-- 
Since they're all rude, Hi, I'm Neil.

http://www.one-eyed-alien.net/~ccovingt

http://www.geocities.com/Tokyo/Gulf/5817/


************
techtalk at linuxchix.org   http://www.linuxchix.org




More information about the Techtalk mailing list