From owner-freebsd-questions Wed Aug 4 16:47: 1 1999 Delivered-To: freebsd-questions@freebsd.org Received: from sand2.global.net.uk (sand2.global.net.uk [195.147.246.100]) by hub.freebsd.org (Postfix) with ESMTP id 1B8921516E for ; Wed, 4 Aug 1999 16:46:57 -0700 (PDT) (envelope-from marko@globalnet.co.uk) Received: from p10s11a06.client.global.net.uk ([195.147.219.17] helo=marder-1.) by sand2.global.net.uk with esmtp (Exim 2.05 #1) id 11CAjr-0007qF-00; Thu, 5 Aug 1999 00:46:27 +0100 Received: (from marko@localhost) by marder-1. (8.9.2/8.8.8) id AAA01017; Thu, 5 Aug 1999 00:40:24 +0100 (BST) (envelope-from marko) Date: Thu, 5 Aug 1999 00:40:23 +0100 From: Mark Ovens To: Brian Somers Cc: questions@FreeBSD.ORG Subject: Re: ppp won't write log Message-ID: <19990805004023.C739@marder-1> References: <19990804234923.A739@marder-1> <199908042325.AAA03343@keep.lan.Awfulhak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <199908042325.AAA03343@keep.lan.Awfulhak.org>; from Brian Somers on Thu, Aug 05, 1999 at 12:25:22AM +0100 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 > > Don't _EVER_ lose your sense of humour ! > > > -- 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