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

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



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