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

pppd negotiation problems



Hi, 

I have got callback account from Intel, and they don't know how to work
with it from Linux ( They have support for DOS/WIN. I hate DOS/WIN &-)

So I went on my own. I run kernel 1.3.66, pppd 2.2.0, Microcom 28.8 modem
Ok,
I run>  pppd  connect "chat -v -f  foo.chat" 115200 -d all other options 
(They don't relevant I've checked this)

I'm getting system calling me back, Getting connected 115200 and now the 
problems starts... I get  ppp0 <-->/dev/modem established 

The Problem is to pass Link Control Protocol [LCP]: 
I don't have the log files here but some extract from /var/log/debug:

rcvd [LCP ConfReq id=0x2 asyncmap <foo> <bar> <foobar>]
sent [LCP ConfAck id=0x2 asyncmap <foo> <bar> <foobar>]
sent [LCP ConfReq id=0x1 asyncmap <other map> <bar> <foobar>]

rcvd [LCP ConfReq id=0x3 asyncmap <foo> <bar> <foobar>]
sent [LCP ConfAck id=0x3 asyncmap <foo> <bar> <foobar>]
sent [LCP ConfReq id=0x1 asyncmap <other map> <bar> <foobar>]

rcvd [LCP ConfReq id=0x4 asyncmap <foo> <bar> <foobar>]
sent [LCP ConfAck id=0x4 asyncmap <foo> <bar> <foobar>]
sent [LCP ConfReq id=0x1 asyncmap <other map> <bar> <foobar>]
 
It doesn't matter what the maps are... What is matter that I think
that the connection established but, the peer can't here my pppd
there is no loop because, I get [rcvd id ] incremented, and my pppd
sends every time the Acknowledge message but the peer don't get it,
so it sends the Request again with the id incremented.
As well the peer doesn't answer to my ConfReq so I resend it again,
( why the mine pppd request id  doesn't incremented?)

So the pppd can't pass the must do Handshake Negotiation...
the normal way it should be:

rcvd [LCP ConfReq id=0x1 asyncmap <foo> <bar> <foobar>]
sent [LCP ConfAck id=0x1 asyncmap <foo> <bar> <foobar>]
sent [LCP ConfReq id=0x1 asyncmap <other map> <bar> <foobar>]
rcvd [LCP ConfReq id=0x1 asyncmap <foo> <bar> <foobar>]
 
That's all...

May be the way I launch pppd is wrong, since it's callback, and the peer
must start the negotiation? But I have tried to connect thru ppp to regular
( no call back account ) and it has similar problems (it can't pass next 
stage IPCP). I should add that I have worked with my pppd with Sportster 28.8
with out any problem for regular account (It has callback problem from 
its own )


Any help?
Thanks in advance!

BTW, trying to decipher /var/log/debug was a nice way to learn about how 
2 network peers get connected and how they get NOT CONNECTED :-) in my 
case.

Bye
-------------------------------------------------------------------------------
		Stas Bekman
Email:                          c0409532@techst02.technion.ac.il
Home Page:                      http://techunix.technion.ac.il/~ofelix