Modified simple_mac.py for USRP1

Hi all,

I would like to run the simple_mac.py on two machines with USRP1. Has
anyone
been successful in this issue? I downloaded the BBN codes from
https://www.cgran.org/wiki/BBN80211. I think that the simple_mac.py in
the
trunk does not work with 802.11PHY, so I tried to modify the
simple_mac.py
based on Ben’s codes (80211_mac.tar.gz (79K) from nabble.com).
However,
the ping function is still not working (From 10.10.10.1 icmp_seq=2
Destination Host Unreachable). I also tried to adjust the parameters. If
anyone has any suggestions whatsoever I would really appreciate it. I
attached the folder of my codes and post the terminal outputs as
following:


[root@localhost examples]# ./simple_mac.py -f 2400e6 -d 8
fusb_block_size = 1024
fusb_nblocks = 16
Using TX d’board A: Flex 2400 Tx MIMO B

gr_fir_ccf: using SSE
spb: 8
interp: 24
Carrier sense threshold: 50 dB

Allocated virtual ethernet interface: gr0
You must now use ifconfig to set its IP address. E.g.,

$ sudo ifconfig gr0 10.10.10.1

Be sure to use a different address in the same subnet for each machine.

Tx: len(payload) = 90
Tx: len(payload) = 54
Tx: len(payload) = 78
Tx: len(payload) = 286
Tx: len(payload) = 193
Tx: len(payload) = 286
Tx: len(payload) = 286
Tx: len(payload) = 262
Tx: len(payload) = 70
Tx: len(payload) = 191
Tx: len(payload) = 281
Tx: len(payload) = 54
Tx: len(payload) = 191
Tx: len(payload) = 88
Tx: len(payload) = 191
Tx: len(payload) = 179
Tx: len(payload) = 262
Tx: len(payload) = 179
Tx: len(payload) = 281
Tx: len(payload) = 290
Tx: len(payload) = 70
Tx: len(payload) = 179
Tx: len(payload) = 90
Tx: len(payload) = 70
Tx: len(payload) = 42
Tx: len(payload) = 42
Tx: len(payload) = 42
Tx: len(payload) = 42
Tx: len(payload) = 42
Tx: len(payload) = 42
Tx: len(payload) = 42
Tx: len(payload) = 42
Tx: len(payload) = 42
Tx: len(payload) = 42
Tx: len(payload) = 42
Tx: len(payload) = 42
Tx: len(payload) = 42
Tx: len(payload) = 42
Tx: len(payload) = 42
Tx: len(payload) = 42
Tx: len(payload) = 42
Tx: len(payload) = 42
Tx: len(payload) = 42


[root@localhost examples]# ping 10.10.10.2
PING 10.10.10.2 (10.10.10.2) 56(84) bytes of data.
From 10.10.10.1 icmp_seq=2 Destination Host Unreachable
From 10.10.10.1 icmp_seq=3 Destination Host Unreachable
From 10.10.10.1 icmp_seq=4 Destination Host Unreachable
From 10.10.10.1 icmp_seq=6 Destination Host Unreachable
From 10.10.10.1 icmp_seq=7 Destination Host Unreachable
From 10.10.10.1 icmp_seq=8 Destination Host Unreachable
From 10.10.10.1 icmp_seq=10 Destination Host Unreachable
From 10.10.10.1 icmp_seq=11 Destination Host Unreachable
From 10.10.10.1 icmp_seq=12 Destination Host Unreachable
From 10.10.10.1 icmp_seq=14 Destination Host Unreachable
From 10.10.10.1 icmp_seq=15 Destination Host Unreachable
From 10.10.10.1 icmp_seq=16 Destination Host Unreachable
From 10.10.10.1 icmp_seq=18 Destination Host Unreachable
From 10.10.10.1 icmp_seq=19 Destination Host Unreachable
From 10.10.10.1 icmp_seq=20 Destination Host Unreachable
From 10.10.10.1 icmp_seq=22 Destination Host Unreachable
From 10.10.10.1 icmp_seq=23 Destination Host Unreachable
From 10.10.10.1 icmp_seq=24 Destination Host Unreachable
^C
— 10.10.10.2 ping statistics —
28 packets transmitted, 0 received, +18 errors, 100% packet loss, time
27014ms
pipe 3

Kernel:2.6.27.21-78.2.41.fc9.i686
GNU Radio:gnuradio-3.1.3


Thank you,
Sheng-Hui