[Solved] OpenVPN Script: WARNING: Failed running command
Posted: Thu Aug 25, 2016 7:38 pm
Hello all!
I searched quite a bit but couldn't figure out how to fix the following issue.
At the moment I am using OpenVPN on my RT-N66U router. I am trying to add an script that sends an email to me when someone connects.
The script can be found here:
http://www.snbforums.com/threads/tutori ... ons.20828/
I have uploaded this script to the /jffs/scripts partition of the router. I have also set these scripts to permissions 0777.
In the custom configuration I have added:
script-security 2
client-connect /jffs/scripts/up.sh
client-disconnect /jffs/scripts/down.sh
However it keeps giving me this error:
WARNING: Failed running command (--client-connect): could not execute external program
Could anyone help me with the error.
Thanks in advance!
I searched quite a bit but couldn't figure out how to fix the following issue.
At the moment I am using OpenVPN on my RT-N66U router. I am trying to add an script that sends an email to me when someone connects.
The script can be found here:
http://www.snbforums.com/threads/tutori ... ons.20828/
I have uploaded this script to the /jffs/scripts partition of the router. I have also set these scripts to permissions 0777.
In the custom configuration I have added:
script-security 2
client-connect /jffs/scripts/up.sh
client-disconnect /jffs/scripts/down.sh
However it keeps giving me this error:
WARNING: Failed running command (--client-connect): could not execute external program
Could anyone help me with the error.
Thanks in advance!