Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!cancer.vividnet.com!hunter.premier.net!news-peer.gsl.net!news.gsl.net!www.nntp.primenet.com!nntp.primenet.com!howland.erols.net!newsfeed.internetmci.com!miwok!ultra.sonic.net!news From: "Eric J. Rossin" <ejr@nlc.com> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: 2.1.5R: unwanted default route at startup Date: Thu, 05 Sep 1996 20:26:44 -0700 Organization: Next Level Communications / General Instrument Lines: 34 Message-ID: <322F99F4.41C67EA6@nlc.com> References: <322B5D9A.41C67EA6@nlc.com> <50k9au$iq@anorak.coverform.lan> NNTP-Posting-Host: d80.pm9.sonic.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0 (X11; I; FreeBSD 2.1.5-RELEASE i386) Brian Somers wrote: > > Eric J. Rossin (ejr@nlc.com) wrote: > : hi all! > > : I recently upgraded from 2.1->2.1.5, and have an odd startup problem. I > : do not want any default routes on boot, so I set "defaultrouter=NO" in > : my sysconfig file. I also do not have any default routes defined in the > : static route section. Yet, on boot, I get a default route to my network > : I/F (ep0, which is connected to a private, i.e., 10.0.0.0 network, that > : I do not want as the default). I can work around this by deleting the > : default route, but this did not happen under 2.1. > > : Am I doing something wrong? > > How strange ! > > Try the following: > > mv /sbin/route /sbin/route.real > echo '#! /bin/sh' >/sbin/route > echo 'echo EXECUTING ROUTE: $0 "$@"' > echo 'echo $0 "$@" >>/tmp/route.calls' > echo 'exec /sbin/route.real "$@"' > > -- > Brian <brian@awfulhak.demon.co.uk> > Don't _EVER_ lose your sense of humour.... uh, never mind! thanks for the input, but the problem was an accidental change that started routed. -eric