From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 19 09:37:29 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 0151116A41F for ; Mon, 19 Sep 2005 09:37:29 +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 7EC7143D49 for ; Mon, 19 Sep 2005 09:37:28 +0000 (GMT) (envelope-from freebsd@redry.net) Received: (qmail 59629 invoked by uid 89); 19 Sep 2005 19:37:27 +1000 Received: by simscan 1.1.0 ppid: 59599, pid: 59610, t: 0.7798s 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; 19 Sep 2005 19:37:26 +1000 Message-ID: <432E86D5.7000109@redry.net> Date: Mon, 19 Sep 2005 10:37:25 +0100 From: eoghan User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bachilo Dmitry References: <200509190935.36658.root@solink.ru> In-Reply-To: <200509190935.36658.root@solink.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit 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=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: Mon, 19 Sep 2005 09:37:29 -0000 Bachilo Dmitry wrote: > В сообщении от Воскресенье 18 Сентябрь 2005 22:10 eoghan написал(a): > > You should write all the stuff to /etc/rc.conf (see man rc.conf for that), but > in my opinion if you actually did /stand/sysinstall many times, your rc.conf > "got cancer" if i can say so, because it writes the changes all the time in > rc.conf not deleting previous. You should just write once something like: > > ifconfig_xl0="inet netmask "' > defaultrouter="" > > and write down to the /etc/resolve.conf: > > nameserver > > > or simply write down to /etc/rc.conf: > ifconfig_xl0="DHCP" Thanks for the info. i did have a look through the rc.conf and it sure does look like its written the settings many times. Does anyone have a sample of a clean 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? Eoghan