186 lines
4.1 KiB
HTML
186 lines
4.1 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of RFKILL</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>RFKILL</H1>
|
|
Section: System Administration (8)<BR>Updated: 2017-07-06<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
rfkill - tool for enabling and disabling wireless devices
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>rfkill</B>
|
|
|
|
[<I>options</I>]
|
|
|
|
[<I>command</I>]
|
|
|
|
[<I>id|type</I> ...]
|
|
|
|
<P>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<B>rfkill</B>
|
|
|
|
lists, enabling and disabling wireless devices.
|
|
<P>
|
|
The command "list" output format is deprecated and maintained for backward
|
|
compatibility only. The new output format is the default when no command is
|
|
specified or when the option <B>--output</B> is used.
|
|
<P>
|
|
The default output is subject to change. So whenever possible, you should
|
|
avoid using default outputs in your scripts. Always explicitly define expected
|
|
columns by using the <B>--output</B> option together with a columns list in
|
|
environments where a stable output is required.
|
|
<P>
|
|
<P>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-J</B>, <B>--json</B><DD>
|
|
Use JSON output format.
|
|
<DT id="2"><B>-n</B>, <B>--noheadings</B><DD>
|
|
Do not print a header line.
|
|
<DT id="3"><B>-o</B>, <B>--output</B><DD>
|
|
Specify which output columns to print. Use --help to get a list of
|
|
available columns.
|
|
<DT id="4"><B>--output-all</B>
|
|
|
|
<DD>
|
|
Output all available columns.
|
|
<DT id="5"><B>-r</B>, <B>--raw</B><DD>
|
|
Use the raw output format.
|
|
<DT id="6"><B>--help</B>
|
|
|
|
<DD>
|
|
Display help text and exit.
|
|
<DT id="7"><B>--version</B>
|
|
|
|
<DD>
|
|
Display version information and exit.
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>COMMANDS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="8"><B>help</B>
|
|
|
|
<DD>
|
|
Display help text and exit.
|
|
<DT id="9"><B>event</B>
|
|
|
|
<DD>
|
|
Listen for rfkill events and display them on stdout.
|
|
<DT id="10"><B>list </B>[<I>id</I>|<I>type</I> ...]<DD>
|
|
List the current state of all available devices. The command output format is deprecated, see the section DESCRIPTION.
|
|
It is a good idea to check with
|
|
<B>list</B>
|
|
|
|
command
|
|
<I>id</I> or <I>type</I>
|
|
|
|
scope is appropriate before setting
|
|
<B>block</B> or <B>unblock</B>.
|
|
|
|
Special
|
|
<I>all</I>
|
|
|
|
type string will match everything. Use of multiple
|
|
<I>id</I> or <I>type</I>
|
|
|
|
arguments is supported.
|
|
<DT id="11"><B>block id</B>|<B>type</B> [...]<DD>
|
|
Disable the corresponding device.
|
|
<DT id="12"><B>unblock id</B>|<B>type</B> [...]<DD>
|
|
Enable the corresponding device. If the device is hard-blocked, for example
|
|
via a hardware switch, it will remain unavailable though it is now
|
|
soft-unblocked.
|
|
</DL>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>EXAMPLES</H2>
|
|
|
|
rfkill --output ID,TYPE
|
|
<BR>
|
|
|
|
rfkill block all
|
|
<BR>
|
|
|
|
rfkill unblock wlan
|
|
<BR>
|
|
|
|
rfkill block bluetooth uwb wimax wwan gps fm nfc
|
|
<A NAME="lbAH"> </A>
|
|
<H2>AUTHORS</H2>
|
|
|
|
<B>rfkill</B>
|
|
|
|
was originally written by
|
|
|
|
Johannes Berg
|
|
|
|
and
|
|
|
|
Marcel Holtmann
|
|
|
|
The code has been later modified by
|
|
|
|
Sami Kerola
|
|
|
|
and
|
|
|
|
Karel Zak
|
|
|
|
for util-linux project.
|
|
<P>
|
|
|
|
This manual page was written by
|
|
|
|
Darren Salt
|
|
|
|
for the Debian project (and may be used by others).
|
|
<A NAME="lbAI"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+powertop">powertop</A></B>(8),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+systemd-rfkill">systemd-rfkill</A></B>(8),
|
|
|
|
|
|
Linux kernel documentation
|
|
|
|
<A NAME="lbAJ"> </A>
|
|
<H2>AVAILABILITY</H2>
|
|
|
|
The rfkill command is part of the util-linux package and is available from
|
|
|
|
Linux Kernel Archive
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="13"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="14"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="15"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="16"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="17"><A HREF="#lbAF">COMMANDS</A><DD>
|
|
<DT id="18"><A HREF="#lbAG">EXAMPLES</A><DD>
|
|
<DT id="19"><A HREF="#lbAH">AUTHORS</A><DD>
|
|
<DT id="20"><A HREF="#lbAI">SEE ALSO</A><DD>
|
|
<DT id="21"><A HREF="#lbAJ">AVAILABILITY</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:15 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|