Hi everybody,
'guess what. The ppp stuff I try doesn't work.... ;-)

Ok, here's my story. It's somewhat lengthy - sorry for that. Any 
insights, comments, suggestions.... greatly appreciated.
I try to dial up MCI's internet service under Redhat 4.0 using 
ppp and chat. Plainly spoken: I didn't get it to work and I don't
know any more what to try. I tried to find out what their server wants
to hear about three times but I don't get an answer to that from the 
MCI folks.
They made a configuration script for SunLink PPP 3.0 available. But
I think that's pretty expensive and there shouldn't be a need for it 
anyway.

I tried:
- the generic thing (case 1):
after connect sent nothing, expect something and then send the login.
Then let the password be handled via chap secrets.
In that case the server sits there, says something about the transfer
rates and stuff, then nothing any more and then runs on a time out
because I guess chat is just waiting for something and nothing is 
happening on my side.
- a somewhat less generic thing (case 2):
after connect wait for nothing, just sent the login and hope that the 
password would be handled via chap secrets. I that case a lot more goes
on, the machines seem to talk fine, but I just get an invalid login.
- an even less generic thing (case 3):
not sent anything with chat any more after connect. And just put the
password into the chap secrets. Basically the same as under case 2
happens with a minor change in ppp-log - suddenly a machine name
turns up in ppp-log.

The stuff from messages and ppp-log is below.

Again any hints welcome
thanks for your thoughts and time
Ciao
Joerg

Now here's all the rest of the info....:

It has to be said the setup worked under linux for dialing up ATT's
internet service.
It dials fine into MCI under win 95 (without all their software; just
with configuring the win 95 stuff....)

I use:

pppd connect 'chat -v -f /etc/ppp/dial-MCI'

The chat script:

# ./etc/ppp/dial-MCI
REPORT ppp REPORT chap REPORT name REPORT BREAK REPORT CONNECT REPORT 
0206428103349422 '' AT OK ATE0V1 OK ATL0M0X4 OK ATZ OK ATDT4822900 CONNECT

# Secrets for authentication using CHAP
# client        server  secret                  IP addresses
localhost * "xxxxxxxxxxxxxxxxxxxx"


The ppp options
# /etc/ppp/options
lock
/dev/cua1
debug
kdebug 9
modem
crtscts
noipdefault
defaultroute
-detach
netmask 255.255.255.0

# /etc/hosts.conf
order hosts bind
multi on

# /etc/hosts
127.0.0.1       localhost       
204.70.127.127  nameserver      
204.70.127.128  nameserver      

search internetmci.com
# /etc/resolv.conf
nameserver 204.70.127.127
nameserver 204.70.127.128


case 1:
messages
Apr 29 01:03:21 localhost kernel: PPP Dynamic channel allocation code 
copyright 1995 Caldera, Inc.
Apr 29 01:03:21 localhost kernel: PPP line discipline registered.
Apr 29 01:03:21 localhost kernel: registered device ppp0
Apr 29 01:03:21 localhost pppd[666]: pppd 2.2.0 started by root, uid 0
Apr 29 01:03:22 localhost chat[670]: report (ppp) 
Apr 29 01:03:22 localhost chat[670]: report (chap) 
Apr 29 01:03:22 localhost chat[670]: report (name) 
Apr 29 01:03:22 localhost chat[670]: report (BREAK) 
Apr 29 01:03:22 localhost chat[670]: report (CONNECT) 
Apr 29 01:03:22 localhost chat[670]: report (0206428103349422) 
Apr 29 01:03:22 localhost chat[670]: send (AT^M) 
Apr 29 01:03:22 localhost chat[670]: expect (OK) 
Apr 29 01:03:22 localhost chat[670]: AT^M^M 
Apr 29 01:03:22 localhost chat[670]: OK -- got it 
Apr 29 01:03:22 localhost chat[670]: send (ATE0V1^M) 
Apr 29 01:03:22 localhost chat[670]: expect (OK) 
Apr 29 01:03:22 localhost chat[670]: ^M 
Apr 29 01:03:23 localhost chat[670]: ATE0V1^M^M 
Apr 29 01:03:23 localhost chat[670]: OK -- got it 
Apr 29 01:03:23 localhost chat[670]: send (ATL0M0X4^M) 
Apr 29 01:03:23 localhost chat[670]: expect (OK) 
Apr 29 01:03:23 localhost chat[670]: ^M 
Apr 29 01:03:23 localhost chat[670]: ^M 
Apr 29 01:03:23 localhost chat[670]: OK -- got it 
Apr 29 01:03:23 localhost chat[670]: send (ATZ^M) 
Apr 29 01:03:23 localhost chat[670]: expect (OK) 
Apr 29 01:03:23 localhost chat[670]: ^M 
Apr 29 01:03:23 localhost chat[670]: ^M Apr 29 01:03:23 localhost chat[670]: OK -- got 
it 
Apr 29 01:03:23 localhost chat[670]: send (ATDT4822900^M) 
Apr 29 01:03:23 localhost chat[670]: expect (CONNECT) 
Apr 29 01:03:23 localhost chat[670]: ^M 
Apr 29 01:03:44 localhost chat[670]: ATDT4822900^M^M 
Apr 29 01:03:44 localhost chat[670]: CONNECT -- got it 
Apr 29 01:03:44 localhost chat[670]: send (^M) 
Apr 29 01:03:44 localhost chat[670]: expect (gin) 
Apr 29 01:03:44 localhost chat[670]:  9600/ARQ/V32/LAPM/V42BI^MS^M 
Apr 29 01:03:46 localhost chat[670]: ^M 
Apr 29 01:04:29 localhost chat[670]: (9560652)
Apr 29 01:04:29 localhost chat[670]: alarm
Apr 29 01:04:29 localhost chat[670]: Failed
Apr 29 01:04:29 localhost pppd[666]: Connect script failed
Apr 29 01:04:29 localhost pppd[666]: Exit.
Apr 29 01:05:21 localhost kernel: PPP: ppp line discipline successfully 
unregistered

ppp-log:
Apr 29 01:03:21 localhost pppd[666]: pppd 2.2.0 started by root, uid 0
Apr 29 01:04:29 localhost pppd[666]: Connect script failed
Apr 29 01:04:29 localhost pppd[666]: Exit.

case 2, messages:
....
Apr 29 01:22:40 localhost chat[769]: CONNECT -- got it 
Apr 29 01:22:40 localhost chat[769]: send (0206428103349422^M) 
Apr 29 01:22:40 localhost pppd[768]: Serial connection established.
Apr 29 01:22:41 localhost kernel: ppp_tty_ioctl: set flags to 90000
Apr 29 01:22:41 localhost kernel: ppp_tty_ioctl: set flags to 90000
Apr 29 01:22:41 localhost pppd[768]: Using interface ppp0
Apr 29 01:22:41 localhost kernel: ppp_tty_ioctl: set xasyncmap
Apr 29 01:22:41 localhost kernel: ppp_tty_ioctl: set xmit asyncmap 
ffffffff
Apr 29 01:22:41 localhost kernel: ppp_tty_ioctl: set flags to 90000
Apr 29 01:22:41 localhost pppd[768]: Connect: ppp0 <--> /dev/cua1
Apr 29 01:22:41 localhost kernel: ppp_tty_ioctl: set mru to 5dc
Apr 29 01:22:41 localhost kernel: ppp_tty_ioctl: set rcv asyncmap 0
Apr 29 01:22:41 localhost kernel: ppp_tty_ioctl: set flags to 90010
Apr 29 01:22:44 localhost kernel: ppp: frame with bad fcs, excess = 19b7
Apr 29 01:22:44 localhost kernel: ppp: successfully queued 27 bytes, flags 
= f090010
Apr 29 01:22:44 localhost kernel: ppp_tty_ioctl: set mru to 5dc
Apr 29 01:22:44 localhost kernel: ppp_tty_ioctl: set rcv asyncmap 0
Apr 29 01:22:44 localhost kernel: ppp_tty_ioctl: set flags to f090000
Apr 29 01:22:47 localhost kernel: ppp: successfully queued 20 bytes, flags 
= f090000
Apr 29 01:22:47 localhost kernel: ppp_tty_ioctl: set xmit asyncmap 0
Apr 29 01:22:47 localhost kernel: ppp_tty_ioctl: set flags to f090003
Apr 29 01:22:47 localhost kernel: ppp_tty_ioctl: set mru to 5dc
Apr 29 01:22:47 localhost kernel: ppp_tty_ioctl: set rcv asyncmap 0
Apr 29 01:22:47 localhost kernel: ppp_tty_ioctl: set flags to f090003
Apr 29 01:22:47 localhost kernel: ppp: successfully queued 32 bytes, flags 
= f090003
Apr 29 01:22:48 localhost kernel: ppp: successfully queued 19 bytes, flags 
= f090003
Apr 29 01:22:48 localhost pppd[768]: Remote message: Invalid Login
Apr 29 01:22:48 localhost pppd[768]: CHAP authentication failed
Apr 29 01:22:48 localhost kernel: ppp: successfully queued 6 bytes, flags 
= f090003
Apr 29 01:22:48 localhost kernel: ppp_tty_ioctl: set xmit asyncmap 
ffffffff
Apr 29 01:22:48 localhost kernel: ppp_tty_ioctl: set flags to f090000
Apr 29 01:22:48 localhost kernel: ppp_tty_ioctl: set mru to 5dc
Apr 29 01:22:48 localhost kernel: ppp_tty_ioctl: set rcv asyncmap 0
Apr 29 01:22:48 localhost kernel: ppp_tty_ioctl: set flags to f090010
Apr 29 01:22:48 localhost kernel: ppp_tty_ioctl: set flags to f090010
Apr 29 01:22:49 localhost kernel: ppp: channel ppp0 closing.
Apr 29 01:22:49 localhost pppd[768]: Hangup (SIGHUP)
Apr 29 01:22:49 localhost pppd[768]: Modem hangup
Apr 29 01:22:49 localhost pppd[768]: Connection terminated.
Apr 29 01:22:49 localhost pppd[768]: Exit.

ppp-log:

Apr 29 01:22:41 localhost pppd[768]: Using interface ppp0
Apr 29 01:22:41 localhost pppd[768]: Connect: ppp0 <--> /dev/cua1
Apr 29 01:22:41 localhost pppd[768]: sent [LCP ConfReq id=0x1 <mru 1500> 
<magic 0xadb2bbdc> <pcomp> <accomp>]
Apr 29 01:22:44 localhost pppd[768]: sent [LCP ConfReq id=0x1 <mru 1500> 
<magic 0xadb2bbdc> <pcomp> <accomp>]
Apr 29 01:22:44 localhost pppd[768]: rcvd [LCP ConfReq id=0x1 <asyncmap 
0x0> <auth chap md5> <magic 0xdd0115da> <pcomp> <accomp>]
Apr 29 01:22:44 localhost pppd[768]: sent [LCP ConfAck id=0x1 <asyncmap 
0x0> <auth chap md5> <magic 0xdd0115da> <pcomp> <accomp>]
Apr 29 01:22:47 localhost pppd[768]: sent [LCP ConfReq id=0x1 <mru 1500> 
<magic 0xadb2bbdc> <pcomp> <accomp>]
Apr 29 01:22:47 localhost pppd[768]: rcvd [LCP ConfAck id=0x1 <mru 1500> 
<magic 0xadb2bbdc> <pcomp> <accomp>]
Apr 29 01:22:47 localhost pppd[768]: rcvd [CHAP Challenge id=0x1 
<7971454d6d754d556169614d61614d35>, name = "usr15.scm"]
Apr 29 01:22:47 localhost pppd[768]: sent [CHAP Response id=0x1 
<256f052907a913e41ab4714120b863e4>, name = "localhost"]
Apr 29 01:22:48 localhost pppd[768]: rcvd [CHAP Failure id=0x1 "Invalid 
Login"]
Apr 29 01:22:48 localhost pppd[768]: Remote message: Invalid Login
Apr 29 01:22:48 localhost pppd[768]: CHAP authentication failed
Apr 29 01:22:48 localhost pppd[768]: rcvd [LCP TermAck id=0x2]
Apr 29 01:22:48 localhost pppd[768]: sent [LCP ConfReq id=0x2 <mru 1500> 
<magic 0x5c407881> <pcomp> <accomp>]
Apr 29 01:22:49 localhost pppd[768]: Hangup (SIGHUP)
Apr 29 01:22:49 localhost pppd[768]: Modem hangup
Apr 29 01:22:49 localhost pppd[768]: Connection terminated.
Apr 29 01:22:49 localhost pppd[768]: Exit.


case 3 messages:
Apr 29 01:27:01 localhost pppd[785]: Serial connection established.
Apr 29 01:27:02 localhost kernel: ppp_tty_ioctl: set flags to 90000
Apr 29 01:27:02 localhost kernel: ppp_tty_ioctl: set flags to 90000
Apr 29 01:27:02 localhost pppd[785]: Using interface ppp0
Apr 29 01:27:02 localhost kernel: ppp_tty_ioctl: set xasyncmap
Apr 29 01:27:02 localhost kernel: ppp_tty_ioctl: set xmit asyncmap 
ffffffff
Apr 29 01:27:02 localhost kernel: ppp_tty_ioctl: set flags to 90000
Apr 29 01:27:02 localhost kernel: ppp_tty_ioctl: set mru to 5dc
Apr 29 01:27:02 localhost kernel: ppp_tty_ioctl: set rcv asyncmap 0
Apr 29 01:27:02 localhost pppd[785]: Connect: ppp0 <--> /dev/cua1
Apr 29 01:27:02 localhost kernel: ppp_tty_ioctl: set flags to 90010
Apr 29 01:27:06 localhost kernel: ppp: frame with bad fcs, excess = 9a7b
Apr 29 01:27:06 localhost kernel: ppp: successfully queued 27 bytes, flags 
= f090010
Apr 29 01:27:06 localhost kernel: ppp_tty_ioctl: set mru to 5dc
Apr 29 01:27:06 localhost kernel: ppp_tty_ioctl: set rcv asyncmap 0
Apr 29 01:27:06 localhost kernel: ppp_tty_ioctl: set flags to f090000
Apr 29 01:27:09 localhost kernel: ppp: successfully queued 20 bytes, flags 
= f090000
Apr 29 01:27:09 localhost kernel: ppp_tty_ioctl: set xmit asyncmap 0
Apr 29 01:27:09 localhost kernel: ppp_tty_ioctl: set flags to f090003
Apr 29 01:27:09 localhost kernel: ppp_tty_ioctl: set mru to 5dc
Apr 29 01:27:09 localhost kernel: ppp_tty_ioctl: set rcv asyncmap 0
Apr 29 01:27:09 localhost kernel: ppp_tty_ioctl: set flags to f090003
Apr 29 01:27:09 localhost kernel: ppp: successfully queued 32 bytes, flags 
= f090003
Apr 29 01:27:09 localhost kernel: ppp: successfully queued 19 bytes, flags 
= f090003
Apr 29 01:27:09 localhost pppd[785]: Remote message: Invalid Login
Apr 29 01:27:09 localhost pppd[785]: CHAP authentication failed
Apr 29 01:27:09 localhost kernel: ppp: successfully queued 6 bytes, flags 
= f090003
Apr 29 01:27:09 localhost kernel: ppp_tty_ioctl: set xmit asyncmap ffffffff
Apr 29 01:27:09 localhost kernel: ppp_tty_ioctl: set flags to f090000
Apr 29 01:27:09 localhost kernel: ppp_tty_ioctl: set mru to 5dc
Apr 29 01:27:09 localhost kernel: ppp_tty_ioctl: set rcv asyncmap 0
Apr 29 01:27:09 localhost kernel: ppp_tty_ioctl: set flags to f090010
Apr 29 01:27:09 localhost kernel: ppp_tty_ioctl: set flags to f090010
Apr 29 01:27:10 localhost kernel: ppp: channel ppp0 closing
Apr 29 01:27:10 localhost pppd[785]: Hangup (SIGHUP)
Apr 29 01:27:10 localhost pppd[785]: Modem hangup
Apr 29 01:27:10 localhost pppd[785]: Connection terminated.
Apr 29 01:27:10 localhost pppd[785]: Exit.
Apr 29 01:28:37 localhost kernel: PPP: ppp line discipline successfully 
unregistered

ppp-log:

Apr 29 01:26:38 localhost pppd[785]: pppd 2.2.0 started by root, uid 0
Apr 29 01:27:01 localhost pppd[785]: Serial connection established.
Apr 29 01:27:02 localhost pppd[785]: Using interface ppp0
Apr 29 01:27:02 localhost pppd[785]: Connect: ppp0 <--> /dev/cua1
Apr 29 01:27:02 localhost pppd[785]: sent [LCP ConfReq id=0x1 <mru 1500> 
<magic 0xd6f8b0f3> <pcomp> <accomp>]
Apr 29 01:27:05 localhost pppd[785]: sent [LCP ConfReq id=0x1 <mru 1500> 
<magic 0xd6f8b0f3> <pcomp> <accomp>]
Apr 29 01:27:06 localhost pppd[785]: rcvd [LCP ConfReq id=0x1 <asyncmap 
0x0> <auth chap md5> <magic 0xa4a753c7> <pcomp> <accomp>]
Apr 29 01:27:06 localhost pppd[785]: sent [LCP ConfAck id=0x1 <asyncmap 
0x0> <auth chap md5> <magic 0xa4a753c7> <pcomp> <accomp>]
Apr 29 01:27:08 localhost pppd[785]: sent [LCP ConfReq id=0x1 <mru 1500> 
<magic 0xd6f8b0f3> <pcomp> <accomp>]
Apr 29 01:27:09 localhost pppd[785]: rcvd [LCP ConfAck id=0x1 <mru 1500> 
<magic 0xd6f8b0f3> <pcomp> <accomp>]
Apr 29 01:27:09 localhost pppd[785]: rcvd [CHAP Challenge id=0x1 
<412d4d312565214d4579655945654d45>, name = "usr13.scm"]
Apr 29 01:27:09 localhost pppd[785]: sent [CHAP Response id=0x1 
<82454673770676f6c2588579ea91d543>, name = "localhost"]
Apr 29 01:27:09 localhost pppd[785]: rcvd [CHAP Failure id=0x1 "Invalid 
Login"]
Apr 29 01:27:09 localhost pppd[785]: Remote message: Invalid Login
Apr 29 01:27:09 localhost pppd[785]: CHAP authentication failed
Apr 29 01:27:09 localhost pppd[785]: rcvd [LCP TermAck id=0x2]
Apr 29 01:27:09 localhost pppd[785]: sent [LCP ConfReq id=0x2 <mru 1500> 
<magic 0xac707d4c> <pcomp> <accomp>]
Apr 29 01:27:10 localhost pppd[785]: Hangup (SIGHUP)
Apr 29 01:27:10 localhost pppd[785]: Modem hangup
Apr 29 01:27:10 localhost pppd[785]: Connection terminated.
Apr 29 01:27:10 localhost pppd[785]: Exit.
--
J�rg Kaduk
250 Curtner Ave #22
Palo Alto, CA 94306-3411

[EMAIL PROTECTED]


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to