Date: Thu, 18 Jan 2001 10:51:06 -0800 From: "Raymundo M. Vega" <RaymundoVega@home.com> To: Chris Aitken <chris@ideal.net.au> Cc: questions@FreeBSD.ORG Subject: Re: Accessing the Serial Port Message-ID: <3A673B1A.F3CBFB9A@home.com> References: <86159251@toto.iv> <5.0.0.25.2.20010118162731.0213c008@mail.ideal.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Chris Aitken wrote: > > I have a FreeBSD box with a modem attached to one of the Serial Ports. My > experiment is this. I want to be able to communicate with the modem, > issuing it a command, and have that command response echoed back onto my > screen, all from the command line. > > I have no idea where to start looking for answers on this one. Im able to > talk to the serial port using Minicom, but it needs to be done via command > line for various scripting reasons. > > Can anyone suggest a solution or even a direction I may take to solve this ? > add a couple of entries in /etc/remote like: mod0:dv=/dev/cuaa0:br#57600:pa=none: mod1:dv=/dev/cuaa1:br#57600:pa=none: br sets the bits per second. then issue the command: tip mod0 or tip mod1 depending on what serial port you want to use. good luck raymundo > Thanks > > Chris > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message 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?3A673B1A.F3CBFB9A>