Hi,
I have developed an embedded Linux system (app) which does its job well. My app is executed from inittab (using a script) so it automaticly starts, and it outputs some debug info to /dev/tty1 using the "printf" command. (Note, I do not have tty1 listed in my inittab, so that console is not used by getty at the moment)
So, locally, I can see my app's output (status) on tty1, and I can login using tty2/tty3 to do some stuff if needed.
Here comes the tricky part:
When doing remote fixing/monitoring, I login using telnet, so I am on the telnet console (pts/1). I have no way of seeing the app's output messages on tty1.
My question: Is it possible, using automatic login, to let Linux login to the 1st telnet console (pts/1) so my output messages are visible there, and so after I login with telnet, can I see my app's status then?
(I am afraid, that pts/1 is created dynamically (on telnet login) so this idea of mine probably won't work ...)
***********Maybe I am really stupid and this is all garbage I just typed. If so, could anyone point me to a solution (a simple one) where I can log in with telnet and see the output of some app (or my app).
Many regards,
Bonny