NC command lacks functionality (?)

Peter Renzland peter at dancing.org
Sat Jan 10 18:46:30 UTC 2009


I am using Tomato 1.23 on a WRT54GL router, Linux 2.4.20 (patched),  
Busybox v1.12.3

nc appears to be unable to listen:


# nc -l 9876
nc: illegal option -- l
BusyBox v1.12.3 (2008-12-14 02:54:58 PST) multi-call binary

Usage: nc [-iN] [-wN] [-f FILENAME|IPADDR PORTNUM] [-e COMMAND]

Open a pipe to IP:port or file

Options:
	-e	Exec rest of command line after connect
	-i SECS	Delay interval for lines sent
	-w SECS	Timeout for connect
	-f FILE	Use file (ala /dev/ttyS0) instead of network


Might this be a consequence of ...

"BusyBox has been written with size-optimization and limited resources  
in mind. It is also extremely modular so you can easily include or  
exclude commands (or features) at compile time."

I.e. that Tomato's nc command has been configured to lack "-l"  
functionality?

Or is there another explanation.

Thanks!

-- 
Peter Renzland -- Busybox v1.12.3 ; Linux 2.4.20 ; Tomato 1.23

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20090110/91d5553d/attachment.htm 


More information about the busybox mailing list