wpa_cli:tldr:15e8d
The command "wpa_cli add_network ${number}" is used to add a new network configuration to the wpa_supplicant software through the wpa_cli utility.
Here's a breakdown of the command:
-
"wpa_cli": It executes the wpa_cli command-line utility, which provides an interactive interface to control and configure the wpa_supplicant.
-
"add_network": It is the wpa_cli command that tells the wpa_supplicant to add a new network configuration.
-
"${number}": It is a placeholder for the network ID or number that specifies the index of the new network configuration. "${number}" should be replaced with an actual number when using the command.
By executing this command with a specific number, a new network configuration is created within the wpa_supplicant. This configuration can then be further modified by using additional wpa_cli commands, such as setting the SSID, password, authentication type, etc., for the network.