From owner-freebsd-questions Tue Apr 13 21:15:34 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 1793C14E57 for ; Tue, 13 Apr 1999 21:15:25 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.8.8) id AAA23102; Wed, 14 Apr 1999 00:13:14 -0400 (EDT) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199904140413.AAA23102@cc942873-a.ewndsr1.nj.home.com> Subject: Re: Cable Internet In-Reply-To: <3.0.5.32.19990413210015.007a3bb0@ogden.sd27.bc.ca> from Chris at "Apr 13, 99 09:00:15 pm" To: chris@ogden.sd27.bc.ca (Chris) Date: Wed, 14 Apr 1999 00:13:14 -0400 (EDT) Cc: freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Chris wrote, > Hi, > I am setting up my freebsd machine to run on the internet. I have a cable > modem and a static IP address. All I need to do is edit the /etc/rc.conf > and put these lines in it > > add ip.address.here > netmask 255.255.255.0 > gateway gateways.ip.address > > Is this correct? Please let me know if not. Thanks Not quite, ifconfig_interface="inet ip.address.here netmask 255.255.255.0" defaultrouter="gateways.ip.address" network_interfaces="interface lo0" hostname="myhost.mydomain.org" Where 'interface' is the name of the interface, like ed0, de0, or fxp0, etc., and the rest are self-explaintory. You can also do the configuration in /stand/sysinstall and fill in the blanks. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message