Hi all,
I know this sound a bit strange but bear with me ...
I have written a bit of code that basicaly, when a button is pressed on a web page it runs a script on my local unix box.
The idear is to launch ppp and connect to the internet via browser. basic script goes like this ...
...
echo bringing line up!
ppp -alias -ddial pppaccount
sleep 30
ifconfig
...
When i execute my cgi it seems to execute because i get the expecetd html output to my page in the form of the text 'bringing line up!' and i get output from ifconfig, but ppp never seems to run.
I don't have the code to post at the moment, but i will post it later.
anyone had this problem, know whats causing it, or has any pointers on how to fix it?
I know this sound a bit strange but bear with me ...
I have written a bit of code that basicaly, when a button is pressed on a web page it runs a script on my local unix box.
The idear is to launch ppp and connect to the internet via browser. basic script goes like this ...
...
echo bringing line up!
ppp -alias -ddial pppaccount
sleep 30
ifconfig
...
When i execute my cgi it seems to execute because i get the expecetd html output to my page in the form of the text 'bringing line up!' and i get output from ifconfig, but ppp never seems to run.
I don't have the code to post at the moment, but i will post it later.
anyone had this problem, know whats causing it, or has any pointers on how to fix it?