mgetty won't answer me...

Justin Burdine (justin@mvfx.com)
Wed, 10 Feb 1999 00:11:48 +0000



Perhaps someone can point me in the right direction...
I am trying desperately to get a freebsd dialup box working.  I was
successful with getty to establish a ppp conection... However, I am
wanting to use mgetty.   The box I am using is a 386 FreeBSD 2.2.7 using
the mgetty 1.1.16 that came in user ports.

The problem I am having is that it picks up the incoming call then
immediatly hangs up due to "no carrier"  I have disabled the carrier
detect in every combination I can think of, however it still does not
want to send its tones to the incoming modem.

below are logs and related files...  help me obi-wan you are my only
hope...  ;)


/etc/ttys

ttyd0   "/usr/local/sbin/mgetty -D -s 19200"  dialup on

 /usr/local/etc/mgetty+sendfax/mgetty.config

port ttyd0
debug 9
fax-id 864-9736
speed 38400
direct NO
blocking NO
port-owner uucp
port-group uucp
port-mode 0660
toggle-dtr YES
toggle-dtr-waittime 500
data-only YES
fax-only NO
modem-type data
init-chat "" ATS0=1&F1 OK
modem-check-time 3600
rings 1
answer-chat "" ATA CONNECT \c \r
answer-chat-timeout 80
autobauding NO
ringback NO
ringback-time 30
ignore-carrier true
issue-file /etc/issue
prompt-waittime 500
login-prompt @!login:
login-time 240
diskspace 1024
notify faxadmin
fax-owner uucp
fax-group modem
fax-mode 0660


/var/log/mgetty.ttyd0

02/09 18:03:09 yd0  mgetty: experimental test release 1.1.16-Jul05
02/09 18:03:09 yd0  check for lockfiles
02/09 18:03:09 yd0   checklock: stat failed, no file
02/09 18:03:09 yd0  locking the line
02/09 18:03:09 yd0   makelock(ttyd0) called
02/09 18:03:09 yd0   do_makelock: lock='/var/spool/lock/LCK..ttyd0'
02/09 18:03:09 yd0   lock made
02/09 18:03:12 yd0   tio_get_rs232_lines: status: RTS CTS DSR DTR
02/09 18:03:12 yd0  lowering DTR to reset Modem
02/09 18:03:12 yd0   tss: set speed to 19200 (45400)
02/09 18:03:12 yd0   tio_set_flow_control( HARD )
02/09 18:03:12 yd0   waiting for line to clear (VTIME), read:
02/09 18:03:12 yd0  send: ATS0=1&F1[0d]
02/09 18:03:12 yd0  waiting for ``OK''
02/09 18:03:12 yd0   got: ATS0=1&F1[0d]
02/09 18:03:12 yd0    CND: ATS0=1&F1[0d][0a]OK ** found **
02/09 18:03:12 yd0   waiting for line to clear (VTIME), read: [0d][0a]
02/09 18:03:13 yd0   removing lock file
02/09 18:03:13 yd0  waiting...
02/09 18:05:12 yd0    select returned 1
02/09 18:05:12 yd0   checking lockfiles, locking the line
02/09 18:05:12 yd0   makelock(ttyd0) called
02/09 18:05:12 yd0   do_makelock: lock='/var/spool/lock/LCK..ttyd0'
02/09 18:05:12 yd0   lock made
02/09 18:05:12 yd0  wfr: waiting for ``RING''
02/09 18:05:12 yd0   got: [0d][0a]RING[0d]
02/09 18:05:12 yd0    CND: RING
02/09 18:05:12 yd0   wfr: rc=0, drn=0
02/09 18:05:12 yd0    CND: check no: 'none'
02/09 18:05:12 yd0  send: ATA[0d]
02/09 18:05:12 yd0  waiting for ``CONNECT''
02/09 18:05:12 yd0   got: [0d]
02/09 18:05:12 yd0    CND: OK[0a]NO CARRIER
02/09 18:05:12 yd0  found action string: ``NO CARRIER''
02/09 18:05:12 ##### failed A_FAIL dev=ttyd0, pid=3889, caller='none',
conn='', name=''


any ideas would be most appreciated,
    THANKS

Justin