Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

unresolve pppon error



I followed   the  ppp HOWTO presented on ONLAMP.  On a
command line I invoke pppon. The DTR and other lamps on the external
modem light and remain lit for a minute or so and afterwards turn-off,
no activity.  I've spend several evenings and a weekend and I still
cannot decipher the error message in the connect-error file.  What is
wrong with my pppon file?  I'm using Red Hat 6.2 and an external modem
(OLITEC model Total Office).  Must the script that chat reads be a bash
file?

Thanks for your help.

jjc
PS: the ppphowto is on O'Reilly's WEB site ONLAMP, the urls are
http://www.onlamp.com/pub/a/onlamp/2001/05/03/ppp.html  (two pages)
http://www.onlamp.com/pub/a/onlamp/2001/05/17/ppp.html?page=1 (four
pages)


The connect-error file I displays:

sh: unexpected EOF while looking for `''
sh: -c: line 2: syntax error
sh: unexpected EOF while looking for `''
sh: -c: line 2: syntax error
sh: /usr/sbin/chat: No such file or directory
sh: /usr/sbin/chat: No such file or directory
sh: /usr/sbin/chat: No such file or directory
sh: /usr/sbin/chat: No such file or directory
sh: /usr/sbin/chat: No such file or directory
sh: /usr/sbin/chat: No such file or directory
sh: /usr/sbin/chat: No such file or directory
sh: /usr/sbin/chat: No such file or directory
sh: /usr/sbin/chat: No such file or directory
sh: /usr/sbin/chat: No such file or directory


The pppon file displays:

#!/bin/sh
# Friday 05OCT2001 4:52 PM
# This script is to log on to my ISP Bell Atlantic dot Net
# created by John J. Cruz
#
/usr/sbin/pppd                      \
/dev/ttyS0                          \
57600                               \
debug                               \
connect "/usr/sbin/chat -v -f  /root/chatscript"


Addtional information

 tail -f /var/log/ppp shows:

Oct 16 19:24:41 BeanGrinder pppd[851]: Connect script failed
Oct 16 19:24:42 BeanGrinder pppd[851]: Exit.
Oct 16 19:42:14 BeanGrinder pppd[958]: pppd 2.3.11 started by root, uid

Oct 16 19:42:15 BeanGrinder chat[959]: expect (^M)
Oct 16 19:43:00 BeanGrinder chat[959]: alarm
Oct 16 19:43:00 BeanGrinder chat[959]: Failed
Oct 16 19:43:00 BeanGrinder pppd[958]: Connect script failed
Oct 16 19:43:01 BeanGrinder pppd[958]: Exit.
Oct 16 19:44:13 BeanGrinder pppd[975]: pppd 2.3.11 started by root, uid

Oct 16 19:44:14 BeanGrinder chat[976]: expect (^M)
Oct 16 19:44:59 BeanGrinder chat[976]: alarm
Oct 16 19:44:59 BeanGrinder chat[976]: Failed
Oct 16 19:44:59 BeanGrinder pppd[975]: Connect script failed
Oct 16 19:45:00 BeanGrinder pppd[975]: Exit.

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org