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:34:39
Message-Id: eqlh5r$tt5$1@sea.gmane.org
In Reply to: [gentoo-user] preventing a module from being loaded by marco restelli
1 (Sorry if this appears twice, but I sent the message three hours ago and
2 it hasn't appeared on the list yet)
3
4 marco restelli wrote:
5 > Now, at boot, the module bcm43xx is loaded, while
6 > I have been using ndiswrapper.
7
8 I had the same problem here. You can block the automatic loading of the
9 module by udev as follows:
10
11 Find out the module alias used by udev:
12
13 cat /sys/class/net/wlan0/device/modalias
14
15 (Replace wlan0 by the name of your interface). Here this gives:
16
17 pci:v000014E4d00004324sv00001028sd00000003bc02sc80i00
18
19 Create the file /etc/modules.d/blacklist with the following content:
20
21 alias pci:v000014E4d00004324sv00001028sd00000003bc02sc80i00 off
22
23 (Use the alias you got with the command above). Then run modules-update.
24
25 Easy, isn't it? ;-)
26
27 -- Remy

Attachments

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

Replies

Subject Author
Re: [gentoo-user] Re: preventing a module from being loaded marco restelli <mrestelli@×××××.com>