discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] [Douglas Geiger BBN 802.11b] Porting code on USR


From: Ben Yahmed
Subject: Re: [Discuss-gnuradio] [Douglas Geiger BBN 802.11b] Porting code on USRP2 problems
Date: Tue, 05 May 2009 12:33:05 +0200
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

Hi all,

I succeeded to make the simple_mac.py working. now it's pinging correctly but with a huge loss ratio. At first I disabled the carrier sense functions but after I reactivated them but I'm not sure these functions are working. I attached the 80211_mac folder so any suggestion or amelioration is welcome. I used this command line to run the python file: ./simple_mac.py -S 8 -v

I also hard_coded my mac adress so you need to change it before use.


you can see here the results that I have obtained by ping:

address@hidden ~]# ping 10.0.0.1
PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.
From 10.0.0.2 icmp_seq=2 Destination Host Unreachable
From 10.0.0.2 icmp_seq=3 Destination Host Unreachable
From 10.0.0.2 icmp_seq=4 Destination Host Unreachable
From 10.0.0.2 icmp_seq=5 Destination Host Unreachable
From 10.0.0.2 icmp_seq=6 Destination Host Unreachable
From 10.0.0.2 icmp_seq=7 Destination Host Unreachable
64 bytes from 10.0.0.1: icmp_seq=17 ttl=64 time=7.66 ms
64 bytes from 10.0.0.1: icmp_seq=24 ttl=64 time=15.3 ms
64 bytes from 10.0.0.1: icmp_seq=29 ttl=64 time=7.57 ms
64 bytes from 10.0.0.1: icmp_seq=33 ttl=64 time=8.12 ms
64 bytes from 10.0.0.1: icmp_seq=42 ttl=64 time=7.63 ms
64 bytes from 10.0.0.1: icmp_seq=49 ttl=64 time=8.13 ms
64 bytes from 10.0.0.1: icmp_seq=55 ttl=64 time=7.67 ms
64 bytes from 10.0.0.1: icmp_seq=56 ttl=64 time=7.74 ms
64 bytes from 10.0.0.1: icmp_seq=57 ttl=64 time=7.61 ms
64 bytes from 10.0.0.1: icmp_seq=69 ttl=64 time=8.10 ms
64 bytes from 10.0.0.1: icmp_seq=70 ttl=64 time=8.11 ms
64 bytes from 10.0.0.1: icmp_seq=76 ttl=64 time=8.06 ms
64 bytes from 10.0.0.1: icmp_seq=77 ttl=64 time=8.14 ms
64 bytes from 10.0.0.1: icmp_seq=80 ttl=64 time=7.56 ms
64 bytes from 10.0.0.1: icmp_seq=87 ttl=64 time=7.55 ms
64 bytes from 10.0.0.1: icmp_seq=90 ttl=64 time=7.50 ms
64 bytes from 10.0.0.1: icmp_seq=96 ttl=64 time=7.64 ms
64 bytes from 10.0.0.1: icmp_seq=97 ttl=64 time=7.99 ms
64 bytes from 10.0.0.1: icmp_seq=100 ttl=64 time=8.20 ms
64 bytes from 10.0.0.1: icmp_seq=101 ttl=64 time=8.13 ms
64 bytes from 10.0.0.1: icmp_seq=102 ttl=64 time=7.96 ms
64 bytes from 10.0.0.1: icmp_seq=104 ttl=64 time=8.03 ms
64 bytes from 10.0.0.1: icmp_seq=111 ttl=64 time=7.63 ms
64 bytes from 10.0.0.1: icmp_seq=124 ttl=64 time=8.14 ms
64 bytes from 10.0.0.1: icmp_seq=126 ttl=64 time=7.61 ms
64 bytes from 10.0.0.1: icmp_seq=130 ttl=64 time=7.69 ms
64 bytes from 10.0.0.1: icmp_seq=131 ttl=64 time=7.67 ms
64 bytes from 10.0.0.1: icmp_seq=132 ttl=64 time=7.61 ms
64 bytes from 10.0.0.1: icmp_seq=139 ttl=64 time=7.87 ms
64 bytes from 10.0.0.1: icmp_seq=140 ttl=64 time=7.86 ms
64 bytes from 10.0.0.1: icmp_seq=142 ttl=64 time=7.59 ms
64 bytes from 10.0.0.1: icmp_seq=146 ttl=64 time=8.17 ms
64 bytes from 10.0.0.1: icmp_seq=150 ttl=64 time=7.85 ms
64 bytes from 10.0.0.1: icmp_seq=151 ttl=64 time=7.68 ms
64 bytes from 10.0.0.1: icmp_seq=157 ttl=64 time=7.95 ms
64 bytes from 10.0.0.1: icmp_seq=161 ttl=64 time=7.76 ms
64 bytes from 10.0.0.1: icmp_seq=169 ttl=64 time=8.22 ms
64 bytes from 10.0.0.1: icmp_seq=171 ttl=64 time=8.07 ms
64 bytes from 10.0.0.1: icmp_seq=176 ttl=64 time=8.13 ms
64 bytes from 10.0.0.1: icmp_seq=180 ttl=64 time=8.19 ms
64 bytes from 10.0.0.1: icmp_seq=181 ttl=64 time=7.73 ms
64 bytes from 10.0.0.1: icmp_seq=182 ttl=64 time=8.04 ms
64 bytes from 10.0.0.1: icmp_seq=183 ttl=64 time=8.09 ms
64 bytes from 10.0.0.1: icmp_seq=187 ttl=64 time=8.18 ms
64 bytes from 10.0.0.1: icmp_seq=190 ttl=64 time=7.94 ms
64 bytes from 10.0.0.1: icmp_seq=210 ttl=64 time=8.03 ms
64 bytes from 10.0.0.1: icmp_seq=211 ttl=64 time=7.84 ms
64 bytes from 10.0.0.1: icmp_seq=213 ttl=64 time=7.61 ms
64 bytes from 10.0.0.1: icmp_seq=216 ttl=64 time=7.86 ms
64 bytes from 10.0.0.1: icmp_seq=221 ttl=64 time=7.96 ms
64 bytes from 10.0.0.1: icmp_seq=224 ttl=64 time=7.82 ms
64 bytes from 10.0.0.1: icmp_seq=225 ttl=64 time=7.74 ms
64 bytes from 10.0.0.1: icmp_seq=229 ttl=64 time=7.78 ms
64 bytes from 10.0.0.1: icmp_seq=236 ttl=64 time=8.00 ms
64 bytes from 10.0.0.1: icmp_seq=238 ttl=64 time=7.98 ms
64 bytes from 10.0.0.1: icmp_seq=246 ttl=64 time=16.4 ms
64 bytes from 10.0.0.1: icmp_seq=253 ttl=64 time=7.53 ms
64 bytes from 10.0.0.1: icmp_seq=270 ttl=64 time=8.42 ms
64 bytes from 10.0.0.1: icmp_seq=275 ttl=64 time=8.22 ms
64 bytes from 10.0.0.1: icmp_seq=276 ttl=64 time=8.14 ms
64 bytes from 10.0.0.1: icmp_seq=284 ttl=64 time=8.03 ms
64 bytes from 10.0.0.1: icmp_seq=296 ttl=64 time=7.65 ms
64 bytes from 10.0.0.1: icmp_seq=302 ttl=64 time=8.00 ms
64 bytes from 10.0.0.1: icmp_seq=306 ttl=64 time=7.66 ms
64 bytes from 10.0.0.1: icmp_seq=311 ttl=64 time=7.59 ms
64 bytes from 10.0.0.1: icmp_seq=322 ttl=64 time=8.06 ms
64 bytes from 10.0.0.1: icmp_seq=327 ttl=64 time=8.01 ms
64 bytes from 10.0.0.1: icmp_seq=331 ttl=64 time=8.02 ms
64 bytes from 10.0.0.1: icmp_seq=332 ttl=64 time=7.75 ms
64 bytes from 10.0.0.1: icmp_seq=341 ttl=64 time=8.28 ms
64 bytes from 10.0.0.1: icmp_seq=349 ttl=64 time=8.23 ms
64 bytes from 10.0.0.1: icmp_seq=350 ttl=64 time=8.27 ms
64 bytes from 10.0.0.1: icmp_seq=351 ttl=64 time=7.87 ms
64 bytes from 10.0.0.1: icmp_seq=352 ttl=64 time=7.90 ms
64 bytes from 10.0.0.1: icmp_seq=359 ttl=64 time=7.92 ms
64 bytes from 10.0.0.1: icmp_seq=360 ttl=64 time=7.95 ms
64 bytes from 10.0.0.1: icmp_seq=368 ttl=64 time=7.86 ms
64 bytes from 10.0.0.1: icmp_seq=371 ttl=64 time=14.7 ms
64 bytes from 10.0.0.1: icmp_seq=372 ttl=64 time=7.61 ms
64 bytes from 10.0.0.1: icmp_seq=376 ttl=64 time=7.95 ms
64 bytes from 10.0.0.1: icmp_seq=387 ttl=64 time=8.14 ms
64 bytes from 10.0.0.1: icmp_seq=391 ttl=64 time=8.14 ms
64 bytes from 10.0.0.1: icmp_seq=392 ttl=64 time=8.27 ms
64 bytes from 10.0.0.1: icmp_seq=393 ttl=64 time=7.88 ms
64 bytes from 10.0.0.1: icmp_seq=407 ttl=64 time=8.18 ms
64 bytes from 10.0.0.1: icmp_seq=410 ttl=64 time=7.68 ms
64 bytes from 10.0.0.1: icmp_seq=418 ttl=64 time=8.19 ms
64 bytes from 10.0.0.1: icmp_seq=439 ttl=64 time=7.60 ms
64 bytes from 10.0.0.1: icmp_seq=450 ttl=64 time=7.59 ms
64 bytes from 10.0.0.1: icmp_seq=465 ttl=64 time=7.54 ms
64 bytes from 10.0.0.1: icmp_seq=470 ttl=64 time=7.58 ms
64 bytes from 10.0.0.1: icmp_seq=479 ttl=64 time=8.08 ms
64 bytes from 10.0.0.1: icmp_seq=482 ttl=64 time=7.96 ms
64 bytes from 10.0.0.1: icmp_seq=498 ttl=64 time=8.15 ms
64 bytes from 10.0.0.1: icmp_seq=499 ttl=64 time=8.14 ms
64 bytes from 10.0.0.1: icmp_seq=514 ttl=64 time=8.06 ms
64 bytes from 10.0.0.1: icmp_seq=522 ttl=64 time=7.57 ms
64 bytes from 10.0.0.1: icmp_seq=527 ttl=64 time=7.95 ms
64 bytes from 10.0.0.1: icmp_seq=531 ttl=64 time=8.08 ms
64 bytes from 10.0.0.1: icmp_seq=540 ttl=64 time=7.60 ms
^C
--- 10.0.0.1 ping statistics ---
546 packets transmitted, 100 received, +6 errors, 81% packet loss, time 546190ms
rtt min/avg/max/mdev = 7.505/8.136/16.441/1.325 ms, pipe 3



Ben Yahmed


Attachment: 80211_mac.tar.gz
Description: GNU Zip compressed data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]