Hi…
I need to start more than 4 consoloes at boot up. How do I tell the
system to do so? (Note: I am not talking about configuring an .ifs file,
but rather starting more consoles from rc.local or sysinit for example.)
I’ve looked at the documentation, but I have not found how to do so.
Thanks.
Regards…
Miguel.
Miguel Simon wrote:
I need to start more than 4 consoloes at boot up. How do I tell the
system to do so? (Note: I am not talking about configuring an .ifs file,
but rather starting more consoles from rc.local or sysinit for example.)
I’ve looked at the documentation, but I have not found how to do so.
devc-con’s -n option controls the number of consoles; the default is 4,
the maximum is 9. Adding a “-n number_of_consoles” option to wherever
you’re starting devc-con should do the trick.
(This is in the Utilities Reference, BTW.)
–
Chris Herborth (cherborth@qnx.com)
Never send a monster to do the work of an evil scientist.
Miguel Simon <simon@ou.edu> wrote:
Hi…
I need to start more than 4 consoloes at boot up. How do I tell the
system to do so? (Note: I am not talking about configuring an .ifs file,
but rather starting more consoles from rc.local or sysinit for example.)
I’ve looked at the documentation, but I have not found how to do so.
If you’re talking a standard desk-top boot, this is a command line
option to diskboot in the build file. To change it, you’d need to
modify the +script portion for diskboot, build a new image, and replace
your /.boot file with the new one.
-David
David Gibbs
QNX Training Services
dagibbs@qnx.com
“Chris Herborth” <cherborth@qnx.com> wrote in message
news:d2eirs$2k0$1@inn.qnx.com…
Miguel Simon wrote:
I need to start more than 4 consoloes at boot up. How do I tell the
system to do so? (Note: I am not talking about configuring an .ifs file,
but rather starting more consoles from rc.local or sysinit for example.)
I’ve looked at the documentation, but I have not found how to do so.
devc-con’s -n option controls the number of consoles; the default is 4,
the maximum is 9. Adding a “-n number_of_consoles” option to wherever
you’re starting devc-con should do the trick.
Just for information’s sake, what if he’d want 30 consoles.
(This is in the Utilities Reference, BTW.)
–
Chris Herborth (> cherborth@qnx.com> )
Never send a monster to do the work of an evil scientist.
Mario Charest postmaster@127.0.0.1 wrote:
Just for information’s sake, what if he’d want 30 consoles.
Run Photon and use 30 pterms?
Port/find a copy of screen for QNX 6 and use it.
-David
David Gibbs
QNX Training Services
dagibbs@qnx.com
Hi David…
Thanks. I know that this will get it done, and it seems that it is the
only way indeed. I was hopping that I could add something in some
configuration file somewhere and not have to update the .boot file.
Thanks…
Regards.
Miguel.
David Gibbs wrote:
Miguel Simon <> simon@ou.edu> > wrote:
Hi…
I need to start more than 4 consoloes at boot up. How do I tell the
system to do so? (Note: I am not talking about configuring an .ifs file,
but rather starting more consoles from rc.local or sysinit for example.)
I’ve looked at the documentation, but I have not found how to do so.
If you’re talking a standard desk-top boot, this is a command line
option to diskboot in the build file. To change it, you’d need to
modify the +script portion for diskboot, build a new image, and replace
your /.boot file with the new one.
-David
Hi Chris…
Thanks for your help.
This -n# is only present in the *.build file which I can update +
compile to generate a new .boot file. It seems that this is the only way
to go about doing this. I was hopping that this option would come from a
configuration file, but it seems not be the case. Thanks again.
What would be the limit of how may consoles could I init? In QNX.4.xx
the limit was 9 consoles I think. Is there any such limit in 6.3.xx?
Note that these are embedded systems running in remote locations. Thanks.
Regards…
Miguel.
Chris Herborth wrote:
Miguel Simon wrote:
I need to start more than 4 consoloes at boot up. How do I tell the
system to do so? (Note: I am not talking about configuring an .ifs
file, but rather starting more consoles from rc.local or sysinit for
example.) I’ve looked at the documentation, but I have not found how
to do so.
devc-con’s -n option controls the number of consoles; the default is 4,
the maximum is 9. Adding a “-n number_of_consoles” option to wherever
you’re starting devc-con should do the trick.
(This is in the Utilities Reference, BTW.)
“Miguel Simon” <simon@ou.edu> wrote in message
news:d2eutr$bin$1@inn.qnx.com…
Hi Chris…
Thanks for your help.
This -n# is only present in the *.build file which I can update + compile
to generate a new .boot file. It seems that this is the only way to go
about doing this. I was hopping that this option would come from a
configuration file, but it seems not be the case. Thanks again.
What would be the limit of how may consoles could I init? In QNX.4.xx the
limit was 9 consoles I think.
Not really you could have LOTS of virtual consoles by starting Dev.ditto.
“David Gibbs” <dagibbs@qnx.com> wrote in message
news:d2et6f$a1p$1@inn.qnx.com…
Mario Charest postmaster@127.0.0.1 wrote:
Just for information’s sake, what if he’d want 30 consoles.
Run Photon and use 30 pterms?
I heard that answer many time before and I think it sound anti-embedded if
you ask me… Add 16 Meg (wild guess ) of software to get more then 9
consoles…
Port/find a copy of screen for QNX 6 and use it.
Screen is not officially supported by QSS.
Anyway that issue has been discuss before, hence I`ll leave it at that.
-David
David Gibbs
QNX Training Services
dagibbs@qnx.com
Miguel Simon <simon@ou.edu> wrote:
Hi David…
Thanks. I know that this will get it done, and it seems that it is the
only way indeed. I was hopping that I could add something in some
configuration file somewhere and not have to update the .boot file.
Nope, sorry.
Of course, you could probably have diskboot not start devc-con, and start
it in one of the scripts that run after the image has completed. I don’t
think anything diskboot does depends on devc-con having been started.
And, the maximum number of consoles devc-con will support is 9. (Dev.con
under QNX4 supported 10.)
-David
David Gibbs
QNX Training Services
dagibbs@qnx.com
Uzytkownik “Miguel Simon” <simon@ou.edu> napisal w wiadomosci
news:d2eutr$bin$1@inn.qnx.com…
Hi Chris…
Thanks for your help.
This -n# is only present in the *.build file which I can update + compile
to generate a new .boot file. It seems that this is the only way to go
about doing this. I was hopping that this option would come from a
configuration file, but it seems not be the case. Thanks again.
Generating the new OS image is not necessary.
Under QNX Neutrino you can write simple macro (i. e. “con_restart”):
slay devc-con
devc-con -n8
tinit
and call it from rc.local file:
con_restart
And don’t forget to modify /etc/config/ttys file:
…
con5 “/bin/login” quansi-m on
con6 “/bin/login” quansi-m on
…
Regards,
Jacek
What would be the limit of how may consoles could I init? In QNX.4.xx the
limit was 9 consoles I think. Is there any such limit in 6.3.xx? Note that
these are embedded systems running in remote locations. Thanks.
Regards…
Miguel.
Chris Herborth wrote:
Miguel Simon wrote:
I need to start more than 4 consoloes at boot up. How do I tell the
system to do so? (Note: I am not talking about configuring an .ifs file,
but rather starting more consoles from rc.local or sysinit for example.)
I’ve looked at the documentation, but I have not found how to do so.
devc-con’s -n option controls the number of consoles; the default is 4,
the maximum is 9. Adding a “-n number_of_consoles” option to wherever
you’re starting devc-con should do the trick.
(This is in the Utilities Reference, BTW.)
Hi Jacek…
Thanks. This works indeed; in retrospect, I should have thought about
it. Thanks.
Regards…
Miguel.
Jacek Rudnicki wrote:
Uzytkownik “Miguel Simon” <> simon@ou.edu> > napisal w wiadomosci
news:d2eutr$bin$> 1@inn.qnx.com> …
Hi Chris…
Thanks for your help.
This -n# is only present in the *.build file which I can update + compile
to generate a new .boot file. It seems that this is the only way to go
about doing this. I was hopping that this option would come from a
configuration file, but it seems not be the case. Thanks again.
Generating the new OS image is not necessary.
Under QNX Neutrino you can write simple macro (i. e. “con_restart”):
slay devc-con
devc-con -n8
tinit
and call it from rc.local file:
con_restart
And don’t forget to modify /etc/config/ttys file:
…
con5 “/bin/login” quansi-m on
con6 “/bin/login” quansi-m on
…
Regards,
Jacek
What would be the limit of how may consoles could I init? In QNX.4.xx the
limit was 9 consoles I think. Is there any such limit in 6.3.xx? Note that
these are embedded systems running in remote locations. Thanks.
Regards…
Miguel.
Chris Herborth wrote:
Miguel Simon wrote:
I need to start more than 4 consoloes at boot up. How do I tell the
system to do so? (Note: I am not talking about configuring an .ifs file,
but rather starting more consoles from rc.local or sysinit for example.)
I’ve looked at the documentation, but I have not found how to do so.
devc-con’s -n option controls the number of consoles; the default is 4,
the maximum is 9. Adding a “-n number_of_consoles” option to wherever
you’re starting devc-con should do the trick.
(This is in the Utilities Reference, BTW.)
\