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] fax / data recognition
You included this trace:
02/26 17:38:56 yS1 mgetty: experimental test release 1.1.28-Jan10
02/26 17:38:56 yS1 check for lockfiles
02/26 17:38:56 yS1 huh? It's *our* lock file!
02/26 17:38:56 yS1 locking the line
02/26 17:38:56 yS1 we *have* the line!
02/26 17:38:56 yS1 WARNING: DCD line still active, check modem settings (AT&Dx)
02/26 17:39:04 yS1 waiting...
02/26 17:39:09 ##### failed dev=ttyS1, pid=27926, got signal 1, exiting
When I try it, I get:
02/26 09:54:33 yS2 mgetty: experimental test release 1.1.24-Jan07
02/26 09:54:33 yS2 check for lockfiles
02/26 09:54:33 yS2 huh? It's *our* lock file!
02/26 09:54:33 yS2 locking the line
02/26 09:54:33 yS2 we *have* the line!
02/26 09:54:33 yS2 WARNING: DCD line still active, check modem settings (AT&Dx)
02/26 09:54:34 yS2 waiting...
02/26 09:54:36 ##### data dev=ttyS2, pid=25427, caller='none', conn='DIRECT', na
me='', cmd='/bin/login', user='glenn'
I have several observations:
1. This problem is with mgetty, not Hylafax.
2. There is a huge delay between the message 'check modem settings', and
waiting. This is a clue - mgetty might be having trouble with its
query of the modem.
3. The rev level of your mgetty software is different than mine. I have
no idea what's changed.
4. You probably will have less trouble with 'agetty'. You can test this
by re-naming the executable files:
cd /sbin
mv mgetty mgetty-
ln -s agetty mgetty
and then changing the GettyArgs string, and re-starting faxgetty.
If this works, you might consider removing the mgetty package from your
system.
For your reference, here is a log trace from my mgetty with debug in
/etc/mgetty+sendfax/mgetty.config set to 9:
02/26 10:03:18 yS2 mgetty: experimental test release 1.1.24-Jan07
02/26 10:03:18 yS2 check for lockfiles
02/26 10:03:18 yS2 huh? It's *our* lock file!
02/26 10:03:18 yS2 locking the line
02/26 10:03:18 yS2 makelock(ttyS2) called
02/26 10:03:18 yS2 do_makelock: lock='/var/lock/LCK..ttyS2'
02/26 10:03:18 yS2 we *have* the line!
02/26 10:03:18 yS2 lock made
02/26 10:03:19 yS2 tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
02/26 10:03:19 yS2 WARNING: DCD line still active, check modem settings (AT&Dx)
02/26 10:03:19 yS2 tss: set speed to 57600 (10001)
02/26 10:03:19 yS2 tio_set_flow_control( HARD )
02/26 10:03:19 yS2 waiting for line to clear (VTIME), read:
02/26 10:03:19 yS2 waiting for line to clear (VTIME), read:
02/26 10:03:19 yS2 removing lock file
02/26 10:03:19 yS2 waiting...
02/26 10:03:19 yS2 checking lockfiles, locking the line
02/26 10:03:19 yS2 makelock(ttyS2) called
02/26 10:03:19 yS2 do_makelock: lock='/var/lock/LCK..ttyS2'
02/26 10:03:19 yS2 lock made
02/26 10:03:19 yS2 waiting for line to clear (VTIME), read:
02/26 10:03:20 yS2 looking for utmp entry... (my PID: 25595)
02/26 10:03:20 yS2 utmp + wtmp entry made
02/26 10:03:20 yS2 tio_set_flow_control( HARD )
02/26 10:03:20 yS2 print welcome banner (/etc/issue)
02/26 10:03:20 yS2 getlogname (AUTO_PPP), read:glenn[0d]
02/26 10:03:22 yS2 input finished with '\r', setting ICRNL ONLCR
02/26 10:03:22 yS2 tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
02/26 10:03:22 yS2 login: use login config file /etc/mgetty+sendfax/login.config
02/26 10:03:22 yS2 match: user='glenn', key=''
02/26 10:03:22 yS2 match: user='glenn', key=''
02/26 10:03:22 yS2 match: user='glenn', key=''
02/26 10:03:22 yS2 match: user='glenn', key='*'*** hit!
02/26 10:03:22 yS2 calling login: cmd='/bin/login', argv[]='login glenn'
02/26 10:03:22 ##### data dev=ttyS2, pid=25595, caller='none', conn='DIRECT', name='', cmd='/bin/login', user='glenn'
02/26 10:03:22 yS2 setenv: 'CALLER_ID=none'
02/26 10:03:22 yS2 setenv: 'CALLED_ID='
02/26 10:03:22 yS2 setenv: 'CONNECT=DIRECT'
____________________ 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@hylafax.org < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*