From owner-freebsd-stable@FreeBSD.ORG Sat Mar 26 20:11:17 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A3A716A4CE for ; Sat, 26 Mar 2005 20:11:17 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id A146243D3F for ; Sat, 26 Mar 2005 20:11:16 +0000 (GMT) (envelope-from max@love2party.net) Received: from [212.227.126.160] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1DFHcq-0008IX-00; Sat, 26 Mar 2005 21:11:16 +0100 Received: from [217.227.144.199] (helo=donor.laier.local) by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128) (Exim 3.35 #1) id 1DFHcp-0003dE-00; Sat, 26 Mar 2005 21:11:15 +0100 From: Max Laier To: freebsd-stable@freebsd.org Date: Sat, 26 Mar 2005 21:10:57 +0100 User-Agent: KMail/1.7.2 References: <16294.1111867430@www52.gmx.net> In-Reply-To: <16294.1111867430@www52.gmx.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2663728.pG6JPL7imU"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200503262111.04023.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:61c499deaeeba3ba5be80f48ecc83056 cc: Martin Jakob Subject: Re: file /usr/src/etc/rc.d/network is not installed X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2005 20:11:17 -0000 --nextPart2663728.pG6JPL7imU Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 26 March 2005 21:03, Martin Jakob wrote: > I searched a way to activate new interface/network settings after changes > to /etc/rc.conf (defaultrouter, interface aliases, etc.). I found the > /etc/netstart script, which does what i want. In the script i found a > comment, which says, that this script is obsoleted by /etc/rc.network, but > i (well, actually locate) can't find this file anywhere. > > I then browsed the cvs to search for this script. > I found in src/etc/rc.d/ the "network" script, which seems able to handle > my network reconfiguration demands. Yet, bravely copying it to /etc/rc.d > and executing it, does not work. It produces warnings like: > WARNING: $flushroutes is not set properly - see rc.conf(5). or > WARNING: $auto_ifconfig is not set properly - see rc.conf(5) > and the default route is not set. > (yeah, i read rc.conf as advised, but i still have no clue where to set > this variables). > So, maybe there is a cause this script is not installed? It seems that your /etc/defaults/rc.conf is outdated - as is your /etc/rc.d= =20 collection. You might want to try to update /etc with the help of=20 mergemaster(8). Be sure to pass the -i flag to install missing files=20 in /etc/rc.d=20 > What is the correct way to reconfigure the network (besides ifconfig and > friends :)? > > the system: > FreeBSD freebsd.local 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #1: Sat Mar 26 > 19:24:16 CET 2005 root@freebsd.local:/usr/obj/usr/src/sys/ATLAS i386 =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart2663728.pG6JPL7imU Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCRcHXXyyEoT62BG0RAoRuAJ0ZYAVbffsHYdN2YgwKSiK0oABuPACeJNx7 eTm2M6Lba7D5x6X/GQt48lY= =J0Q6 -----END PGP SIGNATURE----- --nextPart2663728.pG6JPL7imU--