public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] README.NetConsole question
@ 2007-03-15 11:55 Igor Marnat
  2007-03-15 12:49 ` Detlev Zundel
  0 siblings, 1 reply; 12+ messages in thread
From: Igor Marnat @ 2007-03-15 11:55 UTC (permalink / raw)
  To: u-boot

Hello List!

I'm trying to use netconsole on my board but I met unxecpected
problems on host side (the machine I'm trying to connect to
u-boot'ed board).

I'm trying to use on the host side script from README.NetConsole. The one which is
quoted below. When I start the script, my Linux complains about the
string "nc -u -l -p 6666".

As the "man nc" states about -l option, "It
is an error to use this option in conjunction with the -p".

Regarding -p: "It is an error to use this option in conjunction with the -l option."

Am I doing something wrong? Should I change nc utility or script?


U-boot version is 1.1.6, host machine uses
Fedora Core 5, nc (netcat utility) is from "nc-1.84-3.2.rpm".

The script from README.NetConsole:

#!/bin/bash -x

[ $# = 1 ] || { echo "Usage: $0 target_ip" >&2 ; exit 1 ; }
TARGET_IP=$1

stty -icanon -echo intr ^T
nc -u -l -p 6666 < /dev/null &
nc -u ${TARGET_IP} 6666
stty icanon echo intr ^C


Best regards,
Igor Marnat
mailto:marny@rambler.ru

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2007-03-21  6:55 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-15 11:55 [U-Boot-Users] README.NetConsole question Igor Marnat
2007-03-15 12:49 ` Detlev Zundel
2007-03-15 13:26   ` Scott McNutt
2007-03-15 14:01     ` Detlev Zundel
2007-03-15 14:41       ` Scott McNutt
2007-03-16  5:13         ` [U-Boot-Users] [PATCH] README.NetConsole Igor Marnat
2007-03-16 13:11           ` Scott McNutt
2007-03-16 20:13             ` Wolfgang Denk
2007-03-19  6:24               ` Igor Marnat
2007-03-19 16:02                 ` Ben Warren
2007-03-21  6:55                   ` Igor Marnat
2007-03-15 13:57   ` [U-Boot-Users] README.NetConsole question Igor Marnat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox