[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hylafax bemerkt freies Modem nicht nach Aus/anschaltvorgang


Hallo Liste,

Ich bin dabei mir einen kleinen Homeserver aufzubauen, auf dem auch Hylafax laeuft (Ubuntu 7.10). Das externe 56K US-Robotics funktioniert damit im Prinzip auch.
Da ich aber Strom sparen will, soll das Modem nicht staendig laufen.
Wenn ich das Modem ausschalte und irgendwann wieder ein, so bleibt Hylafax auf "Waiting for modem to come ready". Erst ein Restart des Hylafaxservers laesst ihn das Modem wieder erkennen. Da meine Frau u.U. auf "telefonischen Zuruf" das Modem anschalten soll ist dieser Weg aber etwas unpraktisch.
Gibt es da eine einach Loesung via Konfiguration?
Bei Google habe ich offenbar nicht die richtigen Stichworte gefunden.

Danke & LG
 Stephan

fit@fit-PC:~$ cat /etc/hylafax/config.ttyUSB0 
# $Id: usr-xon,v 1.11 2005/11/29 21:28:57 lhoward Exp $
#
#
# Configuration for using the Class 1 command interface with
# a USR Courier or Sportster modem and XON/XOFF flow control. 
#
#
CountryCode:            49
AreaCode:               6202
FAXNumber:              +49.xxxxx.yyyyy # Da stet was richtiges
LongDistancePrefix:     0
InternationalPrefix:    00
DialStringRules:        etc/dialrules
ServerTracing:          1
SessionTracing:         11
RecvFileMode:           0644
LogFileMode:            0644
DeviceMode:             0666
RingsBeforeAnswer:      1
SpeakerVolume:          low
GettyArgs:              "-h %l dx_%s"
LocalIdentifier:        "Gromer HylaFaxServer"
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "%%l|%d.%m.%Y @ %T|Page %%P of %%T"
MaxRecvPages:           25
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType:              Class1          # use class 1 interface
ModemRate:              19200           # rate for DCE-DTE communication
ModemFlowControl:       xonxoff         # software flow control
#
ModemSetupDTRCmd:       ATS13=1&D2      # setup so DTR drop resets modem
ModemSetupDCDCmd:       AT&C1           # setup so DCD reflects carrier (or not)
ModemNoFlowCmd:         AT&H0&I0&R1     # setup modem for no flow control
ModemHardFlowCmd:       AT&H1&I0&R2     # setup modem for hardware flow control
ModemSoftFlowCmd:       AT&H2&I2&R1     # setup modem for software flow control
ModemResultCodesCmd:    ATQ0X4          # enable result codes
#
ModemMfrQueryCmd:       !USR
ModemModelQueryCmd:     ATI3
ModemRevQueryCmd:       ATI7            # XXX returns a multi-line result
#
# When AT+FCLASS=1 is issued the modem automatically switches
# to software flow control; these parameters let the fax software
# reset flow control as needed after entering Class 1.
#
Class1NFLOCmd:          AT&H0&I0&R1     # setup modem for no flow control
Class1HFLOCmd:          AT&H1&I0&R2     # setup modem for hardware flow control
Class1SFLOCmd:          ""              # modem does this automatically
#
# This should resolve "DIS/DTC received 3 times" errors:
#
Class1ResponseWaitCmd:  AT+FRS=1        # wait after sending TCF for response
#
# The remainder of this configuration is included so that the
# modem "idles" in Class 0 while not sending or receiving facsimile.
#
ModemSetupAACmd:        AT+FCLASS=0     # leave modem idling in class 0
ModemAnswerCmd:         AT+FCLASS=1A    # answer in Class 1
#
# When using AT+FRS=n we see USR modems reset themselves in the middle of sessions
# this is not good.  So, we seem to work-around that problem by not using the
# command.  Unfortunately, this isn't an ideal thing.
#
Class1SwitchingCmd:     "<delay\0727>"

#Added
ModemATCmdDelay:      100
ModemMinSpeed:          2400  
ModemWaitTimeCmd:     ATS7=80
ModemDialCmd:           ATX3DT,%s               # X3 bei Probem Waehlton ',' fuer ignoriere frei, T for tone dialing


-- 
PD Dr. med. Stephan Gromer, MD. PhD.

Home:  Sternallee 89 / D-68723 Schwetzingen 
 Tel.: +49(6202) 855038 Mobil: +49 (172) 7694555
 URL: http://www.gromer-online.de

Office:  Sanofi-Pasteur-MSD
 Paul-Ehrlich-Strasse 1/ D-69181 Leimen


Psssst! Schon vom neuen GMX MultiMessenger gehoert?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
-- 
http://mailman.uugrn.org/mailman/listinfo/uugrn
Wiki: http://wiki.uugrn.org/wiki/UUGRN:Mailingliste
Archiv: http://lists.uugrn.org/