From b5385fa759c5d3d42d109bb8466b984cd5ec7b4a Mon Sep 17 00:00:00 2001 From: Ben Hilburn Date: Fri, 16 Mar 2012 13:11:33 -0700 Subject: docs: Just added a couple of clarifying notes to the N2Xx docs. --- host/docs/usrp2.rst | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/host/docs/usrp2.rst b/host/docs/usrp2.rst index d0b1c9a87..005c89fd1 100644 --- a/host/docs/usrp2.rst +++ b/host/docs/usrp2.rst @@ -106,6 +106,19 @@ The default IP address of the USRP2 is **192.168.10.2** You will need to configure the host's ethernet interface with a static IP address to enable communication. An address of **192.168.10.1** and a subnet mask of **255.255.255.0** is recommended. +On a Linux system, you can set a static IP address very easily by using the +'ifconfig' command: +:: + + sudo ifconfig 192.168.10.1 + +Note that is usually something like 'eth0'. You can discover the +names of the network interfaces in your computer by running 'ifconfig' without +any parameters: +:: + + ifconfig -a + **Note:** When using the UHD, if an IP address for the USRP2 is not specified, the software will use UDP broadcast packets to locate the USRP2. @@ -168,6 +181,20 @@ When setting up a development machine for the first time, you may have various difficulties communicating with the USRP device. The following tips are designed to help narrow-down and diagnose the problem. +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +RuntimeError: no control response +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +This is a common error that occurs when you have set the subnet of your network +interface to a different subnet than the network interface of the USRP. For +example, if your network interface is set to 192.168.20.1, and the USRP is +192.168.10.2 (note the difference in the third numbers of the IP addresses), you +will likely see a 'no control response' error message. + +Fixing this is simple - just set the your host PC's IP address to the same +subnet as your USRP. Instructions for setting your IP address are in the +previous section of this documentation. + + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Firewall issues ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- cgit v1.2.3