use the serialport from perl
Hi!
I'm trying to read callerid data from my modem with a perlscript. I open the
serialport with:
open (SERIALPORT, $device) or die "arrrg! $!";
and this works fine just after a reboot. But! If i connect to the Internet for
a couple of minutes with pppd, disconnects again and start my script, it just
hangs at that line! I can see it grabs the modem, but i cannot communicate
with it - and as i said, the script just hangs. :(
Any ideas?
--
michael legart, michael@jyde.dk
sysadm, http://wiktor.dk
Reply to: