From owner-freebsd-stable@FreeBSD.ORG Sat Mar 26 20:03:52 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 D24BB16A4CE for ; Sat, 26 Mar 2005 20:03:52 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id A897D43D5C for ; Sat, 26 Mar 2005 20:03:51 +0000 (GMT) (envelope-from mjct@buerotiger.de) Received: (qmail 26944 invoked by uid 0); 26 Mar 2005 20:03:50 -0000 Received: from 85.74.57.108 by www52.gmx.net with HTTP; Sat, 26 Mar 2005 21:03:50 +0100 (MET) Date: Sat, 26 Mar 2005 21:03:50 +0100 (MET) From: "Martin Jakob" To: freebsd-stable@freebsd.org MIME-Version: 1.0 X-Priority: 3 (Normal) X-Authenticated: #1630361 Message-ID: <16294.1111867430@www52.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: 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:03:52 -0000 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