[geeks] Manipulating a modem

Brian Dunbar brian.dunbar at gmail.com
Sat Jan 26 14:38:43 CST 2013


On Sat, Jan 26, 2013 at 1:09 PM, Sheldon T. Hall <shel at artell.net> wrote:
<snip>
>
> What I don't know is how to "talk" to the modem from a Shell script.
>
> Clues, sample code, or offers to do it all for me appreciated.
>
> Thanks.
>
> -Shel

This?

$ echo 'AT' > /dev/whateverserialdevice

Or use minicom

http://www.tldp.org/HOWTO/Remote-Serial-Console-HOWTO/modem-hayes.html
or
http://www.tldp.org/HOWTO/Modem-HOWTO-8.html

Describes how to use minicom to talk to the modem.  Last time I had to
do anything like this was 1993 but this seems a lot like what we used
to do to setup modems.


-- 
Brian Dunbar

"Display some adaptability"


More information about the geeks mailing list