Results 1 to 5 of 5

Thread: auto modprobe startup

  1. #1
    Join Date
    Oct 2007
    Beans
    66
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    auto modprobe startup (Solved)

    I'd like to have following commands start automatically when system boots up. What file can I modify and add those to?


    sudo modprobe cpufreq_userspace
    sudo modprobe powernow-k8
    sudo modprobe cpufreq_ondemand
    sudo modprobe ndiswrapper


    Thank you kindly.

    Sim.

    (I searched...but didn't find)
    Last edited by Sim777; May 5th, 2008 at 06:59 PM.

  2. #2
    Join Date
    Dec 2007
    Beans
    81
    Distro
    Ubuntu Karmic Koala (testing)

    Re: auto modprobe startup

    The file is /etc/modules. Edit that with whatever editor you choose and add each of those modules to the file. You don't need to put in "sudo modprobe" before them, just the name itself. For example
    # /etc/modules: kernel modules to load at boot time.
    #
    # This file contains the names of kernel modules that should be loaded
    # at boot time, one per line. Lines beginning with "#" are ignored.

    fuse
    lp
    sbp2
    cpufreq_userspace
    powernow-k8
    cpufreq_ondemand
    ndiswrapper
    Last edited by otrojake; May 5th, 2008 at 06:44 PM.

  3. #3
    Join Date
    Dec 2007
    Beans
    81
    Distro
    Ubuntu Karmic Koala (testing)

    Re: auto modprobe startup

    The file is /etc/modules. Edit it with the text editor of your choice (gedit for example)
    Code:
    sudo gedit /etc/modules
    You don't need to put in sudo modprobe before the names of the module in the file. Like this:
    # /etc/modules: kernel modules to load at boot time.
    #
    # This file contains the names of kernel modules that should be loaded
    # at boot time, one per line. Lines beginning with "#" are ignored.

    fuse
    lp
    sbp2
    cpufreq_userspace
    powernow-k8
    cpufreq_ondemand
    ndiswrapper
    EDIT: Whoops, double post. Got a database error on the first one so I didn't think it went through. Anyone know how I can delete the first one?
    Last edited by otrojake; May 5th, 2008 at 06:44 PM.

  4. #4
    Join Date
    Nov 2007
    Location
    PA
    Beans
    187
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: auto modprobe startup

    Code:
    sudo gedit /etc/modules
    Then add these commands.
    Code:
    cpufreq_userspace
    powernow-k8
    cpufreq_ondemand
    ndiswrapper
    Don't take out any that were there already!
    More info at: http://ubuntuforums.org/showthread.php?t=734536
    Last edited by Promaster91; May 5th, 2008 at 06:53 PM.

  5. #5
    Join Date
    Oct 2007
    Beans
    66
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: auto modprobe startup

    Thank you. That worked perfectly.

Bookmarks

Posting Permissions

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