*BSD News Article 24334


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!usc!howland.reston.ans.net!pipex!sunic!isgate!veda.is!adam
From: adam@veda.is (Adam David)
Newsgroups: comp.os.386bsd.questions
Subject: Re: FreeBSD multiport serial troubles...
Message-ID: <CGx7qt.FJp@veda.is>
Date: 23 Nov 93 01:20:37 GMT
References: <CGorE5.23K@swi.psy.uva.nl> <2cglg6$hm@wzv.win.tue.nl> <CGsMxF.3L5@swi.psy.uva.nl> <1993Nov22.031429.27227@mcshub.dcss.mcmaster.ca>
Organization: Veda Systems, Iceland
Lines: 22

todd@flex.eng.mcmaster.ca (Todd Pfaff) writes:
>I have a similar problem with dialup logins under FreeBSD-1.0R but on
>a standard serial port (not multiport) using sio drivers.

>The modem answers, getty responds and starts login, and login seems to
>change the tty to cs7 so the remote, which is set for 8-bit data, sees 
>garbage.  You may be experiencing the same problem.  During a modem login
>attempt, try 'stty -f /dev/serial-device' and check for cflags: cs7.

>Is it login that sets the tty to 7-bit?  If so, why?  If not, then what's
>the culprit?  Is there a simple solution?

I'm not sure whether it is getty or login, but this is fixable now.
in /etc/gettytab, the entry used for the login ports (cf. /etc/ttys)
needs to have :np: in it.

no 'stty -f ...' needed, except for fancy stuff.

That's really all there is to it.

--
adam@veda.is