public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Igor Marnat <marny@rambler.ru>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] README.NetConsole question
Date: Thu, 15 Mar 2007 14:55:58 +0300	[thread overview]
Message-ID: <5324865375.20070315145558@rambler.ru> (raw)

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

             reply	other threads:[~2007-03-15 11:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-15 11:55 Igor Marnat [this message]
2007-03-15 12:49 ` [U-Boot-Users] README.NetConsole question 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5324865375.20070315145558@rambler.ru \
    --to=marny@rambler.ru \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox