Re: save-entropy "route: not found"

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Thu, 01 May 2003 10:23:09 +0200
In message <00c701c30fb4$7140fc00$6601a8c0_at_VAIO650>, "Lucky Green" writes:
>> On Tue, 29 Apr 2003, Poul-Henning Kamp wrote:
>> 
>> > In message <20030429112849.T95090_at_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_at_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.
Received on Wed Apr 30 2003 - 23:23:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:05 UTC