You're using the "classic" API for the USRP2. Which has been
obsolete for two years. 

However, what seems to be going on here is
that it can't find a device called "eth0" which is the default device
that the "classic" API used to find USRP2s on. You'll also need to make
sure that usrp2_socket_opener is setuid root. 

Another approach is to
convert to UHD, burn UHD firmware into the USRP2, and use the
"uhd_rx_cfile.py" program instead. 

-Marcus 

On Wed, 11 Apr 2012
17:18:26 +0100, [email protected] wrote: 

> I have recently installed
GNU radio on my IBM lenovo machine (intel core i5) with fedora operating
system. I am using usrp2 with Ethernet cable. | wanted to connect the
laptop with usrp2 but the laptop does not detect the usrp2 box. the icon
says connecting rather than connected.
> 
> I tried to test it with my
program but i receive the following error.
> 
> [root@localhost
TV_sensing_1.3]# python usrp2_rx_cfile_03.py -v -d 6 -f 714M -N100000
/home/umer/umer_GNU/TV_sensing_1.3/${freq}.bin; 
> eth0: SIOCGIFINDEX:
No such device
> Traceback (most recent call last):
> File
"usrp2_rx_cfile_03.py", line 142, in 
> tb = rx_cfile_block(options,
filename)
> File "usrp2_rx_cfile_03.py", line 47, in __init__
> self._u
= usrp2.source_32fc(options.interface, options.mac_addr)
> File
"/usr/lib/python2.7/site-packages/gnuradio/usrp2.py", line 679, in
source_32fc
> return _usrp2.source_32fc(ifc, mac)
> RuntimeError: No
USRPs found on interface eth0
> 
> Regards,
> Umer
>
_______________________________________________
> Discuss-gnuradio
mailing list
> [email protected] [1]
>
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio [2]

 


Links:
------
[1] mailto:[email protected]
[2]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to