From owner-freebsd-net@freebsd.org Wed Sep 28 15:02:18 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 D251AC011F5 for ; Wed, 28 Sep 2016 15:02:18 +0000 (UTC) (envelope-from gradiometric@gmail.com) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (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 6B505121C for ; Wed, 28 Sep 2016 15:02:18 +0000 (UTC) (envelope-from gradiometric@gmail.com) Received: by mail-wm0-x229.google.com with SMTP id l132so240782962wmf.0 for ; Wed, 28 Sep 2016 08:02:18 -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=PmED5wDOwdfOPTaZQLOWUBE9aignbj1YZJXdp5wVnEU=; b=HVy/mlA4ZOUfX+YbFQM4jBlHdZh++Ek2p0vCoul6pUgDkoo6ae7gItH6oukSEogndF 7boP6uFH2t79CNwEb2RLfEP3QXxEoxc3TVlLsT813gBinTQzoqwZJBdMxfz8qqTfJFME P4BC+VYhp9UcmMge/zBMEoXyula7a7x/H6lwU64oN6Y22xQdsIPEhlzOalb7mkIMxBxx va+gjnD3rmQdEeT3imT7dpw4R7ZZpefFW9HHHvaODw5x/xQdlaQ7AiZDTiDVCyMNDt0t WAUiI8YXgyVeyLcKjiTQyvWlxKsfBP53MOr8MfIiqyueYkID8fngHChzKMUJQFKMiuTt db/A== 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=PmED5wDOwdfOPTaZQLOWUBE9aignbj1YZJXdp5wVnEU=; b=dF8vw2KqZxfgdmWi35AMIhDDFusu7AZEFtOINPF50ymiwX0VCFINkAb92zCpDTliKQ SGr70R28sJDyICURrxdH+QYt4DvKhZVrf95FisdqlybVhER173fPNxl4maHjBp7HDRaS 2z6z5WmY8l8szanuqdXnF5+qC1fcXJOLk5X2NUF0jhDzAZrBDCnODbxLnHj9nshq4aPR XcmOIPgEJPukx6OZhmQRodgKI6TR2A4kC7fMPNdMw1eqwapsxrwk9PzvCwLD/cJdRiES 27F5uOcVeKl1gKa7aEnCzwtEXDBioFq/ky96zYL+tc1gBT1uksTwSca+BPLQMUKRAn7u 3Y1g== X-Gm-Message-State: AA6/9Rk2Ahf1U+5EZ79gZh4KsvrxTHZ/L+JhAlHsCu075x3a82DDigBEjqsoCYfPYOEyeIVWPAf0DXxrKDTTbA== X-Received: by 10.28.31.76 with SMTP id f73mr8076132wmf.90.1475074936838; Wed, 28 Sep 2016 08:02:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.203.2 with HTTP; Wed, 28 Sep 2016 08:02:16 -0700 (PDT) In-Reply-To: <2A35EA60C3C77D438915767F458D65688394B821@ORSMSX111.amr.corp.intel.com> References: <653b4473-558b-5ef8-41b7-080ec6c5584d@multiplay.co.uk> <2A35EA60C3C77D438915767F458D65688394B821@ORSMSX111.amr.corp.intel.com> From: Andrew Savchenko Date: Wed, 28 Sep 2016 18:02:16 +0300 Message-ID: Subject: Re: "igb" interfaces aren't picking up media on boot To: "Pieper, Jeffrey E" Cc: "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 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 15:02:18 -0000 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: > cat /etc/rc.d/zzznet #!/bin/sh # PROVIDE: zzznet # REQUIRE: NETWORKING netif cron # KEYWORD: nojail . /etc/rc.subr name="zzznet" start_cmd="${name}_start" stop_cmd=":" zzznet_start() { echo "Waiting 30s before restarting network..." sleep 30 echo "Attempting to restart the network..." /etc/rc.d/netif restart && /etc/rc.d/routing restart echo "Should be restarted now, going on..." } load_rc_config $name run_rc_command "$1" On Wed, Sep 28, 2016 at 4:53 PM, Pieper, Jeffrey E < jeffrey.e.pieper@intel.com> wrote: > ether 00:00:00:00:00:00 > > Doesn't seem like a valid MAC. > > Jeff > -----Original Message----- > From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd-net@freebsd.org] > On Behalf Of Steven Hartland > Sent: Wednesday, September 28, 2016 5:00 AM > To: freebsd-net@freebsd.org > Subject: Re: "igb" interfaces aren't picking up media on boot > > Try assigning an IP to the interface or manually up it. > > On 28/09/2016 12:13, Andrew Savchenko wrote: > > Dear All, > > > > I've moved my lovely server to the datacenter and now pulling my hair out > > while trying to > > understand why both of /dev/igb interfaces aren't picking up Ethernet > > connection on boot. > > Tested with both 10.3-REL and 11.0-REL. > > On the other end it's connected into Dlink DES-1210-52 switch. > > > > When system is booted, running `ifconfig | grep status` over iKVM > returns: > > status: no carrier > > status: no carrier > > > > However, after `/etc/rc.d/netif restart && /etc/rc.d/routing restart` it > > picks up the cable > > which is connected to one of the ports. Both interfaces are Intel I210AT > > integrated in the MB. > > > > For the moment being, the only solution I see is to create a separate > > script in /etc/rc.d > > and restart netif/routing after boot is completed. > > > > Could this be a problem specific to onboard interfaces?.. I was using > this > > particular box > > in other environment without any similar problems on 10.0-REL. > > > > Output from `ifconfig` when one of the interfaces is up: > > igb0: flags=8c02 metric 0 mtu 1500 > > > > options=6403bb MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6> > > ether 00:00:00:00:00:00 > > nd6 options=29 > > media: Ethernet autoselect > > status: no carrier > > igb1: flags=8843 metric 0 mtu > 1500 > > > > options=6403bb MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6> > > ether 00:00:00:00:00:00 > > inet 111.111.111.111 netmask 0xffffff00 broadcast > 111.111.111.255 > > inet 111.111.111.112 netmask 0xffffff00 broadcast > 111.111.111.255 > > nd6 options=29 > > media: Ethernet autoselect (100baseTX ) > > status: active > > lo0: flags=8049 metric 0 mtu 16384 > > options=600003 > > inet6 ::1 prefixlen 128 > > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 > > inet 127.0.0.1 netmask 0xff000000 > > nd6 options=21 > > groups: lo > > > > # uname -a > > [FreeBSD 11.0-RELEASE #0 r306211: Thu Sep 22 21:43:30 UTC 2016 > > root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64] > > _______________________________________________ > > freebsd-net@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-net > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >