Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sharing a modem with pppd



-----BEGIN PGP SIGNED MESSAGE-----

On Fri, 7 Nov 1997 Matthias.Apitz@SOFTCON.de wrote:

> The FAXSERVER environment variable controls which host and port
> the clients (e.g. faxstat(1) or sendfax(1)) should contact
> for the "hylafax" service of hfaxd(1M). This variable has
> nothing to do with the running hfaxd(1M) and if I understand
> the problem report of Luiz Otavio right the problem is that
> a client *can* reach the service at the host, the hfaxd(1M)
> gets the connection, forks and aborts with SIG 11 in
> case the PPP-link isn't up. This sounds like related to a name
> resolving problem but is unrelated to FAXSERVER setting.

Because FAXSERVER controls the host, and DNS under PPP's control looks
up the hostname's IP address, selecting a FAXSERVER other than the
localhost default can screw things up if the hostname *changes* when
he drops the PPP connection. I've seen this sort of PPP setup,
especially for dynamic IP address allocation. In that case, it's
important to make sure the FAXSERVER says "localhost" or is left
blank.

> At the moment I don't know which OS type Luiz Otavio is
> running.... ah, it's Linux (just checked my HylaFAX mail
> folders). Luiz Otavio, please run a strace(1) command
> with the -f flag (to monitor also forked childs) against
> the running hfaxd(1M), start this before you fire up the
> client (or just use "telnet localhost hylafax") and
> send me the output of the strace(1). I'll also send
> you a patch (directly) which deals with this problem in pl2
> (but without the strace I'm not sure if you hit the same
> situation).

Good stuff. Glad you're on it, this is deeper than I was looking...

> I also managed to compile HylaFAX at home on the S.u.S.E. Linux
> box of my son (normaly I run SVR4.2) and can now answer
> Linux related questions better than before.

Cool. I'd be glad to give the current pl2 version a test under SunOS
on a spare server I have set up, whenever you like.

			Nico Garcia
			Engineer, CIRL 
			Mass. Eye and Ear Infirmary
			raoul@cirl.meei.harvard.edu

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNGNF0T/+ItycgIJRAQE99gP+P6w0geQ+D0Sp9IzAuInze7RMTXQJ9Lf5
fcCpwsCA9/GYA8eGXzZR8wo/83uYo2644Y5Clo7o3GSFGj5SiNgjXRfZjfpA92vL
09iIRlqdwJmhSMVbCzntE5MEgwqPPN3Hc5QhNO07lIYaP8aak4wuLlP6tog+phZd
tnSIWkUkpdI=
=GdYC
-----END PGP SIGNATURE-----



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services