Package Details: r8168-dkms 8.057.00-2

Git Clone URL: https://aur.archlinux.org/r8168-dkms.git (read-only, click to copy)
Package Base: r8168-dkms
Description: A kernel module for Realtek 8168 network cards (DKMS version)
Upstream URL: https://github.com/mtorromeo/r8168
Keywords: dkms ethernet network realtek
Licenses: GPL-2.0-only
Conflicts: r8168
Provides: r8168
Submitter: angelsl
Maintainer: patlefort (HurricanePootis)
Last Packager: HurricanePootis
Votes: 34
Popularity: 0.69
First Submitted: 2015-10-26 16:00 (UTC)
Last Updated: 2026-09-11 01:38 (UTC)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

kvic commented on 2026-09-30 21:07 (UTC)

Compiling Version 8.057.00 with RSS support enabled. Does it work for anyone in Linux 7.1 or 7.2?

It crashed with kernel panic for me. Multiple TX queues are fine.

HurricanePootis commented on 2026-09-09 05:16 (UTC)

Version 8.057.00 is from the upstream realtek tarball. It hasn't been added to the git repo you're pulling from yet. I am going to make a PR for that git repo, then update this package.

patlefort commented on 2026-09-09 05:15 (UTC)

@HurricanePootis: I added you as co-maintainer.

I don't see version 8.057.00, did it get removed?

HurricanePootis commented on 2026-09-09 03:54 (UTC)

@patlefort

If you're still offering, I'm now down to become like, a co-maintainer for this package since I use an R8168H.

cbb commented on 2025-06-22 09:00 (UTC)

Should the firmware dependency be on linux-firmware-realtek now, in light of these 2 commits?:

xuanruiqi commented on 2025-05-06 17:53 (UTC) (edited on 2025-05-06 17:55 (UTC) by xuanruiqi)

Deprecated feature: CLEAN (/var/lib/dkms/r8168/8.055.00/source/dkms.conf)

Just removing the CLEAN seems OK?

HurricanePootis commented on 2025-03-09 04:09 (UTC)

No thank you, but thanks for offering.

patlefort commented on 2025-03-09 01:18 (UTC)

I applied the patch. You seem more familiar with dkms and drivers. Do you want to take ownership of this package?

HurricanePootis commented on 2025-03-09 00:06 (UTC)

@patlefort

Sorry for the spam, but I noticed that r8168 can be compiled to use firmware, just like the r8169 driver uses firmware.

diff --git a/PKGBUILD b/PKGBUILD
index f72583a..2663fc5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,16 +11,16 @@ pkgver=8.055.00
 pkgrel=2
 pkgdesc="A kernel module for Realtek 8168 network cards (DKMS version)"
 url="https://github.com/mtorromeo/$_pkgbase"
-license=("GPL")
+license=("GPL-2.0-or-later")
 arch=('i686' 'x86_64')
-depends=('glibc' 'dkms')
+depends=('glibc' 'dkms' 'linux-firmware')
 makedepends=('git')
 conflicts=("${_pkgbase}")
 provides=("${_pkgbase}")
 source=("r8168-dkms::git+${url}.git#tag=${pkgver}"
         'dkms.conf')
 sha256sums=('eaaa94ec29f7378fb83f68cc940e7a47e3a7d218fb3bcfce53f88ff95ed38c6d'
-            'df231d516ea1033cc231d1ab78a260c4f079db4c5df2d32f384bf47b57beded6')
+            '4e21634a02704955c24d42aac39cd44b3ebc534b522a470fb98ea7ddb3b805e4')

 package() {
    install -Dm644 'dkms.conf' "${pkgdir}/usr/src/${_pkgbase}-${pkgver}/dkms.conf"
diff --git a/dkms.conf b/dkms.conf
index 7e8a826..595cd38 100644
--- a/dkms.conf
+++ b/dkms.conf
@@ -1,6 +1,6 @@
 PACKAGE_NAME="@PKGNAME@"
 PACKAGE_VERSION="@PKGVER@"
-MAKE[0]="make -C $kernel_source_dir M=$dkms_tree/$module/$module_version/build/src EXTRA_CFLAGS='-DCONFIG_R8168_NAPI=y -DCONFIG_R8168_VLAN=y -DCONFIG_ASPM=y -DENABLE_S5WOL=y -DENABLE_EEE=y -DCONFIG_DYNAMIC_ASPM=y -DENABLE_GIGA_LITE=y' modules"
+MAKE[0]="make -C $kernel_source_dir M=$dkms_tree/$module/$module_version/build/src EXTRA_CFLAGS='-DCONFIG_R8168_NAPI=y -DCONFIG_R8168_VLAN=y -DCONFIG_ASPM=y -DENABLE_S5WOL=y -DENABLE_EEE=y -DCONFIG_DYNAMIC_ASPM=y -DENABLE_GIGA_LITE=y -DENABLE_USE_FIRMWARE_FILE' r8168-objs='r8168_n.o r8168_asf.o rtl_eeprom.o rtltool.o r8168_firmware.o' modules"
 CLEAN="rm src/@PKGNAME@.ko src/*.o || true"
 BUILT_MODULE_NAME[0]="@PKGNAME@"
 BUILT_MODULE_LOCATION[0]="src/"

You have to add -DENABLE_USE_FIRMWARE_FILE and manually specify r8168-objs to include all the defaults plus r8168_firmware.o. I tried doing r8168-objs+=' r8168_firmware.o, but this does not work. linux-firmware will be needed as that provides the firmware files.

Also, the license() should be SPDX compliant GPL-2.0-or-later.