[U-Boot-Users] [PATCH] README.NetConsole

Scott McNutt smcnutt at psyent.com
Fri Mar 16 14:11:56 CET 2007


Hi Igor

> +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, try to rebuild it from scratch.
> +Known working version lives in nc110.tgz

You may want suggest simply removing the "-p" from the script.
That way you won't have to rebuild anything. E.g.:

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
+++++++++++++++++++++++++++++++++++++++++++

Regards,
--Scott





More information about the U-Boot mailing list