In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to use rfkill soft switch Bluetooth and wireless functions under Linux. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
RFKill is a subsystem of the Linux kernel that provides an interface in which radio transmissions in computer systems can be queried, activated, and deactivated. When the transfer is deactivated, it can be in a state that can be reactivated by the software (soft lock) or where the software cannot be reactivated (hard lock).
RFKill provides an application programming interface (API) for the kernel subsystem. The kernel driver is designed to enable RFKill to register the kernel with this API and includes methods to enable and disable the device. In addition, RFKill provides notifications that can be interpreted by the user program and a method for the user program to query the transmission status.
The RFKill interface is located at / dev/rfkill and contains the current state of all radio transmissions in the system. Each device registers the current RFKill status with sysfs. In addition, RFKill issues a uevents whenever the state changes in an RFKill-enabled device.
Rfkill is a command-line tool that you can use to query and change RFKill-enabled devices on your system. To get this tool, install the rfkill package.
If you can search the wireless network and enter the correct password but still cannot access it when you turn it on, rfkill may be blocking the access. It is a soft switch used to control the use of the wireless network and Bluetooth.
Use the command rfkill list to get a list of devices, each containing an index number associated with it, starting at 0.
Rfkill list
You can use this index number to have rfkill stop or use a device, for example:
Rfkill block 0
Deactivate the first RFKill-enabled device in the system.
You can also use rfkill to block certain types of devices, or all RFKill-enabled devices. For example:
Rfkill block wifi
Deactivate all Wi-Fi devices in the system. To deactivate all RFKill-enabled devices, run:
Rfkill block all
To reuse the device, run rfkill unblock. For a complete list of device categories that rfkill can deactivate, run rfkill help.
This is the end of this article on "how to use rfkill soft switch Bluetooth and wireless functions under Linux". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.