USRP2 in VirtualBox

Hi everyone,

I’ve been trying to make USRP2 work in Ubuntu 9.04 running in
VirtualBox and while I was
able to install gnuradio all right, I cannot communicate with the
USRP2 unit. For instance,
“find_usrps” (run either as user or root) always returns: No USRP2
found.

I was wondering if anybody has been able to make USRP2 work using
Linux with VirtualBox and
if so, how does one go about doing so.

Any help would be greatly appreciated.

Thanks,
D

On Mon, Jan 18, 2010 at 04:19:30PM -0500, Demijan K. wrote:

Linux with VirtualBox and
if so, how does one go about doing so.

Any help would be greatly appreciated.

Thanks,
D

I’d guess some kind of networking configuration problem.

Have you tried using wireshark to see what’s happening on the wire?

Eric

I have successfully run in this configuration, although virtualization
overhead had a significant performance impact. Make sure that you have
the virtual machine’s network card in bridge mode, not NAT.

just a simple question…why in D8PSK is the gray coding and decoding
the following ?

*# -----------------------

Do Gray code

-----------------------

binary to gray coding – constellation does Gray coding

binary_to_gray = {
2 : range(2),
4 : [0,1,3,2],
8 : [0, 1, 3, 2, 7, 6, 4, 5]
#8 : [0, 1, 3, 2, 6, 7, 5, 4] <--------- why not this way in coding
?
}

gray to binary

gray_to_binary = {
2 : range(2),
4 : [0,1,3,2],
8 : [0, 1, 3, 2, 6, 7, 5, 4]
}*

i was surprised to find a difference in bynary_to_gray and*
gray_to_binary* in mapping the eight symbols ! ! ! could you please
explain me the reason ?

     thx in advance

I was able to make USRP2 work with Ubuntu running in VirtualBox.

In order to do so one has to add a second network adapter
appropriately. On a Mac, this
is done by going to Settings (with Linux being highlighted in the
VirtualBox window) -> Network ->
Choose Adapter 2 tab ->
Choose Attached to: “Bridged Adapter” -> Choose Name: Ethernet ->
Click Advanced ->
Choose adapter type: “Intel PRO/1000 MT Desktop…”

The USRP2 should now be reachable on eth1 in the VM.

It’s VM environment, therefore speed suffers, but
it is possible to establish communication. I tried “find_usrps”,
“usrp2_siggen.py”, “usrp2_fft.py”
all of which worked (albeit slow).

All the best,
D