SUMMARY: Modem Querying

"Ambrose" <ambrose-pj/[email protected]> Thu, 20 May 2004 19:17:19 -0700
Newsgroups gmane.linux.admin.managers
Message-ID <001e01c43ed9$be667eb0$fe00a8c0@ambrose>
Thanks to Binand Sethumadhavan <[email protected]>

http://www.knoppix.ca/detect_modem/detect_modem.c

The c program there is what I finally found that could do what I needed.
Original message below.

Thanks, linux managers!

 - j

----- Original Message ----- 
> I need to query the modem on the serial port, and start wvdial using the
> output for the username/password combination.
> The command I need to send the modem is AT+MIN?. This will echo back the
> modem's phone number, used in connecting to the ISP.
> Does anyone know how, either by using minicom non-interactively, or maybe
a
> script (perl?) that this could be accomplished?
> I know very little when it comes to perl, but it looks like perl is
capable of
> this kind of thing.
_______________________________________________
LinuxManagers mailing list - http://www.linuxmanagers.org
submissions: LinuxManagers-35TzE1X9F6582KRnZfj+bdi2O/[email protected]
subscribe/unsubscribe: http://www.linuxmanagers.org/mailman/listinfo/linuxmanagers