*BSD News Article 47265


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!noc.netcom.net!news.sprintlink.net!cs.utexas.edu!usc!news.cerf.net!ni1.ni.net!hgac.hgac.com!user
From: harry@hgac.com (Harry Goldschmitt)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: dial up at > 9600 baud
Date: Tue, 18 Jul 1995 21:15:39 -0700
Organization: Network Intensive
Lines: 29
Message-ID: <harry-1807952115390001@hgac.hgac.com>
NNTP-Posting-Host: hgac.hgac.com

I've been trying to configure my FreeBSD 2.0 system to handle dial ups
at more than 9600 baud.  I have 28.8 modems at both ends.  I can
successfully dial into ttyd1 when it's slattach'ed at 38400. When I try to
get to a shell account, even though the modems connect at 28.8, I just get
garbage instead of the login: prompt.  If I set the non-Freebsd modem to
9600 baud, everything works fine.  I think something is happening in
getty.  I've issued stty commands to see what's happening to the port.

So far I've done the following:

1) Changed /etc/ttys for ttyd1 to "/usr/.../getty std.38400". This never
shows a port speed of 38400 via stty, just 9600, when the modems are
hooked up at 28.8.
2) Issued stty -f /dev/ttyd1 38400 before dialing. stty then shows 38400,
but as soon as I dial in, stty shows 9600, again.
3) Played with the SIO devices ttyld1 and ttyid1 to force the speed to
38400.  This actually shows 38400 all the time, but when I dial up, I
still get garbage at 28.8 and a login: at 9600.

I've also tryed setting ispeed and ospeed, and using 38400-baud in the
/etc/ttys file.

So what am I doing wrong.  slattach works with just a parameter, but getty
won't work any way I can think of!

-- 
Harry Goldschmitt                 |    harry@hgac.com
1226 Starlit Rd.                  |     (714)494-6086 
Laguna Beach, CA 92651-3035       | Fax:(714)494-3072