errors in netconsole script... October 20, 2010 02:14AM |
Registered: 14 years ago Posts: 36 |
$ ./netconsole 192.168.1.100 NOTE: the interrupt signal (normally ^C) has been remapped to ^T ncb: not found usage: nc [-46DdhklnrStUuvzC] [-i interval] [-P proxy_username] [-p source_port] [-s source_ip_address] [-T ToS] [-w timeout] [-X proxy_protocol] [-x proxy_address[:port]] [hostname] [port[s]]
$ ./netconsole 192.168.1.100 + [ -n 192.168.1.100 ] + break + ip=192.168.1.100 + port=6666 + [ -z 192.168.1.100 ] + [ -n ] + type netcat + break + trap stty icanon echo intr ^C 0 2 3 5 10 13 15 + echo NOTE: the interrupt signal (normally ^C) has been remapped to ^T NOTE: the interrupt signal (normally ^C) has been remapped to ^T + stty -icanon -echo intr ^T + pid=1471 + netcat -u 192.168.1.100 6666 + type ncb ncb: not found + [ -x ./ncb ] + netcat -u -l -p 6666 usage: nc [-46DdhklnrStUuvzC] [-i interval] [-P proxy_username] [-p source_port] [-s source_ip_address] [-T ToS] [-w timeout] [-X proxy_protocol] [-x proxy_address[:port]] [hostname] [port[s]] + kill 1471 + stty icanon echo intr ^C
Re: errors in netconsole script... October 20, 2010 02:27AM |
Registered: 14 years ago Posts: 36 |
nc -u -p 6666 -v 192.168.1.100 6666This works.
Re: errors in netconsole script... October 29, 2010 11:12PM |
Registered: 14 years ago Posts: 6 |