*BSD News Article 47604


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!gatech!news.sprintlink.net!psgrain!ee.und.ac.za!ucthpx!ucthpx!not-for-mail
From: vincent@ucthpx.uct.ac.za (Russell Vincent)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Dial back PPP on FreeBSD
Date: 29 Jul 1995 20:32:56 +0200
Organization: University of Cape Town
Lines: 28
Message-ID: <3vduso$3qo@ucthpx.uct.ac.za>
NNTP-Posting-Host: ucthpx.uct.ac.za
X-Newsreader: TIN [version 1.2 PL2]

Hi,

Is it possible to have a dial-back PPP link on a FreeBSD 2.0.5
machine?  i.e: Dial into a machine, have it disconnect and dial
you back.

I see 2 options here:

1) Have a pppd handle the initial connection, authentication and
   dial-back - I cannot find any option to do this - if it exists.
   'ppp -direct' doesn't help either, because it only works on stdio.

2) Have getty handle the initial login, then start a process in the
   background that logs off (closing the connection) and then starts
   ppp to make a connection to a pre-configured host. Only problem
   is that getty is in the way. Some machines (e.g: HPUX) have
   'uugetty' which allows getty to share the line with dial-out
   programs if the line is not in use - is there something similar
   for FreeBSD?

To get around the getty problem in (2), I could have the script
modify the /etc/ttys and HUP init, but that gets messy.

Any ideas?

Thanks
 -Russell