This is a very nice tool. Unfortunately, on my system running Fedora 11, I get the following erro:<br>Can't open RFKILL control device: No such file or directory<br><br>Using strace, I discovered that rfkill is trying to open path /dev/rfkill, but this path does not exist on my system. Instead, it should try to open path /sys/class/rfkill.<br>
<br>Martin<br><br><div class="gmail_quote">On Tue, Oct 27, 2009 at 2:18 PM, Tomasz Torcz <span dir="ltr"><<a href="mailto:tomek@pipebreaker.pl">tomek@pipebreaker.pl</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">On Tue, Oct 27, 2009 at 12:24:10PM -0400, Martin Dubuc wrote:<br>
> On most laptops, there is a way to disable Wi-Fi either through function<br>
> keys or kill switch. I am wondering if there is a way programmatically<br>
> speaking to figure out whether or not Wi-Fi is currently disabled because<br>
> the user has pressed the Wi-Fi function key or turned Wi-Fi off with the<br>
> kill switch.<br>
<br>
</div></div>  You can install "rfkill" package and use same-named command:<br>
% rfkill list<br>
0: tpacpi_bluetooth_sw: Bluetooth<br>
        Soft blocked: yes<br>
        Hard blocked: no<br>
2: phy0: Wireless LAN<br>
        Soft blocked: no<br>
        Hard blocked: no<br>
<font color="#888888"><br>
<br>
--<br>
Tomasz Torcz            There exists no separation between gods and men:<br>
xmpp: <a href="mailto:zdzichubg@chrome.pl">zdzichubg@chrome.pl</a>   one blends softly casual into the other.<br>
<br>
</font><br>--<br>
fedora-devel-list mailing list<br>
<a href="mailto:fedora-devel-list@redhat.com">fedora-devel-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/fedora-devel-list" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-devel-list</a><br></blockquote></div><br>