Supra V34 and mgetty+sendfax HOW?

Supra V34 and mgetty+sendfax HOW?

Post by angelo masc » Wed, 23 Aug 1995 04:00:00



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.

 
 
 

Supra V34 and mgetty+sendfax HOW?

Post by Timothy Murp » Thu, 24 Aug 1995 04:00:00



>Settings I've tried in policy.h -

I haven't read your posting carefully,
but I think most if not all of the changes you suggest
could be made in the config files for mgetty and sendfax.

Probably comes to the same thing,
but saves compilation (and so time) if you are experimenting.

--
Timothy Murphy  

tel: +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

 
 
 

1. supra fax modem and mgetty+sendfax?

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'

2. Broken PatchReports on sunsolve1

3. Looking for someone who has setup sendfax only or mgetty also

4. CGI runs from shell, not from server

5. Using mgetty+sendfax

6. Sun SPARC-5 Serial Port problem

7. mgetty+sendfax.recompile

8. populating password field in passwd table using nispopulate?

9. mgetty+sendfax printing incoming faxes to HP LaserJet

10. mgetty sendfax

11. mgetty+sendfax problems

12. mgetty+sendfax AutoPPP WTF?

13. mgetty-sendfax and callback