logo_name

Home

<<< zurück

logo_linux

Projekt

Zu ändernde Scripte für Hylafax mit FritzPCII

Hardware

Software*

Router*

FileServer**

BackupServer**

DiensteServer*

WinClient

Impressum

*   nicht fertig
** nicht bearbeitet

/etc/hylafax/config
#ContCoverPage:         "etc/cover.templ"
#DestControls:          "etc/destctrls"
#DialStringRules:       "etc/dialrules"
#QualifyCID:            "etc/cid"
#QualifyTSI:            "etc/tsi"
#ServerTracing:         0x08501
SendFaxCmd:             "/usr/bin/c2faxsend"
DialStringRules:        "/etc/dialrules"
LogFacility:            daemon
CountryCode:            49
AreaCode:               0335
LongDistancePrefix:     0

InternationalPrefix:    00
--------------------------------------------------------------------------
/etc/hylafax/hosts.hfaxd
# hosts.hfaxd
# This file contains permissions and password for every user in
# the system.
#
# For more information on this biject, please see its man page
# and the commands faxadduser and faxdeluser.
localhost:21::

192\.168\.:::

^faxadmin@:::dJiIOqvDQepW2
^faxuser@::UjoF5JkDhg3II
----------------------------------------------------------------------------
/etc/hylafax/config.faxCAPI
Dieses Script hat eine sehr gute deutsche Kommentierung, man sollte diese bei Änderungen immer nachvollziehen.

# default   /var/spool/fax
#
SpoolDir:               /var/spool/hylafax

# default   /var/spool/hylafax/bin/faxrcvd
#
FaxRcvdCmd:             /var/spool/hylafax/bin/faxrcvd

# default   /var/spool/hylafax/bin/pollrcvd
#
PollRcvdCmd:             /var/spool/hylafax/bin/pollrcvd

# default   ""
#
FaxReceiveUser:         uucp
FaxReceiveGroup:        dialout

# default   "/tmp/capifax.log"
#
LogFile:                /var/spool/hylafax/log/capi4hylafax

# default   0
#
LogTraceLevel:          4                    !! hier zum Testen die 4, wenn alles
                                                läuft wieder auf 0 stellen.
# default   0600
#
LogFileMode:            0666

    # default   faxCAPI
    #
    HylafaxDeviceName:          faxCAPI

    # default   0600
    #
    RecvFileMode:               0666

    # default   ""
    #
    FAXNumber:                  +49.335.1234567

    # default   ""
    #
    LocalIdentifier:            "Firmen Name"

    # default   2
    #
    MaxConcurrentRecvs:         2

    # default   1
    #
    OutgoingController:         1

    # default   ""
    #
    OutgoingMSN:                1234567

    # default   0
    #
    SuppressMSN:                0

    # default   0
    #
    RingingDuration:            0

        # default   1
        #
        Controller:             1

        # default   0
        #
        AcceptSpeech:           1

        # default   0
        #
        UseDDI:                 0

        # default   ""
        #
        DDIOffset:              "0"

        # default   0
        #
        DDILength:              3

        # default   ""
        #
        IncomingDDIs:           0

        # default   ""
        #
        IncomingMSNs:           1234567

        # default   1
        #
        AcceptGlobalCall:   1
    }
}
--------------------------------------------------------------------------------
/etc/rc.local

# By default this script does nothing.

/bin/chown -R uucp:dialout /dev/capi*
/bin/ln -s /dev/capi20 /dev/faxCAPI
/etc/init.d/capi4hylafax restart
/etc/init.d/hylafax restart

exit 0
---------------------------------------------------------------------------------
/etc/default/capi4hylafax
#
# Uncomment this line once capi4hylafax has been fully configured.
#
run_capi4hylafax=1
------------------------------------------------------------------------
/etc/default/capiutils

capi4hylafax  capiutils
root@dienste:/etc/default# cat ./capiutils
# some defaults for loading of mISDN modules

MISDN_MODULES="mISDN_core mISDN_l1 mISDN_l2 l3udss1 mISDN_capi"

# load the following module, after loading the mISDN modules
#MISDN_DRIVER="hfcpci protocol=2"

MISDN_DRIVER=
---------------------------------------------------------------------------
/etc/isdn/capi.conf

#card        file            proto   io      irq     mem     cardnr  options
#b1isa       b1.t4           DSS1    0x150   7       -       -       P2P
#b1pci       b1.t4           DSS1    -       -       -       -
#c4          c4.bin          DSS1    -       -       -       -
#c4          -               DSS1    -       -       -       -
#c4          -               DSS1    -       -       -       -       P2P
#c4          -               DSS1    -       -       -       -       P2P
#c2          c2.bin          DSS1    -       -       -       -
#c2          -               DSS1    -       -       -       -
#t1isa       t1.t4           DSS1    0x340   9       -       0
#t1pci       t1.t4           DSS1    -       -       -       -
fcpci       -               -       -       -       -       -
#fcpcmcia    -               -       -       -       -       -
#fcusb       -               -       -       -       -       -
#fxusb       -               -       -       -       -       -
#fcclassic   -               -       0x150   10      -       -
#fcdsl       fdslbase.bin    DSS1    -       -       -       -
#fcdsl2      fdsl2base.bin   DSS1    -       -       -       -
#fcdslsl     fdssbase.bin    DSS1    -       -       -       -
#fcdslslusb  fdlubase.frm    DSS1    -       -       -       -
#fcdslusba   fdlabase.frm    DSS1    -       -       -       -
#fcdslusb2   fds2base.frm    DSS1    -       -       -       -
#fcdslusb    fdsubase.frm    DSS1    -       -       -       -
----------------------------------------------------------------------
/etc/default/hylafax

# 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/nu$
then
        USE_FAXGETTY=init
else
        USE_FAXGETTY=yes
fi

# Arguments for faxgetty command. At least -D should be specified
# as explained in debian bug #462459.
FAXGETTYARGS="-D"

# 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
USE_FAXGETTY=no

#
# Uncomment this line once hylafax has been fully configured and/or
# you want to enable the server.
#
RUN_HYLAFAX=1

#
# If you need to bind hylafax to one address only, just uncomment
# this variable and change the value using your preferred IP.
#
# BINDTO="-l 127.0.0.1"

#
# The following variables are automatically assigned by running
# the faxsetup utility. If you leave them commented out then
# faxsetup values are used. You may specify here the values to
# use.
#
# OLDPROT="-o 4557"
# NEWPROT="-i 4559"
# SNPP="-s 444"

#
# hfaxd may be run from inetd while faxq should still be executed
# by the init script. If you run hfax via inetd or xinetd then
# uncomment the following line
# HFAXD_FROM_INET=true
--------------------------------------------------------------------

<<< zurück