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?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
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
-aflag to pass the script path to
$ wpa_cli -a /path/to/script