Date: Fri, 28 Apr 1995 00:30:37 +0200 (MET DST) From: roberto@blaise.ibp.fr (Ollivier Robert) To: agl@redline.ru (Anthony Graphics) Cc: hackers@FreeBSD.org Subject: Re: Is there any FAQ on thge serial in FreeBSD? Message-ID: <199504272230.AAA03478@blaise.ibp.fr> In-Reply-To: <m0s4Vm9-000FJ6C@redline.ru> from "Anthony Graphics" at Apr 27, 95 07:46:00 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504272230.AAA03478>
