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>

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

> On 17 August 2016, at 16:55, Polytropon <freebsd@edvax.de> wrote:
>=20
> On Wed, 17 Aug 2016 16:21:16 -0700, Doug Hardie wrote:
>>=20
>>> On 17 August 2016, at 16:05, Polytropon <freebsd@edvax.de> 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<BROADCAST,SIMPLEX,MULTICAST>
>> 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.





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