external modems

I am trying to get an external modem to answer using QNX 4.25. Actually, I
get the modem to answer, but don’t get a login prompt. I am using a US
Robotics 56K standard modem. Any thoughts or suggestions. sysinit file
entry is tinit -c “modem -b19200 -l -r1” -t /dev/modem1 & also tried just
tinit -T /dev/modem1 & . I am able to dial out of the modem with no
problems (using qtalk).

Thanks,
John

John S. Pandolph <jpandolph@monitorlabs.com> wrote:

I am trying to get an external modem to answer using QNX 4.25. Actually, I
get the modem to answer, but don’t get a login prompt. I am using a US
Robotics 56K standard modem. Any thoughts or suggestions. sysinit file
entry is tinit -c “modem -b19200 -l -r1” -t /dev/modem1 & also tried just
tinit -T /dev/modem1 & . I am able to dial out of the modem with no
problems (using qtalk).

been a while since I debugged one of these…

Ok: if you do use qtalk to talk to the serial port, then dial in to
your machine, do you see “Ring” messages coming back from the modem?

If you do, can you establish a connection by typing “ata” into
that qtalk session?

If you don’t see the “Ring” messages, you will have to disable auto-answer
in your modem. This is probably gonna be done with an “ATZ” command,
but I don’t remember the details of those commands – probably have
to check your modem’s documention, or maybe do a bit of web-searching
for modem command strings, I think they’re generally all pretty standard
nowadays.

If you can establish a connection using qtalk & explicit ATA, next stage
is:

on -t /dev/modem1 modem -b19200 -l -r1

Then dial in, and see if you get logged in.

If that works, you may be ok there… I’m not sure if modem keeps
the port open or not – you may be able to dial out with modem
already monitoring the serial port. If you can’t qtalk out, next
step is bringing tinit back into the picture.

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.

David Gibbs <dagibbs@qnx.com> wrote:

If you don’t see the “Ring” messages, you will have to disable auto-answer
in your modem. This is probably gonna be done with an “ATZ” command,
but I don’t remember the details of those commands – probably have
to check your modem’s documention, or maybe do a bit of web-searching
for modem command strings, I think they’re generally all pretty standard
nowadays.

Set register value with ‘AT S0=0’
Check it with ‘AT?S0’

The value is the number of rings, before the modem picks up, 0
disables.


HTH,

:Karsten.


| / | __ ) | Karsten.Hoffmann@mbs-software.de MBS-GmbH
| |/| | _ _
\ Phone : +49-2151-7294-38 Karsten Hoffmann
| | | | |
) |__) | Fax : +49-2151-7294-50 Roemerstrasse 15
|| ||// Mobile: +49-172-3812373 D-47809 Krefeld

Using that Us Robotics modem. You should be able to set dip switches on back.
3,5,and 8 need to be down everything else up. That should have the modem to
answer.

“John S. Pandolph” wrote:

I am trying to get an external modem to answer using QNX 4.25. Actually, I
get the modem to answer, but don’t get a login prompt. I am using a US
Robotics 56K standard modem. Any thoughts or suggestions. sysinit file
entry is tinit -c “modem -b19200 -l -r1” -t /dev/modem1 & also tried just
tinit -T /dev/modem1 & . I am able to dial out of the modem with no
problems (using qtalk).

Thanks,
John