Fw: [netperf-talk] Problem of Netserver start on SuSe 10.0

Thitinan Tantidham thitinan45 at yahoo.com
Mon Dec 18 14:24:16 PST 2006


Please find below the answers.

> # ./netserver
> Starting netserver at port 12865
> set_up_server could not establish a listen endpoint for  port 12865 with 
> family AF_UNSPEC
> 
> 
> I already added "netperf" port tcp/udp in /etc/services and setup 
> Network Services (xinetd) in YaST Configuration with the arguments as 
>
 following:
> Service = netperf,
> Socket Type = stream,
> Protocol=tcp, /* another line with Protocol=udp */
> Wait=no,
> User=root,
> Group=default,
> Server=//home/thitinan/netperf-2.4.2/src/netserver  /* where my software 
> is located */
> Server Arguments=netserver
> 
> Is this configuraiton correct?
> Could you please guide me how to configure for establishing the connection?

>>You need to decide if you want netserver running as a stanalone daemon, 
>>or if you want it launched via inetd.  You don't do both.  Looks like 
>>you've configured inetd - just try a netperf test now and see if that works.



Hello Rick,     cc: everybody


I have one desktop (192.168.1.102) and one laptop (192.168.1.103). 
What I want to do is, to setup my desktop as a server and my laptap as
a cleint. 

In such this case, which configuration should I take between inetd or standalone daemon? 
Could you please tell me in more details how to do setup server side? The manual is not clear for me in case of a SUSE server side.

What I did try is use netperf on desktop 192.168.1.102. It seems that it can send/recieve to itself but not to another machine.

Case 1: only netperf
linux:/home/thitinan/netperf-2.4.2/src # netperf
TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to localhost (127.0.0.1) port 0 AF_INET
Recv   Send    Send
Socket Socket  Message  Elapsed
Size   Size    Size     Time     Throughput
bytes  bytes   bytes    secs.    10^6bits/sec
 87380  16384  16384    10.00    1434.97

Case 2: netperf with a local IP
 address
linux:/home/thitinan/netperf-2.4.2/src # netperf -L 192.168.1.102
TCP STREAM TEST from 192.168.1.102 (192.168.1.102) port 0 AF_INET to localhost (127.0.0.1) port 0 AF_INET
Recv   Send    Send
Socket Socket  Message  Elapsed
Size   Size    Size     Time     Throughput
bytes  bytes   bytes    secs.    10^6bits/sec
 87380  16384  16384    10.00    1374.53

Case 3: netperf with a local IP address and a remote IP address
linux:/home/thitinan/netperf-2.4.2/src # netperf -L 192.168.1.102 -H 192.16.1.103
establish control: are you sure there is a netserver listening on 192.16.1.103 at port 12865?
establish_control could not establish the control connection from 192.168.1.102 port 0 address family AF_UNSPEC to 192.16.1.103 port 12865 address family
 AF_UNSPEC


Thank you very much for your help.

Best Regards,
Thitinan



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.netperf.org/pipermail/netperf-talk/attachments/20061218/473e33f7/attachment.htm


More information about the netperf-talk mailing list