Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Sep 2016 19:03:28 +0300
From:      Andrew Savchenko <gradiometric@gmail.com>
To:        Freddie Cash <fjwcash@gmail.com>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: "igb" interfaces aren't picking up media on boot
Message-ID:  <CAPUkqa4BkZjmSepC2uWUKWeGJWwVjRyKyE85DzEJyKxKtyVrjg@mail.gmail.com>
In-Reply-To: <CAOjFWZ7XE%2B26fewtuudN1FwKP1be%2BQLcFsy64z3c__303kmGxg@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> <CAOjFWZ7XE%2B26fewtuudN1FwKP1be%2BQLcFsy64z3c__303kmGxg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Nope, unfortunately they stay dead (aka "no carrier") until `netif restart`=
.

On Wed, Sep 28, 2016 at 6:12 PM, Freddie Cash <fjwcash@gmail.com> wrote:

> 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 af=
ter
> 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 minut=
e
> 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 t=
he
> network link status changes to up, and/or you can ping the default gatewa=
y
> or any other IP on the network.
>
> Worked for us.  Might work for you.=E2=80=8B
>
>
> --
> Freddie Cash
> fjwcash@gmail.com
>



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