Hallo Dieter, vielen Dank erst einmal für die Wegweisung. Bin, wie von Dir vorgeschlagen vorgegangen - sieht für mich recht ordentlich aus. Ich habe die Meldungen unten angehängt, vielleicht kannst Du sie Dir einmal ansehen, ob irgendwo etwas von mir etwas falsch, an- oder eingegeben wurde. Am Sonntag, 7. Juli 2002 22:24 schrieb Dieter Kluenter:
Hallo,
Das sieht doch alles gut aus. Wichtig scheint mir zu sein, dass Faxclass 1 angeboten wird.
Starte minicom (falls noch nicht installiert, bitte installieren und als root mittels minicom -s konfigurieren) Teste dann mittels minicom das Modem auf die Reaktion von AT Befehlen. at+fclass=? 0.1.2.0 ok
ati 1445 ok
at+fbo=? ERROR
at+fcq=? ERROR
Konfiguriert habe ich bei minicom "serial port setup" A = Serial Device /dev/ttyS0 B = /var/lock (so gelassen) E = 19200 8 N 1 F = Yes G = No (beide, Hard- und Software flow control so belassen)
usw.
Wenn das Modem darauf reagiert, mit OK oder andern Antworten, funktioniert das Modem. Nach dem Beenden von minicom (mit Reset) sollte nun faxsetup erfolgreich verlaufen. die Fragen nach Rufnummer usw. beantworten, das Device /dev/ttyS0 angeben, der Rest kann als Default bestätigt werden. Die Frage nach faxmodem mit no beantworten, dann aber faxaddmodem ausführen. In /etc/inittab den Eintrag für faxgetty aktivieren, prüfen ob der Pfad auf faxgetty stimmt, die Bezeichnung des Devices eingeben, bei dir nur ttyS0, fertig ist die Laube :-)
also, hier hab' ich jetzt ein Problem: den Eintrag für faxgetty aktivieren - ok (liegt bei mir in Zeile 89 der /etc/initab) 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 Obiger Pfad /usr/lib/fax/faxgetty sollte stimmen. 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. 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 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? Gruß Heiner -- ***************************************** Heiner Gewiehs D- 63868 Großwallstadt FON: 06022 654167 E-Mail: heiner.gewiehs@gewiehs.de *****************************************