Date: Thu, 04 Jun 1998 23:58:03 -0500 From: "Jonathan E. Lyons" <parrothd@midwest.net> To: MetcalJM@utrc.utc.com, questions@FreeBSD.ORG Cc: metcalf@snet.net Subject: Re: Initializing a modem Message-ID: <3.0.5.32.19980604235803.00924220@midwest.net> In-Reply-To: <C77AD5DA2AA7D111859D00805FA72468033630@EXPRESS7>
next in thread | previous in thread | raw e-mail | index | archive | help
look at cu...I use cu -s 57600 -l /dev/cuaa0 to check my scripts.... At 02:39 PM 6/5/98 -0400, MetcalJM@utrc.utc.com wrote: >Hi, > >I was wondering if FreeBSD has any utilities or if someone has written a >very >simple program to send AT strings to a modem on a sio? serial port. >Currently I am using ijjppp in term mode to write the strings and that >works fine. Unfortunately, I would like to send the AT string to the >modem >non-interactively from a script. I can use 'expect' to get the job done >with >ijjppp, but that seems to be a bit of a kludge. In the past, I have >tried >writing directly to the raw device, > >eg. echo "ATZ" > /dev/cuaa0 > >but that seems to put the modem in a funny state. Also, since I can't >see >the return message (OK) with this method, I never knew if it really >worked. > >Is there a standard FreeBSD utility to do what I'm looking to do? If >not, >does anyone have any _simple_ C code I can hack to do this? > >Many Regards, > >JM >> ------------- >> Jeffrey M. Metcalf >> United Technologies Research Center >> metcaljm@utrc.utc.com >> (860) 610-7576 >> >> >> > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > > <smaller> Jon Lyons parrothd@midwest.net 87 HONDA VFR700 http://cplkagan.dyn.ml.org/</smaller> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.19980604235803.00924220>