Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Mar 2005 21:03:50 +0100 (MET)
From:      "Martin Jakob" <mjct@buerotiger.de>
To:        freebsd-stable@freebsd.org
Subject:   file /usr/src/etc/rc.d/network is not installed
Message-ID:  <16294.1111867430@www52.gmx.net>

next in thread | raw e-mail | index | archive | help
Hi there,

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?

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

thanks in advance

--
Martin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16294.1111867430>