From owner-freebsd-hackers Thu Apr 27 23:53:00 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id XAA01210 for hackers-outgoing; Thu, 27 Apr 1995 23:53:00 -0700 Received: from redline.ru (root@mail.redline.ru [194.87.69.22]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id XAA01204 for ; Thu, 27 Apr 1995 23:52:45 -0700 Date: Fri, 28 Apr 1995 10:08:43 +0400 (GMT+0400) From: Anthony Graphics X-Sender: agl@mail.redline.ru To: Ollivier Robert cc: hackers@FreeBSD.org Subject: Re: Is there any FAQ on thge serial in FreeBSD? In-Reply-To: <199504272230.AAA03478@blaise.ibp.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@FreeBSD.org Precedence: bulk On Fri, 28 Apr 1995, Ollivier Robert wrote: > Date: Fri, 28 Apr 1995 00:30:37 +0200 (MET DST) > From: Ollivier Robert > To: Anthony Graphics > Cc: hackers@FreeBSD.org > Subject: Re: Is there any FAQ on thge serial in FreeBSD? > > > I'm spending the second day trying to setup a dialin. > > One simple question: should the /usr/libexec/getty be used for that > > Yes, getty is the program you want to use. > > > purpose? Where are the modem init strings are located? > > In your modem's NVRAM :-) > > > Any entries I should add into /etc/gettytab? > > I did it with this in gettytab : > > ---------------------------- > U|supra.57600|supra-57600:\ > :cb:ce:ck:sp#57600:ap:cs#8:xa:np:hw:\ > :if=/etc/issue.modem:\ > :im=\r\n\r\n*** Keltia\r\n Welcomes Thee!\r\n\ > \r\nFreeBSD 2.1\r\n:lm=\r\n%h login\72 : > ---------------------------- > > This in /etc/ttys : > > ---------------------------- > ttyd0 "/usr/libexec/getty supra.57600" vt100 on > ---------------------------- > > and this in /etc/rc.local (I don't use the new wiz-bang rc* files by > lazyness). > > ---------------------------- > echo -n 'Local comm ports setup: ' > > if [ -x /bin/stty ]; then > /bin/stty -f /dev/cuaia0 57600 crtscts > /bin/stty -f /dev/cuala0 57600 crtscts > /bin/stty -f /dev/ttyid0 57600 crtscts hupcl > /bin/stty -f /dev/ttyld0 57600 crtscts hupcl Hmm, after inclusion of these lines into rc.local the system panics right away, that's stock 950412-SNAP... AGL > /sbin/comcontrol /dev/ttyd0 dtrwait 500 > echo 'ttyd0: RTS/CTS enabled' > fi > ---------------------------- > > Works like a charm. > -- > Ollivier ROBERT -=- The daemon is FREE! -=- roberto@FreeBSD.ORG > FreeBSD keltia 2.0.950416-SNAP #17: Sun Apr 16 17:12:07 MET DST 1995 >