Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-28-2014, 08:32 AM   #1
Registered: Oct 2013
Posts: 454

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


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:
# cat /etc/rc.module
modprobe tun
Thank you
Old 02-28-2014, 09:36 AM   #2
Senior Member
Registered: Jun 2008
Posts: 1,804

Rep: Reputation: 215Reputation: 215Reputation: 215
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.

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.


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:29 PM.

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