-1

I have been googling since morning about any wpa_cli actionscript example and the commands but can't any decent one. can someone help me with some info or link please?

Thanks

0

Here is an example from arch linux wiki:

#!/bin/bash

case "$2" in
    CONNECTED)
        notify-send "WPA supplicant: connection established";
        ;;
    DISCONNECTED)
        notify-send "WPA supplicant: connection lost";
        ;;
esac

Remember to make the script executable, then use the -a flag to pass the script path to wpa_cli:

$ wpa_cli -a /path/to/script
  • How i can use wpa_cli to change from network to another by network SSID? – ASI Jun 30 '20 at 16:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.