From owner-freebsd-questions Sun Feb 11 14:58:46 2001 Delivered-To: freebsd-questions@freebsd.org Received: from atlrel1.hp.com (atlrel1.hp.com [156.153.255.210]) by hub.freebsd.org (Postfix) with ESMTP id D36F337B4EC for ; Sun, 11 Feb 2001 14:58:41 -0800 (PST) Received: from omgw5.rsvl.itc.hp.com (omgw5.rsvl.itc.hp.com [15.34.240.65]) by atlrel1.hp.com (Postfix) with ESMTP id C91981A3; Sun, 11 Feb 2001 17:58:40 -0500 (EST) Received: from xpabh2.boi.hp.com (xpabh2.boi.hp.com [15.56.8.28]) by omgw5.rsvl.itc.hp.com (8.9.3 (PHNE_18979)/8.9.3 SMKit7.02) with ESMTP id PAA27194; Sun, 11 Feb 2001 15:58:39 -0700 (MST) Received: by xpabh2.boi.hp.com with Internet Mail Service (5.5.2653.19) id <1R0V4NSJ>; Sun, 11 Feb 2001 14:58:39 -0800 Message-ID: From: "DINKEY,GENE (HP-Loveland,ex1)" To: "'Douglas C.Garrick'" , freebsd-questions@FreeBSD.ORG Subject: RE: Kernel Build for a firewall / gateway Date: Sun, 11 Feb 2001 14:58:37 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Think you could post the errors your getting? Gene Dinkey Hewlett Packard Customer Care TCD - PA-RISC based workstations > -----Original Message----- > From: Douglas C.Garrick [mailto:douggarrick@sweetwaterhsa.com] > Sent: Sunday, February 11, 2001 7:48 AM > To: freebsd-questions@FreeBSD.ORG > Subject: Kernel Build for a firewall / gateway > > > I'm not sure what I am doing wrong with this thing so I'm > asking for some help. > ( I hope this is actually a hard problem and not something > really easy that I > should have caught sooner this.) So thanks in advance for > your time and help ) > > Here's the situation. I just got a cable modem. I want to > build a machine > that will forward internet traffic from the rest of my home > network.. > > The machine is a pretty standard clone. Asus P5 166 mhz MB, > 64 Mbytes of ram, > Quantum IDE/ATA disk drive, SONY IDE/ATA cdrom, no floppies. > > Here's what I am doing for the network. I have a 3com 3c509b > on the private > side and a 3com 3c905xl on the public side. Both of these > interfaces come up > and are available to their respective networks. > > I have enabled routed, natd, and ipfirewall in > /etc/rc.conf. I have added > options for IPFIREWALL and IPDIVERT to > ../i386/conf/config-file. I do not > enable IPv6 support anywhere. > > I cannot get this kernel to compile to save my life. > > Here's what I've done to this point. I've tried building the > kernel with the "config config-file' method to no avail. > "Config" works fine, > "make depend" works fine, then "make" always fails with a > syntax error. > Thinking that it may be dependency or probe order issue I'll > check the config > file and try again. The next time through I'll get a syntax > error at a > different *c file. I then figured that I should try > /usr/src/make world, make > buildkernel, make installkernel method. That fails with a > syntax error(s) > like the other method. It actually seems like it's a > compliler error rather > than a code error. hmm... is this a compatibliity thing? > > I've done several FreeBSD systems with nothing but great > success. I use them > for ppp routers and www servers and just general workstations > but now my > teenage daughter ( whose life depends on the availability of > instant messaging > on the computer in her room ) is starting to question my ability. > > > Doug Garrick > douggarrick@sweetwaterhsa.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message