From owner-freebsd-questions Fri Sep 19 16:23:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA17642 for questions-outgoing; Fri, 19 Sep 1997 16:23:13 -0700 (PDT) Received: from freebie.lemis.com (gregl1.lnk.telstra.net [139.130.136.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA17625 for ; Fri, 19 Sep 1997 16:23:03 -0700 (PDT) Received: (from grog@localhost) by freebie.lemis.com (8.8.7/8.8.5) id IAA17727; Sat, 20 Sep 1997 08:52:42 +0930 (CST) Message-ID: <19970920085241.59762@lemis.com> Date: Sat, 20 Sep 1997 08:52:41 +0930 From: Greg Lehey To: David Goddard Cc: questions@FreeBSD.ORG Subject: Re: ppp -auto problems and boot-time error messages References: <3.0.1.16.19970919172152.2eb72cb6@sg1.cc.ic.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e In-Reply-To: <3.0.1.16.19970919172152.2eb72cb6@sg1.cc.ic.ac.uk>; from David Goddard on Fri, Sep 19, 1997 at 05:13:40PM +0000 Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8250 Fax: +61-8-8388-8250 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Fight-Spam-Now: http://www.cauce.org Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, Sep 19, 1997 at 05:13:40PM +0000, David Goddard wrote: > Hi, > > I'm having a problem with ppp -auto and also a couple of odd boot-time > error messages - I suspect there may be a connection. Maybe. > > Firstly, the odd messages are: > > writing to routing socket: File exists > add net default: gateway 155.198.8.0: File exists > > These appear just after ppp -auto is started up - I have the default router > set in sysconfig to the above IP address. This means you tried to add a default route (probably via /etc/ppp/ppp.linkup), but one was already set. Make sure that /etc/ppp/ppp.linkup contains something like: MYADDR: delete ALL add 0 0 HISADDR I would guess that the 'delete ALL' is missing. > I've been running ppp -auto successfully for a while, but it's recently > started playing up. The problem is that the process that causes the ppp > link to be brought up doesn't seem to recognise that it's up and > eventually times out. The link itself comes up OK, as I can use it fine > with other processes. If this is still a problem, I'd need to know more details. > I've recently been fiddling with filters and the problem surfaced at > about the same time as this, but I've removed my filter references from > ppp.conf. The ppp show ifilter, dfilter etc. commmands tell me there are > no filters. > > I've also rebuilt my kernel since the ppp problem started, but before I > noticed the boot messages, if this is relevant. Probably not. This ppp isn't in the kernel. > As an aside, last Saturday I ordered Greg Lehey's FreeBSD book from > Walnut Creek and it arrived here in the UK yesterday. Needless to say I > was impressed by the turnaround time. Shame it doesn't have anything on > networking though :-( The next edition will. It'll even contain a reference to exactly this problem :-) Greg