Re: ifconfig in rc.conf network problems

From: Marco Beishuizen (marco_at_beishuizen.info)
Date: 05/31/04

  • Next message: Marco Beishuizen: "Re: ifconfig in rc.conf network problems"
    Date: Mon, 31 May 2004 11:10:22 +0200 (CEST)
    To: Joost Bekkers <joost@jodocus.org>
    
    

    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.
    _______________________________________________
    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: Marco Beishuizen: "Re: ifconfig in rc.conf network problems"