[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mgetty SLOWness




Last night I managed to switch from getty to mgetty on my dialup line. I
built the package under ports/comms, it was pretty painless and everything
seems to work, but somehow I can't get a connection higher than 33600,
(both ends are 56k V.90 modems), also the performance on the line is
horrible, i can barely get a 500 bytes/sec on transfers. (the connection
seems to work however) the same hardware previously using getty
consistently connects at 57600, and performs much better.

This is running OpenBSD-current nov29, on mac68k, using a Global
Village Teleport X2/V.90 external modem(the modem has been updated to the
latest firmware, and the complete AT reference can be found at 
http://www.globalvillage.com/support/teleport-56k-x2.html)

here is my  setup

             192.168.1.100 ________________
dialup   _______     ppp0 |                | 
--------| modem |---------|  openbsd m68k  |
        ---------         |________________|
                            ae0|      |sn0
                   192.168.1.29|      |209.220.21.100
                               |      |
                               |      |______ to internet
                               |
                   to internal nets     
                   
ipnat has the following simple config

     map sn0 192.168.1.0/24 -> 0.0.0.0/32 portmap tcp/udp 10000:40000

could someone shed some light on this subject? 

what does the "tio_get_rs232_lines: TIOCMGET failed: Inappropriate
ioctl for device" mean? 

below are the config/log that might be useful.

Thanks much in advance.

-Jake

------------------------- mgetty.config ------------------------------
port tty00
debug 4
fax-id 1 212 8649485
speed 57600
direct NO
blocking NO
port-owner uucp
port-group dialer
port-mode 0660
toggle-dtr YES
toggle-dtr-waittime 500
data-only NO
fax-only NO
modem-type auto
init-chat "" ATZ
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 false
issue-file /etc/issue
prompt-waittime 500
login-prompt login:
login-time 180
diskspace 1024
notify fax@10k.org
fax-owner jake
fax-group dialer
fax-mode 0600

-------------------------- log file ----------------------------------
01/09 09:18:13 y00  mgetty: experimental test release 1.1.21-Jul24
01/09 09:18:13 y00  check for lockfiles
01/09 09:18:13 y00  locking the line
01/09 09:18:14 y00  tio_get_rs232_lines: TIOCMGET failed: Inappropriate
ioctl for device
01/09 09:18:14 y00  lowering DTR to reset Modem
01/09 09:18:15 y00  send: ATZ[0d]
01/09 09:18:15 y00  mdm_send: 'ATI'
01/09 09:18:15 y00  non-numeric ID string: 'ATZ'
01/09 09:18:15 y00  mdm_send: 'AT+FCLASS=2.0' -> OK
01/09 09:18:15 y00  mdm_send: 'AT+FAA=1;+FCR=1' -> OK
01/09 09:18:15 y00  mdm_send: 'AT+FBO=1' -> OK
01/09 09:18:16 y00  mdm_send: 'AT+FNR=1,1,1,0' -> OK
01/09 09:18:16 y00  mdm_send: 'AT+FLI="1 212 8649485"' -> OK
01/09 09:18:16 y00  mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0' -> OK
01/09 09:18:16 y00  waiting...
01/09 09:19:38 y00  wfr: waiting for ``RING''
01/09 09:19:49 y00  send: ATA[0d]
01/09 09:19:49 y00  waiting for ``CONNECT'' ** found **
01/09 09:20:02 y00  send:
01/09 09:20:02 y00  waiting for ``_'' ** found **
01/09 09:20:20 y00  tio_get_rs232_lines: TIOCMGET failed: Inappropriate
ioctl for device
01/09 09:20:20 y00  WARNING: starting login while DCD is low!
01/09 09:20:20 ##### data dev=tty00, pid=14030, caller='none',
conn='33600/ARQ/V34/LAPM/V42BIS', name='', cmd='/usr/bin/login',
user='jake'



-------------------- modem ATI queries ------------------------------
ati0
Global Village Communication

ati1
EBED

OK

ati3
A702-V.90-x2_DS V114.704.2_TP

OK
ati4
Global Village TelePort 56 V.90 x2 Fax Settings...

   B0  E1  F1  M1  Q0  V1  X4  Y0
   BAUD=57600  PARITY=N  WORDLEN=8
   DIAL=TONE    ON HOOK   CID=0

   &A3  &B1  &C1  &D0  &G0  &H3  &I2  &K1
   &M4  &N0  &P0  &R2  &S0  &T5  &U0  &Y1

   S00=000  S01=000  S02=255  S03=013  S04=010  S05=008  S06=002
   S07=060  S08=002  S09=006  S10=014  S11=070  S12=050  S13=000
   S15=000  S16=000  S18=000  S19=000  S21=010  S22=017  S23=019
   S25=005  S27=000  S28=008  S29=020  S30=000  S31=128  S32=002
   S33=000  S34=000  S35=000  S36=014  S38=000  S39=000  S40=001
   S41=001  S42=000

   LAST DIALED #:

OK
ati6
Global Village TelePort 56 V.90 x2 Fax Link Diagnostics...

Chars sent                    0      Chars Received                0
Chars lost                    0
Octets sent                   0      Octets Received               0
Blocks sent                   0      Blocks Received               0
Blocks resent                 0

Retrains Requested            0      Retrains Granted              0
Line Reversals                0      Blers                         0
Link Timeouts                 0      Link Naks                     0

Data Compression       NONE
Equalization           Long
Fallback               Enabled
Last Call              00:00:00

No Connection

OK
ati7
Configuration Profile...

Product type           US/Canada External
Product ID:            TIGVEN1F
Options                V32bis,V.34+,x2,V.90
Fax Options            Class 1/Class 2.0
Line Options           Caller ID, Distinctive Ring
Clock Freq             92.0Mhz
EPROM                  256k
RAM                    32k

FLASH date             4/8/98
FLASH rev              114.704.2

DSP date               4/8/98
DSP rev                114.704.2

OK
ati9
(1.0GVL8003\\Modem\PNPC107\TelePort 56 V.90 x2 FAX EXT)FF




-------------------------- log file ----------------------------------
01/09 09:18:13 y00  mgetty: experimental test release 1.1.21-Jul24
01/09 09:18:13 y00  check for lockfiles
01/09 09:18:13 y00  locking the line
01/09 09:18:14 y00  tio_get_rs232_lines: TIOCMGET failed: Inappropriate
ioctl for device
01/09 09:18:14 y00  lowering DTR to reset Modem
01/09 09:18:15 y00  send: ATZ[0d]
01/09 09:18:15 y00  mdm_send: 'ATI'
01/09 09:18:15 y00  non-numeric ID string: 'ATZ'
01/09 09:18:15 y00  mdm_send: 'AT+FCLASS=2.0' -> OK
01/09 09:18:15 y00  mdm_send: 'AT+FAA=1;+FCR=1' -> OK
01/09 09:18:15 y00  mdm_send: 'AT+FBO=1' -> OK
01/09 09:18:16 y00  mdm_send: 'AT+FNR=1,1,1,0' -> OK
01/09 09:18:16 y00  mdm_send: 'AT+FLI="1 212 8649485"' -> OK
01/09 09:18:16 y00  mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0' -> OK
01/09 09:18:16 y00  waiting...
01/09 09:19:38 y00  wfr: waiting for ``RING''
01/09 09:19:49 y00  send: ATA[0d]
01/09 09:19:49 y00  waiting for ``CONNECT'' ** found **
01/09 09:20:02 y00  send:
01/09 09:20:02 y00  waiting for ``_'' ** found **
01/09 09:20:20 y00  tio_get_rs232_lines: TIOCMGET failed: Inappropriate
ioctl for device
01/09 09:20:20 y00  WARNING: starting login while DCD is low!
01/09 09:20:20 ##### data dev=tty00, pid=14030, caller='none',
conn='33600/ARQ/V34/LAPM/V42BIS', name='', cmd='/usr/bin/login',
user='jake'