Dial-up PPP sessions

How does one setup up a bunch of modems with QNX6 and establish dial-up
PPC connections? It was easy with QNX4 due to the tinit (that works
fine) and modem processes. In QNX6 modem doesn’t seem to exist. So, is
there some other way? Surely it is possible without flying through hoops
as PPP is a pretty fundamental part of a UNIX like system. Or so I would
think…

Geoff.

Geoff

It is easy, just write a script with a forever loop that calls pppd with a
chat script with a timeout of zero to answer the phone and it will work

Rod

“Geoff” <geoff@rtts.com.au> wrote in message
news:3DEE0678.11C2CEB@rtts.com.au

How does one setup up a bunch of modems with QNX6 and establish dial-up
PPC connections? It was easy with QNX4 due to the tinit (that works
fine) and modem processes. In QNX6 modem doesn’t seem to exist. So, is
there some other way? Surely it is possible without flying through hoops
as PPP is a pretty fundamental part of a UNIX like system. Or so I would
think…

Geoff.

I’m afraid I find the idea abhorrent, after years and years of elegant
procedure with both QNX2 and QNX4 (for dial-in services (ie, tinit and
modem).

My liver is sour tonight so I’ll stop right here.

G.

Geoff

It is easy, just write a script with a forever loop that calls pppd with a
chat script with a timeout of zero to answer the phone and it will work

Rod

“Geoff” <> geoff@rtts.com.au> > wrote in message
news:> 3DEE0678.11C2CEB@rtts.com.au> …
How does one setup up a bunch of modems with QNX6 and establish dial-up
PPC connections? It was easy with QNX4 due to the tinit (that works
fine) and modem processes. In QNX6 modem doesn’t seem to exist. So, is
there some other way? Surely it is possible without flying through hoops
as PPP is a pretty fundamental part of a UNIX like system. Or so I would
think…

Geoff.

Geoff

You could port modem to rtp, but that still leaves you with no acess to it
via tinit, therefore you need to write a script that loops forever etc etc.

No one ever said rtp was elegant.

Rod

“Geoff” <geoff@rtts.com.au> wrote in message
news:3DF087E8.615B3D6C@rtts.com.au

I’m afraid I find the idea abhorrent, after years and years of elegant
procedure with both QNX2 and QNX4 (for dial-in services (ie, tinit and
modem).

My liver is sour tonight so I’ll stop right here.

G.


Geoff

It is easy, just write a script with a forever loop that calls pppd with
a
chat script with a timeout of zero to answer the phone and it will work

Rod

“Geoff” <> geoff@rtts.com.au> > wrote in message
news:> 3DEE0678.11C2CEB@rtts.com.au> …
How does one setup up a bunch of modems with QNX6 and establish
dial-up
PPC connections? It was easy with QNX4 due to the tinit (that works
fine) and modem processes. In QNX6 modem doesn’t seem to exist. So, is
there some other way? Surely it is possible without flying through
hoops
as PPP is a pretty fundamental part of a UNIX like system. Or so I
would
think…

Geoff.

I (and I daresay a few others) wouldn’t mind a QSSL response to this.
Such as yes, there’s a problem or there isn’t: if there is then its
fixed in 6.2.1. Or detail a working procedure. Anything? I like warm
fuzzy feelings.

It would be fantastic if we could have the QNX4 methods of dial-in
connection (tinit and modem) and subsequent shell or PPP establishment,
or something similar, available in QNX6.

Geoff.

Geoff wrote:

How does one setup up a bunch of modems with QNX6 and establish dial-up
PPC connections? It was easy with QNX4 due to the tinit (that works
fine) and modem processes. In QNX6 modem doesn’t seem to exist. So, is
there some other way? Surely it is possible without flying through hoops
as PPP is a pretty fundamental part of a UNIX like system. Or so I would
think…

Geoff.

“Rodney Stevens” <rodney.stevens@minerals.csiro.au> wrote in message
news:asogdb$k4a$1@inn.qnx.com

Geoff

It is easy, just write a script with a forever loop that calls pppd with a
chat script with a timeout of zero to answer the phone and it will work

Could you elaborate a bit Rodney. I read the doc for ‘chat’ but I’m still
unable to figure it out.

Rod

“Geoff” <> geoff@rtts.com.au> > wrote in message
news:> 3DEE0678.11C2CEB@rtts.com.au> …
How does one setup up a bunch of modems with QNX6 and establish dial-up
PPC connections? It was easy with QNX4 due to the tinit (that works
fine) and modem processes. In QNX6 modem doesn’t seem to exist. So, is
there some other way? Surely it is possible without flying through hoops
as PPP is a pretty fundamental part of a UNIX like system. Or so I would
think…

Geoff.

Mario

I have the following setup.

/etc/ppp/options

debug passive nodetach
connect “/usr/bin/chat -t 0 -v -f /etc/chat.script”
server.address.x.x : client.address.x.x
/dev/ser3

The last line is up to you depending on what serial port you are using.

/etc/chat.script

ABORT “ERROR”
ABORT “NO DIALTONE”
ABORT “NO ANSWER”
ABORT “BUSY”
ABORT “NO CARRIER”
" ATZ OK
" RING ATA CONNECT

my script to run pppd.

if test -f /dev/ser3; then
while test 1
do
stty +raw -hupcl < /dev/ser3
/usr/sbin/pppd
done
fi

Again you will have to substitute your own /dev/serx.
You also have to have the pppmgr running under io-net.

Rod

“Mario Charest” postmaster@127.0.0.1 wrote in message
news:b0nn43$2l5$1@nntp.qnx.com

“Rodney Stevens” <> rodney.stevens@minerals.csiro.au> > wrote in message
news:asogdb$k4a$> 1@inn.qnx.com> …
Geoff

It is easy, just write a script with a forever loop that calls pppd with
a
chat script with a timeout of zero to answer the phone and it will work


Could you elaborate a bit Rodney. I read the doc for ‘chat’ but I’m still
unable to figure it out.

Rod