mgetty fax receive problem

mgetty fax receive problem

Post by Peter Caffi » Wed, 10 Mar 1999 04:00:00




Subject: mgetty fax receive problem
Newsgroups: comp.os.linux.misc
Organization:
Summary:
Keywords:

Well, I've been messing around with mgetty+sendfax and I've got the fax
spooling working (it should be fairly easy to make an /etc/printcap
script -- something to work on later)..

However, I haven't been able to get the fax receive part working at
all. Any suggestions would be gratefully appreciated :).

System info:

   Linux (Debian) kernel 2.2.2 on an i586
   mgetty: experimental test release 1.1.14-Apr02
   Hayes Accura 33.6 (Class 2.0 compliant)

I'm able to dial into the modem line with another modem and connects to
a login prompt happily. But a fax connection never resolves.

The modem part of my /etc/inittab is:

   # Example how to put a getty on a modem line.
   #
   # T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS0
   T3:23:respawn:/sbin/mgetty -x5 -C c2.0 -s 57600 ttyS0

The uncommented parts of my /etc/mgetty/mgetty.config are:

   debug 4
   fax-id
   speed 38400
   fax-owner root
   fax-group uucp
   fax-mode 0640
   port ttyS0
   speed 38400

My /etc/mgetty/dialin.config doesn't have anything uncommented (and so
should have the implicit allow all, if the documentation is right).

I've included the log file below.

--
03/09 10:57:04 yS0  mgetty: experimental test release 1.1.14-Apr02
03/09 10:57:04 yS0   mgetty.c compiled at May 23 1998, 14:16:58
03/09 10:57:04 yS0   user id: 0, parent pid: 1
03/09 10:57:04 yS0   reading configuration data for port 'ttyS0'
03/09 10:57:04 yS0   reading /etc/mgetty/mgetty.config...
03/09 10:57:04 yS0   conf lib: read: 'debug 4'
03/09 10:57:04 yS0   conf lib: read: 'fax-id '
03/09 10:57:04 yS0   conf lib: read: 'speed 38400'
03/09 10:57:04 yS0   conf lib: read: 'fax-owner root'
03/09 10:57:04 yS0   conf lib: read: 'fax-group uucp'
03/09 10:57:04 yS0   conf lib: read: 'fax-mode 0640'
03/09 10:57:04 yS0   conf lib: read: 'port ttyS0'
03/09 10:57:04 yS0   section: port ttyS0, **found**
03/09 10:57:04 yS0   conf lib: read: 'speed 38400'
03/09 10:57:04 yS0   key: 'speed', type=0, flags=2, data=57600
03/09 10:57:04 yS0   key: 'switchbd', type=0, flags=1, data=0
03/09 10:57:04 yS0   key: 'direct', type=3, flags=1, data=FALSE
03/09 10:57:04 yS0   key: 'blocking', type=3, flags=1, data=FALSE
03/09 10:57:04 yS0   key: 'port-owner', type=1, flags=1, data=root
03/09 10:57:04 yS0   key: 'port-group', type=1, flags=1, data=dialout
03/09 10:57:04 yS0   key: 'port-mode', type=0, flags=1, data=432
03/09 10:57:04 yS0   key: 'toggle-dtr', type=3, flags=1, data=TRUE
03/09 10:57:04 yS0   key: 'toggle-dtr-waittime', type=0, flags=1, data=500
03/09 10:57:04 yS0   key: 'data-only', type=3, flags=1, data=FALSE
03/09 10:57:04 yS0   key: 'fax-only', type=3, flags=1, data=FALSE
03/09 10:57:04 yS0   key: 'modem-type', type=1, flags=2, data=c2.0
03/09 10:57:04 yS0   key: 'modem-quirks', type=0, flags=0, data=(empty)
03/09 10:57:04 yS0   key: 'init-chat', type=2, flags=1, data= \dATQ0V1H0
OK AT OK
03/09 10:57:04 yS0   key: 'force-init-chat', type=2, flags=1, data=
\d^P^C\d\d\d+++\d\d\d^M\dATQ0V1H0 OK
03/09 10:57:04 yS0   key: 'modem-check-time', type=0, flags=1, data=3600
03/09 10:57:04 yS0   key: 'rings', type=0, flags=1, data=1
03/09 10:57:04 yS0   key: 'get-cnd-chat', type=2, flags=0, data=(empty)
03/09 10:57:04 yS0   key: 'answer-chat', type=2, flags=1, data= ATA
CONNECT \c

03/09 10:57:04 yS0   key: 'answer-chat-timeout', type=0, flags=1, data=80
03/09 10:57:04 yS0   key: 'autobauding', type=3, flags=1, data=FALSE
03/09 10:57:04 yS0   key: 'ringback', type=3, flags=1, data=FALSE
03/09 10:57:04 yS0   key: 'ringback-time', type=0, flags=1, data=30
03/09 10:57:04 yS0   key: 'ignore-carrier', type=3, flags=1, data=FALSE
03/09 10:57:04 yS0   key: 'issue-file', type=1, flags=1, data=/etc/issue
03/09 10:57:04 yS0   key: 'prompt-waittime', type=0, flags=1, data=500

03/09 10:57:04 yS0   key: 'login-time', type=0, flags=1, data=240
03/09 10:57:04 yS0   key: 'fido-send-emsi', type=3, flags=1, data=TRUE
03/09 10:57:04 yS0   key: 'fax-id', type=1, flags=3, data=
03/09 10:57:04 yS0   key: 'fax-server-file', type=1, flags=0, data=(empty)
03/09 10:57:04 yS0   key: 'diskspace', type=0, flags=1, data=1024
03/09 10:57:04 yS0   key: 'notify', type=1, flags=1, data=root
03/09 10:57:04 yS0   key: 'fax-owner', type=1, flags=3, data=root
03/09 10:57:04 yS0   key: 'fax-group', type=1, flags=3, data=uucp
03/09 10:57:04 yS0   key: 'fax-mode', type=0, flags=3, data=416
03/09 10:57:04 yS0   key: 'debug', type=0, flags=2, data=5
03/09 10:57:04 yS0   key: 'statistics-chat', type=2, flags=0, data=(empty)
03/09 10:57:04 yS0   key: 'statistics-file', type=1, flags=0, data=(empty)
03/09 10:57:04 yS0   key: 'gettydefs', type=1, flags=1, data=n
03/09 10:57:04 yS0   key: 'term', type=1, flags=0, data=(empty)
03/09 10:57:05 yS0  check for lockfiles
03/09 10:57:05 yS0   checklock: stat failed, no file
03/09 10:57:05 yS0  locking the line
03/09 10:57:05 yS0   makelock(ttyS0) called
03/09 10:57:05 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
03/09 10:57:05 yS0   lock made
03/09 10:57:05 yS0   tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
03/09 10:57:05 yS0  WARNING: DCD line still active, check modem settings
(AT&Dx)
03/09 10:57:05 yS0  lowering DTR to reset Modem
03/09 10:57:06 yS0   tss: set speed to 57600 (10001)
03/09 10:57:06 yS0   tio_set_flow_control( HARD )
03/09 10:57:06 yS0   waiting for line to clear (VTIME), read:
03/09 10:57:06 yS0  send: \dATQ0V1H0[0d]
03/09 10:57:06 yS0  waiting for ``OK''
03/09 10:57:06 yS0   got: ATQ0V1H0[0d][0d][0a]OK ** found **
03/09 10:57:06 yS0  send: AT[0d]
03/09 10:57:06 yS0  waiting for ``OK''
03/09 10:57:06 yS0   got: [0d][0a]AT[0d][0d][0a]OK ** found **
03/09 10:57:06 yS0  mdm_send: 'AT+FCLASS=2.0'
03/09 10:57:06 yS0   mdm_command: string 'AT+FCLASS=2.0'
03/09 10:57:06 yS0   mdm_command: string 'ERROR' -> ERROR
03/09 10:57:07 yS0  mdm_send: 'AT+FCLASS=2'
03/09 10:57:07 yS0   mdm_command: string 'AT+FCLASS=2'
03/09 10:57:07 yS0   mdm_command: string 'OK' -> OK
03/09 10:57:07 yS0  mdm_send: 'AT+FCLASS=0'
03/09 10:57:07 yS0   mdm_command: string 'AT+FCLASS=0'
03/09 10:57:07 yS0   mdm_command: string 'OK' -> OK
03/09 10:57:07 yS0  mdm_send: 'AT+FAA=1;+FCR=1'
03/09 10:57:07 yS0   mdm_command: string 'AT+FAA=1;+FCR=1'
03/09 10:57:07 yS0   mdm_command: string 'OK' -> OK
03/09 10:57:07 yS0  mdm_send: 'AT+FBOR=0'
03/09 10:57:07 yS0   mdm_command: string 'AT+FBOR=0'
03/09 10:57:07 yS0   mdm_command: string 'OK' -> OK
03/09 10:57:07 yS0  mdm_send: 'AT+FLID=""'
03/09 10:57:07 yS0   mdm_command: string 'AT+FLID=""'
03/09 10:57:07 yS0   mdm_command: string 'OK' -> OK
03/09 10:57:07 yS0  mdm_send: 'AT+FDCC=1,5,0,2,0,0,0,0'
03/09 10:57:07 yS0   mdm_command: string 'AT+FDCC=1,5,0,2,0,0,0,0'
03/09 10:57:07 yS0   mdm_command: string 'OK' -> OK
03/09 10:57:07 yS0   waiting for line to clear (VTIME), read:
03/09 10:57:07 yS0   removing lock file
03/09 10:57:07 yS0  waiting...
03/09 10:59:47 yS0   checking lockfiles, locking the line
03/09 10:59:47 yS0   makelock(ttyS0) called
03/09 10:59:47 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
03/09 10:59:47 yS0   lock made
03/09 10:59:47 yS0  waiting for ``RING''
03/09 10:59:47 yS0   got: [0d][0a]RING ** found **
03/09 10:59:47 yS0  send: ATA[0d]
03/09 10:59:47 yS0  waiting for ``CONNECT''
03/09 10:59:47 yS0   got: [0d][0a]ATA[0d][0d][0a]NO CARRIER
03/09 11:00:42 yS0  found action string: ``NO CARRIER''
03/09 11:00:42 ##### failed A_FAIL dev=ttyS0, pid=3323, caller='none',
conn='', name=''

03/09 11:00:42 yS0   removing lock file

--:     _           _    _ _
 _oo__ |_|_ |__  _ |  _ |_|_o _  pc at it dot net dot a u |
//`'\_ | (/_|(/_|  |_(_|| | || |            it.net.au/~pc |
/        

 
 
 

mgetty fax receive problem

Post by Bill Unr » Wed, 10 Mar 1999 04:00:00



Quote:>   Hayes Accura 33.6 (Class 2.0 compliant)

This is the claim

Quote:>   T3:23:respawn:/sbin/mgetty -x5 -C c2.0 -s 57600 ttyS0

                                   ^^^^^^^ And you try to tell it to use
2.0

Quote:>03/09 10:57:06 yS0  mdm_send: 'AT+FCLASS=2.0'
>03/09 10:57:06 yS0   mdm_command: string 'AT+FCLASS=2.0'
>03/09 10:57:06 yS0   mdm_command: string 'ERROR' -> ERROR

And here your modem reports that it does not support 2.0

 
 
 

mgetty fax receive problem

Post by Peter Caffi » Wed, 10 Mar 1999 04:00:00



Subject: mgetty fax receive problem
Newsgroups: comp.os.linux.misc
Organization:
Summary:
Keywords:

Well, I've been messing around with mgetty+sendfax and I've got the fax
spooling working (it should be fairly easy to make an /etc/printcap
script -- something to work on later)..

However, I haven't been able to get the fax receive part working at
all. Any suggestions would be gratefully appreciated :).

System info:

   Linux (Debian) kernel 2.2.2 on an i586
   mgetty: experimental test release 1.1.14-Apr02
   Hayes Accura 33.6 (Class 2.0 compliant)

I'm able to dial into the modem line with another modem and connects to
a login prompt happily. But a fax connection never resolves.

The modem part of my /etc/inittab is:

   # Example how to put a getty on a modem line.
   #
   # T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS0
   T3:23:respawn:/sbin/mgetty -x5 -C c2.0 -s 57600 ttyS0

The uncommented parts of my /etc/mgetty/mgetty.config are:

   debug 4
   fax-id
   speed 38400
   fax-owner root
   fax-group uucp
   fax-mode 0640
   port ttyS0
   speed 38400

My /etc/mgetty/dialin.config doesn't have anything uncommented (and so
should have the implicit allow all, if the documentation is right).

I've included the log file below.

--
03/09 10:57:04 yS0  mgetty: experimental test release 1.1.14-Apr02
03/09 10:57:04 yS0   mgetty.c compiled at May 23 1998, 14:16:58
03/09 10:57:04 yS0   user id: 0, parent pid: 1
03/09 10:57:04 yS0   reading configuration data for port 'ttyS0'
03/09 10:57:04 yS0   reading /etc/mgetty/mgetty.config...
03/09 10:57:04 yS0   conf lib: read: 'debug 4'
03/09 10:57:04 yS0   conf lib: read: 'fax-id '
03/09 10:57:04 yS0   conf lib: read: 'speed 38400'
03/09 10:57:04 yS0   conf lib: read: 'fax-owner root'
03/09 10:57:04 yS0   conf lib: read: 'fax-group uucp'
03/09 10:57:04 yS0   conf lib: read: 'fax-mode 0640'
03/09 10:57:04 yS0   conf lib: read: 'port ttyS0'
03/09 10:57:04 yS0   section: port ttyS0, **found**
03/09 10:57:04 yS0   conf lib: read: 'speed 38400'
03/09 10:57:04 yS0   key: 'speed', type=0, flags=2, data=57600
03/09 10:57:04 yS0   key: 'switchbd', type=0, flags=1, data=0
03/09 10:57:04 yS0   key: 'direct', type=3, flags=1, data=FALSE
03/09 10:57:04 yS0   key: 'blocking', type=3, flags=1, data=FALSE
03/09 10:57:04 yS0   key: 'port-owner', type=1, flags=1, data=root
03/09 10:57:04 yS0   key: 'port-group', type=1, flags=1, data=dialout
03/09 10:57:04 yS0   key: 'port-mode', type=0, flags=1, data=432
03/09 10:57:04 yS0   key: 'toggle-dtr', type=3, flags=1, data=TRUE
03/09 10:57:04 yS0   key: 'toggle-dtr-waittime', type=0, flags=1, data=500
03/09 10:57:04 yS0   key: 'data-only', type=3, flags=1, data=FALSE
03/09 10:57:04 yS0   key: 'fax-only', type=3, flags=1, data=FALSE
03/09 10:57:04 yS0   key: 'modem-type', type=1, flags=2, data=c2.0
03/09 10:57:04 yS0   key: 'modem-quirks', type=0, flags=0, data=(empty)
03/09 10:57:04 yS0   key: 'init-chat', type=2, flags=1, data= \dATQ0V1H0
OK AT OK
03/09 10:57:04 yS0   key: 'force-init-chat', type=2, flags=1, data=
\d^P^C\d\d\d+++\d\d\d^M\dATQ0V1H0 OK
03/09 10:57:04 yS0   key: 'modem-check-time', type=0, flags=1, data=3600
03/09 10:57:04 yS0   key: 'rings', type=0, flags=1, data=1
03/09 10:57:04 yS0   key: 'get-cnd-chat', type=2, flags=0, data=(empty)
03/09 10:57:04 yS0   key: 'answer-chat', type=2, flags=1, data= ATA
CONNECT \c

03/09 10:57:04 yS0   key: 'answer-chat-timeout', type=0, flags=1, data=80
03/09 10:57:04 yS0   key: 'autobauding', type=3, flags=1, data=FALSE
03/09 10:57:04 yS0   key: 'ringback', type=3, flags=1, data=FALSE
03/09 10:57:04 yS0   key: 'ringback-time', type=0, flags=1, data=30
03/09 10:57:04 yS0   key: 'ignore-carrier', type=3, flags=1, data=FALSE
03/09 10:57:04 yS0   key: 'issue-file', type=1, flags=1, data=/etc/issue
03/09 10:57:04 yS0   key: 'prompt-waittime', type=0, flags=1, data=500

03/09 10:57:04 yS0   key: 'login-time', type=0, flags=1, data=240
03/09 10:57:04 yS0   key: 'fido-send-emsi', type=3, flags=1, data=TRUE
03/09 10:57:04 yS0   key: 'fax-id', type=1, flags=3, data=
03/09 10:57:04 yS0   key: 'fax-server-file', type=1, flags=0, data=(empty)
03/09 10:57:04 yS0   key: 'diskspace', type=0, flags=1, data=1024
03/09 10:57:04 yS0   key: 'notify', type=1, flags=1, data=root
03/09 10:57:04 yS0   key: 'fax-owner', type=1, flags=3, data=root
03/09 10:57:04 yS0   key: 'fax-group', type=1, flags=3, data=uucp
03/09 10:57:04 yS0   key: 'fax-mode', type=0, flags=3, data=416
03/09 10:57:04 yS0   key: 'debug', type=0, flags=2, data=5
03/09 10:57:04 yS0   key: 'statistics-chat', type=2, flags=0, data=(empty)
03/09 10:57:04 yS0   key: 'statistics-file', type=1, flags=0, data=(empty)
03/09 10:57:04 yS0   key: 'gettydefs', type=1, flags=1, data=n
03/09 10:57:04 yS0   key: 'term', type=1, flags=0, data=(empty)
03/09 10:57:05 yS0  check for lockfiles
03/09 10:57:05 yS0   checklock: stat failed, no file
03/09 10:57:05 yS0  locking the line
03/09 10:57:05 yS0   makelock(ttyS0) called
03/09 10:57:05 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
03/09 10:57:05 yS0   lock made
03/09 10:57:05 yS0   tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
03/09 10:57:05 yS0  WARNING: DCD line still active, check modem settings
(AT&Dx)
03/09 10:57:05 yS0  lowering DTR to reset Modem
03/09 10:57:06 yS0   tss: set speed to 57600 (10001)
03/09 10:57:06 yS0   tio_set_flow_control( HARD )
03/09 10:57:06 yS0   waiting for line to clear (VTIME), read:
03/09 10:57:06 yS0  send: \dATQ0V1H0[0d]
03/09 10:57:06 yS0  waiting for ``OK''
03/09 10:57:06 yS0   got: ATQ0V1H0[0d][0d][0a]OK ** found **
03/09 10:57:06 yS0  send: AT[0d]
03/09 10:57:06 yS0  waiting for ``OK''
03/09 10:57:06 yS0   got: [0d][0a]AT[0d][0d][0a]OK ** found **
03/09 10:57:06 yS0  mdm_send: 'AT+FCLASS=2.0'
03/09 10:57:06 yS0   mdm_command: string 'AT+FCLASS=2.0'
03/09 10:57:06 yS0   mdm_command: string 'ERROR' -> ERROR
03/09 10:57:07 yS0  mdm_send: 'AT+FCLASS=2'
03/09 10:57:07 yS0   mdm_command: string 'AT+FCLASS=2'
03/09 10:57:07 yS0   mdm_command: string 'OK' -> OK
03/09 10:57:07 yS0  mdm_send: 'AT+FCLASS=0'
03/09 10:57:07 yS0   mdm_command: string 'AT+FCLASS=0'
03/09 10:57:07 yS0   mdm_command: string 'OK' -> OK
03/09 10:57:07 yS0  mdm_send: 'AT+FAA=1;+FCR=1'
03/09 10:57:07 yS0   mdm_command: string 'AT+FAA=1;+FCR=1'
03/09 10:57:07 yS0   mdm_command: string 'OK' -> OK
03/09 10:57:07 yS0  mdm_send: 'AT+FBOR=0'
03/09 10:57:07 yS0   mdm_command: string 'AT+FBOR=0'
03/09 10:57:07 yS0   mdm_command: string 'OK' -> OK
03/09 10:57:07 yS0  mdm_send: 'AT+FLID=""'
03/09 10:57:07 yS0   mdm_command: string 'AT+FLID=""'
03/09 10:57:07 yS0   mdm_command: string 'OK' -> OK
03/09 10:57:07 yS0  mdm_send: 'AT+FDCC=1,5,0,2,0,0,0,0'
03/09 10:57:07 yS0   mdm_command: string 'AT+FDCC=1,5,0,2,0,0,0,0'
03/09 10:57:07 yS0   mdm_command: string 'OK' -> OK
03/09 10:57:07 yS0   waiting for line to clear (VTIME), read:
03/09 10:57:07 yS0   removing lock file
03/09 10:57:07 yS0  waiting...
03/09 10:59:47 yS0   checking lockfiles, locking the line
03/09 10:59:47 yS0   makelock(ttyS0) called
03/09 10:59:47 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
03/09 10:59:47 yS0   lock made
03/09 10:59:47 yS0  waiting for ``RING''
03/09 10:59:47 yS0   got: [0d][0a]RING ** found **
03/09 10:59:47 yS0  send: ATA[0d]
03/09 10:59:47 yS0  waiting for ``CONNECT''
03/09 10:59:47 yS0   got: [0d][0a]ATA[0d][0d][0a]NO CARRIER
03/09 11:00:42 yS0  found action string: ``NO CARRIER''
03/09 11:00:42 ##### failed A_FAIL dev=ttyS0, pid=3323, caller='none',
conn='', name=''

03/09 11:00:42 yS0   removing lock file

--:     _           _    _ _
 _oo__ |_|_ |__  _ |  _ |_|_o _  pc at it dot net dot a u |
//`'\_ | (/_|(/_|  |_(_|| | || |            it.net.au/~pc |
/        

 
 
 

mgetty fax receive problem

Post by Bill Unr » Wed, 10 Mar 1999 04:00:00



Quote:>   Hayes Accura 33.6 (Class 2.0 compliant)

This is the claim

Quote:>   T3:23:respawn:/sbin/mgetty -x5 -C c2.0 -s 57600 ttyS0

                                   ^^^^^^^ And you try to tell it to use
2.0

Quote:>03/09 10:57:06 yS0  mdm_send: 'AT+FCLASS=2.0'
>03/09 10:57:06 yS0   mdm_command: string 'AT+FCLASS=2.0'
>03/09 10:57:06 yS0   mdm_command: string 'ERROR' -> ERROR

And here your modem reports that it does not support 2.0
 
 
 

mgetty fax receive problem

Post by Bill Unr » Wed, 10 Mar 1999 04:00:00



Quote:>   Hayes Accura 33.6 (Class 2.0 compliant)

This is the claim

Quote:>   T3:23:respawn:/sbin/mgetty -x5 -C c2.0 -s 57600 ttyS0

                                   ^^^^^^^ And you try to tell it to use
2.0

Quote:>03/09 10:57:06 yS0  mdm_send: 'AT+FCLASS=2.0'
>03/09 10:57:06 yS0   mdm_command: string 'AT+FCLASS=2.0'
>03/09 10:57:06 yS0   mdm_command: string 'ERROR' -> ERROR

And here your modem reports that it does not support 2.0
 
 
 

mgetty fax receive problem

Post by Peter Caffi » Wed, 10 Mar 1999 04:00:00



Subject: mgetty fax receive problem
Newsgroups: comp.os.linux.misc
Organization:
Summary:
Keywords:

Well, I've been messing around with mgetty+sendfax and I've got the fax
spooling working (it should be fairly easy to make an /etc/printcap
script -- something to work on later)..

However, I haven't been able to get the fax receive part working at
all. Any suggestions would be gratefully appreciated :).

System info:

   Linux (Debian) kernel 2.2.2 on an i586
   mgetty: experimental test release 1.1.14-Apr02
   Hayes Accura 33.6 (Class 2.0 compliant)

I'm able to dial into the modem line with another modem and connects to
a login prompt happily. But a fax connection never resolves.

The modem part of my /etc/inittab is:

   # Example how to put a getty on a modem line.
   #
   # T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS0
   T3:23:respawn:/sbin/mgetty -x5 -C c2.0 -s 57600 ttyS0

The uncommented parts of my /etc/mgetty/mgetty.config are:

   debug 4
   fax-id
   speed 38400
   fax-owner root
   fax-group uucp
   fax-mode 0640
   port ttyS0
   speed 38400

My /etc/mgetty/dialin.config doesn't have anything uncommented (and so
should have the implicit allow all, if the documentation is right).

I've included the log file below.

--
03/09 10:57:04 yS0  mgetty: experimental test release 1.1.14-Apr02
03/09 10:57:04 yS0   mgetty.c compiled at May 23 1998, 14:16:58
03/09 10:57:04 yS0   user id: 0, parent pid: 1
03/09 10:57:04 yS0   reading configuration data for port 'ttyS0'
03/09 10:57:04 yS0   reading /etc/mgetty/mgetty.config...
03/09 10:57:04 yS0   conf lib: read: 'debug 4'
03/09 10:57:04 yS0   conf lib: read: 'fax-id '
03/09 10:57:04 yS0   conf lib: read: 'speed 38400'
03/09 10:57:04 yS0   conf lib: read: 'fax-owner root'
03/09 10:57:04 yS0   conf lib: read: 'fax-group uucp'
03/09 10:57:04 yS0   conf lib: read: 'fax-mode 0640'
03/09 10:57:04 yS0   conf lib: read: 'port ttyS0'
03/09 10:57:04 yS0   section: port ttyS0, **found**
03/09 10:57:04 yS0   conf lib: read: 'speed 38400'
03/09 10:57:04 yS0   key: 'speed', type=0, flags=2, data=57600
03/09 10:57:04 yS0   key: 'switchbd', type=0, flags=1, data=0
03/09 10:57:04 yS0   key: 'direct', type=3, flags=1, data=FALSE
03/09 10:57:04 yS0   key: 'blocking', type=3, flags=1, data=FALSE
03/09 10:57:04 yS0   key: 'port-owner', type=1, flags=1, data=root
03/09 10:57:04 yS0   key: 'port-group', type=1, flags=1, data=dialout
03/09 10:57:04 yS0   key: 'port-mode', type=0, flags=1, data=432
03/09 10:57:04 yS0   key: 'toggle-dtr', type=3, flags=1, data=TRUE
03/09 10:57:04 yS0   key: 'toggle-dtr-waittime', type=0, flags=1, data=500
03/09 10:57:04 yS0   key: 'data-only', type=3, flags=1, data=FALSE
03/09 10:57:04 yS0   key: 'fax-only', type=3, flags=1, data=FALSE
03/09 10:57:04 yS0   key: 'modem-type', type=1, flags=2, data=c2.0
03/09 10:57:04 yS0   key: 'modem-quirks', type=0, flags=0, data=(empty)
03/09 10:57:04 yS0   key: 'init-chat', type=2, flags=1, data= \dATQ0V1H0
OK AT OK
03/09 10:57:04 yS0   key: 'force-init-chat', type=2, flags=1, data=
\d^P^C\d\d\d+++\d\d\d^M\dATQ0V1H0 OK
03/09 10:57:04 yS0   key: 'modem-check-time', type=0, flags=1, data=3600
03/09 10:57:04 yS0   key: 'rings', type=0, flags=1, data=1
03/09 10:57:04 yS0   key: 'get-cnd-chat', type=2, flags=0, data=(empty)
03/09 10:57:04 yS0   key: 'answer-chat', type=2, flags=1, data= ATA
CONNECT \c

03/09 10:57:04 yS0   key: 'answer-chat-timeout', type=0, flags=1, data=80
03/09 10:57:04 yS0   key: 'autobauding', type=3, flags=1, data=FALSE
03/09 10:57:04 yS0   key: 'ringback', type=3, flags=1, data=FALSE
03/09 10:57:04 yS0   key: 'ringback-time', type=0, flags=1, data=30
03/09 10:57:04 yS0   key: 'ignore-carrier', type=3, flags=1, data=FALSE
03/09 10:57:04 yS0   key: 'issue-file', type=1, flags=1, data=/etc/issue
03/09 10:57:04 yS0   key: 'prompt-waittime', type=0, flags=1, data=500

03/09 10:57:04 yS0   key: 'login-time', type=0, flags=1, data=240
03/09 10:57:04 yS0   key: 'fido-send-emsi', type=3, flags=1, data=TRUE
03/09 10:57:04 yS0   key: 'fax-id', type=1, flags=3, data=
03/09 10:57:04 yS0   key: 'fax-server-file', type=1, flags=0, data=(empty)
03/09 10:57:04 yS0   key: 'diskspace', type=0, flags=1, data=1024
03/09 10:57:04 yS0   key: 'notify', type=1, flags=1, data=root
03/09 10:57:04 yS0   key: 'fax-owner', type=1, flags=3, data=root
03/09 10:57:04 yS0   key: 'fax-group', type=1, flags=3, data=uucp
03/09 10:57:04 yS0   key: 'fax-mode', type=0, flags=3, data=416
03/09 10:57:04 yS0   key: 'debug', type=0, flags=2, data=5
03/09 10:57:04 yS0   key: 'statistics-chat', type=2, flags=0, data=(empty)
03/09 10:57:04 yS0   key: 'statistics-file', type=1, flags=0, data=(empty)
03/09 10:57:04 yS0   key: 'gettydefs', type=1, flags=1, data=n
03/09 10:57:04 yS0   key: 'term', type=1, flags=0, data=(empty)
03/09 10:57:05 yS0  check for lockfiles
03/09 10:57:05 yS0   checklock: stat failed, no file
03/09 10:57:05 yS0  locking the line
03/09 10:57:05 yS0   makelock(ttyS0) called
03/09 10:57:05 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
03/09 10:57:05 yS0   lock made
03/09 10:57:05 yS0   tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
03/09 10:57:05 yS0  WARNING: DCD line still active, check modem settings
(AT&Dx)
03/09 10:57:05 yS0  lowering DTR to reset Modem
03/09 10:57:06 yS0   tss: set speed to 57600 (10001)
03/09 10:57:06 yS0   tio_set_flow_control( HARD )
03/09 10:57:06 yS0   waiting for line to clear (VTIME), read:
03/09 10:57:06 yS0  send: \dATQ0V1H0[0d]
03/09 10:57:06 yS0  waiting for ``OK''
03/09 10:57:06 yS0   got: ATQ0V1H0[0d][0d][0a]OK ** found **
03/09 10:57:06 yS0  send: AT[0d]
03/09 10:57:06 yS0  waiting for ``OK''
03/09 10:57:06 yS0   got: [0d][0a]AT[0d][0d][0a]OK ** found **
03/09 10:57:06 yS0  mdm_send: 'AT+FCLASS=2.0'
03/09 10:57:06 yS0   mdm_command: string 'AT+FCLASS=2.0'
03/09 10:57:06 yS0   mdm_command: string 'ERROR' -> ERROR
03/09 10:57:07 yS0  mdm_send: 'AT+FCLASS=2'
03/09 10:57:07 yS0   mdm_command: string 'AT+FCLASS=2'
03/09 10:57:07 yS0   mdm_command: string 'OK' -> OK
03/09 10:57:07 yS0  mdm_send: 'AT+FCLASS=0'
03/09 10:57:07 yS0   mdm_command: string 'AT+FCLASS=0'
03/09 10:57:07 yS0   mdm_command: string 'OK' -> OK
03/09 10:57:07 yS0  mdm_send: 'AT+FAA=1;+FCR=1'
03/09 10:57:07 yS0   mdm_command: string 'AT+FAA=1;+FCR=1'
03/09 10:57:07 yS0   mdm_command: string 'OK' -> OK
03/09 10:57:07 yS0  mdm_send: 'AT+FBOR=0'
03/09 10:57:07 yS0   mdm_command: string 'AT+FBOR=0'
03/09 10:57:07 yS0   mdm_command: string 'OK' -> OK
03/09 10:57:07 yS0  mdm_send: 'AT+FLID=""'
03/09 10:57:07 yS0   mdm_command: string 'AT+FLID=""'
03/09 10:57:07 yS0   mdm_command: string 'OK' -> OK
03/09 10:57:07 yS0  mdm_send: 'AT+FDCC=1,5,0,2,0,0,0,0'
03/09 10:57:07 yS0   mdm_command: string 'AT+FDCC=1,5,0,2,0,0,0,0'
03/09 10:57:07 yS0   mdm_command: string 'OK' -> OK
03/09 10:57:07 yS0   waiting for line to clear (VTIME), read:
03/09 10:57:07 yS0   removing lock file
03/09 10:57:07 yS0  waiting...
03/09 10:59:47 yS0   checking lockfiles, locking the line
03/09 10:59:47 yS0   makelock(ttyS0) called
03/09 10:59:47 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
03/09 10:59:47 yS0   lock made
03/09 10:59:47 yS0  waiting for ``RING''
03/09 10:59:47 yS0   got: [0d][0a]RING ** found **
03/09 10:59:47 yS0  send: ATA[0d]
03/09 10:59:47 yS0  waiting for ``CONNECT''
03/09 10:59:47 yS0   got: [0d][0a]ATA[0d][0d][0a]NO CARRIER
03/09 11:00:42 yS0  found action string: ``NO CARRIER''
03/09 11:00:42 ##### failed A_FAIL dev=ttyS0, pid=3323, caller='none',
conn='', name=''

03/09 11:00:42 yS0   removing lock file

--:     _           _    _ _
 _oo__ |_|_ |__  _ |  _ |_|_o _  pc at it dot net dot a u |
//`'\_ | (/_|(/_|  |_(_|| | || |            it.net.au/~pc |
/        

 
 
 

mgetty fax receive problem

Post by Bill Unr » Thu, 11 Mar 1999 04:00:00



]   Hayes Accura 33.6 (Class 2.0 compliant)
...
]   T3:23:respawn:/sbin/mgetty -x5 -C c2.0 -s 57600 ttyS0
                                   ^^^^^^^
]03/09 10:57:06 yS0  mdm_send: 'AT+FCLASS=2.0'
]03/09 10:57:06 yS0   mdm_command: string 'AT+FCLASS=2.0'
]03/09 10:57:06 yS0   mdm_command: string 'ERROR' -> ERROR

Your modem says it does not support class 2.0

 
 
 

1. mgetty fax receive problem

Hi all
I'm having a problem with mgetty.
I can get it to send faxes perfectly, but when it tries to receive a fax,
it connects, gets the fax id from the other side and then disconnects bfore
getting the actual fax.

I've tried using the
switchbd 19200 line in the mgetty.config file but it doesn't seem to make
any difference.

Has anyone got any ideas on why my modem would be doing this.

The modem is a netcomm m34f. I believe it is probably using the rockwell
chipset.

thanks in advance for any ideas.

Regards Nick

2. Hooray! Cald23 installed. Now please help me finish flight from M$

3. mgetty receive fax

4. login

5. POOR QUALITY of received faxes with mgetty-sendfax

6. IRQ 0 used by 3c509b ethernet card

7. mgetty to receive faxes

8. lo:x and eth0:x mising

9. Q: mgetty+sendmail receive fax / local modem

10. mgetty fax receive setup for USR Sportster Vi

11. mgetty and receiving faxes

12. Q: mgetty+sendmail receive fax / local modem

13. Aligning mgetty to Receive Faxes.