[lug] perl and wvdial

jdavis jd at taproot.bz
Tue Mar 4 23:35:38 MST 2003


Hello,
  I am writing a script to help a user turn a modem
on and off and adjust the routing tables on a 
Linux box. I am trying to call wvdial to do the dialing,
but it does not give control back to my script. I call
it like so

if( $choice == 1){
        `wvdial`;
        print "connected";
}

I also have tried..

if( $choice == 1){
        `wvdial&`;
}

but nothing after `wvdial` gets ran.
could someone offer me some advice...please :) ?


Thanks,
-- 
jd
jd at taproot.bz

Bad spellers of the world untie!

"I cant tell if I have worked all my life or 
if I have never worked a single day of my life"
			Miguel de Icaza




More information about the LUG mailing list