Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Minimum Linux modules ?

Status
Not open for further replies.

MahVincent

Technical User
Oct 21, 2001
27
VN
Hi there,

I have just read a guide, and it has a couple of commands like this: ( I extract a few commands from the guide )

1) /sbin/depmod -a
2) /sbin/modprobe ip_masp_ftp
3) /sbin/modprobe ip_masq_raudio
4) /sbin/modprobe ip_masq_irc
5) /sbin/modprobe ip_masq_cuseeme
6) /sbin/modprobe ip_masq_vdolive
............

I think command (1) is used remove all modules and then add needed modules only, and it make system be neater, so it runs faster, is it right ?

Please explain me services ip_masqw_cuseeme, ip_masq_cuseeme, ip_masq_vdolive in commands 3,4,5.

Thanks a lot for your help.

Mah Vicent



 
Hi,

No... 'depmod -a' calculates module dependencies for the active kernel version and outputs a file that is used by modprobe. It normally runs in one of the system boot scripts to keep it up to date but you can do it manually.

The modprobe commands you show are inserting modules into memory (including other modules that they rely on) in connect with iptables IP masquerading - i.e. the packet filtering software for kernel version 2.4.x .

If you do '/sbin/lsmod' you will see what modules are loaded at any given point in time including those loaded as dependency requirements by modprobe.

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top