Re: ifconfig in rc.conf network problems

From: Joost Bekkers (joost_at_jodocus.org)
Date: 05/30/04

  • Next message: Warren Block: "Re: ifconfig in rc.conf network problems"
    Date: Sun, 30 May 2004 23:57:48 +0200
    To: Olaf Hoyer <ohoyer@ohoyer.de>
    
    

    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
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Warren Block: "Re: ifconfig in rc.conf network problems"