Hallo Heiner, heiner.gewiehs@t-online.de (Heiner Gewiehs) writes:
Hallo Dieter,
[...]
aber jetzt schlägt die Begriffsstutzigkeit erbarmungslos zu: welcher Pfad, von wo auf faxgetty und wo die Bezeichnung des Devices eingeben?
ist es vielleicht die nächste Zeile, also Zeile 90, auch da auskommentieren und aus "/dev/modem - /dev/ttyS0 machen ? dies sind die beiden Zeilen:
fax getty (hylafax) # mo:35:respawn:/usr/lib/fax/faxgetty /dev/modem
Genau, diese Zeile meine ich, statt /dev/modem nur ttyS0 setzen, ohne /dev. Also die Zeile solle so aussehen mo:35:respawn:/usr/lib/fax/faxgetty ttyS0
Obiger Pfad /usr/lib/fax/faxgetty sollte stimmen.
Das solltest du dreimal prüfen, bei mir ist der Pfad /usr/local/sbin/faxgetty, aber das ist auch eine selbstkompilierte Version.
Dies sind die Meldungen aufgrund von faxsetup:
"Now we are going to probe the tty port to figure out the type of modem that is attached. This takes a few seconds, so be patient. Note that if you do not have the modem cabled to the port, or the modem is turned off, this may hang (just go and cable up the modem or turn it on, or whatever).
Probing for best speed to talk to modem: 38400 OK.
Das würdeich in ändern in 19200, da Rockwell mit der Übertragungsrate 38400 arge Schwierigkeiten hat. Das betrifft ja doch nur die Verbindung am seriellen Anschluß und nicht die Übertragungsgeschwindigkeit des Modems.
This modem looks to have support for both Class 1 and 2.0; how should it be configured [2.0]? 1
Hmm, this looks like a Class 1 modem. Product code (ATI0) is "1445". Other information (ATI3) is "OK". DTE-DCE flow control scheme [default]? Modem manufacturer is "USRobotics". Modem model is "Courier/Sportster".
Using prototype configuration file usr-xon...
The modem configuration parameters are:
ModemAnswerCmd: AT+FCLASS=1A ModemFlowControl: xonxoff ModemHardFlowCmd: AT&H1&I0&R2 ModemMfrQueryCmd: !USR ModemModelQueryCmd: ATI3 ModemNoFlowCmd: AT&H0&I0&R1 ModemRate: 38400
dies auf 19200 setzen. das kannst du mit einem Editor machen.
ModemResultCodesCmd: ATQ0X4 ModemRevQueryCmd: ATI7 ModemSetupAACmd: AT+FCLASS=0 ModemSetupDCDCmd: AT&C1 ModemSetupDTRCmd: ATS13=1&D2 ModemSoftFlowCmd: AT&H2&I2&R1 Class1NFLOCmd: AT&H0&I0&R1 Class1HFLOCmd: AT&H1&I0&R2 Class1SFLOCmd: ""
Are these ok [yes]? yes
Creating new configuration file /var/spool/fax/etc/config.ttyS0... Creating fifo /var/spool/fax/FIFO.ttyS0 for faxgetty... done. Done setting up the modem configuration.
Checking /var/spool/fax/etc/config for consistency... ...some parameters are different.
The non-default scheduler parameters are:
LogFacility: ^ CountryCode: 49 AreaCode: 6022 LongDistancePrefix: 0 InternationalPrefix: 00 DialStringRules: etc/dialrules
Are these ok [yes]? yes
Creating new configuration file /var/spool/fax/etc/config... ...saving current file as /var/spool/fax/etc/config.sav.
Don't forget to run faxmodem(8C) (if you have a send-only environment) or configure init to run faxgetty on ttyS0. Do you want to run faxaddmodem to configure another modem [yes]? no
You do not appear to be using faxgetty to notify the HylaFAX scheduler about new modems and/or their status. This means that you must use the faxmodem program to inform the new faxq process about the modems you want to have scheduled by HylaFAX. Beware that if you have modems that 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]? no
Done verifying system setup. boss:/ #"
Ist dies, soweit erkennbar, in Ordnung?
Das sieht alles gut aus. In /var/spool/fax/etc findest du zwei eine Datei config und eine Datei config.ttyS0 Hier kannst du nach belieben Werte anpassen und Modembefehle hinzufügen, falls etwas nicht funktioniert. Die Manualpage man hylafax-config listet alle gültigen Konfigurationsparameter auf. -Dieter -- Dieter Kluenter | Systemberatung Tel:040.64861967 | Fax: 040.64891521 mailto: dkluenter@schevolution.com http://www.schevolution.com/tour