I believe "airplane mode" on various applets is equivalent to nmcli radio wifi off. What is its equivalence when we use dhcpcd/wpa_supplicant? pkill wpa_supplicant?
Asked
Active
Viewed 71 times
2
SmoothKen
- 135
- 3
1 Answers
0
NetworkManager (and its nmcli CLI command) calls a lower level API in the end. As this has nothing to do with dhcpcd and not much to do with wpa_supplicant, if you're not using NetworkManager, you can still (install the adequate package and) use as root the rfkill command.
To list the status of all available RF devices:
rfkill list
To disable all of them:
rfkill block all
To enable all of them (only if no hardware switch prevents it):
rfkill unblock all
For other options please check the man.
A.B
- 31,762
- 2
- 62
- 101
-
Didn't realize nmcli goes all the way down to ```rfkill block wifi```. Thanks – SmoothKen Jun 22 '21 at 23:55