LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-28-2014, 08:32 AM   #1
postcd
Member
 
Registered: Oct 2013
Posts: 400

Rep: Reputation: Disabled
modprobe, is needed to ensure its run on boot?


Hello,

i needED to install Config Server Firewall and few others modprobe like:

modprobe tun
modprobe iptables_module
modprobe ipt_helper
modprobe ipt_REDIRECT
modprobe ipt_TCPMSS
modprobe ipt_LOG
modprobe ipt_TOS
and many others

i want to ask if after server reboot i need to run "modprobe tun" (etc..) again or when i do it once its autorun on boot?

i found this:
Code:
# cat /etc/rc.module
modprobe tun
Thank you
 
Old 02-28-2014, 09:36 AM   #2
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,787

Rep: Reputation: 211Reputation: 211Reputation: 211
In case this helps...

If you use the "modprobe" command and a module is available in the kernel for loading, the command should cause that module to load at boot, be marked as to be loaded, and load when the system boots again.

http://www.thegeekstuff.com/2010/11/...mand-examples/

Note the use of "modprobe -l" to see what is in the kernel and can be loaded, and "lsmod" to see what has been loaded after you boot.

Last edited by thorkelljarl; 02-28-2014 at 09:37 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I ensure a shutdown handler is run before killall is run? PeterSteele Red Hat 6 04-22-2013 08:23 PM
Will remote Debian 6 boot ok (after a '/*' mv) what can I do to ensure? DuttyWine Linux - Newbie 4 04-13-2012 10:29 PM
How to ensure USB HDD is detectable at boot time ? ranpkri55 Linux - Hardware 7 02-23-2012 04:04 PM
Does a separate boot partition ensure that grub doesn't get deleted easily? samrat_rao Linux - General 1 02-15-2009 03:24 AM
How to ensure paths are set during boot greengrocer Linux - Newbie 3 04-14-2007 01:47 AM


All times are GMT -5. The time now is 05:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration