Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
autoload network drivers
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
rout3rx
n00b
n00b


Joined: 02 Mar 2014
Posts: 3

PostPosted: Tue Nov 25, 2014 10:21 am    Post subject: autoload network drivers Reply with quote

Hi experts
i have 2 nic and 2 driver :
r8169 and 8139too
every boot time i should to insmod these drivers and up it in ifconfig
how can i auto-load these driver modules in kernel?
thanks
Back to top
View user's profile Send private message
v_andal
Guru
Guru


Joined: 26 Aug 2008
Posts: 541
Location: Germany

PostPosted: Tue Nov 25, 2014 11:55 am    Post subject: Reply with quote

Check out /etc/conf.d/modules if you are using openrc.
Back to top
View user's profile Send private message
rout3rx
n00b
n00b


Joined: 02 Mar 2014
Posts: 3

PostPosted: Tue Nov 25, 2014 1:58 pm    Post subject: Reply with quote

this all of me seen :
Code:
#modules_2_6_23_r5="ieee1394 ohci1394"
#modules_2_6_23="tun ieee1394"
#modules_2_6="tun"
#modules_2="ipv6"
#modules="ohci1394"
#modules="dummy:dummy1"
#modules_ieee1394_args="debug"
#modules_ieee1394_args_2_6_23_gentoo_r5="debug2"
#modules_ieee1394_args_2_6_23="debug3"
#modules_ieee1394_args_2_6="debug4"
#modules_ieee1394_args_2="debug5"


what should i entry?
Back to top
View user's profile Send private message
v_andal
Guru
Guru


Joined: 26 Aug 2008
Posts: 541
Location: Germany

PostPosted: Tue Nov 25, 2014 3:33 pm    Post subject: Reply with quote

Try adding

Quote:

modules="r8169 8139too"
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21619

PostPosted: Wed Nov 26, 2014 2:40 am    Post subject: Reply with quote

If you will always use these features, why not build them into the core kernel and skip the module loading process?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum