Re: interaction with rfkill
Iain
Wed Jul 29 22:47:52 2009
Roy Marples wrote:
My take on this is that it's a driver bug. If querying an interface
returns ENODEV then dhcpcd - and other software - will rightly think it
no longer exists.
Well yes, however it looks like a deliberate design decision. It went in here:
<http://git.us.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=e655b9f03f41c7a84fb74d6619abf844d7f2ab65>
I'm not entirely sure, but it looks like they're trying to avoid firmware load and various other suspend related things that are
effectively useless when rfkill has been enabled.
I would be interested in seeing dhcpcd output running in a terminal
dhcpcd -dB
and then the rkwill switch is toggled a few times, about 10 secs between
each toggle. Also, test starting dhcpcd with the switch on and then off.
If you could email back with those results, it should be interesting :)
I'll grab some details tomorrow. There's not really much to see though, as far as I can tell dhcpcd just ignores the interface due
to that ENODEV when it first probes for available network cards.
Iain
Archive administrator: postmaster@marples.name