From owner-freebsd-questions Tue Jul 13 16:24:34 1999 Delivered-To: freebsd-questions@freebsd.org Received: from doc.dcoder.com (doc.dcoder.com [168.143.224.52]) by hub.freebsd.org (Postfix) with ESMTP id 924B514CF8 for ; Tue, 13 Jul 1999 16:24:30 -0700 (PDT) (envelope-from dacoder@dcoder.com) Received: from doc.dcoder.com (doc.dcoder.com [168.143.224.52]) by doc.dcoder.com (8.9.3/8.9.3) with ESMTP id TAA05553; Tue, 13 Jul 1999 19:22:04 -0400 (EDT) (envelope-from dacoder@dcoder.com) Date: Tue, 13 Jul 1999 19:22:04 -0400 (EDT) From: David Coder To: Patrick Walentiny Cc: "David J. Clark" , freebsd-questions@FreeBSD.ORG Subject: Re: Configuring serial ports In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hm, I wouldn't bother looking for /dev/sio0: You won't find it. Go for /dev/ttyd0. In /etc/ttys, turn it from "off" to "on". Also, you need to replace "dialup" with whatever kind of terminal your rf controller uses. It may be dialup: you'll just have to experiment. Also, depending on kind of interface the controller uses, you may have to change the fourth field. "std.9600" is probably right if the rf controller's connection mimics that of a normal serial port operating at 9600 bps. If it is faster, use the faster speed. The reason for using ttyd0 instead of ttyd1, incidentally, is that Unix names its terminals and ports starting with 0. Windows starts with 1. dc _____________________ David Coder SysAdmin WebHosting Verio.com 703-749-7955 x1314 On Tue, 13 Jul 1999, Patrick Walentiny wrote: > Hey there, > If you are using COM1 then you should not use either. > try port /dev/sio0 (in freebsd). If you are using another operating > system (which looks to me is linux) you would need to either use > /dev/cuaa0 or /dev/ttyS0. That is unless I am missing some more important > piece of data I am not understanding. > > Good luck, Patrick. > > On Tue, 13 Jul 1999, David J. Clark wrote: > > > Hello, > > > > I am currently working on an internal barcodeing project that > > involves reading data from COM1 and using perl and tn3270 to send data > > to a mainframe. I have an intermec rf controller connected to com1 > > through a null modem cable. All I want to do is read data from the rf > > controller - which device do i use /dev/cuaa1 or /dev/ttyd1 ? If the > > case is /dev/ttyd1 does anyone have any ideas what I would put in > > /etc/ttys. Also is there any way to test the connection from bsd - ie > > there is something there. Thanks for all your help > > > > > > D. Clark > > > > > > > > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message