From owner-freebsd-net@freebsd.org Wed Sep 28 16:03:31 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2D338C013DE for ; Wed, 28 Sep 2016 16:03:31 +0000 (UTC) (envelope-from gradiometric@gmail.com) Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AFAE01621 for ; Wed, 28 Sep 2016 16:03:30 +0000 (UTC) (envelope-from gradiometric@gmail.com) Received: by mail-wm0-x234.google.com with SMTP id l132so243812124wmf.0 for ; Wed, 28 Sep 2016 09:03:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=LsVvrwgWNleNmmP7Li2rQsP1gcG176FS/Y4Q7s3DQiA=; b=X1N/b5F/Kht0GrFjkt3QG81oMBGYaTEP97+cX2FPt5iZSBGFqz78HP6AlPlDDfwYTr Hvwq/J6msAreZver0WVK3gtz/C9Xr7Nai6QP4uQzJWar/bM+YUaOcqNR5Ar/SYY93iCP RI9KMmfwXybWupdWMef6j834/0Mt/yRQQkz+4r81EBH9gqwHkYQCUz5hTjUoOoJYQ6eE 6qStjKMOq/53JoUyFZ2M85GERzsDaAOwxXGp0RKfDtM3YHTJSBBiMNbzDWJM9kVFUHRF evpZaEWbF+V9EwJ//6zyzTZnhYL1SGYaA+k+o/L0hv4vOyeRYvdKeb3p9sYxE32R4D6M RFgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=LsVvrwgWNleNmmP7Li2rQsP1gcG176FS/Y4Q7s3DQiA=; b=JxiAoEEl6KqVrn1NeOINrdhIGe/BUvfO9QOglBKP6+BptWPzSa6kWI+T1L9VBTz3Vl zJNhqqDuQe7zjm+kRL8Ts20xCXHMj1NbEpLBu56cVVf6KgBc4J1dpss7zfmCAti3MVYP EDUodj45ipvVQFaUOjm8n+IPl3X6Qbl7LjQsXekpWXlyIdRCWhOm+7ht8hos3ZXDHR3E 2KR9Vx95gg1ATyUDhyt6AhsI6Sdz1VVtwgubNKYiZk0sIR8pNYxQJAZ0sJXaycz75XDt yivQil4KFWutAOPRv+qArmFDoJA4TxxbCGft7tub1PaPi4zuDd0e0SHOdvOL3l2/mhhu AEsw== X-Gm-Message-State: AA6/9Rm7htHNf9iep0N2lxrRmdx7+bNesZNpTaRA4DB01Pp1f7ehvzXALMc5fZy9Tu0MlF0Ro1bmxxzSgo5/9w== X-Received: by 10.194.84.134 with SMTP id z6mr27580242wjy.204.1475078609045; Wed, 28 Sep 2016 09:03:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.50.70 with HTTP; Wed, 28 Sep 2016 09:03:28 -0700 (PDT) In-Reply-To: References: <653b4473-558b-5ef8-41b7-080ec6c5584d@multiplay.co.uk> <2A35EA60C3C77D438915767F458D65688394B821@ORSMSX111.amr.corp.intel.com> From: Andrew Savchenko Date: Wed, 28 Sep 2016 19:03:28 +0300 Message-ID: Subject: Re: "igb" interfaces aren't picking up media on boot To: Freddie Cash Cc: "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2016 16:03:31 -0000 Nope, unfortunately they stay dead (aka "no carrier") until `netif restart`= . On Wed, Sep 28, 2016 at 6:12 PM, Freddie Cash wrote: > On Wed, Sep 28, 2016 at 8:02 AM, Andrew Savchenko > 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 >