From: Igor Marnat <marny@rambler.ru>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] README.NetConsole
Date: Mon, 19 Mar 2007 09:24:01 +0300 [thread overview]
Message-ID: <744267796.20070319092401@rambler.ru> (raw)
In-Reply-To: <20070316201329.9A296352604@atlas.denx.de>
Hello guys,
WD> Now if you could please submit this as a patch against
WD> README.NetConsole ?
Here it goes. I tried, it works.
diff -urN -X dontdiff u-boot-1.1.6/doc/README.NetConsole u-boot-1.1.6-tz/doc/README.NetConsole
--- u-boot-1.1.6/doc/README.NetConsole 2006-11-02 17:15:01.000000000 +0300
+++ u-boot-1.1.6-tz/doc/README.NetConsole 2007-03-19 09:20:51.000000000 +0300
@@ -34,6 +34,23 @@
stty icanon echo intr ^C
+++++++++++++++++++++++++++++++++++++++++++
+Be aware that in some distributives (Fedora Core 5 at least)
+usage of nc has been changed and -l and -p options are considered
+as mutually exclusive. If nc complains about options provided,
+you can remove the -p option from the script. For example:
+
++++++++++++++++++++++++++++++++++++++++++++
+#! /bin/bash
+
+[ $# = 1 ] || { echo "Usage: $0 target_ip" >&2 ; exit 1 ; }
+TARGET_IP=$1
+
+stty -icanon -echo intr ^T
+nc -u -l 6666 < /dev/null &
+nc -u ${TARGET_IP} 6666
+stty icanon echo intr ^C
++++++++++++++++++++++++++++++++++++++++++++
+
The script expects exactly one argument, which is interpreted as the
target IP address (or host name, assuming DNS is working). The script
can be interrupted by pressing ^T (CTRL-T).
Best regards,
Igor Marnat
mailto:marny@rambler.ru
next prev parent reply other threads:[~2007-03-19 6:24 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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=744267796.20070319092401@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