How do we add modules to /etc/modules ?

For drivers and kernel modules.
Post Reply
Message
Author
Martificiam

How do we add modules to /etc/modules ?

#1 Post by Martificiam »

I want to achieve this: http://ubuntuforums.org/showthread.php?t=1530962

At the very end it says:
7. Now we'll add the module so it will load at startup, again using a terminal:
sudo gedit /etc/modules

8. At the end of the file, add the following:
fsaa1655g
... and close the window.
But when I go to /etc there's only the modules.conf file and no modules file. Is it the same? If not, where should I add that last line? Because without it the wifi drivers won't work on my laptop. I'm running Precise 5.4 by the way.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#2 Post by muggins »

Hello Martificiam,

did you successfully compile the module? If you run the network wizard, there is a button called Load module where you can select the compiled module, & test that it works OK, then it should be there when you reboot.

(If it's not showing in the network wizard's list, run depmod -a, in a console, then try the wizard again)

If still doesn't work, you can add modprobe fsaa1655g to the file /etc/rc.d/rc.local, then reboot.

Martificiam

#3 Post by Martificiam »

Hello, thanks for your answer. Anyway, I have already accomplished this simple task - I've found an item in the menus, which allowed me to load kernel modules at boot (somewhere in the system menu, as far as I remember).

Post Reply