Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Aug 1999 00:40:23 +0100
From:      Mark Ovens <markov@globalnet.co.uk>
To:        Brian Somers <brian@Awfulhak.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: ppp won't write log
Message-ID:  <19990805004023.C739@marder-1>
In-Reply-To: <199908042325.AAA03343@keep.lan.Awfulhak.org>; from Brian Somers on Thu, Aug 05, 1999 at 12:25:22AM %2B0100
References:  <19990804234923.A739@marder-1> <199908042325.AAA03343@keep.lan.Awfulhak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 05, 1999 at 12:25:22AM +0100, Brian Somers wrote:
> > I've started getting a strange error/warning when connecting to my ISP:
> > 
> > Working in interactive mode
> > Using interface: tun0
> > ppp ON marder-1> dial
> > ppp ON marder-1> Connect: Received: CONNECT 46667/ARQ
> > Connect: Received: are an unauthorized user, DISCONNECT
> > PPp ON marder-1> 
> > PPP ON marder-1> 
> > 
> > Although it says ``DISCONNECT'' it still connects. I enabled logging
> 
> This is probably because the last expect string in your dial chat is 
> CONNECT, and that's what it finds - so the script's complete.
> 

It is:

 set    dial    "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT&F \
		 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT \\c \\n"

but, if my ISP is sending ``DISCONNECT'' does that not mean that
it (my ISP) is disconnecting?

> You could upgrade to the latest ppp and do a ``set cd 1!'' to make 
> ppp require carrier.  An immediate disconnect should then be detected 
> rather than ppp assuming that the device doesn't do CD.
> 

Yes, but it's *not* disconnecting, it just says it is.

> > in ppp.conf to see what was going on, but it won't create
> > /var/log/ppp.log.
> 
> Well, ppp.log has to already exist.  Also, make sure that there are 
> no spaces in syslog.conf - syslogd will ignore theline otherwise.
> 

Ah, I forgot that ppp.log had to exist (it's been working perfectly
for so long I haven't had to use logging :-) ).

> [.....]
> > I'm using the ppp that came on the 3.1 CDs
> [.....]
> 
> Shame on you :-]
> 

Why? Although I did d/l 990626 sources a while ago but never bothered
building it. If it ain't broke, don't fix it ;-)

> > Any suggestions as to what's wrong?
> > 
> > -- 
> >       FreeBSD - The Power To Serve http://www.freebsd.org
> >       My Webpage http://www.users.globalnet.co.uk/~markov
> > _______________________________________________________________
> > Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK
> > CAD/CAM solutions for Sheetmetal Working Industry
> > mailto:markov@globalnet.co.uk              http://www.radan.com
> 
> -- 
> Brian <brian@Awfulhak.org>                        <brian@FreeBSD.org>
>       <http://www.Awfulhak.org>;                   <brian@OpenBSD.org>
> Don't _EVER_ lose your sense of humour !          <brian@FreeBSD.org.uk>
> 
> 
> 

-- 
      FreeBSD - The Power To Serve http://www.freebsd.org
      My Webpage http://www.users.globalnet.co.uk/~markov
_______________________________________________________________
Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK
CAD/CAM solutions for Sheetmetal Working Industry
mailto:markov@globalnet.co.uk              http://www.radan.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990805004023.C739>