discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] usrp2 not connecting to laptop via ethernet cable


From: mleech
Subject: Re: [Discuss-gnuradio] usrp2 not connecting to laptop via ethernet cable
Date: Wed, 11 Apr 2012 13:50:33 -0400
User-agent: Roundcube Webmail/0.5.1

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, address@hidden 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.

address@hidden 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
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

 


reply via email to

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