I am having trouble logging in with one of my modems.
Jason Earl (jearl@box100.com)
Wed, 30 Dec 1998 16:54:42 -0700
Please excuse me if this is a question that comes up a million times a
day. I looked over the mailing list archives, and I did a search on
Deja News and found two people with similiar problems, but I could not
find any followups to either posts.
And I would really like to get this to work...
My dial in server and both of the clients I have tested are RedHat 5.2
boxes with are using the mgetty-sendfax RPM. Currently the server only
allows someone to log in using /bin/login (with the hopes some day of
getting AutoPPP to work as well). The modem on the server is an
external USR Sportster 33.6.
Everything works fine, on both clients, when I use the external
Practical Peripherals 14.4 modem that I have laying around. I can dial
in (using minicom), connect, log on, and work without any problems.
However, whenever I try to use one of the several USR 56K internal
modems that I have access to I am able to dial in, connect, but when I
start typing in the username I am able to type in 4 characters and then
mgetty has a problem. I thought at first it was a IRQ conflict with the
modem, but I removed all of the other cards in the machine and I still
had the same problem. I also played with setserial and the jumpers on
the card so that the modem WOULD have an IRQ conflict, and the modem
still worked (after a fashion) it just seemed MUCH more sluggish.
Here is a sample mgetty.log.ttyS0 where I was attempting to log on as
"tester":
12/30 15:15:42 ##### failed dev=ttyS0, pid=616, got signal 15, exiting
--
12/30 15:15:42 yS0 mgetty: experimental test release 1.1.14-Apr02
12/30 15:15:42 yS0 mgetty.c compiled at Oct 12 1998, 20:53:55
12/30 15:15:42 yS0 user id: 0, parent pid: 1
12/30 15:15:42 yS0 reading configuration data for port 'ttyS0'
12/30 15:15:42 yS0 reading /etc/mgetty+sendfax/mgetty.config...
12/30 15:15:42 yS0 conf lib: read: 'debug 4'
12/30 15:15:42 yS0 conf lib: read: 'fax-id 49 89 xxxxxxxx'
12/30 15:15:42 yS0 conf lib: read: 'speed 115200'
12/30 15:15:42 yS0 conf lib: read: 'port ttyS0'
12/30 15:15:42 yS0 section: port ttyS0, **found**
12/30 15:15:42 yS0 conf lib: read: 'init-chat ""
\d\d\d+++\d\d\dATE1V1Q0&S0&D2&C1S0=0S13=1 OK'
12/30 15:15:42 yS0 key: 'speed', type=0, flags=3, data=115200
12/30 15:15:42 yS0 key: 'switchbd', type=0, flags=1, data=0
12/30 15:15:42 yS0 key: 'direct', type=3, flags=1, data=FALSE
12/30 15:15:42 yS0 key: 'blocking', type=3, flags=1, data=FALSE
12/30 15:15:42 yS0 key: 'port-owner', type=1, flags=1, data=uucp
12/30 15:15:42 yS0 key: 'port-group', type=1, flags=1, data=uucp
12/30 15:15:42 yS0 key: 'port-mode', type=0, flags=1, data=432
12/30 15:15:42 yS0 key: 'toggle-dtr', type=3, flags=1, data=TRUE
12/30 15:15:42 yS0 key: 'toggle-dtr-waittime', type=0, flags=1,
data=500
12/30 15:15:42 yS0 key: 'data-only', type=3, flags=2, data=TRUE
12/30 15:15:42 yS0 key: 'fax-only', type=3, flags=1, data=FALSE
12/30 15:15:42 yS0 key: 'modem-type', type=1, flags=1, data=auto
12/30 15:15:42 yS0 key: 'modem-quirks', type=0, flags=0, data=(empty)
12/30 15:15:42 yS0 key: 'init-chat', type=2, flags=3, data=
\d\d\d+++\d\d\dATE1V1Q0&S0&D2&C1S0=0S13=1 OK
12/30 15:15:42 yS0 key: 'force-init-chat', type=2, flags=1, data=
\d\d\d\d+++\d\d\d
\dATQ0V1H0 OK
12/30 15:15:42 yS0 key: 'modem-check-time', type=0, flags=1, data=3600
12/30 15:15:42 yS0 key: 'rings', type=0, flags=1, data=1
12/30 15:15:42 yS0 key: 'get-cnd-chat', type=2, flags=0, data=(empty)
12/30 15:15:42 yS0 key: 'answer-chat', type=2, flags=1, data= ATA
CONNECT \c
12/30 15:15:42 yS0 key: 'answer-chat-timeout', type=0, flags=1,
data=80
12/30 15:15:42 yS0 key: 'autobauding', type=3, flags=1, data=FALSE
12/30 15:15:42 yS0 key: 'ringback', type=3, flags=1, data=FALSE
12/30 15:15:42 yS0 key: 'ringback-time', type=0, flags=1, data=30
12/30 15:15:42 yS0 key: 'ignore-carrier', type=3, flags=1, data=FALSE
12/30 15:15:42 yS0 key: 'issue-file', type=1, flags=1, data=/etc/issue
12/30 15:15:42 yS0 key: 'prompt-waittime', type=0, flags=1, data=500
12/30 15:15:42 yS0 key: 'login-prompt', type=1, flags=1, data=@ login:
12/30 15:15:42 yS0 key: 'login-time', type=0, flags=1, data=240
12/30 15:15:42 yS0 key: 'fido-send-emsi', type=3, flags=1, data=TRUE
12/30 15:15:42 yS0 key: 'fax-id', type=1, flags=3, data=49 89 xxxxxxxx
12/30 15:15:42 yS0 key: 'fax-server-file', type=1, flags=0,
data=(empty)
12/30 15:15:42 yS0 key: 'diskspace', type=0, flags=1, data=1024
12/30 15:15:42 yS0 key: 'notify', type=1, flags=1, data=root
12/30 15:15:42 yS0 key: 'fax-owner', type=1, flags=1, data=uucp
12/30 15:15:42 yS0 key: 'fax-group', type=1, flags=0, data=(empty)
12/30 15:15:42 yS0 key: 'fax-mode', type=0, flags=1, data=432
12/30 15:15:42 yS0 key: 'debug', type=0, flags=2, data=9
12/30 15:15:42 yS0 key: 'statistics-chat', type=2, flags=0,
data=(empty)
12/30 15:15:42 yS0 key: 'statistics-file', type=1, flags=0,
data=(empty)
12/30 15:15:42 yS0 key: 'gettydefs', type=1, flags=1, data=n
12/30 15:15:42 yS0 key: 'term', type=1, flags=0, data=(empty)
12/30 15:15:42 yS0 check for lockfiles
12/30 15:15:42 yS0 checklock: stat failed, no file
12/30 15:15:42 yS0 locking the line
12/30 15:15:42 yS0 makelock(ttyS0) called
12/30 15:15:42 yS0 do_makelock: lock='/var/lock/LCK..ttyS0'
12/30 15:15:42 yS0 lock made
12/30 15:15:43 yS0 tio_get_rs232_lines: status: RTS CTS DSR DTR
12/30 15:15:43 yS0 lowering DTR to reset Modem
12/30 15:15:43 yS0 tss: set speed to 115200 (10002)
12/30 15:15:43 yS0 tio_set_flow_control( HARD )
12/30 15:15:43 yS0 waiting for line to clear (VTIME), read:
12/30 15:15:44 yS0 send: \d\d\d+++\d\d\dATE1V1Q0&S0&D2&C1S0=0S13=1[0d]
12/30 15:15:47 yS0 waiting for ``OK''
12/30 15:15:47 yS0 got: +++ATE1V1Q0&S0&D2&C1S0=0S13=1[0d]
12/30 15:15:47 yS0 CND: +++ATE1V1Q0&S0&D2&C1S0=0S13=1[0d][0a]OK **
found **
12/30 15:15:47 yS0 waiting for line to clear (VTIME), read: [0d][0a]
12/30 15:15:47 yS0 removing lock file
12/30 15:15:47 yS0 waiting...
12/30 15:16:18 yS0 select returned 1
12/30 15:16:18 yS0 checking lockfiles, locking the line
12/30 15:16:18 yS0 makelock(ttyS0) called
12/30 15:16:18 yS0 do_makelock: lock='/var/lock/LCK..ttyS0'
12/30 15:16:18 yS0 lock made
12/30 15:16:18 yS0 waiting for ``RING''
12/30 15:16:18 yS0 got: [0d]
12/30 15:16:18 yS0 CND: OK[0a]RING ** found **
12/30 15:16:18 yS0 CND: check no: 'none'
12/30 15:16:18 yS0 send: ATA[0d]
12/30 15:16:18 yS0 waiting for ``CONNECT''
12/30 15:16:18 yS0 got: [0d]
12/30 15:16:18 yS0 CND: RING[0a]ATA[0d]
12/30 15:16:18 yS0 CND: ATA[0d][0a]CONNECT ** found **
12/30 15:16:30 yS0 send:
12/30 15:16:30 yS0 waiting for ``_''
12/30 15:16:30 yS0 got: 31200/ARQ/V34/LAPM/V42BIS[0d]
12/30 15:16:30 yS0 CND: CONNECT 31200/ARQ/V34/LAPM/V42BIS
12/30 15:16:30 yS0 CND: found: 31200/ARQ/V34/LAPM/V42BIS[0a] ** found
**
12/30 15:16:30 yS0 waiting for line to clear (VTIME), read:
12/30 15:16:30 yS0 looking for utmp entry... (my PID: 627)
12/30 15:16:30 yS0 utmp + wtmp entry made
12/30 15:16:31 yS0 tio_set_flow_control( HARD )
12/30 15:16:31 yS0 print welcome banner (/etc/issue)
12/30 15:16:31 yS0 getlogname (AUTO_PPP), read:test
12/30 15:17:26 ##### failed dev=ttyS0, pid=627, got signal 1, exiting
Any help would be appreciated. If what I have asked is a common problem
or even (God help me) a FAQ please point me to the proper FM to read
and I promise that I will be properly embarrassed.
Thanks,
Jason Earl