Installing Realtek r8168 as a DKMS Module on Rocky Linux (ELRepo `kernel-lt`)
dev.to·2d·
Discuss: DEV
🐧Linux Kernel
Preview
Report Post

If you run Rocky Linux with ELRepo’s long-term kernel (kernel-lt) and your onboard Realtek NIC behaves poorly with the in-kernel r8169 driver (link drops, odd throughput, unstable autoneg, etc.), switching to Realtek’s out-of-tree r8168 driver can be a pragmatic fix.

This post walks through a clean, repeatable approach: install r8168 via DKMS so it automatically rebuilds whenever kernel-lt updates.

Source assumption: you download the r8168 Linux driver tarball from Realtek’s official download page: https://www.realtek.com/Download/List?cate_id=584

Why DKMS (and why it matters with kernel-lt)

ELRepo’s kernel-lt is not Rocky’s stock kernel stream. That’s often exactly why you want it—but it also me…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help