HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] Wedged modem



* SCIN - Danilo Bottino <info@xxxxxxx> [061120 10:51]:
> Ok, thanks. Having three modems on that linux box (/dev/ttyS0 | S1 | S2), 
> is it right to add the following to inittab?
> 
> m0:2345:respawn:/usr/local/sbin/faxgetty ttyS0
> m1:2345:respawn:/usr/local/sbin/faxgetty ttyS1
> m2:2345:respawn:/usr/local/sbin/faxgetty ttyS2
> 
> Also, do I need to remove the init.d/ script?

No, you have to configure the debian hylafax service in:
	/etc/default/hylafax

In fact, if you have a recent hylafax, package, it actually looks  for
faxgetty running from inittab for you, which you can "forcibly"
override:

	# default settings for hylafax server

	# try to check for the correct USE_FAXGETTY value
	if grep -E '^[^#]*:respawn:/usr/sbin/fax(getty|modem).*$' /etc/inittab >/dev/null 2>&1
	then
		USE_FAXGETTY=init
	else
		USE_FAXGETTY=yes
	fi

	# In a send only installation you may want to use faxgetty
	# or faxmodem on lines already configured with faxaddmodem.
	# faxgetty is the new default, faxmodem the old one.
	# For a better understanding of the difference between faxmodem
	# and faxgetty, see http://www.hylafax.org/archive/1999-09/msg00043.php
	#
	# In a send/receive installation you must use faxgetty.
	#
	# To use faxmodem change the following variable value to "no".
	#
	# You may also prefer to run faxmodem/faxgetty via inittab instead of
	# running it here from a script. In this case set its value as
	# "init".
	# USE_FAXGETTY=yes

The "init.d" hylafax script will only start faxgetty's if USE_FAXGETTY
is set to yes.  And it will even run faxmodem for you if you have
devices configured and have explicitly configured it to not run any
faxgetty's.

The debian package of HylaFAX is extremely well put together.

a.

-- 
Aidan Van Dyk                                             aidan@xxxxxxxx
Senior Software Developer                          +1 215 825-8700 x8103
iFAX Solutions, Inc.                                http://www.ifax.com/

Attachment: signature.asc
Description: Digital signature




Project hosted by iFAX Solutions