Hylafax Mailing List Archives

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

Re: [hylafax-users] capi4hylafax and Debian Sarge installation



Thanks to Bodo,
I' ve updated my system and found it working for me after performing the
steps mentioned below: 

Actally libtiff is broken in sarge and needs to be patched on server and
all client systems (if they run Debian Sarge) for sending/viewing .tif
attachments. I got patched libraries for sarge from:
http://lists.debian.org/debian-user-german/2004/10/msg02764.html

Hylafax installation on a Debian Sarge system with 
	kernel 2.6.x 
	fritz!PCi isdn Card
as ist works for me

rmmod avmfritz (or use modconf)
apt-get install alien checkinstall
apt-get install dialog metamail
cd /usr/src
wgetftp://ftp.avm.de/cardware/fritzcrd.pci/linux/suse.91/fcpci-suse9.1-3.11-02.tar.gz
tar -xzvf fcpci-suse9.1-3.11-02.tar.gz
cd fritz
make
cp /usr/src/fritz/src/fcpci.ko
/lib/modules/2.6.7/kernel/drivers/isdn/capi
apt-get install isdnutils-base  (No firmware to be loaded)
apt-get install libcapi20-3
apt-get install capi4hylafax
nano /etc/isdn/capi.conf
###############################################
# card file proto io irq mem cardnr options
fcpci - - - - - - -
###############################################

capiinit
capiinfo (shows active CAPI)
nano /etc/default/capi4hylafax
######################################################################
# Uncomment this line once capi4hylafax has been fully configured.
run_capi4hylafax=1
######################################################################

apt-get install hylafax-server hylafax-client
/usr/sbin/faxsetup
	Should an entry be added for the FaxMaster to /etc/aliases? y
	Users to receive fax-related mail? rootsengle@xxxxxxxxxx
	Init script starts faxq: yes
	Init Script starts hfaxd: yes
	Start old protocol: no
	Start paging protocol: no
	Are these ok? 
	all other questions [yes]? yes
	Should I run faxmodem for each configured modem? y

faxaddmodem
	Serial port that modem is connected to? capi20.00
	Country code? 49 (Germany)
	Area code? 40 (Hamburg)
	Phone number od fax modem? +4940111111111 (Example)
	Local identification string? Meine Firma (Example)
	Long distance dialing prefix? 0 (in Germany)
	International dialing prefix? 00 (in Germany)
	Dial string rules file? etc/dialrules
	Tracing during normal server operation? 1
	Tracing during send and receive sesions? 11
	Protection mode for received facsimile? 0640
	Protection mode for session logs? 0640
	Protection mode for capi20.00? 0660
	Rings to wait before answering? 1 
	Modem speaker volume? off
	Command line arguments to getty program? „-h %l dx_%s“
	Pathname of TSI access control list file? „“ (Leerstring)
	Pathname of Caller-ID access control list file? „“ (Leerstring)
	Tag line font file? etc/lutRS18.pcf
	Tag line format string? „From %%l|%c|Page %%P von %%T“ Time before
purging a stale UUCP lock file? 30
	Hold UUCP lockfile during inbound data calls? Yes
	Hold UUCP lockfile during inbound voice calls? Yes
	Percent good lines to accept during copy quality checking? 95
	Max consecutive bad lines to accept during copy quality check? 5
	Max number of pages to accept in a received facsimile? 25
	Syslog facility name for ServerTracing messages? daemon
	Set UID to 0 to manipulate CLOCAL? „“
	Use available priority job scheduling mechnism „“
	Are these ok? y
	
nano /etcl/hylafax/hosts.hfaxd
###################################################
localhost:21::
192.168.0.*:
###################################################
...or use the command faxadduser

apt-get install exim4 exim4-base exim4-daemon-heavy
apt-get install sharutils metamail
touch /etc/hylafax/FaxDispatch
nano/etc/hylafax/FaxDispatch
##################################################
FILETYPE=pdf;
SENDTO=me@xxxxxxxxxx,you@xxxxxxxxxxxx;
##################################################
( Info: FILETYPE=[ tif | ps | pdf] )
(using tif needs actually patched libtiff-libraries)

/etc/default/hylafax should contain at least these lines:
#######################################################
USE_FAXGETTY=no
RUN_HYLAFAX=1
#######################################################

/etc/hylafax/config.faxCAPI should look like this:
##########################################################
SpoolDir: /var/spool/hylafax
FaxRcvdCmd: /var/spool/hylafax/bin/faxrcvd
PollRcvd Cmd: /var/spool/hylafax/bin/pollrcvd
FaxReceiveUser: uucp
FaxReceiveGroup: dialout
LogFile: /var/spool/hylafax/log/capi4hylafax
LogTraceLevel: 4
LogFileMode: 0600
{
	HylafaxDeviceName: faxCAPI
	RcvFileMode: 0660
	FAXNumber: +49.00.00000
	LocalIdentifier: „myFAX“
	MaxConcurrentRecvs: 1
	OutgoingController: 1
	OutgoingMSN: 11111 (replace by your MSN)
	SuppressMSN: 1
	NumberPrefix: 
	UseISDNFaxService: 0
	RingDuration: 0
	{
		Controller: 1
		AcceptSpeech: 1
		UseDDI: 0
		DDIOffset: 
		DDILength: 3 
		IncomingDDIs: 
		IncomingMSNs: 1111,22222 (replace by your MSNs)
		AcceptGlobalCall: 0
	}
}
##########################################################



____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*



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