save-entropy "route: not found"
Poul-Henning Kamp
phk at phk.freebsd.dk
Thu May 1 01:23:14 PDT 2003
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.
More information about the freebsd-current
mailing list