From owner-freebsd-questions@FreeBSD.ORG Mon May 31 02:10:45 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9701016A4CE for ; Mon, 31 May 2004 02:10:45 -0700 (PDT) Received: from smtp17.wxs.nl (smtp17.wxs.nl [195.121.6.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12FE543D1D for ; Mon, 31 May 2004 02:10:45 -0700 (PDT) (envelope-from marco@beishuizen.info) Received: from yokozuna.bsd (ipd50a233c.speed.planet.nl [213.10.35.60]) by smtp17.wxs.nl (iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004)) with ESMTP id <0HYK00B8FMTA5G@smtp17.wxs.nl> for questions@freebsd.org; Mon, 31 May 2004 11:10:23 +0200 (CEST) Date: Mon, 31 May 2004 11:10:22 +0200 (CEST) From: Marco Beishuizen In-reply-to: <20040530215748.GA43578@bps.jodocus.org> Sender: marco@yokozuna.bsd To: Joost Bekkers Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII; format=flowed Content-transfer-encoding: 7BIT FreeBSD: Homepage: References: <20040530232957.B49195@gaff.hhhr.ision.net> <20040530215748.GA43578@bps.jodocus.org> cc: FreeBSD questions mailing list cc: Olaf Hoyer Subject: Re: ifconfig in rc.conf network problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Marco Beishuizen List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2004 09:10:45 -0000 On stardate Sun, 30 May 2004, the wise Joost Bekkers entered: > On Sun, May 30, 2004 at 11:34:43PM +0200, Olaf Hoyer wrote: >> >> 2) put the media change in a separate shell script, and throw it unter >> /usr/local/etc/rc.d, so that it will be executed later on >> >> something like: >> >>> cat dc0-speedchange.sh >> #!/bin/sh >> ifconfig dc0 media 100baseTX >> > > You might want to put stuff like that in /etc/start_if.dc0 > It gets executed just before the ip address is set or dhclient > is started. Yes, this did the trick. Thanks, Marco -- Message will arrive in the mail. Destroy, before the FBI sees it.