ifconfig in rc.conf network problems

Joost Bekkers joost at jodocus.org
Sun May 30 14:58:51 PDT 2004


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 at jodocus.org


More information about the freebsd-questions mailing list