From owner-freebsd-small Wed Oct 20 19:40:11 1999 Delivered-To: freebsd-small@freebsd.org Received: from biff.nerdpower.net (c13574-001.nerdpower.net [24.108.37.222]) by hub.freebsd.org (Postfix) with SMTP id C8B9314D7F for ; Wed, 20 Oct 1999 19:40:06 -0700 (PDT) (envelope-from jeff@nerdpower.com) Received: (qmail 23492 invoked by alias); 21 Oct 1999 02:41:02 -0000 Received: from unknown (HELO flanders) (24.108.37.21) by biff.nerdpower.net with SMTP; 21 Oct 1999 02:41:02 -0000 From: "Jeff Lush" To: Subject: RE: PicoBSD Network version and NAT Date: Wed, 20 Oct 1999 20:44:09 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello again, More problems. I grabbed the latest picobsd.tgz, unpacked it, checked the PICOBSD file in net/conf/ for the entries: options IPFIREWALL options IPDIVERT These entries are already in the PICOBSD script, so I run the ./build script, choose net and tell it to go. A few minutes in, I get an error and the build stops. Here's a snippet of the error: syscons.o: In function `set_mode': syscons.o(.text+0x5805): undefined reference to `vidsw' syscons.o(.text+0x583f): undefined reference to `vidsw' syscons.o(.text+0x58ca): undefined reference to `vidsw' syscons.o(.text+0x5927): undefined reference to `vidsw' syscons.o: In function `set_border': syscons.o(.text+0x5957): undefined reference to `vidsw' syscons.o(.text+0x5a98): more undefined references to `vidsw' follow *** Error code 1 Stop. *** Error code 1 Stop. Unfortunately, my lack of experience with compiling software forces me to ask what the problem might be here. I have tried the build on two FreeBSD 3.1 machines and got the same errors. As well, I would like to know if it is possible to rebuild the kernel on the floppy. I checked out the kernel.config file on a "network" floppy, but it appears to be blank and has 0 bytes. Lastly, would the "router" version of PicoBSD contain the necessary options already built into the kernel? Thanks for you help and patients. Jeff Lush On Tue, 19 Oct 1999, Jeff Lush wrote: > 00000 divert 8668 ip from any to any via ep0 > /sbin/ipfw: setsockopt(IP_FW_ADD): Invalid Argument > > After this error, that's it, no NAT. I don't understand error. Most of my > configuration came from the man pages on NATD and IPFW from the FreeBSD > website. I am using the kernel that came with 0.41-Network file. The man > page for NATD suggests adding two lines to the kernel config file: > > options IPFIREWALL > options IPDIVERT The error message above tells you (in other words) "these two options are mandatory". You need to rebuild the PicoBSD kernel. Andrzej Bialecki // WebGiro AB, Sweden (http://www.webgiro.com) // ------------------------------------------------------------------- // ------ FreeBSD: The Power to Serve. http://www.freebsd.org -------- // --- Small & Embedded FreeBSD: http://www.freebsd.org/~picobsd/ ---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message