From owner-freebsd-questions Sat Nov 4 06:58:32 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA24224 for questions-outgoing; Sat, 4 Nov 1995 06:58:32 -0800 Received: from chemserv.umd.edu (chemserv.umd.edu [129.2.64.40]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id GAA24219 for ; Sat, 4 Nov 1995 06:58:30 -0800 Received: from mocha.eng.umd.edu (mocha.eng.umd.edu [129.2.98.16]) by chemserv.umd.edu (8.7/8.7) with ESMTP id JAA02152; Sat, 4 Nov 1995 09:58:22 -0500 (EST) Received: (chuckr@localhost) by mocha.eng.umd.edu (8.7/8.6.4) id JAA00744; Sat, 4 Nov 1995 09:58:21 -0500 (EST) Date: Sat, 4 Nov 1995 09:58:21 -0500 (EST) From: Chuck Robey X-Sender: chuckr@mocha.eng.umd.edu To: Barry Masterson cc: "freebsd.questions" Subject: Re: Sharing modem for dial in/out In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk On Fri, 3 Nov 1995, Barry Masterson wrote: > As the subject suggests, I'm trying to configure my system to accept > dial-in & dial-out on a single modem (USR Sportster V.42 14.4). I > added the dial out line to /etc/ttys as outlined in one of the faq's. > > A friend dialed in and got the 'login' prompt, and successfully > logged in. However on the second, and following attempts, no > 'login' prompt was offered. > > In the book "Unix System Administration Handbook" by Nemeth, Snyder, > Seebass & Hein, they mention using the 'bi' option in /etc/gettytab. > This is suppose to help a single modem handle both dial-in & dial-out. I > haven't seen any mention of this in the getty & gettytab man pages, > or in the gettytab file either. > > Can anyone here help me with some suggestions on this situation? That shouldn't be necessary. There's a gotcha you have to be careful of, it's not obvious. When a user rings into your modem, the modem can send a "RING" word to the computer, telling of the incoming call. Login takes that as the username (or password, if it doesn't answer fast enough), and so the user wouldn't get the prompt they're looking for. Two things to check on: 1) setting the verbosity level, so that the modem puts out responses only on locally originating calls (ATQ2). 2) Carrier detect operates normally (dipswitch 6 == UP && AT&C1). I think, as long as your cable has enough pins, that ought to do it. > > Special thanks to Chuck for helping me to get the modem working > in the first place. > > Barry Masterson > jbarrm@panix.com > > ========================================================================== Chuck Robey chuckr@eng.umd.edu, I run FreeBSD-current on n3lxx + Journey2 Three Accounts for the Super-users in the sky, Seven for the Operators in their halls of fame, Nine for Ordinary Users doomed to crie, One for the Illegal Cracker with his evil game In the Domains of Internet where the data lie. One Account to rule them all, One Account to watch them, One Account to make them all and in the network bind them.