[ltp] How to disable ipw2100?

Chris Brotherton linux-thinkpad@linux-thinkpad.org
Mon, 3 Jul 2006 10:18:54 -0600


On Mon, Jul 03, 2006 at 01:17:23PM +0200, Tomek Jarzynka wrote:
> Hi,
> 
> on my T40 gentoo box, the ipw2100 module gets loaded at kernel
> boot time, which is not what I want.
> /etc/init.d/net.eth1 is not in the default runlevel, but the
> module gets loaded anyway.
> I figured this probably has something to do with hotplug, but
> found no reasonable solution to this problem.
> 
> Any hints, anyone?
> 
I use a file called wireless in my /etc/modprobe.d .  In the file, I have the
following:

options ipw2200 disable=1

So when my machine boots, the ipw2200 modules gets loaded, but is disabled.

To activate the module, I use the following:

echo 1 > /sys/bus/pci/drivers/ipw2200/0000:02:02.0/rf_kill


Keep in mind, I run a debian system.  So things might be slightly different.

Chris.