SliTaz SliTaz Forum

You are not logged in.

#1 2012-06-18 18:35:23

mvecera
Member
Registered: 2012-05-16
Posts: 5

how to modprobe automatically on boot?

A while ago, I was having a problem getting pcmcia-card wireless network adapter working on a legacy system.  Mojo fixed it immediately for me with a small procedure that ended with:

modprobe -r b43legacy

modprobe b43legacy

... and all was well. 

The problem is that after a hard reset or reboot, I lose the adapter completely and wind up typing

modprobe -r b43legacy

modprobe b43legacy

into a terminal as su and then everything works again.

How can I run these commands every time I boot the laptop, regardless of which user logs in?  Bear in mind, I am a complete novice, but I can follow directions.

I am using Slitaz 4 and it is installed onto the hard drive, so I can have persistence.

Thanks in advance!

Matthew

Offline

#2 2012-06-18 18:39:59

mvecera
Member
Registered: 2012-05-16
Posts: 5

Re: how to modprobe automatically on boot?

oh, and then I have to restart the network, so if that could be added to the automation - awesome.

Offline

#3 2012-06-18 18:58:43

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: how to modprobe automatically on boot?

On a full install with firmware in place:

Open terminal,su, password: root

leafpad /etc/rcS.conf

Add [c]b43legacy[/c] to [c]LOAD_MODULES=[/c]

File/Save

File/Quit

Offline

#4 2012-06-18 19:15:02

mvecera
Member
Registered: 2012-05-16
Posts: 5

Re: how to modprobe automatically on boot?

I wish I had the time to tell you all the ways I attempted to accomplish this.  Basically, if it ended in ".sh", then I tried to modify it today.

THANK YOU SO MUCH

Matthew

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]