I've RTFM (ALL OF THEM, TWICE)!
Here goes,
I dial, get proper connect messages and see PPP running. But, as you can
see from /var/log/messages, I get no indication of a login sequence. If I
do a expect @ send $ACCOUNT and expect @ send $PASSWORD, indications are
that I connect, but I immediately get a modem HANGUP...
A summary of info is include below. Any ideas would be MOST helpful.
Thanks,
Gene
I have verified under Winblows, oops, Windows that is IS PAP: snippet
included:
10-04-1998 16:37:25.77 - Server type is PPP (Point to Point Protocol).
.
10-04-1998 16:37:25.96 - LCP : Received and accepted authentication
protocol c023 (PAP).
10-04-1998 16:37:25.96 - LCP : Received and accepted magic number xxxxxxxx.
10-04-1998 16:37:25.96 - LCP : Received and accepted ACCM of 0.
.
10-04-1998 16:37:25.99 - LCP : Layer up.
10-04-1998 16:37:25.99 - PAP : Layer started.
10-04-1998 16:37:25.99 - PPP : Transmitting Control Packet of length: 23
.
login name and password are sent next, everybody is happy :-)
.
10-04-1998 16:37:26.15 - PAP : Login was successful.
10-04-1998 16:37:26.15 - PAP : Layer up.
10-04-1998 16:37:26.15 - IPCP : Layer started.
I've also gone on the assumption that it may be a NT server and tried
variations of CHAP and MSCHAP. Nothing seems to work. I have connected in
the past but, I bought new computer and just finished re-installing Linux
(been about 6-8 months without Linux :-( Please, don't ask about a backup....
/etc/ppp/pap-secrets & chap-secrets properly configured, /etc/resolv.conf &
host.conf properly configured (yes I'm sure).
All relevant info is included:
RedHat 2.0.34
pppd 2.3.3
Snippet from ppp-on:
echo
/bin/setserial -v $PORT $SERIAL #/dev/ttyS1 spd_vhi (external ISDN modem)
echo
echo "Executing pppd"
exec /usr/sbin/pppd /dev/ttyS1 115200 \
$LOCAL_IP:$REMOTE_IP \ #0.0.0.0, 0.0.0.0
netmask $NETMASK \ #255.255.255.0
connect $DIALER_SCRIPT
>From /etc/ppp/options:
debug
lock
modem
crtscts
asyncmap 20A0000 #Tried with/without
escape FF #Tried with/without
noipdefault
noauth
noipx #Tried with/without
defaultroute #Tried with/without
Here is /etc/ppp/scripts/ppp-on-dialer
***********************************************
#!/bin/sh
#
exec /usr/sbin/chat -v \
ECHO ON \
TIMEOUT 3 \
ABORT '\nBUSY\r' \
ABORT '\nNO ANSWER\r' \
ABORT '\nRINGING\r\n\r\nRINGING\r' \
ABORT '\nNO CARRIER\r' \
'' \AT\r \
TIMEOUT 60 \
OK ATDT$TELEPHONE \
CONNECT '\c' \
115200 '\c' \
TIMEOUT 20 \
ogin $ACCOUNT \
assword $PASSWORD
***********************************************
Here is relevant output in /var/log/messages
snip...
Oct 3 18:52:53 localhost chat[706]: expect (CONNECT)
Oct 3 18:52:53 localhost chat[706]: ^M
Oct 3 18:52:55 localhost chat[706]: ATDT4104510517^M^M
Oct 3 18:52:55 localhost chat[706]: CONNECT
Oct 3 18:52:55 localhost chat[706]: -- got it
Oct 3 18:52:55 localhost chat[706]: send ()
Oct 3 18:52:55 localhost chat[706]: expect (115200)
Oct 3 18:52:55 localhost chat[706]: 115200
Oct 3 18:52:55 localhost chat[706]: -- got it
Oct 3 18:52:55 localhost chat[706]: send ()
Oct 3 18:52:55 localhost chat[706]: timeout set to 20 seconds
Oct 3 18:52:55 localhost chat[706]: expect (ogin)
Oct 3 18:52:55 localhost chat[706]: ^M
Oct 3 18:52:59 localhost chat[706]: ~^?}#@!}!0} }4}#}$@#}%}&L^Z'^}"}&} } }
} ^C+~~^?}#@!}!1} }4}#}$@#}%}&L^Z'^}"}&} } } }
Oct 3 18:53:04 localhost chat[706]: J8~~^?}#@!}!2} }4}#}$@#}%}&L^Z'^}"}&}
} } } } }%~~^?}#@!}!3} }4}#}$@#}%}&L^Z'^}"}&}
Oct 3 18:53:08 localhost chat[706]: } } } I^V~~^?}#@!}!4}
}4}#}$@#}%}&L^Z'^}"}&} } } } ^Ev~~^?}#@!}!5} }4}#}$@#}%}&L^Z'^}
Oct 3 18:53:13 localhost chat[706]: "}&} } } } Le~~^?}#@!}!6}
}4}#}$@#}%}&L^Z'^}"}&} } } } }&X~~^?}#@!}!7} }4}#}$@#}%}&
Oct 3 18:53:15 localhost chat[706]: alarm
Oct 3 18:53:15 localhost pppd[705]: Connect script failed
Oct 3 18:53:15 localhost chat[706]: Failed
Oct 3 18:53:16 localhost pppd[705]: Exit.
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]