*BSD News Article 63915


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.hawaii.edu!ames!purdue!lerc.nasa.gov!magnus.acs.ohio-state.edu!math.ohio-state.edu!howland.reston.ans.net!tank.news.pipex.net!pipex!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: ppp/hylafax confilct
Date: 20 Mar 1996 11:30:34 -0000
Organization: Coverform Ltd.
Lines: 35
Message-ID: <4ioq8q$b7@anorak.coverform.lan>
References: <4hbnnh$bqg@orm.southern.co.nz> <DntByv.6w@slugvine.demon.co.uk> <4hrlml$bnr@orm.southern.co.nz>
X-NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

Calvin I. Varney (calvin@southern.co.nz) wrote:
: John Stark (jas@slugvine.demon.co.uk) wrote:
: : >
: : >Does anyone know if it is possible to have ppp running and 
: : >still allow other processes to use of the modem?
: : 
: : I'd quite like to know the answer to this too.  I have tried running
: : faxgetty on /dev/ttyd1 and ppp on /dev/cuaa1.  The impression I got from
: : the documentation was that causing ppp to dial the ISP would snatch the
: : serial port from Hylafax temporarily.  What I actually observed was that
: : ppp hung indefinitely when it tried opening the port.  If I got this working

: faxgetty and ppp are both working well for me, though I did give faxgetty cuaa0  
: (as is ppp) not ttyd0 by inserting the following line into /etc/ttys:

: cuaa0  "/usr/local/sbin/faxgetty /dev/cuaa0"   dialup on

: Its just sendfax that has me stumped, have actually found that as soon as i invoke 
: sendfax, ppp opens the connection to my isp, faxstat reports the modem busy and is 
: waiting for it to come free, ppp times out because of no activity and then faxq 
: will successfully deliver the fax.

: Why ppp makes a conection first i can't figure out....

Try 'tcpdump -i tun0'.  You should see the packet that kicks ppp.  It's
probably a DNS request that can be fixed by changing the order in
/etc/host.conf and adding the host to /etc/hosts.

: calvin.


--
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....