Date: Sat, 20 Sep 1997 16:19:42 +0100 From: Brian Somers <brian@awfulhak.org> To: Greg Lehey <grog@lemis.com> Cc: Brian Somers <brian@awfulhak.org>, Dr Freebsd <hometeam@techpower.net>, David Goddard <d.goddard@ic.ac.uk>, questions@FreeBSD.ORG Subject: Re: ppp -auto problems and boot-time error messages Message-ID: <199709201519.QAA16154@awfulhak.demon.co.uk> In-Reply-To: Your message of "Sat, 20 Sep 1997 12:15:37 %2B0930." <19970920121537.23696@lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <brian@Awfulhak.org>, <brian@FreeBSD.org>, <bri@OpenBSD.org> <http://www.Awfulhak.org> Don't _EVER_ lose your sense of humour....
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709201519.QAA16154>