result without elrepo
yum install kmod-r8168
Loaded plugins: changelog, fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile
epel/x86_64/metalink | 5.1 kB 00:00:00
* epel: d2lzkl7pfhq30w.cloudfront.net
ce-base/7/x86_64/signature | 811 B 00:00:00
ce-base/7/x86_64/signature | 3.6 kB 00:00:00 !!!
ce-extras/7/x86_64/signature | 819 B 00:00:00
ce-extras/7/x86_64/signature | 2.9 kB 00:00:00 !!!
ce-sclo-rh | 3.0 kB 00:00:00
ce-sclo-sclo | 3.0 kB 00:00:00
ce-updates/7/x86_64/signature | 819 B 00:00:00
ce-updates/7/x86_64/signature | 2.9 kB 00:00:00 !!!
elasticsearch-7.x | 1.3 kB 00:00:00
mrmarkuz/7/signature | 490 B 00:00:00
mrmarkuz/7/signature | 2.9 kB 00:00:00 !!!
nethforge/7/x86_64/signature | 836 B 00:00:00
nethforge/7/x86_64/signature | 3.6 kB 00:00:00 !!!
nethserver-base/7/x86_64/signature | 836 B 00:00:00
nethserver-base/7/x86_64/signature | 2.9 kB 00:00:00 !!!
nethserver-updates/7/x86_64/signature | 836 B 00:00:00
nethserver-updates/7/x86_64/signature | 3.6 kB 00:00:00 !!!
zammad/x86_64/signature | 488 B 00:00:00
zammad/x86_64/signature | 1.3 kB 00:00:00 !!!
No package kmod-r8168 available.
Error: Nothing to do
After these commands
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
yum install https://www.elrepo.org/elrepo-release-7.el7.elrepo.noarch.rpm
(source, adapted, here start [ELRepo Wiki])
(which by the way… worked flawlessly)
Result was almost the same.
No package kmod-r8168 available.
Digging little further…
https://pkgs.org/search/?q=kmod-r8168
no version for CentOS 7.0 available here
So… scenario provided by @dnutan makes sense, reduce issues and bandwith consumption from mirrors avoiding to provide packages for distro no more supported (and forn an almost 12 years old kernel).
Then it’s eventually time for look for another brand or a mirror for the package… from network card chip provider or some reliable and confirmed source.
Strange is…
https://mirror.ihost.md/elrepo/archive/elrepo/el7/x86_64/RPMS/
- in this directory the package is available.*