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!spool.mu.edu!howland.reston.ans.net!gatech!news.mathworks.com!uunet!in2.uu.net!news.u.washington.edu!raindrop!unger From: unger@raindrop.seaslug.org (Thomas Unger) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: ppp/hylafax confilct Date: Fri, 8 Mar 1996 21:59:47 GMT Organization: Wet Weather Consulting Lines: 39 Message-ID: <DnyyFo.GxH.0.raindrop.seaslug.org@raindrop.seaslug.org> References: <4hbnnh$bqg@orm.southern.co.nz> <DntByv.6w@slugvine.demon.co.uk> <4hkfu6$56q@helena.MT.net> NNTP-Posting-Host: cs120-10.u.washington.edu In article <4hkfu6$56q@helena.MT.net>, Nate Williams <nate@sneezy.sri.com> wrote: >In article <DntByv.6w@slugvine.demon.co.uk>, >John Stark <jas@slugvine.demon.co.uk> wrote: >>In article <4hbnnh$bqg@orm.southern.co.nz>, >>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. > >You can't have multiple processes holding the same line. Even though >PPP doesn't have the line open, it's still 'using' the line. The current >serial driver doesn't support multiple opens of the *same* device to avoid >lots of problems. I'm just approaching this issue. My understanding of how this all works is that one process (getty or faxgetty) listens on /dev/ttydx for in coming calls. Dial out jobs open /dev/cuaax. They are just different names for the same device and the serial driver knows how to manage access. You should be able to have several different packages shairing cuaax. Currently I have ppp (not auto dial) and uucp working together. I don't see why any of ppp -auto, uucp, or hylafax would have to hold cuaax open when they are not activly communicating. Also, docs for each say they use the UUCP style locking. So, I expect to be able to configure them all to use the same modem. Of course, I'm often disapointed in my expectations of software interoperability. hylafax with dial out only does not quite fit into this scheme because it leaves the modem configured for fax. For some reason it does not drop DTR when done, which would reset my modem. Rather than trace this down I thought I'ld see if adding faxgetty would sove this problem. Tom.