[ltp] Scripts for wireless
wes schreiner
linux-thinkpad@linux-thinkpad.org
Sun, 30 Jan 2005 03:50:25 -0600
Bob Alexander wrote:
> Theodore Ts'o wrote:
>
>> On Sat, Jan 29, 2005 at 12:38:52PM +0100, Bob Alexander wrote:
>>
>>> I'd like to get some good scripts to associate with Fn+Fn7 to
>>> activate/deactivate and also a suggestion on how is the most clean
>>> way to avoid automatic activation at boot time (Debian sid).
>>
>>
>>
>> Place the modules you don't want to be automatically loaded when the
>> hardware is detected in the file /etc/hotplug/blacklist.
>>
>> - Ted
>
>
> Nope Ted,
> in Debian it does not work ...
It sure does Bob, but you are barking up the wrong tree.
>
>
> Sun Jan 30 10:56:25 2005: Detecting hardware: yenta_socket e1000
> ath_pci piix i810_audio usb_uhci ehci_hcd
> Sun Jan 30 10:56:26 2005: Loading yenta_socket module.
> Sun Jan 30 10:56:27 2005: Loading e1000 module.
> Sun Jan 30 10:56:28 2005: Loading ath_pci module.
Your system is running discover-modprobe, and that is what is loading
ath_pci. By the time hotplug runs ath_pci is already loaded, as it
faithfully reports.
>
> even though /etc/hotplug/blacklist contains:
> # do not want wifi on by default but only via Fn+F5
> ath_pci
>
> and this is also confirmed by the following messages during boot in
> which you will see an ath_pci already loaded:
What you want is a line that says
skip="ath_pci"
in /etc/discover-modprobe.conf and then ath_pci won't get loaded on boot.
wes