From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 22 12:35:57 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B24316A41F for ; Thu, 22 Sep 2005 12:35:57 +0000 (GMT) (envelope-from freebsd@redry.net) Received: from luke.segpub.com.au (luke.segpub.com.au [64.49.254.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0B2243D49 for ; Thu, 22 Sep 2005 12:35:56 +0000 (GMT) (envelope-from freebsd@redry.net) Received: (qmail 1695 invoked by uid 89); 22 Sep 2005 22:35:55 +1000 Received: by simscan 1.1.0 ppid: 1670, pid: 1679, t: 1.4999s scanners: clamav: 0.86.1/m:33/d:984 spam: 3.0.4 Received: from unknown (HELO ?137.43.83.191?) (137.43.83.191) by 0 with SMTP; 22 Sep 2005 22:35:53 +1000 Message-ID: <4332A528.8050703@redry.net> Date: Thu, 22 Sep 2005 13:35:52 +0100 From: eoghan User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andreas Klemm References: <200509190935.36658.root@solink.ru> <432E86D5.7000109@redry.net> <20050922055638.GA26345@titan.klemm.apsfilter.org> In-Reply-To: <20050922055638.GA26345@titan.klemm.apsfilter.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on luke.segpub.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-hackers@freebsd.org Subject: Re: network settings X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Sep 2005 12:35:57 -0000 Andreas Klemm wrote: > On Mon, Sep 19, 2005 at 10:37:25AM +0100, eoghan wrote: > >>[... rc.conf ...] >>Also, my network assign ip's to each pc on the network. >>I noticed in the conf the ip was specified, which can >>change... is there any way of doing this in the rc.conf? > > > So you have a DHCP server in your network. > > You can configure the interface in FreeBSD, so that it makes > use of the DHCP service. To get ip address, network mask, > default route, DNS servers automatically. > > All you need to do is to configure the interface in > /etc/rc.conf with > ....="DHCP" > > You may also configure everything static for your machine > if you know, if there are some IPs in your network reserved > for static IPs. > > Typically Servers get static IPs and DNS entries on a network. > > If you are working with a laptop and have to use different > settings for your system, lets say in one network DHCP, in > another location you need a certain static ip, then you > can have a look at the port sysutils/personality. > > It helps you to add system files to kind of a "flat file > repository". Then you can save these file under a name > of your choice. > > You simply restore the settings, whenever you change to > a location which needs different settings and reboot. > > Another method is to put it very early in a system > startup file. But this method is tricky. Not too early > and not too late in the system boot process ... It needs > surely some fiddeling and trial and error ... > > Andreas /// > Thanks Andreas... I have actually got it sorted. As suggested my rc.conf was full of bad entries because i kept going to sysinstall to setup my network again and again. Newbie error :). I edited it removing everything bad and now i have it working perfect. Thanks for the tips. On a different note... I tried the upgrade from the sysinstall and used the main ftp freebsd site... but it chocked at a perl install. I assume this is for the ports tree? Now on shutdown i get stuff like: Not Found. Not Found. Not Found. I cant exactly remember what the message is but it is something like this. Im in work and my freebsd machine is at home. Any clues? Eohgan