LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   echo local console to a telnet session (https://www.linuxquestions.org/questions/linux-newbie-8/echo-local-console-to-a-telnet-session-4175448359/)

fred?@yhti.net 02-02-2013 12:45 PM

echo local console to a telnet session
 
I am trying to see the output to the local monitor via telnet session. I would like to echo all errors, etc that go to the local monitor to my telnet session. How?
TIA for the help.

jpollard 02-02-2013 01:31 PM

I don't believe you can.

Normally such output is redirected to syslog, so a simple tail -f /var/log/messages will get most of that.

fred?@yhti.net 02-10-2013 09:43 AM

Still need help
 
Unfortunatley looking at syslog is of no help. I suspect I am getting errors and the system locks up before it can write to syslog. That is why I was hoping to have a telnet session open to see if any errors go to the console prior to lockup. Any suggestions are appreciate. System locks up with no errors in messages, etc.
TIA

jpollard 02-10-2013 12:01 PM

The only sure thing (well, relatively anyway) is to use a serial console and attach that to a different system.

This is because messages at that level don't leave the kernel... they only show up on the console (usually).

You have to then boot with the options "console=tty0 console=ttyS1,19200n8" (the 19200n8 sets the baud rate, no parity, 8 bit operation).

http://www.cyberciti.biz/faq/linux-s...console-howto/


All times are GMT -5. The time now is 06:35 PM.