LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 02-02-2013, 01:45 PM   #1
fred?@yhti.net
LQ Newbie
 
Registered: Feb 2013
Posts: 2

Rep: Reputation: Disabled
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.
 
Old 02-02-2013, 02:31 PM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 2,592

Rep: Reputation: 656Reputation: 656Reputation: 656Reputation: 656Reputation: 656Reputation: 656
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.
 
Old 02-10-2013, 10:43 AM   #3
fred?@yhti.net
LQ Newbie
 
Registered: Feb 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
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
 
Old 02-10-2013, 01:01 PM   #4
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 2,592

Rep: Reputation: 656Reputation: 656Reputation: 656Reputation: 656Reputation: 656Reputation: 656
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/

Last edited by jpollard; 02-10-2013 at 01:06 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Redirecting console output from a Qt application to a telnet session bameije Linux - Embedded & Single-board computer 4 01-21-2011 10:32 AM
copy files from telnet session to local drive rkemp Linux - Networking 7 03-11-2009 06:01 AM
incorrect login on the console but accepted on telnet-ssh session jovercam Linux - Security 6 01-30-2009 10:02 PM
console formatting over telnet session mikoroz Linux - Newbie 2 11-12-2007 04:57 AM
Echo in telnet session ??? baldurkn Programming 3 08-25-2004 07:40 AM


All times are GMT -5. The time now is 04:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration