Date: Sat, 26 Mar 2005 21:10:57 +0100 From: Max Laier <max@love2party.net> To: freebsd-stable@freebsd.org Cc: Martin Jakob <mjct@buerotiger.de> Subject: Re: file /usr/src/etc/rc.d/network is not installed Message-ID: <200503262111.04023.max@love2party.net> In-Reply-To: <16294.1111867430@www52.gmx.net> References: <16294.1111867430@www52.gmx.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503262111.04023.max>