Re: ipw2200 reloads automatically

2007-04-20 Thread Oron Peled
On Thursday, 19 בApril 2007 10:16, Dan Kenigsberg wrote:
 I have here FC4 on my laptop, and I had its wifi nicely installed -
 up untill yesterday. Now, even when I want to take it down with
   rmmod ipw2200
 and take its network interface down, something reloads it again
 (and take the interface up with it, dhclient included).

It's modprobe called by the kernel. You must have something like:
  alias eth1 ipw2200
In modprobe configuration (usually on RH/Fedora kudzu create these
entries on boot as a result of hardware detection).

You can verify it (I just did with my Fedora-6) by commenting out
this statement. Make sure you got what you want by:
  modeprobe -c | grep ipw2200  # dump configuration

The one thing that still puzzle me is: what mechanism in the kernel
triggered invocation of modprobe in this case (the hardware was not
hotplugged).

If kudzu keep inserting this statement each boot, you have three options:
  1. Disable kudzu altogether:
chkconfig kudzu off
  2. Blacklist ipw2200 from automatic modprobe loading. Put the line:
blacklist ipw2200
 into a file in /etc/modprobe.d/
  3. Ditto, but putting:
alias ipw2200 off
 into /etc/modprobe.conf or a file in /etc/modprobe.d/
 (this alias was the 'blacklist' mechanism in old modprobe in before
  kernel 2.6, but it's still supported AFAIK. I don't know why this
  syntax was changed to 'blacklist' and if it's deprecated or not).

Cheers,


-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

Unix is simple. It just takes a genius to understand its simplicity
(Dennis Ritchie)

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: ipw2200 reloads automatically

2007-04-20 Thread Dan Kenigsberg
On Fri, Apr 20, 2007 at 08:55:34AM +0300, Oron Peled wrote:
 On Thursday, 19 �‘April 2007 10:16, Dan Kenigsberg wrote:
  I have here FC4 on my laptop, and I had its wifi nicely installed -
  up untill yesterday. Now, even when I want to take it down with
  rmmod ipw2200
  and take its network interface down, something reloads it again
  (and take the interface up with it, dhclient included).
 
 It's modprobe called by the kernel. You must have something like:
   alias eth1 ipw2200

Yep, you got this one right! And commenting this out stopped the reloading.
Thanks!

However, my riddle is still alive since nothing has touched /etc/modprobe.conf
since Feb 3rd. And this current nonsense started only yesterday. It seems that
something decided to access my /dev/eth1 without my request. Odd.

-- 
Dan Kenigsberghttp://www.cs.technion.ac.il/~dankenICQ 162180901

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



ipw2200 reloads automatically

2007-04-19 Thread Dan Kenigsberg
What have I done?

I have here FC4 on my laptop, and I had its wifi nicely installed - up untill
yesterday. Now, even when I want to take it down with
rmmod ipw2200
and take its network interface down, something reloads it again (and take the
interface up with it, dhclient included).

/var/log/acpid and /var/log/message did not prove to be too useful.
Anyone here has an idea what loads the module back?

-- 
Dan Kenigsberghttp://www.cs.technion.ac.il/~dankenICQ 162180901

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: ipw2200 reloads automatically

2007-04-19 Thread Dan Kenigsberg
On Thu, Apr 19, 2007 at 03:35:11PM +0300, Oded Arbel wrote:
 chkconfig NetworkManager off

Thanks, but I don't use NetworkManager.

I even when down to runlevel 1, and the modules still got reloaded after I
removed it..

-- 
Dan Kenigsberghttp://www.cs.technion.ac.il/~dankenICQ 162180901

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]