Find the answer to your Linux question:
Results 1 to 5 of 5
Hi everybody, I am using FC4. If firewalls are enabled, I am unable to do ftp transactions. For this we need to add ip_nat_ftp module. I am inserting this module ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Jul 2004
    Posts
    143

    load kernel module permenantly


    Hi everybody,
    I am using FC4.

    If firewalls are enabled, I am unable to do ftp transactions.
    For this we need to add ip_nat_ftp module.
    I am inserting this module with modprobe command, whenever I want to use FTP.
    #modprobe ip_nat_ftp

    How to add this module permenantly in kernel or How this module will be automatically loaded when we do begin ftp transactions while firewalls are enabled.

    Please help me.

    Thanks & Regards,
    Mummaneni.

  2. #2
    Linux Guru bigtomrodney's Avatar
    Join Date
    Nov 2004
    Location
    Ireland
    Posts
    6,132
    It depends on the distro, often you need to make an entry for the module in /etc/modules.preload

  3. #3
    Linux Newbie
    Join Date
    Jul 2004
    Posts
    143
    Hi,

    I am using FC4. I don't have /etc/modules.preload file.
    And also please tell me the syntax of the file.

    Regards,
    Mummaneni.

  4. #4
    Linux Guru bigtomrodney's Avatar
    Join Date
    Nov 2004
    Location
    Ireland
    Posts
    6,132
    I'm not a Red Hat/Fedora user - maybe someone else can pick this up?

  5. #5
    Linux User fernape's Avatar
    Join Date
    Dec 2005
    Location
    Holland
    Posts
    301
    Quote Originally Posted by bigtomrodney
    I'm not a Red Hat/Fedora user - maybe someone else can pick this up?
    Well, not a Fedora but a WhiteBox user.

    Write or create the /etc/rc.modules if it doesn't exist and add the line:

    Code:
    modprobe mymodule
    You can also use the rc.local file, but rc.modules is executed earlier in the boot process.

    HTH

    Regards

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •