Gentoo Archives: gentoo-user

From: Remy Blank <remy.blank@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: preventing a module from being loaded
Date: Sun, 11 Feb 2007 04:49:54
Message-Id: eql1gq$i1l$1@sea.gmane.org
In Reply to: [gentoo-user] preventing a module from being loaded by marco restelli
1 marco restelli wrote:
2 > Now, at boot, the module bcm43xx is loaded, while
3 > I have been using ndiswrapper.
4
5 I had the same problem here. You can block the automatic loading of the
6 module by udev as follows:
7
8 Find out the module alias used by udev:
9
10 cat /sys/class/net/wlan0/device/modalias
11
12 (Replace wlan0 by the name of your interface). Here this gives:
13
14 pci:v000014E4d00004324sv00001028sd00000003bc02sc80i00
15
16 Create the file /etc/modules.d/blacklist with the following content:
17
18 alias pci:v000014E4d00004324sv00001028sd00000003bc02sc80i00 off
19
20 (Use the alias you got with the command above). Then run modules-update.
21
22 Easy, isn't it? ;-)
23
24 -- Remy

Attachments

File name MIME type
signature.asc application/pgp-signature