US Robotics 33.6 FAX Modem with MGETTY
"Robert J. Brown" (rj@eli.elilabs.com)
Thu, 1 Jan 1998 01:29:24 +0100
>>>>> "Kenji" == Kenji T Hollis <khollis@Gawain.Houston-InterWeb.COM> writes:
Kenji> Robert:
>> I have a slight problem with mgetty using sendfax on mgetty
>> ... I am trying to send a two-page fax using a STOCK
>> installation (and "-DFAX_USRobotics" in the makefile) and
>> *still* I don't get any success. Can someone please steer me
>> in the right direction?
>>
>> [root@nimue faxserver]# faxrunq processing F000013/JOB...
>> /usr/sbin/sendfax -v 713-627-2744 f1.g3 f2.g3 Trying fax device
>> '/dev/cua0'... OK. Dialing 713-627-2744... OK. sending
>> 'f1.g3'...
>>
>> /usr/sbin/sendfax: FAILED to transmit 'f1.g3'. Transmission
>> error: +FHNG:-5 (Unexpected hangup / read() error / write()
>> error (int.))
>>
>> Do *NOT* use /dev/cua0, use /dev/ttyS0 instead. This is stated
>> in the manual. If you use cua, the locking mechanism is
>> thwarted, and mgetty has no way to know that sendfax has the
>> line open, so mgetty hangs up the phone in the middle of the
>> transmission.
Kenji> Here's the new transmission:
Kenji> [root@nimue khollis]# faxrunq processing F000018/JOB...
Kenji> /usr/sbin/sendfax -v 713-627-2744 f1.g3 f2.g3 Trying fax
Kenji> device '/dev/ttyS0'... OK. Dialing 713-627-2744... OK.
Kenji> sending 'f1.g3'... sending 'f2.g3'...
Kenji> /usr/sbin/sendfax: FAILED to transmit 'f2.g3'.
Kenji> Transmission error: +FHNG:-5 (Unexpected hangup / read()
Kenji> error / write() error (int.)) command exited with status
Kenji> 12
Kenji> I did the change you requested. It still doesn't work.
Kenji> Any more ideas? (Note, I *AM* using ttyS0)
Well, it still sounds like a locking problem to me. Is a lockfile
being created by sendfax? Where? With what filename? Is this the
same that mgetty i looking for? Verify that the file actually exists
right after sendfax starts, as there may be a directory permissions
problem. :-/
A quick way to see if it is mgetty not seeing the lock is to disable
mgetty from running in /etc/init. You might want to try that, and
then try sending a fax. If it works, then it is certainly a locking
problem.
BTW: H a p p y N e w Y e a r ! ! !
--
-------- "And there came a writing to him from Elijah" [2Ch 21:12] --------
Robert Jay Brown III rj@eli.elilabs.com http://www.elilabs.com 1 847 705-0424
Elijah Laboratories Inc.; 37 South Greenwood Avenue; Palatine, IL 60067-6328
----- M o d e l i n g t h e M e t h o d s o f t h e M i n d ------
.