From owner-freebsd-questions@freebsd.org Thu Aug 18 00:14:13 2016 Return-Path: Delivered-To: freebsd-questions@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 51E78BBC6AF for ; Thu, 18 Aug 2016 00:14:13 +0000 (UTC) (envelope-from doug@mail.sermon-archive.info) Received: from zoom.lafn.org (zoom.lafn.org [108.92.93.123]) by mx1.freebsd.org (Postfix) with ESMTP id 3A6C3126B for ; Thu, 18 Aug 2016 00:14:12 +0000 (UTC) (envelope-from doug@mail.sermon-archive.info) Received: from [10.0.1.4] (unknown [71.177.216.148]) by zoom.lafn.org (Postfix) with ESMTPSA id C002B34A9F4; Wed, 17 Aug 2016 17:14:11 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Non working NIC From: Doug Hardie In-Reply-To: <20160818015533.8ae14df0.freebsd@edvax.de> Date: Wed, 17 Aug 2016 17:14:11 -0700 Cc: FreeBSD Questions Content-Transfer-Encoding: quoted-printable Message-Id: <51F88CAD-F4C2-4362-8AEE-EC6E62D8BB6E@mail.sermon-archive.info> References: <224DCDD3-162F-4E67-8C1D-9332C85FC032@mail.sermon-archive.info> <6A68E1F3-95CC-42AE-94B4-02B153E4E83F@mail.sermon-archive.info> <20160818010513.0c95f8df.freebsd@edvax.de> <4AE3B149-4D98-42B6-A362-820F85D4EE10@mail.sermon-archive.info> <20160818015533.8ae14df0.freebsd@edvax.de> To: Polytropon X-Mailer: Apple Mail (2.3124) X-Virus-Scanned: clamav-milter 0.98 at zoom.lafn.org X-Virus-Status: Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Aug 2016 00:14:13 -0000 > On 17 August 2016, at 16:55, Polytropon wrote: >=20 > On Wed, 17 Aug 2016 16:21:16 -0700, Doug Hardie wrote: >>=20 >>> On 17 August 2016, at 16:05, Polytropon wrote: >>>=20 >>> On Wed, 17 Aug 2016 15:56:15 -0700, Doug Hardie wrote: >>>> Added a new NIC (rl0). Removed any reference to msk0 in rc.conf.=20= >>>> Set rl0 for DHCP. Same result, but some additional messages: >>>>=20 >>>> Starting Network: mske0 >>>> Starting Network: rl0 >>>> rl0: link state changed to up >>>> Starting Network: lo0 >>>> Starting dhclient >>>> rl0: not found >>>> exiting >>>>=20 >>>> I am out of ideas here. How can I figure out what is going on and = correct it? >>>=20 >>> This almost looks like a problem with the contents of rc.conf. >>> Can you show all the relevant lines? >>=20 >> ifconfig rl0=3D"DHCP" > ^ > Missing underscore. -> ifconfig_rl0=3D"DHCP" Sorry about that. I have to manually type in whats on the screen. = There are no working network interfaces. I am not a great typist. The = underscore is actually there. >=20 >=20 >=20 >>> Can you manually run "dhclient rl0" at any stage? >>=20 >> rl0: not found >> exiting >=20 > So the question is: Why does the device disappear after the > kernel reported its status change to "up"? >=20 >=20 >=20 >>> What does "ifconfig -a" show? >>=20 >> : flags=3D8802 >> ifconfig: ioctl(SIOCGIFINFO_IN6): Device not configured >=20 > It seems that one is related to IPv6. It looks that way. I chased down the not found message in dhclient. It = is generated in discover_interfaces as the result of a getifaddrs call. I added to rc.conf: ipv6_network_interfaces=3D"none" ipv6_activate_all_interfaces=3D"NO" Didn't change anything.