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

Re: diald/pppd refused connection--PAP auth?



Quoting Kenward Vaughan (kaynjay@igalaxy.net):
> On Thu, Jun 15, 2000 at 10:52:09AM +0100, David Wright wrote:
> > Quoting Kenward Vaughan (kaynjay@igalaxy.net):
> > > Diald is my nemesis... Various attempts to get it working have failed to
> ...
> > Apologies if I pick up the wrong end of the stick, but diald just
> > automates the PPP link for you? So I'm not sure why you want to
> > make the peer (your ISP?) authorise itself to you. In other words,
> > just as your ppp provider script has noauth in it, diald needs the
> > same treatment (however that is configured).
> ...
> 
> OK, but running with noauth gives a more simplified pppd message saying:
> 
> 	LCP terminated by peer

That suggests that LCP protocol is being exchanged because the peer
(other end) is saying go away.

> so I'm at a loss. The link lasts for 15-20 seconds.  The logs show bytes
> sent, but none received.

(I don't know what sort of bytes are being logged. i.e. is it useful
bytes as opposed to housekeeping bytes.)

I think you should add "debug" to your options file (either the master
one or a provider one; whatever works) which will make the log capture
more interesting things like:

 pppd: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap 05> <magic 0x2b9932af> <pcomp> <accomp>]
 pppd: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <auth chap 05> <magic 0x2b9932af> <pcomp> <accomp>]
 pppd: sent [LCP EchoReq id=0x0 magic=0x2b9932af]
 pppd: sent [CHAP Challenge id=0x1 <f...f>, name = "foo"]
 pppd: rcvd [LCP TermReq id=0x3 "peer refused to authenticate"]
 pppd: LCP terminated by peer (peer refused to authenticate)
 pppd: sent [LCP TermAck id=0x3]

Cheers,

-- 
Email:  d.wright@open.ac.uk   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.



Reply to: