= USRP Troubleshooting = 1. Once you're inside a node, use the ''uhd_find_devices'' or ''uhd_usrp_probe '' to discover or probe the device, respectively. {{{ root@node1-1:~# uhd_find_devices : : : root@node1-1:~# uhd_usrp_probe }}} 2. if ''uhd_find_devices'' & ''uhd_usrp_probe '' return '''No UHD Devices Found''' If problems arise when trying find and probe the device, it's most likely the case that interface between the node and USRP2 needs to be reconfigured. In most scenarios, if finding the USRP2s fails it should return the following for ''uhd_find_devices'' {{{ root@node1-1:~# uhd_find_devices linux; GNU C++ version 4.6.1; Boost_104601; UHD_003.004.003-0-unknown No UHD Devices Found }}} The USRP2 has an ethernet interface (ip address: 192.168.10.2) to the node's eth2 interface (ip address: 192.168.10.1). To verify the nodes interface configuration: {{{ root@node1-1:~# ifconfig eth2 eth2 Link encap:Ethernet HWaddr 00:03:1d:07:49:5c inet addr:192.168.10.1 Bcast:192.168.10.255 Mask:255.255.255.0 inet6 addr: fe80::203:1dff:fe07:495c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:10 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:370 (370.0 B) TX bytes:862 (862.0 B) Interrupt:17 Memory:fdce0000-fdd00000 }}} If the interface is not configured, then do then following: {{{ root@node1-1:~# ifconfig eth2 192.168.10.1 netmask 255.255.255.0 up }}} The USRP2 ip-address is 192.168.10.2. Now try pinging the USRP2. {{{ root@node1-1:~# ping 192.168.10.2 PING 192.168.10.2 (192.168.10.2) 56(84) bytes of data. 64 bytes from 192.168.10.2: icmp_req=1 ttl=32 time=1.04 ms 64 bytes from 192.168.10.2: icmp_req=2 ttl=32 time=1.00 ms 64 bytes from 192.168.10.2: icmp_req=3 ttl=32 time=1.04 ms 64 bytes from 192.168.10.2: icmp_req=4 ttl=32 time=1.05 ms 64 bytes from 192.168.10.2: icmp_req=5 ttl=32 time=1.04 ms }}} At this point the node and USRP2 are able to see each other. Now retry finding and probing the USRPs. A successful response to ''uhd_find_devices'' should look like the following: {{{ root@node1-1:~# uhd_find_devices linux; GNU C++ version 4.6.3; Boost_104800; UHD_003.005.000-0-unknown -------------------------------------------------- -- UHD Device 0 -------------------------------------------------- Device Address: type: usrp2 addr: 192.168.10.2 name: serial: 317 }}} A successful response to uhd_usrp_probe should look like the following: {{{ root@node1-1:~# uhd_usrp_probe linux; GNU C++ version 4.6.3; Boost_104800; UHD_003.005.000-0-unknown -- Opening a USRP2/N-Series device... -- Current recv frame size: 1472 bytes -- Current send frame size: 1472 bytes _____________________________________________________ / | Device: USRP2 / N-Series Device | _____________________________________________________ | / | | Mboard: USRP2 r3 | | hardware: 769 | | mac-addr: 00:50:c2:85:31:3d | | ip-addr: 192.168.10.2 | | subnet: 255.255.255.255 | | gateway: 255.255.255.255 | | gpsdo: none | | serial: 317 | | FW Version: 12.3 | | FPGA Version: 10.0 | | | | Time sources: none, external, _external_, mimo | | Clock sources: internal, external, mimo | | Sensors: mimo_locked, ref_locked | | _____________________________________________________ | | / | | | RX DSP: 0 | | | Freq range: -50.000 to 50.000 Mhz | | _____________________________________________________ | | / | | | RX DSP: 1 | | | Freq range: -50.000 to 50.000 Mhz | | _____________________________________________________ | | / | | | RX Dboard: A | | | ID: XCVR2450 (0x0061) | | | _____________________________________________________ | | | / | | | | RX Frontend: 0 | | | | Name: XCVR2450 RX | | | | Antennas: J1, J2 | | | | Sensors: lo_locked, rssi | | | | Freq range: 2400.000 to 6000.000 Mhz | | | | Gain range LNA: 0.0 to 30.5 step 15.0 dB | | | | Gain range VGA: 0.0 to 62.0 step 2.0 dB | | | | Connection Type: IQ | | | | Uses LO offset: No | | | _____________________________________________________ | | | / | | | | RX Codec: A | | | | Name: ltc2284 | | | | Gain Elements: None | | _____________________________________________________ | | / | | | TX DSP: 0 | | | Freq range: -250.000 to 250.000 Mhz | | _____________________________________________________ | | / | | | TX Dboard: A | | | ID: XCVR2450 (0x0060) | | | _____________________________________________________ | | | / | | | | TX Frontend: 0 | | | | Name: XCVR2450 TX | | | | Antennas: J1, J2 | | | | Sensors: lo_locked | | | | Freq range: 2400.000 to 6000.000 Mhz | | | | Gain range VGA: 0.0 to 30.0 step 0.5 dB | | | | Gain range BB: 0.0 to 5.0 step 1.5 dB | | | | Connection Type: QI | | | | Uses LO offset: No | | | _____________________________________________________ | | | / | | | | TX Codec: A | | | | Name: ad9777 | | | | Gain Elements: None }}}