From owner-freebsd-current@FreeBSD.ORG Thu May 1 00:37:00 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A595837B401; Thu, 1 May 2003 00:37:00 -0700 (PDT) Received: from noisebox.cypherpunks.to (adsl-208-201-229-163.sonic.net [208.201.229.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1005343F93; Thu, 1 May 2003 00:37:00 -0700 (PDT) (envelope-from shamrock@cypherpunks.to) Received: from VAIO650 (adsl-208-201-229-160.sonic.net [208.201.229.160]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by noisebox.cypherpunks.to (Postfix) with ESMTP id 15CAB10B; Thu, 1 May 2003 00:36:59 -0700 (PDT) From: "Lucky Green" To: Date: Thu, 1 May 2003 00:36:55 -0700 Message-ID: <00c701c30fb4$7140fc00$6601a8c0@VAIO650> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal In-reply-to: <20030430185822.X15189@gamplex.bde.org> Subject: RE: save-entropy "route: not found" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2003 07:37:01 -0000 > 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 ---------- 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