Hi,
Dev.pty -n16 &
Dev.pty -n16 -N/dev/ptyq /dev/ttyq &
I get an error message when I try to start another Dev.pty 16 sessions.
“Dev.pty registration failed”
What do I have to do to pass over this error?
lf
Hi,
Dev.pty -n16 &
Dev.pty -n16 -N/dev/ptyq /dev/ttyq &
I get an error message when I try to start another Dev.pty 16 sessions.
“Dev.pty registration failed”
What do I have to do to pass over this error?
lf
Judging from your commands I assume this is QNX4 we’re talking about.
It could mean you’re running out of Dev slots. Try increasing the #
device registration slots in Dev (it’s documented):
Dev -n200 &
If you still need more, there is the option of starting more Dev’s with
different prefixes. But you need to start the Dev.xxx drivers with
corresponding prefixes to use the new instances of Dev.
And if it’s just more PTY’s for use with telnet sessions you’re
interested in, then it can be done also, but you need to set things up
in a special way (with special -N prefixes). How this is done is spread
out in the docs here and there. Search for “extended pty’s” (I think
it’s in the documentation for the open_pty() library function). That
will hint you on how to start up the Dev’s and Dev.pty’s.
good luck,
rick
Why am I so verbose about this? A few months ago I’ve been there and
done that
Louis Francoeur wrote:
Hi,
Dev.pty -n16 &
Dev.pty -n16 -N/dev/ptyq /dev/ttyq &
I get an error message when I try to start another Dev.pty 16 sessions.“Dev.pty registration failed”
What do I have to do to pass over this error?
lf
Louis Francoeur <lfrancoeur@silbec.com> wrote:
Hi,
Dev.pty -n16 &
Dev.pty -n16 -N/dev/ptyq /dev/ttyq &
I get an error message when I try to start another Dev.pty 16 sessions.
The -N option requires a comma between the two names. (Though this may
be just a typo in the post.)
Also, check number of Devices you’ve told Dev to support – you may be running
out.
Also, preferred is:
QNX Training Services
dagibbs@qnx.com
David Gibbs wrote:
Louis Francoeur <> lfrancoeur@silbec.com> > wrote:
Hi,Dev.pty -n16 &
Dev.pty -n16 -N/dev/ptyq /dev/ttyq &
I get an error message when I try to start another Dev.pty 16 sessions.The -N option requires a comma between the two names. (Though this may
be just a typo in the post.)
I also thought so, but surprisingly Dev.pty seems to accept that…
rick
[…]
-David
QNX Training Services
dagibbs@qnx.com