Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!solace!nntp.uio.no!news.cais.net!bofh.dot!news.fc.net!davros
From: blakef@mrdata.com (Blake Freeburg)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Modem dialup help needed...
Date: Thu, 30 May 96 02:13:17 GMT
Organization: Mr. Data Consulting
Lines: 43
Message-ID: <4oj0a1$oah@villa.fc.net>
References: <4nonsi$g27@villa.fc.net> <4ntsnj$199@anorak.coverform.lan>
NNTP-Posting-Host: davros.mrdata.com
X-Newsreader: News Xpress 2.0 Beta #0
In article <4ntsnj$199@anorak.coverform.lan>, brian@awfulhak.demon.co.uk (Brian Somers) wrote:
>: I have a Practical Peripheral 28.8 MT II I am trying to hook up to my
>: FreeBSD box. Anyone have some hints of what I would need to add to the
>: /etc/modems database as far as commands?
>Try looking at the man pages on 'ttys', 'gettytab' and 'getty'.... There's
>lots of stuff in there that you may find useful. Post a more specific
>question if you don't have any luck.
in /etc/ttys
ttyd0 "/usr/libexec/getty bidir.115200-hf" dialup on
in /etc/gettytab
bidir.115200-hf|bidirectional line, locked DCE speed, hardware flow:\
:bi:np:hf:sp#115200:
and I am very confused about either /etc/rc.serial or /etc/rc.local. On my
2.1 system, they are both there, and I have the following in /etc/rc.serial
(this is the only part of the file I have modified):
default() {
# Reset everything changed by the other functions to initial defaults.
for i in $*
do
# comcontrol /dev/ttyd$i dtrwait 300 drainwait 0
# stty </dev/ttyid$i -clocal crtscts hupcl 9600 reprint ^R
# stty </dev/ttyld$i -clocal -crtscts -hupcl 0
# stty </dev/cuaia$i -clocal crtscts hupcl 9600 reprint ^R
# stty </dev/cuala$i -clocal -crtscts -hupcl 0
comcontrol /dev/ttyd$i dtrwait 0 drainwait 0
stty </dev/ttyid$i -clocal crtscts hupcl 57600 reprint ^R
stty </dev/ttyld$i -clocal -crtscts -hupcl 0
stty </dev/cuaia$i -clocal crtscts hupcl 57600 reprint ^R
stty </dev/cuala$i -clocal -crtscts -hupcl 0
done
stty -f /dev/ttyd0 -clocal -crtscts
stty -f /dev/ttyd1 -clocal -crtscts
}
Thanks for any help...
Blake
(email please?)