Date: Thu, 01 May 2003 10:23:09 +0200 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: "Lucky Green" <shamrock@cypherpunks.to> Cc: freebsd-current@freebsd.org Subject: Re: save-entropy "route: not found" Message-ID: <1034.1051777389@critter.freebsd.dk> In-Reply-To: Your message of "Thu, 01 May 2003 00:36:55 PDT." <00c701c30fb4$7140fc00$6601a8c0@VAIO650>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <00c701c30fb4$7140fc00$6601a8c0@VAIO650>, "Lucky Green" writes: >> On Tue, 29 Apr 2003, Poul-Henning Kamp wrote: >> >> > In message <20030429112849.T95090@cheesy.cypherpunks.to>, >> Lucky Green >> > writes: >> > >One of my 5.0 test boxes is spewing these cron emails. Any >> idea why >> > >this might be? (Email addresses modified) >> > >> > /usr/libexec/save-entropy is a shell script and it pulls in >> > /etc/rc.conf and friends. It's probably something in there >> that trips >> > it... > >We have a winner. The script doesn't like the route entry in the rc.conf >file of my test box: >---------- >ifconfig_xl0="inet 208.201.229.161 netmask 255.255.255.0" >defaultrouter="208.201.229.1" >hostname="cheesy.cypherpunks.to" > >ifconfig_fxp0="inet 192.168.1.110 netmask 255.255.255.0" >route -n add -net 192.168.1 192.168.1.110 -interface fxp0 >---------- You shouldn't really execute commands like that in your rc.conf, you should only set variables. There are some variables you can set to add static routes, I belive you do it like this: static_routes="rt1" route_rt1="10.0.0.2/30 192.168.0.1" -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1034.1051777389>