Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scripts that run, but don't?

Status
Not open for further replies.

JaybOt

Programmer
Apr 18, 2001
101
0
0
GB
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?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top