From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott McNutt Date: Fri, 16 Mar 2007 09:11:56 -0400 Subject: [U-Boot-Users] [PATCH] README.NetConsole In-Reply-To: <15687106500.20070316081319@rambler.ru> References: <5324865375.20070315145558@rambler.ru> <45F94978.5090408@psyent.com> <45F95B08.1080709@psyent.com> <15687106500.20070316081319@rambler.ru> Message-ID: <45FA979C.8030907@psyent.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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