On 10/27/2009 03:49 PM, Martin Dubuc wrote:
This is a very nice tool. Unfortunately, on my system running Fedora
11, I
get the following erro:
Can't open RFKILL control device: No such file or directory
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.
Yep, that feature isn't in kernels that old.
Martin
On Tue, Oct 27, 2009 at 2:18 PM, Tomasz Torcz <tomek(a)pipebreaker.pl> wrote:
> On Tue, Oct 27, 2009 at 12:24:10PM -0400, Martin Dubuc wrote:
>> On most laptops, there is a way to disable Wi-Fi either through function
>> keys or kill switch. I am wondering if there is a way programmatically
>> speaking to figure out whether or not Wi-Fi is currently disabled because
>> the user has pressed the Wi-Fi function key or turned Wi-Fi off with the
>> kill switch.
>
> You can install "rfkill" package and use same-named command:
> % rfkill list
> 0: tpacpi_bluetooth_sw: Bluetooth
> Soft blocked: yes
> Hard blocked: no
> 2: phy0: Wireless LAN
> Soft blocked: no
> Hard blocked: no
>
>
> --
> Tomasz Torcz There exists no separation between gods and men:
> xmpp: zdzichubg(a)chrome.pl one blends softly casual into the other.
>
>
> --
> fedora-devel-list mailing list
> fedora-devel-list(a)redhat.com
>
https://www.redhat.com/mailman/listinfo/fedora-devel-list
>
--
Peter
For some reason it has always seemed to me that the term software
engineering contains some very optimistic assumptions about the
nature of reality.