heiko:tipps:fax-server:tipp_hylafax_02
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
heiko:tipps:fax-server:tipp_hylafax_02 [2018/08/07 21:55] – dokuwikiadmin | heiko:tipps:fax-server:tipp_hylafax_02 [2018/08/20 13:55] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ~~NOCACHE~~ | ||
+ | ~~META: | ||
+ | date issued = 2008-01-01 | ||
+ | ~~ | ||
+ | {{tag> | ||
+ | ===== Tipp HylaFAX (2) ===== | ||
+ | __letzte inhaltliche Überarbeitung: | ||
+ | ===== 2. Installation und Konfiguration ===== | ||
+ | ==== 2.1 Voraussetzungen ===== | ||
+ | Für die Funktion von Hylafax werden folgende Voraussetzungen benötigt: | ||
+ | * Modem oder CAPI 2.0-kompatible ISDN-Karte (ich verwende Fritz!Card PCI v.1) | ||
+ | * die < | ||
+ | * das Paket **// | ||
+ | * das Paket **// | ||
+ | * das Paket **// | ||
+ | * die **//AVM CAPI-Treiber// | ||
+ | * das Paket **// | ||
+ | * das Paket **// | ||
+ | === 2.1.1 Zusatzhinweise zur CAPI-Variante ==== | ||
+ | Wegen der selbst gemachten Erfahrungen hier einige Tipps bei der Umsetzung der CAPI-Variante: | ||
+ | AVM bietet die quellcode-offenen Treiber und die Sourcen dazu nur noch in einer Version für SuSE 9.3 an. In OpenSuSE werden keine closed-Source-Treiber mehr in die Zusammenstellung aufgenommen um die GPL-Kompatibilität beizubehalten. | ||
+ | |||
+ | Hat man also ein aktuelles (Open)SuSE-System muss man entweder selbst kompilieren oder man sucht sich im Internet ein vorkompiliertes Paket. Dabei muss das Kernelmodul mit den AVM Treibern zur Hardware **//UND//** zur Kernel-Version passen. Dank der fleißigen Mannen auf [[http:// | ||
+ | |||
+ | **Dafür ein Riesen-DANKESCHÖÖÖÖÖN!!!** | ||
+ | |||
+ | Ich bekam nun ein Problem, da ich die Fritz!CardDSL v.1.0 und einen 64-Bit Prozessor von AMD sowie den zugehörigen 64-bit Kernel im Rechner vereint hatte. Nach mehreren Versuchen der Installation und immer neuen Misserfolgen stellte ich fest, dass es für diese Hardware keine 64-bit-Treiber gibt. | ||
+ | Daraufhin rüstete ich ab, da ich zum Glück inzwischen einen DSL-Router mein eigen nannte, und baute mir eine alte Fritz!Card PCI v.1 ein. Mit dieser und dem (Treiber) Kernelmodul **// | ||
+ | ==== 2.2 Installation und Konfiguration ==== | ||
+ | Durch die Verwendung der RPM-Pakete gestaltet sich die Installation der o.g. Pakete relativ einfach. Entweder man erledigt das auf der Kommandozeile [[heiko: | ||
+ | === 2.2.1 ISDN und CAPI testen === | ||
+ | Hat man alle Pakete installiert und das ISDN-Paket mit ''< | ||
+ | |||
+ | Dies kann man mit folgendem Befehl prüfen: ''< | ||
+ | Daraufhin sollte einige Zeilen mit Informationen zu den von der CAPI unterstützten Funktionen angezeigt werden: | ||
+ | <sxh bash; gutter: false;> | ||
+ | linsrv2:/ | ||
+ | Number of Controllers : 1 | ||
+ | Controller 1: | ||
+ | Manufacturer: | ||
+ | CAPI Version: 2.0 | ||
+ | Manufacturer Version: 3.11-07 | ||
+ | Serial Number: 1000001 | ||
+ | BChannels: 2 | ||
+ | Global Options: 0x00000039 | ||
+ | | ||
+ | DTMF supported | ||
+ | | ||
+ | | ||
+ | B1 protocols support: 0x4000011f | ||
+ | 64 kbit/s with HDLC framing | ||
+ | 64 kbit/s bit-transparent operation | ||
+ | V.110 asynconous operation with start/stop byte framing | ||
+ | V.110 synconous operation with HDLC framing | ||
+ | T.30 modem for fax group 3 | ||
+ | Modem asyncronous operation with start/stop byte framing | ||
+ | B2 protocols support: 0x00000b1b | ||
+ | ISO 7776 (X.75 SLP) | ||
+ | | ||
+ | LAPD with Q.921 for D channel X.25 (SAPI 16) | ||
+ | T.30 for fax group 3 | ||
+ | ISO 7776 (X.75 SLP) with V.42bis compression | ||
+ | V.120 asyncronous mode | ||
+ | V.120 bit-transparent mode | ||
+ | B3 protocols support: 0x800000bf | ||
+ | | ||
+ | | ||
+ | ISO 8208 (X.25 DTE-DTE) | ||
+ | X.25 DCE | ||
+ | T.30 for fax group 3 | ||
+ | T.30 for fax group 3 with extensions | ||
+ | Modem | ||
+ | |||
+ | 0100 | ||
+ | 0200 | ||
+ | 39000000 | ||
+ | 1f010040 | ||
+ | 1b0b0000 | ||
+ | bf000080 | ||
+ | 00000000 00000000 00000000 00000000 00000000 00000000 | ||
+ | 01000001 00020000 00000000 00000000 00000000 | ||
+ | |||
+ | Supplementary services support: 0x000003ff | ||
+ | Hold / Retrieve | ||
+ | | ||
+ | ECT | ||
+ | 3PTY | ||
+ | Call Forwarding | ||
+ | Call Deflection | ||
+ | MCID | ||
+ | CCBS | ||
+ | </ | ||
+ | Sollte es bei Dir auch so aussehen scheint alles geklappt zu haben und Du kannst mit der Konfiguration von HylaFAX weitermachen. | ||
+ | == 2.2.2 Konfiguration des HylaFAX-Servers == | ||
+ | Bei OpenSuSE findet man die HylaFAX-Dateien im Pfad: ''< | ||
+ | |||
+ | Der Befehl ''< | ||
+ | |||
+ | Es werden auf der Kommandozeile in einem Frage-Antwort-Dialog (Vorgabe von empfohlenen oder Defaultwerten in eckigen Klammern ''< | ||
+ | <sxh bash; gutter: false> | ||
+ | Setup program for HylaFAX (tm) 4.4.0. | ||
+ | |||
+ | Created for x86_64-suse-linux-gnu on Sat Sep 22 00:29:04 UTC 2007. | ||
+ | |||
+ | Found converter: / | ||
+ | Found uuencode encoder: / | ||
+ | Found base64 encoder: / | ||
+ | Found Quoted-Printable encoder: / | ||
+ | Looks like / | ||
+ | Found mimencode for compatibilty: | ||
+ | Checking system for proper client configuration. | ||
+ | Checking system for proper server configuration. | ||
+ | |||
+ | |||
+ | Warning: / | ||
+ | program! | ||
+ | |||
+ | The file: | ||
+ | |||
+ | / | ||
+ | |||
+ | does not exist or this file is not an executable program. | ||
+ | HylaFAX software optionally uses this program and the fact that | ||
+ | it does not exist on the system is not a fatal error. | ||
+ | program resides in a different location and you do not want to | ||
+ | install a symbolic link for / | ||
+ | program then you must reconfigure and rebuild HylaFAX from source | ||
+ | code. | ||
+ | |||
+ | |||
+ | Warning: / | ||
+ | program! | ||
+ | |||
+ | The file: | ||
+ | |||
+ | / | ||
+ | |||
+ | does not exist or this file is not an executable program. | ||
+ | HylaFAX software optionally uses this program and the fact that | ||
+ | it does not exist on the system is not a fatal error. | ||
+ | program resides in a different location and you do not want to | ||
+ | install a symbolic link for / | ||
+ | program then you must reconfigure and rebuild HylaFAX from source | ||
+ | code. | ||
+ | |||
+ | |||
+ | Warning: / | ||
+ | program! | ||
+ | |||
+ | The file: | ||
+ | |||
+ | / | ||
+ | |||
+ | does not exist or this file is not an executable program. | ||
+ | HylaFAX software optionally uses this program and the fact that | ||
+ | it does not exist on the system is not a fatal error. | ||
+ | program resides in a different location and you do not want to | ||
+ | install a symbolic link for / | ||
+ | program then you must reconfigure and rebuild HylaFAX from source | ||
+ | code. | ||
+ | |||
+ | |||
+ | Warning: / | ||
+ | a directory! | ||
+ | |||
+ | The directory / | ||
+ | thisfile is not a directory. | ||
+ | This is the directory where the HylaFAX client applications expect | ||
+ | to locate font metric information to use in formatting ASCII text | ||
+ | for submission as facsimile. | ||
+ | generate illegible facsimile from ASCII text. | ||
+ | |||
+ | |||
+ | Make / | ||
+ | / | ||
+ | |||
+ | |||
+ | Make / | ||
+ | / | ||
+ | |||
+ | Update / | ||
+ | |||
+ | HylaFAX configuration parameters are: | ||
+ | |||
+ | [1] Init script starts faxq: yes | ||
+ | [2] Init script starts hfaxd yes | ||
+ | [3] Start old protocol: | ||
+ | [4] Start paging protocol: | ||
+ | Are these ok [yes]? | ||
+ | |||
+ | Modem support functions written to / | ||
+ | Configuration parameters written to / | ||
+ | |||
+ | No scheduler config file exists, creating one from scratch. | ||
+ | Country code [1]? 49 | ||
+ | Area code []? 3763 | ||
+ | Long distance dialing prefix [1]? 0 | ||
+ | International dialing prefix [011]? 00 | ||
+ | Dial string rules file (relative to / | ||
+ | Tracing during normal server operation [1]? 527 | ||
+ | Default tracing during send and receive sessions [0xffffffff]? | ||
+ | Continuation cover page (relative to / | ||
+ | Timeout when converting PostScript documents (secs) [180]? | ||
+ | Maximum number of concurrent jobs to a destination [1]? | ||
+ | Define a group of modems []?" | ||
+ | Time of day restrictions for outbound jobs [" | ||
+ | Pathname of destination controls file (relative to / | ||
+ | Timeout before purging a stale UUCP lock file (secs) [30]? | ||
+ | Max number of pages to permit in an outbound job [0xffffffff]? | ||
+ | Syslog facility name for ServerTracing messages [daemon]? | ||
+ | |||
+ | The non-default scheduler parameters are: | ||
+ | |||
+ | CountryCode: | ||
+ | AreaCode: | ||
+ | LongDistancePrefix: | ||
+ | InternationalPrefix: | ||
+ | ServerTracing: | ||
+ | SessionTracing: | ||
+ | ContCoverPage: | ||
+ | ModemGroup: | ||
+ | MaxSendPages: | ||
+ | |||
+ | Are these ok [yes]? | ||
+ | |||
+ | Creating new configuration file / | ||
+ | |||
+ | Restarting HylaFAX server processes. | ||
+ | Should I restart the HylaFAX server processes [yes]? | ||
+ | |||
+ | / | ||
+ | Starting service HylaFAX | ||
+ | |||
+ | You do not appear to be using faxgetty to notify the HylaFAX scheduler | ||
+ | about new modems and/or their status. | ||
+ | faxmodem program to inform the new faxq process about the modems you | ||
+ | want to have scheduled by HylaFAX. | ||
+ | require non-default capabilities specified to faxmodem then you should | ||
+ | read faxmodem(8C) manual page and do this work yourself (since this | ||
+ | script is not intelligent enough to automatically figure out the modem | ||
+ | capabilities and supply the appropriate arguments). | ||
+ | |||
+ | Should I run faxmodem for each configured modem [yes]? | ||
+ | / | ||
+ | |||
+ | Done verifying system setup. | ||
+ | </ | ||
+ | |||
+ | Ich verweise hierzu auf eine sehr gute und ausführliche Darstellung dieses Dialogs auf einer anderen Website => [[http:// | ||
+ | |||
+ | === 2.2.3 " | ||
+ | Hat man <span class=" | ||
+ | <sxh bash; gutter: false;> | ||
+ | linsrv2:/ | ||
+ | Do you want setup a CAPI 2.0 based ISDN modem [no]? | ||
+ | </ | ||
+ | Antwortet man hier mit <span class=" | ||
+ | |||
+ | Im folgenden Dialog (mit den Pfeil- und der Eingabetaste navigier-/ | ||
+ | <sxh bash; gutter: false;> | ||
+ | Outgoing MSN 50 | ||
+ | Incoming MSNs -- is set -- (2. Setup) | ||
+ | Accept Speech | ||
+ | Accept Global Calls No | ||
+ | DDI Param -- no DDI -- | ||
+ | Fax Number | ||
+ | Fax Identifier | ||
+ | Number Prefix | ||
+ | Save & Exit | ||
+ | </ | ||
+ | |||
+ | Beim Beenden des Setups mit "Save & Exit" wird man noch folgendermaßen informiert: | ||
+ | <sxh bash; gutter: false;> | ||
+ | Install was successfully! | ||
+ | |||
+ | The Fax Receive Daemon c2faxrecv was added to / | ||
+ | be started automatically on system start. You could start it | ||
+ | manually now with telinit q. | ||
+ | </ | ||
+ | dass alles erfolgreich war und was gemacht wurde. | ||
+ | |||
+ | Eine Besonderheit hat hier die OpenSuSE 10.3 Distribution - die Setup-Datei ''< | ||
+ | <sxh bash; gutter: false;> | ||
+ | HylafaxDeviceName: | ||
+ | FAXNumber: | ||
+ | LocalIdentifier: | ||
+ | </ | ||
+ | |||
+ | Da die vollständige Datei im Verzeichnis ''< | ||
+ | |||
+ | === 2.2.4 Feineinstellung - es ist doch noch einiges machbar/ | ||
+ | An diesem Punkt ist man noch nicht ganz fertig - es warten noch ein paar Feinheiten auf ihre Einstellung: | ||
+ | |||
+ | **__a) Zugriff erlauben__**\\ | ||
+ | In der Datei ''< | ||
+ | <sxh bash; gutter: false;> | ||
+ | localhost | ||
+ | 127.0.0.0 | ||
+ | 192.168.* | ||
+ | </ | ||
+ | |||
+ | **__b) Benachrichtigung Faxmaster, Dateiformat und Sprache__**\\ | ||
+ | In der Datei ''< | ||
+ | <sxh bash; gutter: false;> | ||
+ | NOTIFY_FAXMASTER=never | ||
+ | </ | ||
+ | |||
+ | Mit der Variablen ''< | ||
+ | Ich bevorzuge PDF und stelle dies deshalb ein: | ||
+ | <sxh bash; gutter: false;> | ||
+ | FILETYPE=pdf | ||
+ | SENDTO= | ||
+ | </ | ||
+ | |||
+ | Durch Einfügen der Variablen ''< | ||
+ | <sxh bash; gutter: false;> | ||
+ | TEMPLATE=de | ||
+ | </ | ||
+ | Diese Variable habe ich in alle Dateien geschrieben, | ||
+ | <sxh bash; gutter: false;> | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | In der Datei ''< | ||
+ | <sxh bash; gutter: false;> | ||
+ | NOTIFY_FAXMASTER=never | ||
+ | RETURNFILETYPE=pdf | ||
+ | </ | ||
+ | Es sind noch andere Dateiformate möglich: **tif, pdf, ps, original (siehe "man notify" | ||
+ | |||
+ | **__c) Empfängereinstellung Fax2Email__**\\ | ||
+ | Wenn man in die gleich anschließende Variable ''< | ||
+ | |||
+ | Man kann aber auch die Empfänger entsprechend der einkommenden (angewählten) MSN differenzieren und so die Mails entsprechend zustellen. Dazu wird die Datei ''< | ||
+ | <sxh bash; gutter: false;> | ||
+ | user1@domain.com | ||
+ | user2@domain.com | ||
+ | </ | ||
+ | |||
+ | Ich denke, dass ihr nun erst einmal genügend zu tun habt. | ||
+ | |||
+ | Nach dem Setup kann man mit: ''< | ||
+ | |||
+ | Dann sollte man mit: ''< | ||
+ | |||
+ | === 2.2.5 Test zum Abschluss === | ||
+ | Mit: ''< | ||
+ | <sxh bash; gutter: false;> | ||
+ | HylaFAX scheduler on linsrv2.teichmeier-gc.de: | ||
+ | Modem faxCAPI (+49.3763.123456): | ||
+ | </ | ||
+ | |||
+ | Als Test kann man dann eine Tif-Datei als Fax versenden (z.B. Beispieldatei aus dem Verzeichnis ''< | ||
+ | <sxh bash; gutter: false;> | ||
+ | sendfax -n -d 03764123456 fritz_pic.tif | ||
+ | </ | ||
+ | |||
+ | In der Log-Datei in ''< | ||
+ | |||
+ | Wenn man in der Datei ''< | ||
+ | [<>] | ||
+ | ~~DISQUS~~ |