From owner-freebsd-questions Wed Feb 28 08:33:00 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA19878 for questions-outgoing; Wed, 28 Feb 1996 08:33:00 -0800 (PST) Received: from sag.space.lockheed.com (sag.space.lockheed.com [192.68.162.134]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id IAA19862 for ; Wed, 28 Feb 1996 08:32:56 -0800 (PST) Received: by sag.space.lockheed.com; (5.65v3.2/1.1.8.2/21Nov95-0423PM) id AA12805; Wed, 28 Feb 1996 08:32:59 -0800 Date: Wed, 28 Feb 1996 08:32:59 -0800 (PST) From: "Brian N. Handy" To: Sean Kelly Cc: freebsd-questions@freebsd.org Subject: Re: baudrate on serial port? In-Reply-To: <9602281341.AA02331@emu.fsl.noaa.gov> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk > All tty settings return to their initial/lock state after the port is > closed. When you do stty -f /dev/cuaa1 57600, stty will open the > port, set the bps rate, and then close the port. When the port > closes, it goes back to 9600. D'oh! That hurts! Anyway...what I've been using to talk to the modem is the interactive mode of iijppp. What I've been finding is that I keep connecting at either 9600 if I set the speed to 14400, and I connect at 14400 if I set it much faster...up to and including 57600. The difference being once I establish communications at 14400, the modem connection seems to "hang". (Not "hang up", just "hang".) Anyway, I need to go work out what's going on in rc.serial. I've spent some cursory time there and I've got to dig some more, parts of it just don't make sense to me yet. I think the sio man page is probably another place to visit. And then again, it could be my modem. I'm utterly convinced that all modems are the work of Satan. :-) Thanks for everybody's suggestions. I need to RTFM some more and I'll report back when I figure my problem out. Regards, Brian handy@sag.space.lockheed.com