I have been struggling with this on and off for a few months now. I
can connect fine via minicom, and also via Redhat's Netcfg app.
in /var/log/messages I get:
Mar 19 17:05:56 byzantine kernel: CSLIP: code copyright 1989 Regents of
the University of California
Mar 19 17:05:56 byzantine kernel: PPP: version 2.3.3 (demand dialing)
Mar 19 17:05:56 byzantine kernel: PPP line discipline registered.
Mar 19 17:05:56 byzantine kernel: registered device ppp0
Mar 19 17:05:56 byzantine pppd: pppd 2.3.5 started by eric, uid
Mar 19 17:05:57 byzantine pppd: Connect script failed
Mar 19 17:05:58 byzantine pppd: Exit.
Mar 19 17:07:23 byzantine kernel: PPP: ppp line discipline successfully
in my debug log I get:
/etc/ppp/ppp-on-dialer: : Ambiguous redirect
here is my ppp-on:
# These are the parameters. Change as needed.
TELEPHONE=2713800 # The telephone number for the connection
ACCOUNT=name # The account name for logon (as in 'George Burns')
PASSWORD=password # The password for this account (and 'Gracie
LOCAL_IP=0.0.0.0 # Local IP address if known. Dynamic = 0.0.0.0
REMOTE_IP=0.0.0.0 # Remote IP address if desired. Normally 0.0.0.0
NETMASK=255.255.255.0 # The proper netmask if needed
# Export them so that they will be available at 'ppp-on-dialer' time.
export TELEPHONE ACCOUNT PASSWORD
echo "in ppp-on-dialer"
/usr/sbin/chat -v \
TIMEOUT 3 \
ABORT '\nBUSY\r' \
ABORT '\nNO ANSWER\r' \
ABORT '\nRINGING\r\n\r\nRINGING\r' \
'' ATZ \
'OK-+++\c-OK' ATH0 \
TIMEOUT 30 \
OK ATDT$TELEPHONE \
CONNECT '^M' \
name> $ACCOUNT \
assword> $PASSWORD \
'OK>' 'set port ppp enable^M'
pppd is suid root. but that doesn't matter since I get the same errors
when I run as root. note that it doesn't seem to get anywhere in the
there is no sign of chat in /var/log/messages and the echo on the first
line never comes out.
but the log says "Ambiguous redirect"
any help would be greatly appreciated.
BTW the serial ports are running as modules but never get taken out of
mem since I have a UPS connected to ttyS0.
ppp is also a module but it starts/exits fine as shown in