From owner-freebsd-hackers Thu Apr 27 15:31:00 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA06141 for hackers-outgoing; Thu, 27 Apr 1995 15:31:00 -0700 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id PAA06134 for ; Thu, 27 Apr 1995 15:30:57 -0700 Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.12/jtpda-5.0) with ESMTP id AAA06730 ; Fri, 28 Apr 1995 00:30:38 +0200 Received: from (roberto@localhost) by blaise.ibp.fr (8.6.12/jtpda-5.0) id AAA03478 ; Fri, 28 Apr 1995 00:30:38 +0200 From: roberto@blaise.ibp.fr (Ollivier Robert) Message-Id: <199504272230.AAA03478@blaise.ibp.fr> Subject: Re: Is there any FAQ on thge serial in FreeBSD? To: agl@redline.ru (Anthony Graphics) Date: Fri, 28 Apr 1995 00:30:37 +0200 (MET DST) Cc: hackers@FreeBSD.org In-Reply-To: from "Anthony Graphics" at Apr 27, 95 07:46:00 pm X-Operating-System: FreeBSD 2.0.950416-SNAP ctm#562 X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1406 Sender: hackers-owner@FreeBSD.org Precedence: bulk > 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 /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