Linux E1000e Driver For Mac

Posted on

I have the problem that the ethernet device on the Intel NUC is not found. Ifconfig -a only shows lo and wlan0 but not eth0. Sudo lshw -C net gives the following output:.-network UNCLAIMED description: Ethernet controller product: Ethernet Connection (3) I218-V vendor: Intel Corporation physical id: 19 bus info: pci@0000:00:19.0 version: 03 width: 32 bits clock: 33MHz capabilities: caplist configuration: latency=0 memory:f7100000-f711ffff memory:f713b000-f713bfff ioport: f080(size=32) After running sudo lshw -C net and dmesg grep -e eth -e e1000, I get this output: 0.847256 e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k 0.847260 e1000e: Copyright(c) 1999 - 2014 Intel Corporation. 0.863337 e1000e 0000:00:19.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode 1.673743 e1000e: probe of 0000:00:19.0 failed with error -2 4315.170940 e1000e: module verification failed: signature and/or required key missing - tainting kernel 4315.171534 e1000e: Intel(R) PRO/1000 Network Driver - 3.2.4.2-NAPI 4315.171536 e1000e: Copyright(c) 1999 - 2015 Intel Corporation. 4315.171711 e1000e 0000:00:19.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode 4315.994262 e1000e: probe of 0000:00:19.0 failed with error -2 Product information ( lspci -nnk) is the following: 00:19.0 Ethernet controller 0200: Intel Corporation Ethernet Connection (3) I218-V 8086:15a3 (rev 03) Subsystem: Intel Corporation Device 8086:2057 Kernel version is 3.19.0-22. I am booting in UEFI mode. The BIOS version is.

As suggested, I updated the BIOS to the newest version, Left the device without power for a while and changed the hardware configuration. So far without luck! I just installed Windows, and the device also isn't working there.

This probably means that it's either a BIOS problem, as suggested, or the hardware is actually damaged. Any further thoughts on this? For others with similar problems: In the beginning I thought this was a driver issue. I wanted to install the newest version of the e1000e driver. This requires version 8.x.x of the e1000 driver. When I tried to install this driver, I got the following error message (even though I run kernel version 3.19):. Aborting the build.

This driver is not supported on kernel versions older than 2.4.0. However, it turns out that the old driver on the system was working fine. The real problem has to lay somewhere else. From the logs it seems to me you have managed to update the driver from version 2.3.2-k to 3.2.4.2-NAPI.

I fixed my Intel NUC non working ethernet by:. download the driver from, currently 3.2.4.2 (as shown in lshw -C above). make install in the src folder.

Linux E1000e Driver For Mac Free

rmmod e1000e. modprobe e1000e. and to make the new driver survive a reboot update-initramfs -u This I have to repeat at every kernel update, since kernel updates still ( 3.13.0-63) contain the old driver version 2.3.2-k, which does not work with my Intel NUC.

A lot of people will remember my guide under your Linux box. This guide is almost 5 years old now and I wanted to make a complete overhaul, because a lot of things has changed since then. Why do I need this driver anyway? Some people asked me, “Why do I need this driver anyway? Doesn’t the Linux Kernel ship it?”.

Linux E1000e Driver

This is of course a valid question. As far as I can see this, the RTL8111/RTL8168 is not Open Source and this would be of course the reason why the driver isn’t included into the Linux Kernel. As long as the driver isn’t Open Sourced, we have to build it on our own. The installation methods A lot of things have changed since I written the initial article about how to compile the driver under Ubuntu / Debian. Today we can use 2 methods for installing the driver. The following lines describes both of them. The automatic way NOTE: Thanks to the user “Liyu” who gave me this hint!

NOTE2: For this way you need a working internet connection. You could use WLAN or a USB ethernet card like to get a temporary internet connection. You could also download every needed single package onto USB from another PC and install them in the right order. As I said ealier, 5 years is a long time.

And today Ubuntu and Debian have the driver included in it’s repository. For Debian you have to enable the non-free package sources. For Ubuntu you have to enable the universe package sources. You can easily do this by open your /etc/apt/sources.list as root with your editor of choice and add for each line starting with “deb” non-free or universe at the end. So for example, if you use Debian a line like: deb jessie main contrib would become to deb jessie main contrib non-free The same for Ubuntu: deb xenial main restricted would become to deb xenial main restricted universe After this you have to do a: sudo apt-get update You can of course use graphical ways to enable non-free or universe. After you enabled the missing package repository, you will be ready to install the driver.

This can be easily done with the following command: sudo apt-get install r8168-dkms The procedure will take some time, depending on your CPU because the driver will be build for your working Kernel. The good side is, that if any Kernel update happens on your machine, the kernel will be rebuild against the new Kernel automatically after the update because of the use of dkms. After the procedure is finished, you should be able to use your network card instantly. If not, you should consider a reboot of your PC then. The manual way Well, the manual way is almost the same as it was before in the initial article. Anyway, I want to rewrite the steps here again. This is also tested against newer Kernels ( = 4.0) which caused a lot of trouble for some people in the past.

Install dependencies: Once more you need a working internet connection for this. You could also use the Debian or Ubuntu DVD which includes the needed packages. To install the dependencies just enter the following command: sudo apt-get install build-essential linux-headers-$(uname -r).

2. Download the driver: You can download the driver from the official Realtek homepage. This is the link: From the table, select the “LINUX driver for kernel 3.x and 2.6.x and 2.4.x” for download.

Blacklisting the r8169 driver: The r8169 is loaded when the r8168 is not found on your system. This will give you a network and internet connection, but with the r8169 driver your RTL8168 card will be very unstable. This means slow download rates, homepages taking hours to load and so on. To avoid that the r8169 is loaded, we blacklist it.

This is be done by entering the following command: user@linux:$ sudo sh -c 'echo blacklist r8169 /etc/modprobe.d/blacklist.conf'. 4. Untar the archive: After you successfully downloaded the driver, cd into the directory where the driver is downloaded and untar the driver with the following command: user@linux:$ tar xfvj 0005-r8168-8.042.00.tar.bz2 NOTE: Your tar filename can of course differs if you download a newer version in the future for e.g.

Compiling and installing the driver: Now we have to start compiling the driver. For this you cd into the extracted directory: user@linux:$ cd r8168-8.042.00 NOTE: Don’t forget to change your version number in the future here. Now that you are in the right directory, we can start with the real compiling process. For this Realtek brings an easy to use script which is called autorun.sh. So, to start compiling and installing the driver enter: user@linux:/r8168-8.042.000$ sudo./autorun.sh You should see a output which looks like this: Check old driver and unload it. Rmmod r8168 Build the module and install At main.c:222: - SSL error:02001002:system library:fopen:No such file or directory: bssfile.c:175 - SSL error:2006D080:BIO routines:BIOnewfile:no such file: bssfile.c:178 sign-file: certs/signingkey.pem: No such file or directory Backup r8169.ko rename r8169.ko to r8169.bak DEPMOD 4.4.0-31-generic load module r8168 Updating initramfs.

Update-initramfs: Generating /boot/initrd.img-4.4.0-31-generic Completed. You can ignore the SSL error for now. The driver should be successfully compiled and installed into your system. The driver is already loaded and should work. Check the driver: As a final step, you could start checking if the driver is really loaded into your Kernel. For this you can use the command lsmod. Lsmod lists all drivers, which are usable by your Kernel.

Finally I landed on your site again and I was really happy to see the update. This problem gets serious in ubuntu 16.04, the ethernet connection, just comes and goes. Ok so, I followed your 1st step, apt-get one, and somewhat it helped for few days.but again the ethernet started coming and going off. Here is the status, of command sudo ethtool -i enp5s0f1 driver: r8168 version: 8.041.00-NAPI now as I see the latest version is 8.042.00-NAPI, I tried using your 2nd method using autorun script, still it wont update the version to 8.042, and the problem continues, please tell me how can I resolve the issue? I am using Ubuntu 12.04 in my Laptop for the past couple of years but never accessed the Internet through a LAN cable until yesterday. However, when I plug in a LAN cable, I repeatedly keep getting an error “CABLE UNPLUGGED”.

Apparently, this is a known bug because of incorrect driver (R8169 instead of R8168). I followed this post to install the actual driver for R8168. However, I am facing a weird problem while making the install (make or make install). Q&a: what's the best registry cleaner for mac. There are errors being thrown during make 1, make 2, make 3 While I do not exactly remember the error at this point in time but it has got something with the modules in the SRC directory ( error with r8168.NO and a few others ).

The build doesnt get completed successfully and r8168.ko is not generated. What possibly could be the issue and what is the solution? Many Thanks in Advance. I’m using LinuxMint 18 and I’m trying to installl the driver for Realtek r8168 network card.

I have put these commands in console: sudo apt-get install –reinstall linux-headers-$(uname -r) linux-headers-generic build-essential dkms wget sudo dpkg -i r8168-dkms8.043.02-1all.deb echo “blacklist r8169” sudo tee -a /etc/modprobe.d/blacklist.conf and I have restarted the pc. The output of sudo dpkg -i r8168-dkms8.043.02-1all.deb is: It seems the installation is right, but it doesn’t work. The output of lspci -v is: 00:19.0 Ethernet controller: Intel Corporation Ethernet Connection (2) I218-V (rev 05) DeviceName: Onboard LAN Subsystem: ASUSTeK Computer Inc. It looks like that you’re using a onbaord intel solution Yes, the ethernet card is onboard, I think it is Realtek r8168. 00:19.0 Ethernet controller: Intel Corporation Ethernet Connection (2) I218-V (rev 05) DeviceName: Onboard LAN I try to use these drivers: The mainboard is ASUS H81M-P PLUS: Specifications: Network: Realtek® 8111G, 1 x Controladora de red Gigabit The problem is I’m using the driver for Intel, e1000e, instead of r8168 driver, and I not have connection to the network. If I use an usb connector , it works perfectly Thanks. This is the network hardware in Windows in the same pc: I think the onboard network device is Intel and I don’t have to use the Realtek driver.

The driver used in Linux is e1000e and it doesn’t work, the pc doesn’t receive the network parameters from the DHCP server placed in the router. I probed to use manual configuration of the network and neither works. If I use the usb connector, it receives all the network parameters (ip address, mask, gateway and dns) and I have connection to Internet. # dmesg grep -e eth -e e1000 8.019593 e1000e: module verification failed: signature and/or required key missing – tainting kernel 8.019963 e1000e: Intel(R) PRO/1000 Network Driver – 3.3.4-NAPI 8.019965 e1000e: Copyright(c) 1999 – 2016 Intel Corporation. Hello, Congrats’ on the article. 🙂 Unfortunately this doesn’t work for me and I’ve tried it both ways.

The connection still doesn’t detect the cable and it’s disconnected although the module is loaded. Dmesg output: 1.025457 r8168 0000:08:00.0 enp8s0: renamed from eth0 5.920988 IPv6: ADDRCONF(NETDEVUP): enp8s0: link is not ready 5.921122 enp8s0: 0xffffc9, 30:65:ec:8d:cb:e7, IRQ 124 5.987726 IPv6: ADDRCONF(NETDEVUP): enp8s0: link is not ready 117.006424 r8168: enp8s0: link up 117.006487 IPv6: ADDRCONF(NETDEVCHANGE): enp8s0: link becomes ready 118.005925 r8168: enp8s0: link down Lspci: 08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15) Subsystem: Acer Incorporated ALI RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller Flags: bus master, fast devsel, latency 0, IRQ 124 I/O ports at 3000 size=256 Memory at 84204000 (64-bit, non-prefetchable) size=4K Memory at 84200000 (64-bit, non-prefetchable) size=16K Capabilities: Kernel driver in use: r8168 Kernel modules: r8168 uname -r - 4.4.0-45-generic lsmod grep r8: r8168 495616 0 Any ideas what I should do? Thank you, Stefan. I’m glad that it is now working for you 🙂 I’m useing a nVidia Prime Notebook as well. Right now I’m on openSUSE Tumbleweed but I also have a Ubuntu installation on the HDD for testing purposes.

Everytime I boot into Ubuntu and switch the graphic card to nVidia with the nVidia tool, everything is going fine (you have to log off and log in again after every graphic card switch). For openSUSE I have to use the bumblebee software. This solution is also working fine and it has the plus that I don’t have to relog everytime I want to switch between Intel and nVidia. But on the other hand my HDMI is unuseable because it is fixed to the nVidia card 🙁 (this varies between the notebook manufacturer). Do you know which implementation you’re actually useing (nvidia-prime or bumblebee)? And can you post or describe the problem a little bit more?

Hey, I’m following your instructions for manual instalation, but at point 5 I get this output: Check old driver and unload it. Build the module and install At main.c:222: – SSL error:02001002:system library:fopen:No such file or directory: bssfile.c:169 – SSL error:2006D080:BIO routines:BIOnewfile:no such file: bssfile.c:172 sign-file: certs/signingkey.pem: No such file or directory DEPMOD 4.4.0-57-generic load module r8168 modprobe: ERROR: could not insert ‘r8168’: Exec format error Updating initramfs. Update-initramfs: Generating /boot/initrd.img-4.4.0-57-generic Completed. Anyone with the same problem? So, since I ran into the following message after accidentally removing the r8168-dkms package from my debian box (I swear it’s my cats fault after walking around on my keyboard hitting apt-get remove gcc -y.) I struggled installing the package again as I got the following error: cat@tree:# apt-get install r8168-dkms Reading package lists Done Building dependency tree Reading state information Done Package r8168-dkms is not available, but is referred to by another package.

This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package ‘r8168-dkms’ has no installation candidate I could install it again after adding sid to the source.list file. deb sid main non-free I hope this helps.

Both the apt and manual method completed success, mii-tool will show you it’s “1000baseT-FD”. BUT when you copy some files from network, the r8168-dkms only get 11.x MB/s and latest driver(currently 8.044) only get 9.x MB/s. It’s 100mbps actually. SO if you have r8169 nic, and need 1000mbps go get a USB 1000baseT nic, and remember avoid chosing sh.t realtek chip based products.

My os is elementary 0.4, base on ubuntu 16.04. Ps2.the default driver from OS works (only 100mbps 🙁 ) either, so installing new driver did not help. Thanks for your post. Hi Rym, well, it’s not that easy to install the driver without an working internet connection. However, you can download all the packages which are needed in order to get the dkms package working by your own. This includes, dkms and build-essentials. However, you also have to download all the packages that are needed by dkms and build-essentials as well.

This really is a lot of work. Alternatively you can buy yourself an Ethernet USB card for cheap. This one is Plug and Play usable under Linux: Good luck.

Hi, I have tried your guide: I have a PC with Lubuntu 17.10 with Kernel 4.13 and a WiFi AC USB Adapter based on RTL8111 chip; Lubuntu loads at boot RTL8112au driver but it doesn’t work (I canno’t connect to my WiFi router but WiFi Adapter detects WiFi connections available correctly); I have followed your instructions and I have got the r8168 driver but Lubuntu doesn’t load it at boot correctly; Lubuntu doesn’t associate it to my wlx000f003ab619 wifi connection; if I force it Lubuntu gives error at boot and it says that Kernel modules canno’t be loaded. So Lubuntu only loads RTL8112au driver. Can you help me? Thanks, Massimo. Root@Linux:/Documentos/r8168-8.045.08#./autorun.sh Check old driver and unload it.

Build the module and install Backup r8169.ko rename r8169.ko to r8169.bak DEPMOD 4.14.0-kali3-amd64 load module r8168 Updating initramfs. Update-initramfs: Generating /boot/initrd.img-4.14.0-kali3-amd64 WARNING: Setting CRYPTSETUP in /etc/initramfs-tools/initramfs.conf is deprecated and will stop working in the future. Use /etc/cryptsetup-initramfs/conf-hook instead. Why appear this error?? How can i solve it? Hoping you can help – running Openmediavault on a NAS.

I have ethernet connectivity.but I’m trying to install a Hauppauge tuner with their PCIe card. When I install the card I lose connectivity. So I thought, just use a USB NIC – well, same issue. Then I removed Hauppauge card and tried USB NIC without the card installed – same issue, no connectivity. Then I came across this post. So I tried the instructions above – but can’t get r8168 to install: root@openmediavault:# apt-get install r8168-dkms Reading package lists Done Building dependency tree Reading state information Done r8168-dkms is already the newest version (8.043.02-1). 0 upgraded, 0 newly installed, 0 to remove and 77 not upgraded.

Any thoughts? USB NIC ANSWER: I do not believe it is a Realtek chip, but detailed specs are not clear to me. That being said, it works on other Linux and Windows machines without a problem (both running Realtek ethernet drivers). Detailed specs not that the current Linux kernel is supported. Lspci -v (note the NAS is NOT connected via USB NIC – I can’t SSH into the NAS with the USB-NIC) I will have to compare output with USB-NIC and Hauppauge card installed via direct connection and re-type relevant output that changes. Hi, newbie here, need some advice from expert here and website owner. Hey, thanks for the nice tutorial.

Unfortunately it’s been a week and I cannot get this hardware working. I don’t understand why. I even tried switching from mint to ubuntu to hope for some better hardware support but it doesn’t do the trick. Both manual and automatic installations you proposed work well. Nevertheless the wifi browser don’t show up. What’s more surprising is that when i run lspci -v i get the correct output: 04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06) Subsystem: ASUSTeK Computer Inc.

P8P67 and other motherboards Flags: bus master, fast devsel, latency 0, IRQ 32 I/O ports at d000 size=256 Memory at f2104000 (64-bit, prefetchable) size=4K Memory at f2100000 (64-bit, prefetchable) size=16K Capabilities: Kernel driver in use: r8168 Kernel modules: r8168 And with sudo ethtool -i enp4s0 driver: r8168 version: 8.044.02-NAPI firmware-version: expansion-rom-version: bus-info: 0000:04:00.0 supports-statistics: yes supports-test: no supports-eeprom-access: no supports-register-dump: yes supports-priv-flags: no Do you have any ideas? Hi Stefan, I am still struggling to get hardwired network to restart after suspend (ASUS based desktop with no WiFi.) Using Ubuntu 18.04.

Lspci shows: 04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 11) Subsystem: ASUSTeK Computer Inc. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller so I think I do need the r8168 driver. I used sudo apt-get install r8168-dkms which seemed to go OK, rebooted. Now, at least, the network shows in the manager (with r8169 it showed nothing). Syslog shows: May 17 09:30:09 Zoom NetworkManager6806:.2185 device (enp4s0): state change: ip-config - failed (reason ‘ip-config-unavailable’, sys-iface-state: ‘managed’) May 17 09:30:09 Zoom NetworkManager6806:.2190 manager: NetworkManager state is now DISCONNECTED I have resorted back to the manual fix using: sudo modprobe -r r8169; sleep 10; sudo modprobe r8169; sudo service network-manager restart which seems to work well.

Any thoughts where to look next? Hi there, The manual way worked for me. I downloaded the latest driver from Realtek, compiled and as soon as it completed the install my internet connection was established. I had an issue with /boot being full so I fixed that and cleaned up my system. Apparently I cleaned it up a little to well.

Linux E1000e Driver For Mac

After doing the latest updates on my 16.04 Ubuntu rig, my internet connectivity was gone. I used this post to download the latest drivers for my ancient Ethernet card and now I’m good. Thanks for posting this tutorial Peter!