Results 1 to 5 of 5
Hi Guys,
I have 4 modules that I need to install everytime I restart my linux box,
eg
#Modprobe ip_conntrack_pptp
#Modprobe ip_nat_pptp
#Modprobe nf_nat_proto_gre
#Modprobe nf_conntrack_proto_gre
Is there anyway I ...
- 03-03-2009 #1Just Joined!
- Join Date
- Mar 2009
- Posts
- 9
[SOLVED] Module Installations
Hi Guys,
I have 4 modules that I need to install everytime I restart my linux box,
eg
#Modprobe ip_conntrack_pptp
#Modprobe ip_nat_pptp
#Modprobe nf_nat_proto_gre
#Modprobe nf_conntrack_proto_gre
Is there anyway I can install these modules into the system so I do not have to keep rewriting these module commands.
- 03-03-2009 #2
The old way, (and the way it is still done in CRUX) is by editing /etc/modprobe.conf. These days, many distros use /etc/modprobe.d/ which contains several files where you can configure how modules are loaded or ignored. See this for more on how to set it up.
- 03-03-2009 #3Just Joined!
- Join Date
- Mar 2009
- Posts
- 9
- 03-03-2009 #4
You have /etc/modprobe.conf? Let me show you mine to get an idea:
Check this page for ideas on how to set your modules up in your etc/modprobe.conf. Another option is to add what you have to your /etc/rc.local:Code:# # /etc/modprobe.conf: modprobe(8) configuration alias eth0 e1000e # --- BEGIN: Generated by ALSACONF, do not edit. --- # --- ALSACONF version 1.0.18 --- alias snd-card-0 snd-hda-intel alias sound-slot-0 snd-hda-intel # --- END: Generated by ALSACONF, do not edit. --- # End of file
Not as elegant but if it works...Code:/sbin/modprobe ip_conntrack_pptp /sbin/modprobe ip_nat_pptp /sbin/modprobe nf_nat_proto_gre /sbin/modprobe nf_conntrack_proto_gre
- 03-03-2009 #5Just Joined!
- Join Date
- Mar 2009
- Posts
- 9



