Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Oct 2009 20:05:21 +0200
From:      Ian FREISLICH <ianf@clue.co.za>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        Rui Paulo <rpaulo@gmail.com>, freebsd-current@freebsd.org
Subject:   Re: urtw(4) feedback. 
Message-ID:  <E1Mvat7-000EjN-A6@clue.co.za>
In-Reply-To: <200910071805.09153.hselasky@c2i.net> 
References:  <200910071805.09153.hselasky@c2i.net> <F4DE5B21-FCF8-4B92-A5BA-E32553C935A3@gmail.com> <E1MvVXy-00031b-Mt@clue.co.za> <E1MvYAM-0003Y7-Mo@clue.co.za> 

next in thread | previous in thread | raw e-mail | index | archive | help
Hans Petter Selasky wrote:
> On Wednesday 07 October 2009 17:10:58 Ian FREISLICH wrote:
> > [mini] /usr/src/sys/modules/usb/urtw # time ping -c2 10.0.2.1
> > PING 10.0.2.1 (10.0.2.1): 56 data bytes
> > 64 bytes from 10.0.2.1: icmp_seq=0 ttl=64 time=36.176 ms
> > 64 bytes from 10.0.2.1: icmp_seq=1 ttl=64 time=44.282 ms
> >
> > --- 10.0.2.1 ping statistics ---
> > 2 packets transmitted, 2 packets received, 0.0% packet loss
> > round-trip min/avg/max/stddev = 36.176/40.229/44.282/4.053 ms
> >
> > real    0m1.696s
> > user    0m0.000s
> > sys     0m0.001s
> >
> > It also takes about 10 seconds for the wlan0 interface to appear
> > after insertion.
> 
> And if you use "ping -f" ?
> 
> Could it be that it is only the last packet sent that is not flushed out?

[mini] /usr/src # time ping -f -c2 10.0.2.1
PING 10.0.2.1 (10.0.2.1): 56 data bytes
.
--- 10.0.2.1 ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 9.752/9.934/10.115/0.182 ms

real    0m0.024s
user    0m0.008s
sys     0m0.001s

however, 200 results in packet loss:

[mini] /usr/src # time ping -f -c200 10.0.2.1
PING 10.0.2.1 (10.0.2.1): 56 data bytes
..............
--- 10.0.2.1 ping statistics ---
200 packets transmitted, 187 packets received, 6.5% packet loss
round-trip min/avg/max/stddev = 3.782/10.161/15.065/2.029 ms

real    0m3.866s
user    0m0.000s
sys     0m0.034s

Ian

--
Ian Freislich



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Mvat7-000EjN-A6>