Package Details: r8168-dkms 8.051.02-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
Conflicts: r8168
Provides: r8168
Submitter: angelsl
Maintainer: patlefort
Last Packager: patlefort
Votes: 23
Popularity: 1.94
First Submitted: 2015-10-26 16:00 (UTC)
Last Updated: 2022-12-14 16:23 (UTC)

Latest Comments

1 2 3 4 5 6 Next › Last »

parovoz commented on 2022-12-14 10:00 (UTC)

please, add a patch to support linux 6.1

patlefort commented on 2022-08-14 11:05 (UTC)

Update: the module r8169 will now be blacklisted automatically once this package is installed.

jaro3 commented on 2022-08-14 02:59 (UTC)

build on latest official kernel 5.19.1-arch2-1 fails:

/var/lib/dkms/r8168/8.050.03/build/src/r8168_n.c: In function ‘rtl8168_init_one’:
/var/lib/dkms/r8168/8.050.03/build/src/r8168_n.c:26901:25: error: implicit declaration of function ‘netif_set_gso_max_size’; did you mean ‘netif_set_tso_max_size’? [-Werror=implicit-function-declaration]
26901 |                         netif_set_gso_max_size(dev, LSO_32K);
      |                         ^~~~~~~~~~~~~~~~~~~~~~
      |                         netif_set_tso_max_size
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:249: /var/lib/dkms/r8168/8.050.03/build/src/r8168_n.o] Error 1
make: *** [Makefile:1843: /var/lib/dkms/r8168/8.050.03/build/src] Error 2
make: Leaving directory '/usr/lib/modules/5.19.1-arch2-1/build'

patlefort commented on 2022-08-11 09:06 (UTC)

@cryptodan I don't know but you can certainly try and see.

cryptodan commented on 2022-08-11 01:16 (UTC)

Will this allow me to activate 1gigabit on my card? Right now I'm only getting 100megabit on the regular r8168?

maderios commented on 2022-06-07 17:47 (UTC)

@lgomesf I don't know but i think it's not so difficult to update PKGBUILD. Watch new versions here https://github.com/mtorromeo/r8168

lgomesf commented on 2022-06-06 19:33 (UTC)

Is there a replacement for this package?

guzzisti commented on 2022-05-30 06:23 (UTC)

Thanks for the hint @McDonald, package is updated.

aucunhenac commented on 2022-05-29 17:41 (UTC)

@McDonald, thanks a lot. After I download snapshot, extract, I replaced original PKGBUILD to you, using makepkg -si, works very well. Thanks again.

McDonald commented on 2022-05-29 15:31 (UTC) (edited on 2022-11-19 06:25 (UTC) by McDonald)

To support v5.18, please use this PKGBUILD, which apply the patch provided by official repo r8168.

# Maintainer: René Wagner <rwa at clttr dot info>
# Contributor: Juan Simón <play4pro at protonmail dot com>
# Contributor: alium
# Contributor: angelsl
# Contributer: hayao <hayao@fascode.net>

_pkgbase=r8168
pkgname=${_pkgbase}-dkms
pkgver=8.050.02
pkgrel=2
pkgdesc="A kernel module for Realtek 8168 network cards (DKMS version)"
url="https://github.com/mtorromeo/r8168"
license=("GPL")
arch=('i686' 'x86_64')
depends=('glibc' 'dkms')
makedepends=('git')
conflicts=("${pkgname}")
source=("r8168-dkms::git+https://github.com/mtorromeo/r8168.git"
        "dkms.conf"
        "linux518.patch::https://raw.githubusercontent.com/archlinux/svntogit-community/packages/r8168/trunk/linux518.patch")
sha256sums=('SKIP'
            'e33abcbc8fbe3129459ebc60be3b2f8ed55ddc53755f4956d6feb16c61c43250'
            'd8d542770e504775600f686d03412a37cc32489872be7aeb388b5b08d9806096')
install=r8168-dkms.install

prepare() {
     cd "$pkgname"
     patch -Np1 -i ../linux518.patch
}

package() {
    install -Dm644 dkms.conf "${pkgdir}/usr/src/${_pkgbase}-${pkgver}/dkms.conf"

    sed -e "s/@PKGNAME@/${_pkgbase}/g" \
        -e "s/@PKGVER@/${pkgver}/g" \
        -i "${pkgdir}/usr/src/${_pkgbase}-${pkgver}/dkms.conf"

    cd "${pkgname}"
    cp -dr --no-preserve='ownership' src "${pkgdir}/usr/src/${_pkgbase}-${pkgver}/src"
}