LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 12: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, 01:31 PM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
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, 09: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, 12:01 PM   #4
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
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 12:06 PM.
 
  


Reply



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 09:32 AM
copy files from telnet session to local drive rkemp Linux - Networking 7 03-11-2009 05:01 AM
incorrect login on the console but accepted on telnet-ssh session jovercam Linux - Security 6 01-30-2009 09:02 PM
console formatting over telnet session mikoroz Linux - Newbie 2 11-12-2007 03:57 AM
Echo in telnet session ??? baldurkn Programming 3 08-25-2004 06:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:18 PM.

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
Open Source Consulting | Domain Registration