*BSD News Article 49015


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!vtc.tacom.army.mil!ulowell.uml.edu!wang!news.kei.com!newshost.marcam.com!usc!howland.reston.ans.net!tank.news.pipex.net!pipex!in2.uu.net!mdisea!mmddvan!not-for-mail
From: campbell@mdd.comm.mot.com (Duncan Campbell)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: help:dial in modem access
Date: 16 Aug 1995 20:41:40 -0700
Organization: Motorola - Wireless Data Group; Richmond, BC
Lines: 51
Distribution: na
Message-ID: <40udpk$1h9@lyorn.mdd.comm.mot.com>
References: <Pine.ULT.3.91.950812164426.28581A-100000@scooter.cc.wwu.edu>
NNTP-Posting-Host: lyorn.mdd.comm.mot.com
X-Newsreader: TIN [version 1.2 PL2]

Do the following:

to /etc/gettytab, add the lines
###Dhu's entries
bidir.384|bidirectional line, DCE locked to 38.4kbps, Hard Flow, 8b,noP:\
        :bi:hf:np:p8:sp#38400:

dtrm.384|DCE locked to 38.4kbps, 8b,noP:\
        :hw:hf:np:p8:sp#38400:

to /etc/ttys, add the line

tty01   "/usr/libexec/getty bidir.384"  ansi    on

Note that tty01 refers to Com2

to /etc/remote, add line

tty01:dv=/dev/tty01:br#38400:

and remove any other line begining with tty01:

execute the following on your command line to force a re-read of ttys and
gettytab.  This sometimes does not work so then you reboot.

kill -1 1

You should now be able to execute "tip tty01" and have access to your modem.

You can then set your modem to auto answer by entering 

ats0=1&w

Note that dialin/dialout lines have inherent security problems on a
machine with uncontrolled access.

Dhu
Jeff Blattman (n9410493@scooter.cc.wwu.edu) wrote:
: i was wondering if anyone could help me with the configuration for a 
: dial-in modem.  i have tried putting a getty on the serial line 
: (bi-directional) but when i call in and make a connection, i get some 
: garbage on the line and that is it.

: thanks for the help.

: --
: 	Jeff Blattman			Administrative Computing Services
: 	n9410493@admcs.wwu.edu		Western Washington University
: 					Bellingham, WA 98225
: 					(360) 650-7709