*BSD News Article 45120


Return to BSD News archive

#! rnews 2077 sserve.cc.adfa.oz.au
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!news.kei.com!bloom-beacon.mit.edu!spool.mu.edu!howland.reston.ans.net!agate!tcsi.tcs.com!uunet!zib-berlin.de!news.tu-chemnitz.de!irz401!narcisa.sax.de!not-for-mail
From: j@narcisa.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Dialing Up a box?
Date: 7 Jun 1995 13:07:27 +0200
Organization: Private U**x site, Dresden.
Lines: 29
Message-ID: <3r419f$m4e@bonnie.tcd-dresden.de>
References: <3qvn44$2d8@news4.primenet.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de
NNTP-Posting-Host: 192.109.108.139
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Halaster  <halastr@usr1.primenet.com> wrote:
>It's me again.  I would like to be able to call my home computer from work
>and drop to a shell.  Basically, the equivalent to telneting directly to
>the home machine but by calling it through the modem.  Is there a daemon
>I need to install inorder for it to monitor the modem?  Maybe a nice
>program... not a bbs though (unless it lets you drop to a shell).

The daemon is called ``getty'' and needs to be enabled in /etc/ttys.
Refer to the man pages ttys(5) and gettytab(5) for explanations.  Make
sure your modem auto-answers incoming calls (ats0=1&w) and is config-
ured to the same DTE speed as the getty is using, since getty waits
until it sees the carrier from the modem (low->high transition of the
DCD line).

If you need to talk to the modem directly (e.g. to adjust the S0
register setting or the DTE speed), programs like ``kermit'' are the
easiest way, though you can also use ``cu'' (but you need more
tweaking to several config files then).

Use the dialout device (/dev/cua00 or /dev/cuaa0) to speak with the
modem, and the dialin device (/dev/tty00 or /dev/ttyd0) to run your
getty on.


-- 
cheers, J"org                      private:   joerg_wunsch@uriah.heep.sax.de
                                   http://www.sax.de/~joerg/

Never trust an operating system you don't have sources for. ;-)