I am trying to execute a command on hostapd when there is a new connection established.
I used this example:
But when I start the script, on device connection, I receive an error:
pi@raspberrypi:~ $ sudo hostapd_cli -a '/onHostapdChange.sh' Selected interface 'wlan0' execv: No such file or directory
Could you help me please?