From owner-freebsd-questions Mon Feb 6 09:05:12 1995 Return-Path: questions-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id JAA15314 for questions-outgoing; Mon, 6 Feb 1995 09:05:12 -0800 Received: from desiree.teleport.com (desiree.teleport.com [192.108.254.11]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id JAA15308 for ; Mon, 6 Feb 1995 09:05:11 -0800 From: bmk@dtr.com Received: (from uucp@localhost) by desiree.teleport.com (8.6.9/8.6.9) with UUCP id JAA16119; Mon, 6 Feb 1995 09:01:53 -0800 Received: (from bmk@localhost) by dtr.com (8.6.9/8.6.9) id HAA16184; Mon, 6 Feb 1995 07:23:51 -0800 Message-Id: <199502061523.HAA16184@dtr.com> Subject: Re: login to FreeBSD via modem. How? To: M.Saunby@reading.ac.uk Date: Mon, 6 Feb 1995 07:23:51 -0800 (PST) Cc: questions@FreeBSD.org In-Reply-To: <3933.9502061025@suma1> from "M.Saunby@reading.ac.uk" at Feb 6, 95 10:25:18 am Reply-To: bmk@dtr.com X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1220 Sender: questions-owner@FreeBSD.org Precedence: bulk > Can anyone tell me how to enable remote logins to my FreeBSD 2 system via > a modem. I have a modem (14k4) on com1, /dev/ttyd0, which I use to collect > email via UUCP. I would also like to allow a friend to login through > the same modem (at 2400 baud) to check their mail. > I have turned ttyd0 on and use "getty std.2400" but all I get is rubbish > when the modem auto-answers. That's probably because you need to set the baud rate higher... High speed modems don't quite work the way you'd expect them to. You should configure the port and modem to always use a constant baud rate (usually 38400 or 57600), and you let the modem handle the speed conversion. If you need any help with this, I'd be glad to help. > I relalise that the setting on/off in ttys will need changing before > uucico calls out and a "kill -hup 1". I can handle that with a script. No, you don't really _need_ to do it that way. There's a better way. Set up uucico to dial out on /dev/cua00, and set up your getty to use /dev/ttyd0. FreeBSD has bidirectional port locking, which is enabled by default in FreeBSD 2.x. Check "man sio" for more info on this. > Any ideas on what could be wrong? Do I need a fancy stty command?