Drivers - NIC - Intel NUC 8i3BEK - Will This Work?

Getting your soundcard to work, using Debian on non-i386 hardware, etc

Drivers - NIC - Intel NUC 8i3BEK - Will This Work?

Postby Alan1901 » 2019-08-07 07:49

Hi All,

I am trying to get an Intel NUC 8i3BEK to work with Debian, but I cannot seem to get the NIC to work.

I have Googled generally, and search the forum, but I cannot find anything that indicates how this can be done. I did find a reference to someone else saying that they had the same problem, but no solution unfortunately.

If it helps, running 'lspci' includes this line:

Code: Select all
00:1f.6 Ethernet controller: Intel Corporation Device 15be (rev 30)


The output from 'dmidecode' includes this:

Code: Select all
On Board Device 2 Information
   Type: Ethernet
   Status: Enabled
   Description:  Intel(R) I219-V Gigabit Network Device


On the Intel site, I searched for 'I219-V' in the driver download section, which automatically expanded to 'Intel® Ethernet Connection I219-V', and under drivers there is a Linux option, which leads to a page titled:

Intel® Network Adapter Gigabit Base Driver for FreeBSD*
https://downloadcenter.intel.com/download/17509/Intel-Network-Adapter-Gigabit-Base-Driver-for-FreeBSD-?v=t

Linked from that page is a download for a file called:

em-7.7.5.tar.gz
https://downloadcenter.intel.com/downloads/eula/17509/Intel-Network-Adapter-Gigabit-Base-Driver-for-FreeBSD-?httpDown=https%3A%2F%2Fdownloadmirror.intel.com%2F17509%2Feng%2Fem-7.7.5.tar.gz

So, can I use that file somehow to enable the NIC on the NUC for Debian, even though it is stated to be for BSD?

There is 'ReadMe' (txt) file:
https://downloadmirror.intel.com/17509/eng/readme.txt

that includes instructions on 'Building and Installation' but I have never done this before.

Can I just follow those instructions somewhat blindly (first timer) and are there any risks to my setup of doing so, that I should know in advance?

For example, it says:

4. To load the driver onto a running system:

cd em-x.x.x/src
make load


Then further down it says:

7. If you want the driver to load automatically when the system is booted:

cd em-x.x.x/src
make
make install

Edit /boot/loader.conf, and add the following line:
if_em_load="YES"

Edit /etc/rc.conf, and create the appropriate ifconfig_em<interface_num> entry:

ifconfig_em<interface_num>="<ifconfig_settings>"

Example usage:
ifconfig_em0="inet 192.168.10.1 netmask 255.255.255.0"



I would definitely want it to load automatically when the system is booted, so does that mean I leave out Step 4 (as it is, implicitly at least, a one-time deal), and just do Step 7 instead, or do I have to do Step 4 once, the first, then do Step 7 as well? Worst of all, if I do Step 4, will it scupper any hope of Step 7 working, and if so, only for that boot session, or for any future bootup?



Thanks,

Alan.
Last edited by Alan1901 on 2019-08-07 08:33, edited 1 time in total.
Alan1901
 
Posts: 13
Joined: 2019-01-28 04:15

Re: Drivers - NIC - Intel NUC 8i3BEK - Will This Work?

Postby Head_on_a_Stick » 2019-08-07 08:33

Which version of Debian are you trying?

Alan1901 wrote:If it helps, running 'lspci' includes this line:

Code: Select all
00:1f.6 Ethernet controller: Intel Corporation Device 15be (rev 30)

The -nn option for lspci will give you the vendor & product IDs which will let you search for Linux support: https://wiki.debian.org/HowToIdentifyADevice/PCI

But it looks like your ID database doesn't cover that card so run this command first:
Code: Select all
# update-pciids

The driver is almost certainly included in the kernel provided with Debian 10 (buster) but you may need non-free firmware as well.

https://wiki.debian.org/Firmware
User avatar
Head_on_a_Stick
 
Posts: 10364
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Drivers - NIC - Intel NUC 8i3BEK - Will This Work?

Postby Alan1901 » 2019-08-07 08:39

Hi Head_on_a_Stick,

Head_on_a_Stick wrote:Which version of Debian are you trying?


Debian 9.

Head_on_a_Stick wrote:The -nn option for lspci will give you the vendor & product IDs which will let you search for Linux support: https://wiki.debian.org/HowToIdentifyADevice/PCI

But it looks like your ID database doesn't cover that card so run this command first:
Code: Select all
# update-pciids

The driver is almost certainly included in the kernel provided with Debian 10 (buster) but you may need non-free firmware as well.

https://wiki.debian.org/Firmware


I can't really update to Debian 10 at this point, as it will be used to run a 3CX Server, and I believe that, currently, Debian 9 is the supported version.

I ran:
Code: Select all
# update-pciids


followed by:
Code: Select all
# lspci -nn


which returned:

Code: Select all
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (6) I219-V [8086:15be] (rev 30)


That is consistent with the output of 'dmidecode' as per my first post above (happily!)


Do you think I can use that BSD driver I have linked above?

I was editing my question when you posted, so it might not have mentioned the BSD driver when you read it - apologies for that.

Thanks,

Alan.
Alan1901
 
Posts: 13
Joined: 2019-01-28 04:15

Re: Drivers - NIC - Intel NUC 8i3BEK - Will This Work?

Postby Head_on_a_Stick » 2019-08-07 09:00

No, the BSD driver will not work.

Looks like that device uses the e1000e driver, which is included with the kernel, so try the version in the stretch-backports repository: viewtopic.php?f=16&t=139003

The kernel provided with Debian 10 should support that device OOTB, check with a live ISO image.
User avatar
Head_on_a_Stick
 
Posts: 10364
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Drivers - NIC - Intel NUC 8i3BEK - Will This Work?

Postby Alan1901 » 2019-08-07 09:41

Hi,

Head_on_a_Stick wrote:Looks like that device uses the e1000e driver, which is included with the kernel, so try the version in the stretch-backports repository: viewtopic.php?f=16&t=139003

The kernel provided with Debian 10 should support that device OOTB, check with a live ISO image.


Okay, if I understand correctly, I will need to:

1) Download and boot a live ISO of Debian 10 - Is this one okay?

https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-10.0.0-amd64-netinst.iso

I note that it is an AMD 64Bit version, whereas the NUC is Intel - is that likely to be a problem?

2) If that works, I then follow the instructions in your post linked above, and update the Debian 9 setup with the Debian 10 kernel (which I note is also AMD 64 Bit) - this will include the drivers for the NIC.


I guess my only question is whether the AMD 64 Bit version will work with the Intel NUC?

Thanks,

Alan.
Alan1901
 
Posts: 13
Joined: 2019-01-28 04:15

Re: Drivers - NIC - Intel NUC 8i3BEK - Will This Work?

Postby Head_on_a_Stick » 2019-08-07 09:43

The amd64 ISO image is suitable for all 64-bit x86 processors.

EDIT: the image to which you have linked is not a live version, try https://cdimage.debian.org/debian-cd/cu ... bt-hybrid/ instead or use versions that include non-free firmware, not sure if that's needed for your hardware.
User avatar
Head_on_a_Stick
 
Posts: 10364
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Drivers - NIC - Intel NUC 8i3BEK - Will This Work?

Postby Alan1901 » 2019-08-07 10:47

Hi,

There are a load of ISOs in that location, so I figured the one that has the word 'standard' in it might be the safest bet:

https://cdimage.debian.org/debian-cd/current-live/amd64/bt-hybrid/debian-live-10.0.0-amd64-standard.iso.torrent

I am downloading that now.

Assuming that's okay, I will live boot it, and see if I can get the NIC working. If so, I will run the backport updates per your link above.


Thanks,

Alan.
Alan1901
 
Posts: 13
Joined: 2019-01-28 04:15

Re: Drivers - NIC - Intel NUC 8i3BEK - Will This Work?

Postby Alan1901 » 2019-08-07 22:41

Hi,

I booted from the Live Debian 10 ISO, and I could get a network connection through the NIC, so that's good news.

I then ran the command in your other post to install the updated kernel:

I added 'deb http://deb.debian.org/debian stretch-backports main contrib non-free' to the end of /etc/apt/sources.list.

Then I ran:
Code: Select all
# apt update

# apt install -t stretch-backports linux-image-amd64


I then rebooted, but still no network connection.

Since I need to get this working, I have gotten the NUC to connect to the network by using an external USB ethernet adapter, but I'd still like to have the internal NIC functional if at all possible.

However, I am now wondering if using the USB adapter has gotten in the way?

The /etc/network/interfaces now looks like this (I did temporarily fix the IP by editing this file, but have since returned it to 'standard' as it was before I edited):

Code: Select all
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug enx00800fb03f11
iface enx00800fb03f11 inet dhcp
# This is an autoconfigured IPv6 interface
iface enx00800fb03f11 inet6 auto


If I do an 'ip address show', with the USB adapter unplugged from the network, and the built in NIC plugged in to the network, I get this:

Code: Select all
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 94:c6:91:ae:9f:1a brd ff:ff:ff:ff:ff:ff
3: enx00800fb03f11: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:80:0f:b0:3f:11 brd ff:ff:ff:ff:ff:ff


I am guessing that 'enx00800fb03f11' is the USB adapter, and 'en01' is the built in NIC?


So, it appears that even after installing the updated kernel from the BackPorts, it still isn't working.

Thanks,

Alan.
Alan1901
 
Posts: 13
Joined: 2019-01-28 04:15

Re: Drivers - NIC - Intel NUC 8i3BEK - Will This Work?

Postby stevepusser » 2019-08-08 00:56

I'm pretty sure you also need the updated firmware from stretch-backports. You could install "firmware-linux-nonfree" from there, which is a metapackage that will pull in all the firmware, but I also sorta remember that the NIC firmware is in the "firmware-misc-nonfree" package: https://packages.debian.org/stretch-bac ... sc-nonfree
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Foliate 1.5.3, Minitube 3.1, wine-staging 4.14, Virtual Box 5.2.32 & 6.0.10, Pale Moon 28.6.1, Waterfox 56.2.13
User avatar
stevepusser
 
Posts: 11037
Joined: 2009-10-06 05:53

Re: Drivers - NIC - Intel NUC 8i3BEK - Will This Work?

Postby Alan1901 » 2019-08-08 11:29

Hi Steve,

stevepusser wrote:I'm pretty sure you also need the updated firmware from stretch-backports. You could install "firmware-linux-nonfree" from there, which is a metapackage that will pull in all the firmware, but I also sorta remember that the NIC firmware is in the "firmware-misc-nonfree" package: https://packages.debian.org/stretch-bac ... sc-nonfree


Is there any downside to installing the metapackage, except the additional disk space?

If not, then probably best to use that one?

Thanks,

Alan.
Alan1901
 
Posts: 13
Joined: 2019-01-28 04:15

Re: Drivers - NIC - Intel NUC 8i3BEK - Will This Work?

Postby stevepusser » 2019-08-09 02:07

No downsides, except the extra disk space. Distros that do ship non-free firmware include them all as a matter of course.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Foliate 1.5.3, Minitube 3.1, wine-staging 4.14, Virtual Box 5.2.32 & 6.0.10, Pale Moon 28.6.1, Waterfox 56.2.13
User avatar
stevepusser
 
Posts: 11037
Joined: 2009-10-06 05:53


Return to Hardware

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable