From owner-freebsd-questions Tue Dec 19 20:32:10 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA28533 for questions-outgoing; Tue, 19 Dec 1995 20:32:10 -0800 (PST) Received: from tulpi.interconnect.com.au (root@tulpi.interconnect.com.au [192.189.54.18]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id UAA28484 for ; Tue, 19 Dec 1995 20:31:58 -0800 (PST) Received: (from ahill@localhost) by tulpi.interconnect.com.au id PAA26801 (8.6.11/IDA-1.6); Wed, 20 Dec 1995 15:30:28 +1100 Date: Wed, 20 Dec 1995 15:30:27 +1100 (EST) From: Anthony Hill To: Andrew Stevenson cc: questions@freebsd.org Subject: Re: Dial In In-Reply-To: <199512200141.MAA00481@flopsy.hobart.tased.edu.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk On Wed, 20 Dec 1995, Andrew Stevenson wrote: > As a forerunner to setting up PPP I am trying to get a plain terminal dial in working. When I dial up the unix the modem answers and spews out 'crap' ie. The type of characters you never knew existed. If I use watch to look at the ttyd I get the login prompt on the watch screen. Using watch, everything acts normally and if I get output on stdout, corrosponding (in volume) 'crap' appears on the dial in terminal window. Typing anything (ie. returns) on the dial in window makes the 'rd' light on the modem flash, but nothing appears on the watch window. The appropriate line in /etc/ttys reads : > ttyd2 "/usr/libexec/getty V19200" dialup on secure > The appropriate line in /etc/gettytab reads : > > The appropriate line in /etc/rc.serial reads : > stty -f /dev/ttyid2 crtscts > > I am running FreeBSD 2.1, the modems are both Avtek Mega DataFax 144. Andrew, You do not need to modify gettytab or rc.serial, (at least I didnt need to in 2.0.5 or 2.1), the only file you should need to modify is /etc/ttys My /etc/ttys line reads :- ttyd1 "/usr/libexec/getty std.38400" dialup on insecure This is for a 28.8kbs modem on COM2 (is your modem on COM3 cause thats the port your config files point to.) As your modem is only 14.4kbs, you prolly will want to substitute the 38400 for 19200. You should initilize you modem using tip or from DOS with :- at&f at&k3/n3%c3s0=2&w (I think this is the default for your modem anyway) Anthony Hill connect.com.au