supra fax modem and mgetty+sendfax?

supra fax modem and mgetty+sendfax?

Post by ira ekha » Sat, 25 Nov 1995 04:00:00



I'm  coming up real short in getty my new supra express 28.8 modem
to be able to send faxes.
many of the faxspecific AT... comands that sendfax expects aren't working right
any clues?
thanks,
Ira

  11/24 12:20:29  sending fax to 6412415
  11/24 12:20:29  checking /tmp/fax.g3.1
  11/24 12:20:29  makelock(cua1) called
  11/24 12:20:29  do_makelock: lock='/usr/spool/uucp/LCK..cua1'
  11/24 12:20:29  lock made
  11/24 12:20:29  tio_set_flow_control( )
  11/24 12:20:29 a1  fax_open_device succeeded, cua1 -> 4
  11/24 12:20:29 a1  fax_send: 'AT'
  11/24 12:20:29 a1  fax_wait_for(OK)
  11/24 12:20:29 a1  fax_wait_for: string 'AT'
  11/24 12:20:29 a1  fax_wait_for: string 'OK'** found **
  11/24 12:20:29 a1  fax_send: 'AT+FCLASS=2.0'
  11/24 12:20:29 a1  mdm_command: string 'AT+FCLASS=2.0'
  11/24 12:20:29 a1  mdm_command: string 'ERROR' -> ERROR
  11/24 12:20:29 a1  fax_send: 'AT+FCLASS=2'
  11/24 12:20:29 a1  mdm_command: string 'AT+FCLASS=2'
  11/24 12:20:30 a1  mdm_command: string 'ERROR' -> ERROR
  11/24 12:20:30 a1  fax_send: 'AT+FLID="49 89 3243328"'
  11/24 12:20:30 a1  mdm_command: string 'AT+FLID="49 89 3243328"'
  11/24 12:20:30 a1  mdm_command: string 'ERROR' -> ERROR
  11/24 12:20:30 a1  cannot set local fax id. Huh?
  11/24 12:20:30 a1  cannot set fax station ID: No such file or directory
  11/24 12:20:30 a1  fax_send: 'AT+FDCC=1,5,0,2,0,0,0,0'
  11/24 12:20:30 a1  mdm_command: string 'AT+FDCC=1,5,0,2,0,0,0,0'
  11/24 12:20:30 a1  mdm_command: string 'ERROR' -> ERROR
  11/24 12:20:30 a1  fax_send: 'AT+FDCC=1,3,0,2,0,0,0,0'
  11/24 12:20:30 a1  mdm_command: string 'AT+FDCC=1,3,0,2,0,0,0,0'
  11/24 12:20:30 a1  mdm_command: string 'ERROR' -> ERROR
  11/24 12:20:31 a1  fax_send: 'AT+FBOR=0'
  11/24 12:20:31 a1  mdm_command: string 'AT+FBOR=0'
  11/24 12:20:31 a1  mdm_command: string 'ERROR' -> ERROR
  11/24 12:20:31 a1  fax_send: '&K4'
  11/24 12:20:31 a1  mdm_command: string '&K4'
  11/24 12:20:51 a1  Warning: got alarm signal!
  11/24 12:20:51 a1  fax_read_byte: read returned -1: Interrupted system call
  11/24 12:20:51 a1  fax_get_line: cannot read byte, return: Interrupted system call -> ERROR
  11/24 12:20:51 a1  cannot set FAX_MODEM_HANDSHAKE; ignored
  11/24 12:20:51 a1  fax_send: 'ATD6412415'
  11/24 12:20:51 a1  fax_wait_for(OK)
  11/24 12:20:51 a1  fax_wait_for: string 'ATD6412415'
  11/24 12:21:20 a1  fax_wait_for: string 'CONNECT 19200'
  11/24 12:21:37 a1  fax_wait_for: string 'NO CARRIER'
  11/24 12:21:37 a1  ABORTING: line='NO CARRIER'
  11/24 12:21:37 ##### failed dialing, phone="6412415", +FHS:-3, time=46s

  11/24 12:21:37 a1  fax_send: 'AT+FCLASS=0'

 
 
 

supra fax modem and mgetty+sendfax?

Post by Roger C. P » Mon, 27 Nov 1995 04:00:00



>I'm  coming up real short in getty my new supra express 28.8 modem
>to be able to send faxes.
>many of the faxspecific AT... comands that sendfax expects aren't working right
>any clues?

Look at the AT+FCLASS=2.0 and =2 commands.  They were both rejected.
mgetty requires a Class 2 or Class 2.0 fax modem.  Your Supra is most
likely a Class 1 fax modem.  You can check this by typing AT+FCLASS=1.
If it works, you will need to use FlexFax (now called HylaFax?), but I
think it's dedicated to fax only.

I had a Supra 144LC FaxModem which was Class 2.  It was zapped by a power
spike.  I had it replaced just under warranty, but the replacement was only
a Class 1.  By the time I figured out why it wasn't working anymore, the
warranty period was over.

I am not going to by a Supra anymore.  I replaced it with a PPI and am
now using a USR Courier V.Everything.  Now all I need is to get seyon
and PPP/Chat to work with mgetty.

rp95
-

Quote:>  11/24 12:20:29  sending fax to 6412415
>  11/24 12:20:29  checking /tmp/fax.g3.1
>  11/24 12:20:29  makelock(cua1) called
>  11/24 12:20:29  do_makelock: lock='/usr/spool/uucp/LCK..cua1'
>  11/24 12:20:29  lock made
>  11/24 12:20:29  tio_set_flow_control( )
>  11/24 12:20:29 a1  fax_open_device succeeded, cua1 -> 4
>  11/24 12:20:29 a1  fax_send: 'AT'
>  11/24 12:20:29 a1  fax_wait_for(OK)
>  11/24 12:20:29 a1  fax_wait_for: string 'AT'
>  11/24 12:20:29 a1  fax_wait_for: string 'OK'** found **
>  11/24 12:20:29 a1  fax_send: 'AT+FCLASS=2.0'
>  11/24 12:20:29 a1  mdm_command: string 'AT+FCLASS=2.0'
>  11/24 12:20:29 a1  mdm_command: string 'ERROR' -> ERROR
>  11/24 12:20:29 a1  fax_send: 'AT+FCLASS=2'
>  11/24 12:20:29 a1  mdm_command: string 'AT+FCLASS=2'
>  11/24 12:20:30 a1  mdm_command: string 'ERROR' -> ERROR

--


 
 
 

supra fax modem and mgetty+sendfax?

Post by Gert Doeri » Mon, 27 Nov 1995 04:00:00



>I'm  coming up real short in getty my new supra express 28.8 modem
>to be able to send faxes.
>many of the faxspecific AT... comands that sendfax expects aren't working right
>any clues?

The modem just isn't a class2 or class2.0 fax modem. So simple.

Quote:>  11/24 12:20:29 a1  fax_send: 'AT+FCLASS=2.0'
>  11/24 12:20:29 a1  mdm_command: string 'AT+FCLASS=2.0'
>  11/24 12:20:29 a1  mdm_command: string 'ERROR' -> ERROR
>  11/24 12:20:29 a1  fax_send: 'AT+FCLASS=2'
>  11/24 12:20:29 a1  mdm_command: string 'AT+FCLASS=2'
>  11/24 12:20:30 a1  mdm_command: string 'ERROR' -> ERROR

One of those must return "OK", otherwise sendfax isn't usable with this
modem.

Quote:>  11/24 12:20:30 a1  fax_send: 'AT+FLID="49 89 3243328"'

                                           ^^^^^^^^^
BTW: I appreciate if people change my fax number befor trying to send
faxes with this number as "local station ID" around.

gert
--
Yield to temptation ... it may not pass your way again!  --  Lazarus Long
                                                            //www.muc.de/~gert


 
 
 

supra fax modem and mgetty+sendfax?

Post by Senthil Kum » Thu, 30 Nov 1995 04:00:00


I believe that this Supra only has Class 1 fax commands,
perhaps that is the problem.

Also, in my very limited experience, I feel that the
hylafax package is better than the mgetty+fax package.

Senthil

 
 
 

supra fax modem and mgetty+sendfax?

Post by Gert Doeri » Mon, 04 Dec 1995 04:00:00



>I believe that this Supra only has Class 1 fax commands,
>perhaps that is the problem.

Yup.

Quote:>Also, in my very limited experience, I feel that the
>hylafax package is better than the mgetty+fax package.

What a statement. No package of those is "better" than the other one. One
may very well be better *suited* for a given problem than the other one,
but for different needs, you need different solutions.

The design goal of mgetty+sendfax and Hylafax was completely different, so
you can hardly compare them.

gert
--
Yield to temptation ... it may not pass your way again!  --  Lazarus Long
                                                            //www.muc.de/~gert


 
 
 

1. Supra V34 and mgetty+sendfax HOW?

Hi

I've been using the mgetty+sendfax-0.22 package with a USR sportster
for several months without a hitch.

The problem is, I've moved to a Supra V.34 modem and am trying to
configure mgetty to work with it. The sportster seemed to perform
very badly, the supra on the other hand is giving me 3k/sec+ transfer
repeatedly.

Settings I've tried in policy.h -

1. The following was taken from mgetty+sendfax/doc/modem.db and the
init string was massaged slightly ( removed speaker and volume commands )

#define DEFAULT_PORTSPEED       B38400
#define MODEM_INIT_STRING       "AT&F2W0S0=0V1Q0&D3&K3%C1W1"
#define DEFAULT_MODEMTYPE       "auto"
#define DO_CHAT_SEND_DELAY      50
#define FAX_COMMAND_DELAY       50
#define DATA_FLOW               FLOW_HARD
#define FAXREC_FLOW             FLOW_SOFT
#define FAXSEND_FLOW            FLOW_SOFT
#define FAX_RECEIVE_USE_B19200
#define FAX_SEND_BAUD B19200
#define FAX_MODEM_HANDSHAKE     "&K4"
#define FAX_SEND_IGNORE_CARRIER

2. The second config was tried after looking through the info pages
which seemed to contradict the modem.db file.

#define DEFAULT_PORTSPEED       B38400
#define MODEM_INIT_STRING       "AT&F2S0=0V1Q0W1"
#define DEFAULT_MODEMTYPE       "auto"
#define DO_CHAT_SEND_DELAY 50
#define FAX_COMMAND_DELAY 50
#define DATA_FLOW               FLOW_HARD
#define FAXREC_FLOW             FLOW_HARD
#define FAXSEND_FLOW            FLOW_HARD
#define FAX_RECEIVE_USE_B19200
#define FAX_SEND_BAUD B19200
#define FAX_MODEM_HANDSHAKE     "&K3"
#define FAX_SEND_IGNORE_CARRIER

Neither work when I try to send a fax from another machine with the
USR sportster. However I have managed to send from the supra to the
sportster. The USR to supra connection exits with:

        connection hangup: '+FHNG: 71'

I can provide a dump of the log if you think it might help.

When getting a faxback service to call the supra seems to
think it's trying to login as a user, ie. Not a FAX machine.

This situation is getting me very confused as in the past I managed
to get an internal Supra 14.4k card working with little or no
trouble.

Another problem is that the doc contrib/readme.supra contains
references to changing a line in the mgetty.c file

Cheers.
Angelo.

2. HDLC source code using external modem for Solaris

3. mgetty+sendfax printing incoming faxes to HP LaserJet

4. Pro 64 driver needed.

5. how to view sendfax/mgetty faxes

6. Artec ViewStation AS6E

7. mgetty+sendfax, print incoming faxes to HP LaserJet (RedHat 7.0)

8. Starting a firewall script.

9. POOR QUALITY of received faxes with mgetty-sendfax

10. mgetty+sendfax and USR V.FC DS fax don't cooperate

11. Fax with mgetty&sendfax

12. sending g3-fax using mgetty+sendfax with creatix144vfi

13. Email --> Fax Gateway (mgetty+sendfax) ???