How do i added fsam7440 to /etc/modules so wireless works on after reboot

Hi All,
this my first post (NEWBIE to Ubuntu)

Mark Greaves. Help file on, How to install Amilo fsam7440 RF Kill Swictch Drive in Ubuntu
Works well and Thanks very much.
But, How do i added fsam7440 to /etc/modules so wireless works on after reboot. In stead of typing sudo modprobe fsam7440. each time.
Sorry to be a pain but I’m lost.
Thanks, Barrie

Hi Barrie, welcome to the forum :slight_smile:

Open /etc/modules for editing by opening a terminal, and entering:

sudo gedit /etc/modules

then hit enter, and enter your password.

When gedit opens, create a new line at the end of the file, and add the line

fsam7440

SAVE the file.

So the /etc/modules file is SIMILAR to:

# /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.

lp
rtc

Generated by sensors-detect on Sun Jun 5 00:58:26 2011

Chip drivers

it87
fsam7440

the fsam7440 module will now be loaded at boot time :slight_smile:

Thanks Mark for the help, Up and Running Now…

Thanks, Barrie

Hi Mark and Barrie,

New as well to this. These threads have really helped me, thank you very much. My problem is that when I followed the steps on this thread and gedit opens it only shows 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.

lp

That’s all.
Should I add fsam7440 just below lp? Or is there something wrong with my gedit and the installation of the fsam7440.c? I installed yesterday and it work on probe mode but not working when I started my pc today…

Help please! :slight_smile:

Yes, just just add it to the bottom, so it reads -

# /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.

lp
fsam7440


(obviously leave out the Quote line)

SAVE the file… now when you boot, it will get loaded automagically :slight_smile:

Hi Mark,

Thanks for quick reply. I have done as you said but I get this on the terminal:

(gedit:3113): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel’, but failed: Failed to create file ‘/root/.local/share/recently-used.xbel.1Z0I2V’: No such file or directory

(gedit:3113): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel’, but failed: No such file or directory

(gedit:3113): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel’, but failed: Failed to create file ‘/root/.local/share/recently-used.xbel.02VY2V’: No such file or directory

(gedit:3113): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel’, but failed: No such file or directory

(gedit:3113): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel’, but failed: Failed to create file ‘/root/.local/share/recently-used.xbel.PJWL2V’: No such file or directory

(gedit:3113): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel’, but failed: No such file or directory

And the wireless switch does not turn on. Any ideas?

OK, you’ve got 3 options…

a) ignore those errors… they aren’t important, as long as gedit opens and saves … does it ?

b) create the /root/.local/share directory:

sudo mkdir -pv /root/.local/share

c) use gksudo instead of sudo… in reality, you should use gksudo when opening a GUI application (with root permissions) from the command line.

as in:

gksudo gedit /etc/modules

So I take it you didn’t manage to edit the file ?

Hi Mark,

Thanks a lot again for quick reply.
I read here: Ubuntu Forums
someone saying that one might have to do the installation everytime your kernel changes. So I remembered that my Ubuntu did some updates just after I had installed fsam7440 as you had posted in here:
http://linuxforums.org.uk/ubuntu/how-to-install-amilo-fsam7440-rf-kill-switchs-driver-in-ubuntu/

It seems like my fsam7440 readme went back to its original format after the updates, so I opened gedit again and modified those three sentences again and sorted! I have rebooted and it’s working!

Cheers :slight_smile:

As long as it’s now working… that’s what matters :wink:

Thanks for the update.