* On 2012-02-21 16:25:50 +0800, seeb washington ([email protected]) 
wrote:
> 2012/2/21 Amos Kong <[email protected]>
>     ----- Original Message -----
>     > ----- Original Message -----
>     > > Hi list,
>     > >
>     > > I find the cases need to login with serial need nc with -U support,
>     > > is it necessary?
>     >
>     > Sure, serial stdio is redirected to a unix socket (unix:/tmp/....)
>     >                 -U              Use UNIX domain socket
>     >
>     > > and where can I get this net stat version
> 
>     http://netcat.sourceforge.net/
> 
>     you can get code from SF and compile by yourself.
> 
> Thanks
> 
> I make a mistake, take netstat as netcast 
> 
> after I build one netcat, I don't see "nc" command and netcat show me there is
> no "-U" support but "-u"
> 
> GNU netcat 0.7.1, a rewrite of the famous networking tool.
> Basic usages:
> connect to somewhere:  ./netcat [options] hostname port [port] ...
> listen for inbound:    ./netcat -l -p port [options] [hostname] [port] ...
> tunnel to somewhere:   ./netcat -L hostname:port -p port [options]

AFAIK, GNU version of netcat doesn't support unix socket, maybe you
need the openbsd version.

$ yum info nc
Installed Packages
Name        : nc
Arch        : x86_64
Version     : 1.101
Release     : 3.fc16
Size        : 28 k
Repo        : installed
>From repo   : anaconda-0
Summary     : Reads and writes data across network connections using TCP or UDP
URL         : http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/nc/
License     : BSD ISC
Description : The nc package contains Netcat (the program is actually nc), a 
simple
            : utility for reading and writing data across network connections, 
using
            : the TCP or UDP protocols. Netcat is intended to be a reliable 
back-end
            : tool which can be used directly or easily driven by other 
programs and
            : scripts.  Netcat is also a feature-rich network debugging and
            : exploration tool, since it can create many different connections 
and
            : has many built-in capabilities.
            : 
            : You may want to install the netcat package if you are 
administering a
            : network and you'd like to use its debugging and network 
exploration
            : capabilities.

[...]

_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to