Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 May 2004 23:57:48 +0200
From:      Joost Bekkers <joost@jodocus.org>
To:        Olaf Hoyer <ohoyer@ohoyer.de>
Cc:        Marco Beishuizen <marco@beishuizen.info>
Subject:   Re: ifconfig in rc.conf network problems
Message-ID:  <20040530215748.GA43578@bps.jodocus.org>
In-Reply-To: <20040530232957.B49195@gaff.hhhr.ision.net>
References:  <Pine.BSF.4.60.0405302144360.29310@yokozuna.bsd> <20040530232957.B49195@gaff.hhhr.ision.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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.


-- 
greetz Joost
joost@jodocus.org



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