Re: c2faxrecv und c2faxsend geht, hylafax meldet access denied
On Sat, 16 Nov 2002 18:27:29 +0100
"Horst Stanitzok" <horst.stanitzok@t-online.de> wrote:
Hallo!
> > rf1:~# ls -l /var/spool/fax/status/
> > total 8
> > -rw-r--r-- 1 root root 85 Sep 15 16:58 any.info
> > -rw-r--r-- 1 uucp uucp 17 Nov 10 14:47 faxCAPI
>
> Ist bei mir auch so.
>
> > faxCAPI muß den Inhalt "Running and idle" haben.
>
> Hurra, eine heiße Spur! - Bei mir heißt es:
>
> Waiting for modem to come ready
>
> Endweder das Modem ist nicht fertig initialisiert oder ich habe einen
> Konflikt erzeugt, der eine Initialisierung verhindert. - Neben
> ISDN habe ich noch DSL am Laufen. Die Tasks sind:
Ist wohl die "Initialisierung". Wie ich dich verstanden habe, kannst du per faxrecv und faxsend Faxe versenden bzw. empfangen, also die Karte und der CAPI-Treiber sind ok.
Hylafax als Server funktioniert dann nicht, weil er faxCAPI als Modem nicht in den Listen(=Empfangsmodus) bringen kann.
> pppd, pppoe, (root)
> 4 mal c2faxrecv (uucp)
> faxq und hfaxd (ebenfalls beide uucp)
Gut, hier ähnlich:
rf1:/home/gerhard# ps ax|grep -i fax
0:00 /usr/sbin/faxq
0:00 /usr/sbin/hfaxd -i 4559 -o 4557 -s 444
0:00 /usr/bin/c2faxrecv -C /etc/hylafax/config.faxCAPI
0:00 /usr/bin/c2faxrecv -C /etc/hylafax/config.faxCAPI
0:00 /usr/bin/c2faxrecv -C /etc/hylafax/config.faxCAPI
0:00 /usr/bin/c2faxrecv -C /etc/hylafax/config.faxCAPI
> Oder: In /etc/hylafax habe ich keine conf-Datei, die auf c2faxsend Bezug
> nimmt. Ich meine mich aber daran zu erinnern, daß in der config eine
> Zeile auf /usr/bin/c2faxsend lautete. Wo wird von Hylafax c2faxsend
> aufgerufen?
/etc/hylafax/config bzw. /var/spool/hylafax/etc, dort:
SendFaxCmd: "/usr/bin/c2faxsend"
Noch ein Hinweis:
in /etc/inittab starte ich Hylafax (Receive) so:
# Hylafax server capi
fr:23:once:/usr/bin/c2faxrecv -C /etc/hylafax/config.faxCAPI
Und das Startscript in /etc/init.d/hylafax hat folgende Start-Sequenz:
start)
echo -n "Starting HylaFAX daemons:"
echo -n " faxq"
start-stop-daemon --start --exec /usr/sbin/faxq
echo -n " hfaxd"
start-stop-daemon --start --exec /usr/sbin/hfaxd -- -i 4559 -o 4557 -s 444
# Example for how to tell HylaFAX about send-only modems.
# Uncomment the following two lines, if you don't want to run faxgetty
# and only want to send faxes with HylaFAX. Change /dev/modem if needed.
# echo -n " faxmodem"
/usr/sbin/faxmodem faxCAPI
echo "."
;;
Vielleicht mal vergleichen ob bei dir was anders ist.
Gruß
Gerhard
Reply to: