From owner-freebsd-questions Sat Sep 20 09:13:37 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA12592 for questions-outgoing; Sat, 20 Sep 1997 09:13:37 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA12581 for ; Sat, 20 Sep 1997 09:13:20 -0700 (PDT) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id QAA16154; Sat, 20 Sep 1997 16:19:43 +0100 (BST) Message-Id: <199709201519.QAA16154@awfulhak.demon.co.uk> X-Mailer: exmh version 2.0zeta 7/24/97 To: Greg Lehey cc: Brian Somers , Dr Freebsd , David Goddard , questions@FreeBSD.ORG Subject: Re: ppp -auto problems and boot-time error messages In-reply-to: Your message of "Sat, 20 Sep 1997 12:15:37 +0930." <19970920121537.23696@lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 20 Sep 1997 16:19:42 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > On Sat, Sep 20, 1997 at 02:57:50AM +0100, Brian Somers wrote: > >> Firstly, the odd messages are: > >> > >> writing to routing socket: File exists > >> add net default: gateway 155.198.8.0: File exists > >> > >> This is just telling you the default route is set is all. > >> If you set this gateway in your rc.conf you will get host unreachable at > >> boot time. > > > > This sounds like you've got an "ifconfig_tun0=" line with something > > on it. Read the handbook. You want an empty "ifconfig_tun0=" and an > > empty default router. You want to disable routed and then create > > /etc/start_if.tun0 and put your ppp -auto command in there. > > Not necessarily. If he's using -auto with dynamic IP addressing, he > want to guess a destination IP address and make it his default route. > When he initiates dialing, ppp will remove that route and replace it > with the correct one. Yes.... and what's that got to do with boot up messages ? The above message is when the "route add default" fails. This fails because, I would think /etc/start_if.tun0 is already there and has already added a default route. All of this is explained in the handbook. > > You want to read the handbook :-) > > We need to revise the handbook :-) That's a bit of a gratuitous statement. What exactly is wrong with it ? It's been revised several times recently. > Greg -- Brian , , Don't _EVER_ lose your sense of humour....