Date: Fri, 28 Apr 1995 10:08:43 +0400 (GMT+0400) From: Anthony Graphics <agl@mac.glas.apc.org> To: Ollivier Robert <roberto@blaise.ibp.fr> Cc: hackers@FreeBSD.org Subject: Re: Is there any FAQ on thge serial in FreeBSD? Message-ID: <Pine.LNX.3.91.950428100727.6885A-100000@mail.redline.ru> In-Reply-To: <199504272230.AAA03478@blaise.ibp.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 28 Apr 1995, Ollivier Robert wrote: > Date: Fri, 28 Apr 1995 00:30:37 +0200 (MET DST) > From: Ollivier Robert <roberto@blaise.ibp.fr> > To: Anthony Graphics <agl@redline.ru> > 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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.91.950428100727.6885A-100000>