lkml.org 
[lkml]   [2002]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: how to redirect serial console to telnet session?
Date
On 10 May 2002 12:32, Chris Friesen wrote:
> Russell King wrote:
> > On Fri, May 10, 2002 at 09:05:41AM -0400, Chris Friesen wrote:
> > > Accordingly, I grabbed what looked like the important bits of xconsole,
> > > but it appears that this only gets me stuff written to /dev/console
> > > from userspace. How do I go about getting the output of kernel-level
> > > printk()s as well?
> >
> > Check the LKML archives for something called 'netconsole' (or use
> > google). It got mentioned here about 6 months to a year ago.
>
> I found some patches by Ingo Molnar, but they look like kernel mods.
>
> What I'm really looking for is a way to redirect this from userspace in a
> stock kernel. I want the serial console as normal, but then for just
> debugging this one thing I want to telnet in over ethernet and basically
> redirect /dev/ttyS0 onto my telnet session.

I did not do it myself (no need yet), but isn't this scriptable?

If you telnet into box which receives serial console data on /dev/ttyS0,
what 'cat /dev/ttyS0' would show in your telnet window?
--
vda
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.064 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site