On Mon, Aug 24, 2009 at 09:44:36AM +0200, Ralf Goertz wrote: > I hope you don't mind my jumping in with a question that is only > remotely related. But since you guys seem to be experts on tty… > > I have an embedded device running a linux kernel that uses a serial port > as console (console=ttyAS0,115200). I can log on to that device via > telnet. Is it possible to see what is written to that console from > within the telnet session using features provided by the shell?
It is very likely that an embedded device is using busybox as the shell rather than bash. That would be good news for you as there is a setconsole builtin for busybox that will redirect console output to a different device such as the telnet pty. Bash does not include console redirection. Busybox may be built with or without the setconsole feature. See the http://man-wiki.net/index.php/1:busybox manual and check the details of your device. -- Mike Stroyan <m...@stroyan.net>