Return to BSD News archive
Xref: sserve comp.os.386bsd.questions:12251 comp.os.386bsd.misc:3135 Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!gatech!nntp.msstate.edu!olivea!charnel.ecst.csuchico.edu!psgrain!news.tek.com!news.bv.tek.com!news.bv.tek.com!not-for-mail From: troyc@tekgen.bv.tek.com (Troy Curtiss) Newsgroups: comp.os.386bsd.questions,comp.os.386bsd.misc Subject: Re: FreeBSD 1.1.5.1: Serial port problems Date: 10 Aug 1994 21:29:19 -0700 Organization: Tektronix, Inc., Beaverton, OR, USA Lines: 31 Message-ID: <32c9ev$lpu@tekgen.bv.tek.com> References: <32c0kr$94d@Mercury.mcs.com> NNTP-Posting-Host: tekgen.bv.tek.com I just got through this little lesson myself... You are correct in that you don't have a callout device (see man page on sio). The callout device is the same major # as the dialup (tty00) line, (28 for sio) but the minor # + 128. The way to add this device is to do a: mknod /dev/cua00 c 28 128 now give it the proper nametags: chown uucp /dev/cua00 chgrp dialer /dev/cua00 chmod 660 /dev/cua00 You must do these as root, of course. You now should have a callout device hot and ready on your serial (you must create similar devices for callout on tty01 in that same fashion described). The callout device must either be used from root, or edit /etc/group so that you are part of the dialer group: /etc/group: dialer:*:117:troyc,joeblow,mommy Now you are ready to use cu... do it this way: cu -l /dev/cua00 -s <your speed here, ie. 57600> It should beep and say Connected.... Now you are talking to a bare bones serial port, much like a dumb terminal talking to COM1 in msdog. Good Luck.. -Troy