Main Content

Configure Ethernet Connection Manually on Windows 10 for USRP Radio

After running the Hardware Setup steps of the installer, if the radio is still not detected, you can attempt to configure the network interface manually via the Windows Network Connections App or the command prompt.

Configure Ethernet Connection Via Windows Network Connections App

  1. Open the Control Panel from the Windows® icon in the lower left corner of your monitor.

    In the Control Panel window, make sure View by is set to Category.

  2. Click Network and Internet.

    Navigate to Network and Internet settings in the Control Panel.

  3. Click Network and Sharing Center.

    Navigate to Network and Sharing Center in Network and Internet setting.

  4. Click Change adapter settings in the left pane.

    Change adapter settings

  5. Sort the adapters by clicking the More options button, and then selecting Details. Double-click the adapter to configure to open its properties.

    Double click the adapter to configure its properties.

    On this computer, the adapter with the name Ethernet indicates connectivity to the Internet, but the connectivity of Ethernet 2 indicates No network access. Double-click the Ethernet 2 adapter to open its properties.

  6. On the Networking tab, clear Clients for Microsoft Networks and File and Printer Sharing for Microsoft Networks. These services can cause intermittent connection problems with USRP™ radios. To configure the IP address, double-click Internet Protocol Version 4 (TCP/IPv4).

    Configure the IPv4 address

  7. On the General tab, the default setting is typically set to Obtain an IP address automatically.

    Set the IP address of the NIC and keep the subnet mask as default value.

    Select Use the following IP Address. Set the host IP address to 192.168.10.X, where X is any integer from 1 to 255 except 2. Leave the Subnet mask set to its default (255.255.255.0).

    If your radio is on another subnet, meaning the first three octets of the IP address field are not 192.168.30, then enter the IP address values of your radio for the first three octets. See Check Subnet Values on Host and Radio.

    Check the subnet values on the host and radio.

  8. Click OK.

  9. The host computer configuration is complete. Continue to Verify USRP Hardware Connection.

Configure Ethernet Connection Via Windows Command Prompt

Use these commands to determine the IP address of the radio. After determining the IP address for the radio, update the network interface IP address, and ping the radio to verify that the host-to-radio connection is working.

  1. View the list of network interfaces, by entering this command at the Windows command prompt.

    C:\>getmac /V /FO CSV
    For the host computer used in this example, this is the output.
    "Connection Name","Network Adapter","Physical Address","Transport Name"
    "Ethernet","Intel(R) Ethernet Connection (2) I218-LM","6C-0B-84-A9-7F-FE",
        "\Device\Tcpip_{24EC4E6B-0552-4055-995C-3A404E3FE21F}"
    "vEthernet (Default Switch)","Hyper-V Virtual Ethernet Adapter","02-15-03-00-A9-6A",
        "\Device\Tcpip_{9BE08276-A58E-43EF-B928-0B215F3169A3}"
    "Ethernet 2","ASIX AX88179 USB 3.0 to Gigabit Ethernet Adapter","8C-AE-4C-F4-F4-E8",
        "Media disconnected"

  2. Determine which Ethernet adapter is used for the internet connection by pinging the IP address associated with each Connection Name returned. When you identify the connection name of the network adapter connected to the Internet, avoid selecting that network adapter for the radio. For more information, see Host Computer Ethernet Options.

    The host computer in this example uses the "Ethernet" connection name for the Internet connection. Run the netsh command with this syntax to get the IP address of "Ethernet". Then ping that IP address to a website. Since the host computer uses this network adapter for its internet connection, reconfiguring this adapter to connect to the radio would jeopardize your ability to connect to the Internet. See Using One Ethernet Port.

    C:\>netsh interface ip show address "Ethernet"
    Configuration for interface "Ethernet"
        DHCP enabled:     Yes
        IP Address:       172.21.18.178
        Subnet Prefix:    172.21.18.0/24 (mask 255.255.255.0)
        Default Gateway:  172.21.18.1
        Gateway Metric:   0
        InterfaceMetric:  25
    C:\>ping -S “172.21.18.178” www.mathworks.com
    Pinging ms-www.mathworks.com [144.212.244.17] from 172.21.18.178 with 32 bytes of data:
    Reply from 144.212.244.17: bytes=32 time<1ms TTL=251
    Reply from 144.212.244.17: bytes=32 time<1ms TTL=251
    Reply from 144.212.244.17: bytes=32 time<1ms TTL=251
    Reply from 144.212.244.17: bytes=32 time<1ms TTL=251

  3. Next we run the netsh command specifying the "Ethernet 2" connection name. DHCP is typically enabled for an adapter that is not statically configured. Since the host computer does not use this network adapter for its internet connection, reconfiguring this adapter to connect to the radio, does not jeopardize your ability to connect to the Internet. That makes it a good adapter to use for the host-to-radio connection.

    C:\>netsh interface ip show address "Ethernet 2"
    Configuration for interface "Ethernet 2"
      DHCP enabled: Yes
      InterfaceMetric: 5

  4. Connect the radio to this USB-Ethernet adapter. Wait for a few seconds, and then check the setting again. The response for a successful host-to-radio connection resembles the output shown here.

    C:\>netsh interface ip show address "Ethernet 2"
    Configuration for interface "Ethernet 2"
      DHCP enabled: Yes
      IP Address: 169.254.55.226
      Subnet Prefix: 169.254.0.0/16 (mask 255.255.0.0)
      InterfaceMetric: 25

    The IP address 169.254.55.226 is a private IP address automatically assigned by Windows to the Ethernet adapter. To discover the IP address of your radio, ping the broadcast address 169.254.255.255. This address corresponds to the subnet prefix 169.254.0.0. The response for a successful ping resembles the output shown here.

    C:\>ping -S 169.254.55.226 169.254.255.255
    Pinging 169.254.255.255 from 169.254.55.226 with 32 bytes of data:
    Reply from 192.168.30.7: bytes=32 time=1ms TTL=32
    Reply from 192.168.30.7: bytes=32 time=1ms TTL=32
    Reply from 192.168.30.7: bytes=32 time=2ms TTL=32
    Reply from 192.168.30.7: bytes=32 time=1ms TTL=32
    
    Ping statistics for 169.254.255.255:
      Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
      Minimum = 1ms, Maximum = 2ms, Average = 1ms

  5. Based on the discovered radio IP address 192.168.30.7, assign an IP address to the Ethernet adapter from the same subnet, such as 192.168.30.1. Use a subnet mask of 255.255.255.0.

    C:\>netsh interface ip set address "Ethernet 2" static 192.168.30.1 255.255.255.0

Verify that the updated IP address for the Ethernet adapter.

netsh interface ip show address "Ethernet 2"
Configuration for interface "Ethernet 2"
    DHCP enabled:    No
    IP Address:      192.168.30.1
    Subnet Prefix:   192.168.30.0/24 (mask 255.255.255.0)
    InterfaceMetric: 25

Verify that the host computer can ping the IP address assigned to the radio.

C:\>ping 192.168.30.7
Pinging 192.168.30.7 with 32 bytes of data:
Reply from 192.168.30.7: bytes=32 time=1ms TTL=32
Reply from 192.168.30.7: bytes=32 time=1ms TTL=32
Reply from 192.168.30.7: bytes=32 time=1ms TTL=32
Reply from 192.168.30.7: bytes=32 time=1ms TTL=32

Ping statistics for 192.168.30.7:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 1ms, Maximum = 1ms, Average = 1ms

Configure FastSendDatagramThreshold Registry Key

Ettus Research™ recommends configuring the FastSendDatagramThreshold with the value of 2048 (decimal). Define or reconfigure the FastSendDatagramThreshold registry key in the Windows Registry Editor under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\AFD\Parameters.

Configure FastSendDatagramThreshold registry key in Windows.

Related Topics