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 
collection.  You might want to try to update /etc with the help of 
mergemaster(8).  Be sure to pass the -i flag to install missing files 
in /etc/rc.d 

> 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     [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ATLAS  i386

-- 
/"\  Best regards,                      | [EMAIL PROTECTED]
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | [EMAIL PROTECTED]
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

Attachment: pgpxJPwdRAya0.pgp
Description: PGP signature

Reply via email to