Automatically loading kernel module during boot
Hi all,
this is my first post so before I move to the question I would like to thank the developers for creating Artix Linux.
Until this summer I used Manjaro-Openrc on several computers and moved smoothly to Artix Linux. On my
other computers I run Devuan, Void, Alpine and FreeBSD. So I am 100% systemd-free.
Now to the real question. I have Artix Linux on a HP laptop with an Ethernet card and I have determined
that I need to use the kernel module r8169. I have added this module in the file /etc/conf.d/modules
with the line
modules="r8169"
but after boot, my Ethernet card does not seem to exist. At least, it is not reported by
sudo ifconfig -a
If I load the module manually with
sudo modprobe r8169
the interface then shows up as enp3s0 and I can start the network with
sudo rc-service net.enp3s0 start
So I cannot figure out what is going wrong with the module. Am I doing something wrong?
Also, how can specify that the module must be loaded before the corresponding service
is started?