About tunnel.py

Hi all,
I want to use tunnel.py to make a usrp with two daughter boards work
as two pieces of wireless cards. The first time I run tunnel.py, it
works well, and generate gr0. But when I run tunnel.py for the second
time (in another terminal) to configure the other daughter board, it
turned out error “Unable to find usrp1”.
Is it possible to generate two wireless cards with only one usrp with
two doughter boards instead of with two usrps? If it is, what should I
do?
Thank you!

2010/4/26 lishan_wh [email protected]:

Hi all,
I want to use tunnel.py to make a usrp with two daughter boards work as
two pieces of wireless cards. The first time I run tunnel.py, it works well,
and generate gr0. But when I run tunnel.py for the second time (in another
terminal) to configure the other daughter board, it turned out error “Unable
to find usrp1”.
Is it possible to generate two wireless cards with only one usrp with two
doughter boards instead of with two usrps? If it is, what should I do?

No. At least not with the current implementation. The first run of
tunnel.py opens up the usrp connection and any subsequent instances
will fail since the usrp is already in use. The daughterboards are
configured through the usrp interface, so you can’t manipulate them
independently from different programs.

Thomas

Thomas,
Thank you for you answer. Do you mean I can not achieve the goal by
modifying its softare code beause of hardware restriction ? I have
nothing to do except using more usrps?Thank you!
lishan_wh

在2010-04-26 21:55:57,"Thomas T." [email protected] 写道:

On Mon, Apr 26, 2010 at 8:57 PM, [email protected] wrote:

Thank you for you answer. Do you mean I can not achieve the goal by modifying its softare code beause of hardware restriction ? I have nothing to do except using more usrps?Thank you!

You cannot use two instances to tunnel.py to create two network
interfaces with a single usrp. One could, potentially, modify a single
instance of tunnel.py to configure a single usrp with two
daughterboards to support two network interfaces. I don’t believe that
this has ever been attempted though.

Thomas