From owner-freebsd-questions@FreeBSD.ORG Wed Nov 12 10:43:12 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FEC316A4CE for ; Wed, 12 Nov 2003 10:43:12 -0800 (PST) Received: from famine.e-raist.com (69-30-69-105.dq1mn.easystreet.com [69.30.69.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FD6243FE3 for ; Wed, 12 Nov 2003 10:43:09 -0800 (PST) (envelope-from aburke@nullplusone.com) Received: from thebe ([199.26.172.103]) (authenticated bits=0) by famine.e-raist.com (8.12.8/8.12.8) with ESMTP id hACIh4fL087195; Wed, 12 Nov 2003 10:43:07 -0800 (PST) From: "Aaron Burke" To: "Derek Zeanah" , Date: Wed, 12 Nov 2003 10:41:45 -0800 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) In-Reply-To: <3FA06CF6.5060804@zeanah.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Subject: RE: internet setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2003 18:43:12 -0000 > B F wrote: > > >Can someone just tell me step by step how to get my internet > running starting from a FreeBSD clean install? I have spent days > trying different things I've read on websites and books, but have > yet to get it working. Thanks. > > > I'm new to BSD, but if it was Windows I'd just tell you to enable DHCP > on the FreeBSD box to get your network settings from your cable modem, > and be happy. If that's not your style, then give your BSD box the > network settings manually (probably 192.168.x.y for the IP address, with > 255.255.255.0 as a subnet mask. Just pick something with a different > final number than either of your other machines. ;) ) If you get the address via DHCP, run the following (my interface is ed0). alpha# dhclient ed0 And if you want it to get the address on boot, add the following to /etc/rc.conf ifconfig_ed0="DHCP" #internet connection If you want it to be a router as well, add the following to rc.conf gateway_enable="YES"