Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Sep 2016 08:12:06 -0700
From:      Freddie Cash <fjwcash@gmail.com>
To:        Andrew Savchenko <gradiometric@gmail.com>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: "igb" interfaces aren't picking up media on boot
Message-ID:  <CAOjFWZ7XE%2B26fewtuudN1FwKP1be%2BQLcFsy64z3c__303kmGxg@mail.gmail.com>
In-Reply-To: <CAPUkqa7ngE9ptd8oYRYjCru5Kh7H_LSOqi6gVpy-eUqiR5jwVQ@mail.gmail.com>
References:  <CAPUkqa7-oRuparA_dhLmT8J17w6GVeqMfaFvjzHVDir--6qvSA@mail.gmail.com> <653b4473-558b-5ef8-41b7-080ec6c5584d@multiplay.co.uk> <2A35EA60C3C77D438915767F458D65688394B821@ORSMSX111.amr.corp.intel.com> <CAPUkqa7ngE9ptd8oYRYjCru5Kh7H_LSOqi6gVpy-eUqiR5jwVQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 28, 2016 at 8:02 AM, Andrew Savchenko <gradiometric@gmail.com>
wrote:

> MAC's and IP's are abviously changed.
> For the moment being I have "solved" this by a tiny script in /etc/rc.d/
> that restarts networking & routing after the system boot:
>

=E2=80=8BDo the NICs eventually pick up carrier status if you leave it afte=
r boot?
Could it just be slow picking up status changes?  We had a couple em(4) or
igb(4) (forget now) NICs that were like that.  Took a good minute after
boot before the NIC was finished initialising and detected the link.

If that's the case, and you don't mind the wait (and want to make sure
networking is working once the boot is complete), you can use the netwait_*
options in /etc/rc.conf.  That will pause the boot process until either the
network link status changes to up, and/or you can ping the default gateway
or any other IP on the network.

Worked for us.  Might work for you.=E2=80=8B


--=20
Freddie Cash
fjwcash@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ7XE%2B26fewtuudN1FwKP1be%2BQLcFsy64z3c__303kmGxg>