From owner-freebsd-questions Wed Feb 28 19:19:29 2001 Delivered-To: freebsd-questions@freebsd.org Received: from clmboh1-smtp3.columbus.rr.com (clmboh1-smtp3.columbus.rr.com [65.24.0.112]) by hub.freebsd.org (Postfix) with ESMTP id 7C8CD37B719 for ; Wed, 28 Feb 2001 19:19:27 -0800 (PST) (envelope-from wmoran@mail.iowna.com) Received: from mail.iowna.com (dhcp065-024-023-038.columbus.rr.com [65.24.23.38]) by clmboh1-smtp3.columbus.rr.com (8.11.2/8.11.2) with ESMTP id f213GqV13676; Wed, 28 Feb 2001 22:16:52 -0500 (EST) Message-ID: <3A9DBF2E.37D4C261@mail.iowna.com> Date: Wed, 28 Feb 2001 22:17:02 -0500 From: Bill Moran X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Rafael Caballero Jr Cc: freebsd-questions@FreeBSD.ORG Subject: Re: FreeBSD and a cable modem References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Rafael Caballero Jr wrote: > > I'm a newbie to FreeBSD as I've grown tired of Microsoft and chose to go > with FreeBSD as my choice of server at home. > I have a 233MHZ with 128 MB RAM. I've allocated 2.0 GB for FreeBSD as I plan > on running it for squid, webserver, and proxy. I have 2 NIC's in it (3Com > 3c905TX). I have a cable modem that DHCP's my IP address so I've been > trying to set up the ETH0 for DHCP but it will not allow me or does not > recognize the DHCP server at RoadRunner. How do I set up my FreeBSD box to > accept DHCP so that I can run NAT on my ETH1 so that it may serve as a > proxy? Part of your problem may be that FreeBSD does not label ethernet adapters as eth# devices like Linux does. They're probably ed# or something like that - different drivers for different ethernet card types have different abbreviations. To find out what FreeBSD detects, either look at dmesg output or "ifconfig -a" output. Once you know what the adapter devices are called (let's assume it's ed#) you can simply add this line to /etc/rc.conf ifconfig_ed1="DHCP" And it should work just fine. I'm using Roadrunner here with FreeBSD and I'm having no trouble. Good luck, Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message