Re: Hylafax konfiguration mit faxsetup
Du schriebst am Samstag, den 07. Dezember 2002:
> Am 07.12.2002 19:25:42, Ivo Schwalbe schrieb:
>> Nur habe ich immer noch Probleme, die ich mangels Wissen nicht
>> lösen kann.
> Aber Du verschweigst uns jetzt, welches diese Probleme sind, ja? Na,
> dann such mal weiter.
Nein, ich dachte nur, es hätte jemand die Probleme mit hylaFAX schon
gelöst und habe darum auf Details verzichtet.
> Auf was soll's denn laufen? ISDN-Karte? Modem? Nein, wieso soll ich
> fragen...
Modem an ttyS0. Elsa Microlink 56k, um genau zu sein.
>> Warum muß man bei Linux immer der absolute Fachmann auf dem Gebiet
>> sein, um ein Problem lösen zu können...
> High-Tech erfordert Fachwissen. Ist 'ne Grundsatzdiskussion -- die
> fangen wir hier gar nicht erst an. Oder ich antworte auf anderer
> Basis: Seit ich meine Sonntagsbroetchen wieder beim Baecker backen
> lasse, ist das Aufstehen frueh morgens wieder zum Lustgewinn
> geworden.
Abgedroschen, aber manchmal wahr:
"Warum muß ich, um Auto fahren zu können, erst einen Abschluß
als Maschienenbauer haben?"
Aber bitte EOD zu diesem Thema.
Und ja, ich weiß: Nicht alles, was hinkt, ist ein Vergleich.
>> Das hylaFAX-Paket scheint auch nicht eines der am besten
>> gepflegtesten zu sein.
> An was knuepfst Du Deine Nullaussage an? Auch das kann ich
> ueberhaupt nicht bestaetigen. Ich setze HylaFAX auf vielen SuSE-
> sowie seit einigen Monaten auch auf Debian ein. Ich habe keine
> Schwierigkeiten.
Schön, daß du scheinbar ein anderes Paket hast:
1. apt-get install hylafax-*
Ohne Probleme. Nach der Installation bekome ich folgende
Mitteilung:
Don't forget to configure HylaFAX with /usr/sbin/faxsetup.
Please run the faxsetup script which will ask you a few questions
^^^^^^^^^^^^^^^^^^^
about your setup and let you to add with a semi-automatical
auto-detection procedure one or more modems to the pool of devices
available to HylaFAX.
abu:~# faxsetup
Setup program for HylaFAX (tm) 4.1.1.
Created for i686-pc-linux-gnu on Fri Aug 9 14:19:12 UTC 2002.
Checking system for proper client configuration.
Checking system for proper server configuration.
Warning: /etc/hylafax/getty-link does not exist or is not an
executable program!
The file:
/etc/hylafax/getty-link
does not exist or this file is not an executable program. The
HylaFAX software optionally uses this program and the fact that it
does not exist on the system is not a fatal error. If the program
resides in a different location and you do not want to install a
symbolic link for /etc/hylafax/getty-link that points to your
program then you must reconfigure and rebuild HylaFAX from source
code.
Warning: /etc/hylafax/vgetty-link does not exist or is not an
executable program!
The file:
/etc/hylafax/vgetty-link
does not exist or this file is not an executable program. The
HylaFAX software optionally uses this program and the fact that it
does not exist on the system is not a fatal error. If the program
resides in a different location and you do not want to install a
symbolic link for /etc/hylafax/vgetty-link that points to your
program then you must reconfigure and rebuild HylaFAX from source
code.
Warning: /etc/hylafax/egetty-link does not exist or is not an
executable program!
The file:
/etc/hylafax/egetty-link
does not exist or this file is not an executable program. The
HylaFAX software optionally uses this program and the fact that it
does not exist on the system is not a fatal error. If the program
resides in a different location and you do not want to install a
symbolic link for /etc/hylafax/egetty-link that points to your
program then you must reconfigure and rebuild HylaFAX from source
code.
Warning: /usr/local/lib/ghostscript/fonts does not exist or is not
a directory!
The directory /usr/local/lib/ghostscript/fonts does not exist or
this file is not a direct ory. 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. Without this information HylaFAX may generate
illegible facsimile from ASCII text.
Warning: Font metric information files were not found!
The font metric information file for the Courier font was not
found in the /usr/local/lib/ghostscript/fonts path. This means
that client HylaFAX applications that use this information to
format ASCII text for submission as fax will use incorrect
information and generate potentially illegible facsimile.
If font metric information is present on your system in a
directory other than /usr/local/lib/ghostscript/fonts then you can
setup a symbolic link to the appropriat e directory or you can
specify the appropriate pathname in the configuration file
/etc/hylafax/hyla.conf with a line of the form:
FontPath: someplace_unexpected
If you do not have the font metric information files loaded on
your system system you can obtain them by public FTP from the
place where you obtained the HylaFAX software or from the master
FTP site at ftp.sgi.com.
FATAL ERROR: /usr/local/bin/gs does not exist or is not an
executable program!
The file:
/usr/local/bin/gs
does not exist or this file is not an executable program. The
HylaFAX software expects this program to exist and be in this
location. If the program resides in a different location then you
must either reconfigure and rebuild HylaFAX or override the
default pathnames in the distributed software through one of the
HylaFAX configuration files (consult the HylaFAX documentation).
abu:~#
OK. Sieht nicht so gut aus und Fragen, wie oben versprochen, wurden
mir auch nicht gestellt.
Da die Links, die in /etc/hylafax zu fehlen scheinen, kein fataler
Fehler sind, habe ich mich entschlossen, diese zu ignorieren.
Weiterhin habe ich mich gefragt, warum das Script die gs-Fonts in
/usr/local sucht. Naja, wird schon seinen Grund haben. Nach einigen
google-Orgien habe ich dann etwas gefunden, was mir weitergeholfen
hatte. Ich mußte das Shellscript /usr/sbin/faxsetup editieren und
die Variablen, die dort gesetzt wurden ändern. Gut. Die Fehler mit
ghostscript waren als weg. Prima.
2. /usr/sbin/faxaddmodem
Ok. Country code, Area code und Phone number erschließen sich mir
ja noch. Aber nach einigen Sachen, die ich nur mit [Enter]
beantworten konnte, da ich mir dachte, daß die Variablen mit
"sinnvollen" Werten vorbelegt sind, kam dann:
Command to stop and wait prior to sending PPM [AT+FTS=7]?
Command to stop and wait prior to sending TCF [AT+FTS=7]?
Command to stop and wait prior to sending EOP [AT+FTS=9]?
In den Dokumentationen zum Elsa ML 65k gab es keinen AT-Befehl, der
auch nur im Entferntesten an AT+FTS=7 erinnert oder es war auch
kein Wort über PPM, TCF oder EOP zu finden, also [Enter].
Weiterhin:
abu:/usr/share/doc/hylafax-doc/html# grep PPM *
grep: Majordomo: Is a directory
grep: Modems: Is a directory
grep: icons: Is a directory
abu:/usr/share/doc/hylafax-doc/html# rgrep PPM *
abu:/usr/share/doc/hylafax-doc/html#
Also auch die hylaFAX-Doku scheint sich auszuschweigen.
3. /etc/inittab um
S0:23:respawn:/usr/sbin/faxgetty ttyS0
ergänzt und ein init q angeschlossen. Wie nicht anders zu erwarten
zeigt die /var/log/messages:
Dec 7 21:59:29 abu FaxGetty[6085]: OPEN /dev/ttyS0 HylaFAX (tm) Version 4.1.1
Dec 7 21:59:36 abu FaxGetty[6085]: Error parsing "+FTM" query response: "OK"
Dec 7 21:59:36 abu FaxGetty[6085]: /dev/ttyS0: Can not initialize modem.
Dec 7 21:59:36 abu FaxGetty[6085]: STATE CHANGE: BASE -> MODEMWAIT (timeout 30)
Und das alle 30 Sekunden. Wenigstens das klappt. Jetzt bin ich dem
+FTM auf der Spur.
Das mit dem Bäcker war übrigens ein cooler Spruch. Den werde ich mir
merken, wenn Leute, die noch weniger Ahnung haben, als ich, zu mir
kommen und eine Frage haben.
> Sorry -- aber bitte mehr Qualitaet in Allgemeinaussagen. Sonst
> kommen wir nicht weiter. Danke.
Schon klar. Ich hatte mir eine Antwort der Art:
"Ja, das hylafax-Paket ist broken und der Maintainer hat einen Fix
unter http://www.fixed-debian-hylafax-packets.org bereitgelegt.
Außerdem solltest du lieber xyz-fax 10.2.4.5-121 verwenden. Das ist
sicherer und stabiler als hylafax."
erhofft. Da dem aber nicht so ist, hier also meine Odyssee.
tschau
*iv
--
Error: ~/.signature -- too big
Reply to: