save-entropy "route: not found"
Lucky Green
shamrock at cypherpunks.to
Thu May 1 00:37:01 PDT 2003
> 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
----------
This server has two NICs. An external NIC and internal NIC. The machine
does not act as a gateway or NAT; that functionality is handled by
dedicated hardware. The reason why this server has two NICs is to permit
me to offer SAMBA only on the inside while still being able to access
the box from the Internet without having to go through the NAT.
What changes do I need to make to rc.conf that will allow me to still
both reach the Internet and the internal network from the server while
making save-entropy happy?
Thanks,
--Lucky
More information about the freebsd-current
mailing list