Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Aug 2016 17:14:11 -0700
From:      Doug Hardie <doug@mail.sermon-archive.info>
To:        Polytropon <freebsd@edvax.de>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Non working NIC
Message-ID:  <51F88CAD-F4C2-4362-8AEE-EC6E62D8BB6E@mail.sermon-archive.info>
In-Reply-To: <20160818015533.8ae14df0.freebsd@edvax.de>
References:  <224DCDD3-162F-4E67-8C1D-9332C85FC032@mail.sermon-archive.info> <C5192B10-AD4E-4966-88EA-486AE1DA9116@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>

index | next in thread | previous in thread | raw e-mail


> On 17 August 2016, at 16:55, Polytropon <freebsd@edvax.de> wrote:
> 
> On Wed, 17 Aug 2016 16:21:16 -0700, Doug Hardie wrote:
>> 
>>> On 17 August 2016, at 16:05, Polytropon <freebsd@edvax.de> wrote:
>>> 
>>> 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. 
>>>> Set rl0 for DHCP.  Same result, but some additional messages:
>>>> 
>>>> Starting Network: mske0
>>>> Starting Network: rl0
>>>> rl0: link state changed to up
>>>> Starting Network: lo0
>>>> Starting dhclient
>>>> rl0: not found
>>>> exiting
>>>> 
>>>> I am out of ideas here.  How can I figure out what is going on and correct it?
>>> 
>>> This almost looks like a problem with the contents of rc.conf.
>>> Can you show all the relevant lines?
>> 
>> ifconfig rl0="DHCP"
>          ^
> Missing underscore. -> ifconfig_rl0="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.

> 
> 
> 
>>> Can you manually run "dhclient rl0" at any stage?
>> 
>> rl0: not found
>> exiting
> 
> So the question is: Why does the device disappear after the
> kernel reported its status change to "up"?
> 
> 
> 
>>> What does "ifconfig -a" show?
>> 
>> : flags=8802<BROADCAST,SIMPLEX,MULTICAST>
>> ifconfig: ioctl(SIOCGIFINFO_IN6): Device not configured
> 
> 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="none"
ipv6_activate_all_interfaces="NO"


Didn't change anything.




help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51F88CAD-F4C2-4362-8AEE-EC6E62D8BB6E>