riko
asked on
owner rights to run `dip -k` from a Perl script
Trying to execute a 'dip -k' within a perl script I am getting no response == no I/O no failure no nuthin' ==
I have tried system("dip -k");
and exec("dip -k") and using backquotes instead, both in system() and exec() and just as naked lines in the script.
I have tried killing the ppp0 directly but dip seems to keep the hardware locked if I do that... Messy to have a script calling reboot, so ... I want to get dip -k to do the shutdown.
Also, this is an ISDN port so dip owns 2 ppp# processes.
Rapid replies appreciated, as this box is aworking gateway and needs to be reliable SOON! 8^o
riko
I have tried system("dip -k");
and exec("dip -k") and using backquotes instead, both in system() and exec() and just as naked lines in the script.
I have tried killing the ppp0 directly but dip seems to keep the hardware locked if I do that... Messy to have a script calling reboot, so ... I want to get dip -k to do the shutdown.
Also, this is an ISDN port so dip owns 2 ppp# processes.
Rapid replies appreciated, as this box is aworking gateway and needs to be reliable SOON! 8^o
riko
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.