HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] Hylafax Setup Error



Hi,


Sript identify that my modem is Class 1 and class 1.0 compatible, but when i try to send i get the same error about class 2 modem... :(


==============================
localhost mgetty+sendfax # sendfax -v 7098505 /home/fax_test.txt
Trying fax device '/dev/ttyS0'... OK.
sendfax: not a class 2/2.0 fax modem
==============================

What i need to write in area code if in our country no area codes.

===================================================================
localhost mgetty+sendfax # faxaddmodem ttyS0

Ok, time to setup a configuration file for the modem.  The manual
page config(5F) may be useful during this process.  Also be aware
that at any time you can safely interrupt this procedure.

Reading scheduler config file /var/spool/fax/etc/config.

Hey, there is an existing config file /var/spool/fax/etc/config.ttyS0...

Your facsimile phone number (67845110) does not agree with your
country code (371) or area code ().  The number
should be a fully qualified international dialing number of the form:

+371 <local phone number>

Spaces, hyphens, and periods can be included for legibility. For example,

+371..555.1212

is a possible phone number (using your country and area codes).

The non-default server configuration parameters are:

CountryCode:            371
AreaCode:
FAXNumber:              67845110
LongDistancePrefix:
InternationalPrefix:    00
DialStringRules:        etc/dialrules
SessionTracing:         11
RingsBeforeAnswer:      1
SpeakerVolume:          off
GettyArgs:              "-h %l dx_%s"
LocalIdentifier:        "NothingSetup"
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "From %%l|%c|Page %%P of %%T"
MaxRecvPages:           25

Are these ok [yes]? y

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.

About fax classes:

The difference between fax classes has to do with how HylaFAX interacts
with the modem and the fax protocol features that are used when sending
or receiving faxes.  One class isn't inherently better than another;
however, one probably will suit a user's needs better than others.

Class 1 relies on HylaFAX to perform the bulk of the fax protocol.
Class 2 relies on the modem to perform the bulk of the fax protocol.
Class 2.0 is similar to Class 2 but may include more features.
Class 1.0 is similar to Class 1 but may add V.34-fax capability.
Class 2.1 is similar to Class 2.0 but adds V.34-fax capability.

HylaFAX generally will have more features when using Class 1/1.0 than
when using most modems' Class 2 or Class 2.0 implementations.  Generally
any problems encountered in Class 1/1.0 can be resolved by modifications
to HylaFAX, but usually any problems encountered in Class 2/2.0/2.1 will
require the modem manufacturer to resolve it.

If you're unsure and your modem supports it, use Class 1.

This modem looks to have support for Class 1 and 1.0.
How should it be configured [1]?
Hmm, this looks like a Class 1 modem.
Product code (ATI0) is "56000".
Other information (ATI3) is "V1.009-K56_DLS".
DTE-DCE flow control scheme [default]? ?

"?" is not a valid flow control parameter setting; use one of:

xonxoff         for software flow control
rtscts          for hardware flow control
default         for whatever is set in a prototype config file

Note that this setting defines the scheme to use when sending
and receiving facsimile.  Many modems do not support hardware
flow control during fax operation though they do support it for
data communication.

DTE-DCE flow control scheme [default]?
Modem manufacturer is "Rockwell/Conexant".
Modem model is "AC/K56".

Using prototype configuration file rc288dpi-1...

The modem configuration parameters are:

ModemDialCmd:           ATDT%s
ModemFlowControl:       rtscts
ModemHardFlowCmd:       AT&K3
ModemMfrQueryCmd:       !Rockwell
ModemModelQueryCmd:     !RC288DPi
ModemNoFlowCmd:         AT&K0
ModemRate:              19200
ModemRevQueryCmd:       ATI3
ModemSetupDCDCmd:       AT&C1
ModemSetupDTRCmd:       AT&D2
ModemSoftFlowCmd:       AT&K4

Are these ok [yes]? y

Creating new configuration file /var/spool/fax/etc/config.ttyS0...
...saving current file as /var/spool/fax/etc/config.ttyS0.sav.
Done setting up the modem configuration.

Checking /var/spool/fax/etc/config for consistency...
...some parameters are different.

The non-default scheduler parameters are:

CountryCode:            371
AreaCode:
LongDistancePrefix:
InternationalPrefix:    00
DialStringRules:        etc/dialrules

Are these ok [yes]? y
Country code [371]? y

This must be entirely numeric; please correct it.

Country code [371]?
Area code []? 6
Long distance dialing prefix []? 6
International dialing prefix [00]?
Dial string rules file (relative to /var/spool/fax) [etc/dialrules]?
Tracing during normal server operation [1]?
Default tracing during send and receive sessions [0xffffffff]?
Continuation cover page (relative to /var/spool/fax) []?
Timeout when converting PostScript documents (secs) [180]?
Maximum number of concurrent jobs to a destination [1]?
Define a group of modems []?
Time of day restrictions for outbound jobs ["Any"]?
Pathname of destination controls file (relative to /var/spool/fax) []?
Timeout before purging a stale UUCP lock file (secs) [30]?
Max number of pages to permit in an outbound job [0xffffffff]?
Syslog facility name for ServerTracing messages [daemon]?

The non-default scheduler parameters are:

CountryCode:            371
AreaCode:               6
LongDistancePrefix:     6
InternationalPrefix:    00
DialStringRules:        etc/dialrules

Are these ok [yes]? y

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.
localhost mgetty+sendfax #



Max Mothwurf wrote:
Am Freitag 16 Februar 2007 schrieb Arnis Rukis:

localhost# sendfax -v XXXXXXX /home/fax_test.txt
Trying fax device '/dev/ttyS0'... OK.
sendfax: not a class 2/2.0 fax modem

Where i can tell to Hylafax that this is Class 1 modem

by running faxaddmodem for that modem and defining it as class-1 during the setup.


Mx

____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




____________________ HylaFAX(tm) Users Mailing List _______________________
 To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
 *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions