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

Re: aktive ISDN-Karte für Fax-Server ein muss?



Am So, den 14.11.2004 schrieb Joerg Stadler um 22:42:
> >
> Naja, das ist nicht so einfach, Habe glaube noch in irgendeiner Schublade ein 
> Elsa-Modem liegen, nur keine Anschlussmöglichkeit, da meine Telefonanlage, 
> eine  ISDN-DECT - Anlage ist. So ein a/b-Wandler kostet mich bestimmt genau 
> so viel wie eine gebrauchte B1-Karte.
> 
Hallo Joerg, 
ich hatte Hylafax jahrelang zufrieden mit einem externen Modem
betrieben. Jetzt bin ich umgestiegen auf Fritz!PCI in einem aktuellen
Rechner. 

Wie ich das installiert habe, habe ich hier in engl. aufgeschrieben:


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@orthhof.de
        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@mymail.net,you@yourmail.net;
##################################################
( 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
        }
}
##########################################################

Faxe kommen an und werden verschickt. Der Betrieb laeuft bei mir aber
erst wenige Tage.

Ciao Hugo



Reply to: