Phindows via serial line - Connection Error 19

Testing this functionality as was working with QNX4:

Phindows => dialing modem => receiving modem => login => run phrelay
=> starting remote photon session
The result is “Connection Error 19”

Phindows communication:

Phindows - Accessing com2
Phindows - Waiting for phrelay on com2
Phindows
atz
OK
atdt513
CONNECT 115200
login:photon1
Phindows - Rx Ready
Phindows - Rx Opened
Phindows - Preload Font Cache
Phindows - Send Connect
Phindows
Phindows - Connection Error 19



phrelay log:

Send Ready
Receive Open (version 2.1)
Send Opened (ver 2.2)
Compressed from 24 to 15 (removed 9)
PreFont [phcursor.phf]
PreFont [pcterm14.phf]
PreFont [pcterm12.phf]
PreFont [lut12b.phf]
PreFont [lut12.phf]
PreFont [invis12.phf]
PreFont [helv24bi.phf]
PreFont [helv18bi.phf]
PreFont [helv18b.phf]
PreFont [helv14bi.phf]
PreFont [helv12b.phf]
PreFont [helv12.phf]
PreFont [helv10.phf]
PreFont [helv08.phf]
PreCache F4C67CE6 for 507
PreCache F47AFF3A for 1024
PreCache E7EB0C86 for 96
PreCache E4C3D701 for 24
PreCache E33B2713 for 120
PreCache DDC9AF94 for 180
PreCache D348662E for 1024
PreCache D25AF9D3 for 104
PreCache D1A39A81 for 40
PreCache CE9737A2 for 507
PreCache C80DC8A5 for 88
PreCache C4171218 for 1849
PreCache B2700E51 for 64
PreCache ABF1300C for 224
PreCache A4D55B73 for 1032
PreCache 9618AB66 for 24
PreCache 95C614C6 for 243
PreCache 8FF62769 for 24
PreCache 7AC3F773 for 128
PreCache 787EBF62 for 169
PreCache 74F413F7 for 128
PreCache 70AE6091 for 507
PreCache 6C8D7436 for 128
PreCache 6C783890 for 507
PreCache 6AC4744B for 207
PreCache 68D82320 for 128
PreCache 6756F058 for 64
PreCache 6584F66C for 224
PreCache 5EF5456C for 507
PreCache 59A16378 for 507
PreCache 5805D582 for 160128
PreCache 52F20AAC for 2236
PreCache 4A1E52B5 for 128
PreCache 47A208B4 for 240
PreCache 3E05B442 for 88
PreCache 3B3977E1 for 507
PreCache 3414521C for 1032
PreCache 2DFE31E1 for 104
PreCache 2D0937AD for 64
PreCache 2C18AF08 for 8
PreCache 2B242C90 for 507
PreCache 2956DFA3 for 128
PreCache 24637D5F for 64
PreCache 1FE6A264 for 64
PreCache 1E1BC4D5 for 432
PreCache 14229318 for 169
PreCache 118AD30A for 16
PreCache 115FF919 for 330
PreCache 106004D3 for 56
PreCache 0CCB78B5 for 20
PreCache 0BF53284 for 64
PreCache 0AB40C43 for 56
Receive Connect
Running Setup
spawn (/bin/sh /usr/photon/bin/ph.setup) returned 4407349 (0)
arg (/bin/sh)
arg (/usr/photon/bin/ph.setup)
/usr/photon/bin/ph.setup[37]: /font_repository: not found
Optimizing dynamic font subsystem … Please wait …
mkfontdir: invalid font directory
HOSTNAME not set.
/usr/photon/bin/Photon -N/dev/ph4386854 -g -l"/usr/photon/bin/phlogin -O"
Photon: spawn (/usr/photon/bin/Photon -N/dev/ph4386854 -g
-l"/usr/photon/bin/phlogin -O") returned 4436021 (0)T
he -larg (/usr/photon/bin/Photon)
optioarg (-N/dev/ph4386854)n
is rarg (-g)e
stricarg (-l/usr/photon/bin/phlogin -O)t
ed to superuser
Photon: Error parsing options
Cannot Open /dev/ph4386854
Connection failed (19)
Send Error (19)
Uncompressed
Signal


content of /etc/passwd

photon1::4:0::///:/Sequent/davky/PHRELAY.SH

content of /Sequent/davky/PHRELAY.SH

#!/bin/sh
stty +raw +ignbrk +ignpar </dev/ser1
exec /usr/bin/phrelay -D/phrelay.log

Last time I ran into this error (and that was at least 4 years ago :slight_smile:
it was due to running out of ptys. Make sure devc-pty is running
and / or try increasing its -n option.

-seanb

Jiri Kristek <jkristek@retia.cz> wrote:

Testing this functionality as was working with QNX4:

Phindows => dialing modem => receiving modem => login => run phrelay
=> starting remote photon session
The result is “Connection Error 19”

I am testing this with QNX6.2 PE.
What is the reason for:

Photon: Error parsing options
Cannot Open /dev/ph4386854
Connection failed (19)

/usr/photon/bin/Photon -N/dev/ph4386854 -g -l"/usr/photon/bin/phlogin -O"


“Sean Boudreau” <seanb@qnx.com> pí¹e v diskusním pøíspìvku
news:agncib$2oe$1@nntp.qnx.com

Last time I ran into this error (and that was at least 4 years ago > :slight_smile:
it was due to running out of ptys. Make sure devc-pty is running
and / or try increasing its -n option.

-seanb

Jiri Kristek <> jkristek@retia.cz> > wrote:
Testing this functionality as was working with QNX4:

Phindows => dialing modem => receiving modem => login => run phrelay
=> starting remote photon session
The result is “Connection Error 19”