How can I install intel gigabit ethernet driver igb?

If none of the more specific forums is the right place to ask

How can I install intel gigabit ethernet driver igb?

Postby cola » 2019-08-24 09:49

How can I install intel gigabit ethernet driver igb? What is the command to check lan driver information?
User avatar
cola
 
Posts: 287
Joined: 2009-03-09 21:28
Location: Dhaka,Bangladesh


Re: How can I install intel gigabit ethernet driver igb?

Postby p.H » 2019-08-25 11:14

The igb driver is included in Debian stock kernels as a module, so it should already be installed.
Code: Select all
/sbin/modinfo igb
p.H
 
Posts: 1080
Joined: 2017-09-17 07:12

Re: How can I install intel gigabit ethernet driver igb?

Postby Head_on_a_Stick » 2019-08-25 17:21

cola wrote:What is the command to check lan driver information?

Code: Select all
lspci -k

See also https://wiki.debian.org/HowToIdentifyADevice/PCI
User avatar
Head_on_a_Stick
 
Posts: 10377
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: How can I install intel gigabit ethernet driver igb?

Postby stevepusser » 2019-08-25 18:50

Some of the Intel ethernet NICs require non-free firmware, which is not included in the default ISO. They are in the "firmware-misc-nonfree" package. You can get ISOs from Deban that do include the firmware, though.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Calibre 3.47.1, QMPlay2 19.09.03, wine-staging 4.15, Telegram-desktop 1.8.4, Pale Moon 28.7.0, Waterfox 56.2.14
User avatar
stevepusser
 
Posts: 11088
Joined: 2009-10-06 05:53

Re: How can I install intel gigabit ethernet driver igb?

Postby cola » 2019-08-27 16:40

p.H wrote:The igb driver is included in Debian stock kernels as a module, so it should already be installed.
Code: Select all
/sbin/modinfo igb

Code: Select all
filename:       /lib/modules/4.9.0-4-amd64/kernel/drivers/net/ethernet/intel/igb/igb.ko
version:        5.4.0-k
license:        GPL
description:    Intel(R) Gigabit Ethernet Network Driver
author:         Intel Corporation, <e1000-devel@lists.sourceforge.net>
srcversion:     46155313D5702B57DAFB184
alias:          pci:v00008086d000010D6sv*sd*bc*sc*i*
alias:          pci:v00008086d000010A9sv*sd*bc*sc*i*
alias:          pci:v00008086d000010A7sv*sd*bc*sc*i*
alias:          pci:v00008086d000010E8sv*sd*bc*sc*i*
alias:          pci:v00008086d00001526sv*sd*bc*sc*i*
alias:          pci:v00008086d0000150Dsv*sd*bc*sc*i*
alias:          pci:v00008086d000010E7sv*sd*bc*sc*i*
alias:          pci:v00008086d000010E6sv*sd*bc*sc*i*
alias:          pci:v00008086d00001518sv*sd*bc*sc*i*
alias:          pci:v00008086d0000150Asv*sd*bc*sc*i*
alias:          pci:v00008086d000010C9sv*sd*bc*sc*i*
alias:          pci:v00008086d00000440sv*sd*bc*sc*i*
alias:          pci:v00008086d0000043Csv*sd*bc*sc*i*
alias:          pci:v00008086d0000043Asv*sd*bc*sc*i*
alias:          pci:v00008086d00000438sv*sd*bc*sc*i*
alias:          pci:v00008086d00001516sv*sd*bc*sc*i*
alias:          pci:v00008086d00001511sv*sd*bc*sc*i*
alias:          pci:v00008086d00001510sv*sd*bc*sc*i*
alias:          pci:v00008086d00001527sv*sd*bc*sc*i*
alias:          pci:v00008086d0000150Fsv*sd*bc*sc*i*
alias:          pci:v00008086d0000150Esv*sd*bc*sc*i*
alias:          pci:v00008086d00001524sv*sd*bc*sc*i*
alias:          pci:v00008086d00001523sv*sd*bc*sc*i*
alias:          pci:v00008086d00001522sv*sd*bc*sc*i*
alias:          pci:v00008086d00001521sv*sd*bc*sc*i*
alias:          pci:v00008086d0000157Csv*sd*bc*sc*i*
alias:          pci:v00008086d0000157Bsv*sd*bc*sc*i*
alias:          pci:v00008086d00001538sv*sd*bc*sc*i*
alias:          pci:v00008086d00001537sv*sd*bc*sc*i*
alias:          pci:v00008086d00001536sv*sd*bc*sc*i*
alias:          pci:v00008086d00001533sv*sd*bc*sc*i*
alias:          pci:v00008086d00001539sv*sd*bc*sc*i*
alias:          pci:v00008086d00001F45sv*sd*bc*sc*i*
alias:          pci:v00008086d00001F41sv*sd*bc*sc*i*
alias:          pci:v00008086d00001F40sv*sd*bc*sc*i*
depends:        ptp,dca,i2c-algo-bit
intree:         Y
vermagic:       4.9.0-4-amd64 SMP mod_unload modversions
parm:           max_vfs:Maximum number of virtual functions to allocate per physical function (uint)
parm:           debug:Debug level (0=none,...,16=all) (int)

How can I enable eth0 or the ethernet device so that ifconfig shows that?
Code: Select all
/etc/init.d/networking restart
[....] Restarting networking (via systemctl): networking.serviceJob for networking.service failed because the control process exited with error code.
See "systemctl status networking.service" and "journalctl -xe" for details.
 failed!

ifup eth0
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Cannot find device "eth0"
Failed to get interface index: No such device

If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug.  These pages explain the proper
process and the information we find helpful for debugging..

exiting.
ifup: failed to bring up eth0

cat /etc/network/interfaces
# 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

auto eth0
allow-hotplug eth0
iface eth0 inet dhcp
User avatar
cola
 
Posts: 287
Joined: 2009-03-09 21:28
Location: Dhaka,Bangladesh

Re: How can I install intel gigabit ethernet driver igb?

Postby stevepusser » 2019-08-27 18:42

Did you install firmware-misc-nonfree yet?

You can download if from the bottom of the page I linked above, and install as root or with sudo with

Code: Select all
dpkg -i <name_of_deb_file>
after transferring it to the isolated computer.

Please, take a look at the page and see that it does install firmware for Intel NICs. I'd appreciate it if you would try the suggested fixes before you keep asking for help. They have solved the exact same issue for many others in the past.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Calibre 3.47.1, QMPlay2 19.09.03, wine-staging 4.15, Telegram-desktop 1.8.4, Pale Moon 28.7.0, Waterfox 56.2.14
User avatar
stevepusser
 
Posts: 11088
Joined: 2009-10-06 05:53

Re: How can I install intel gigabit ethernet driver igb?

Postby p.H » 2019-08-27 20:26

stevepusser wrote:Some of the Intel ethernet NICs require non-free firmware

You can see from modinfo that the igb module does not advertise using any firmware.

OP : please provide the output of "lspci -nnk" as already requested, and the output of "ip link".
The interface is probably not named "eth0".
p.H
 
Posts: 1080
Joined: 2017-09-17 07:12

Re: How can I install intel gigabit ethernet driver igb?

Postby cola » 2019-08-28 00:49

Code: Select all
lspci -nnk

00:00.0 Host bridge [0600]: Intel Corporation Device [8086:3e30] (rev 0a)
   Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:3e98]
   Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
00:14.0 USB controller [0c03]: Intel Corporation Device [8086:a36d] (rev 10)
   Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
   Kernel driver in use: xhci_hcd
   Kernel modules: xhci_pci
00:14.2 RAM memory [0500]: Intel Corporation Device [8086:a36f] (rev 10)
   Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
00:16.0 Communication controller [0780]: Intel Corporation Device [8086:a360] (rev 10)
   Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
00:17.0 SATA controller [0106]: Intel Corporation Device [8086:a352] (rev 10)
   Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
   Kernel driver in use: ahci
   Kernel modules: ahci
00:1b.0 PCI bridge [0604]: Intel Corporation Device [8086:a340] (rev f0)
   Kernel driver in use: pcieport
   Kernel modules: shpchp
00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:a338] (rev f0)
   Kernel driver in use: pcieport
   Kernel modules: shpchp
00:1d.0 PCI bridge [0604]: Intel Corporation Device [8086:a330] (rev f0)
   Kernel driver in use: pcieport
   Kernel modules: shpchp
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:a305] (rev 10)
   Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
00:1f.3 Audio device [0403]: Intel Corporation Device [8086:a348] (rev 10)
   Subsystem: ASUSTeK Computer Inc. Device [1043:86d4]
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel
00:1f.4 SMBus [0c05]: Intel Corporation Device [8086:a323] (rev 10)
   Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
00:1f.5 Serial bus controller [0c80]: Intel Corporation Device [8086:a324] (rev 10)
   Subsystem: ASUSTeK Computer Inc. Device [1043:8694]
00:1f.6 Ethernet controller [0200]: Intel Corporation Device [8086:15bc] (rev 10)
   Subsystem: ASUSTeK Computer Inc. Device [1043:8672]

Code: Select all
ip link

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp0s20f0u9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 1000
    link/ether 1a:0c:37:00:a9:2d brd ff:ff:ff:ff:ff:ff

enp0s20f0u9 is usb ethernet, not that from LAN port of motherboard.
User avatar
cola
 
Posts: 287
Joined: 2009-03-09 21:28
Location: Dhaka,Bangladesh

Re: How can I install intel gigabit ethernet driver igb?

Postby p.H » 2019-08-28 07:10

cola wrote:00:1f.6 Ethernet controller [0200]: Intel Corporation Device [8086:15bc] (rev 10)

AFAICS this is an Intel (7) i219-V controller and it is managed by the e1000e driver in buster's 4.19 kernel, not by the igb driver. However it does not seem to be managed by stretch's 4.9 kernel.
You can upgrade to buster which is the current stable release, or install the 4.19 kernel from stretch-backports.
p.H
 
Posts: 1080
Joined: 2017-09-17 07:12


Return to General Questions

Who is online

Users browsing this forum: No registered users and 17 guests

fashionable