?: how to setup dial-in access

Hello QNX RTP observers,

I want to permit dial-in access to a new QNX6 install. I have not
found guidance in the working copy of the Sys Admin Guide nor in other
docs and news groups. The ultimate goal is to continue testing
Phindows into this QNX box via telephone connection now that network
access is proven to work. (Many thanks to Dick Green of QNX for
furnishing key bit of information on that part of the trial).

Modem is a US Robotics 56k faxmodem (not a Win modem) jumpered for
COM2 operation. I can dial out with no problem using the Photon
dialer setup. From my Win95 PC I can start Phindows with the modem
option and ring up QNX6 but, of course, there is nothing set up to
accept the call.

I have the general idea that I need the following steps but would
appreciate brief tips to shorten my trial-and-error interval:

  1. Initialize modem – perhaps do something like:

print “[AT string that preps modem to accept calls]” > /dev/ser2

  1. Setup terminal and login function

stty [match terminal speed, etc. to modem setup] < /dev/ser2
tinit (uh…this is where things get very unclear)

Report of Phindows experience forthcoming on qdn.public.qnxrtp.photon.

Thanks
Bob Bottemiller

“Robert L. Bottemiller” wrote:

Hello QNX RTP observers,

I want to permit dial-in access to a new QNX6 install. I have not
found guidance in the working copy of the Sys Admin Guide nor in other
docs and news groups. The ultimate goal is to continue testing
Phindows into this QNX box via telephone connection now that network
access is proven to work. (Many thanks to Dick Green of QNX for
furnishing key bit of information on that part of the trial).

Modem is a US Robotics 56k faxmodem (not a Win modem) jumpered for
COM2 operation. I can dial out with no problem using the Photon
dialer setup. From my Win95 PC I can start Phindows with the modem
option and ring up QNX6 but, of course, there is nothing set up to
accept the call.

I have the general idea that I need the following steps but would
appreciate brief tips to shorten my trial-and-error interval:

  1. Initialize modem – perhaps do something like:
    print “[AT string that preps modem to accept calls]” > /dev/ser2

  2. Setup terminal and login function
    stty [match terminal speed, etc. to modem setup] < /dev/ser2
    tinit (uh…this is where things get very unclear)

What you need is someone to sense RING signal on port and wait until
CONNECT comes from modem, then spawn whatever utility you want. The
tinit could take care about RING and spawn something else upon that. To
wait for CONNECT and spawn yet another utility upon it there used to be
‘modem’ utility in QNX4, but it is not included with QNX6 … OTOH, QNX6
has nice library functions modem_xxx() which would allow you to write
one easily.

It looked like this in QNX4:
tinit -c “modem -b57600 -L -c” -t/dev/ser2 &

  • igor