Hello,

I am getting started with an Ettus E320 on Ubuntu and am having some issues 
communicating over the streaming port that I have been unable to solve.  Based 
on what I'm seeing, I believe it has something to do with my PCs network 
settings because I can communicate with one port at a time without any problems.
My current setup is a PC with one Ethernet connection on the motherboard and a 
separate WiFi PCIe card.  I connected the E320's RJ45 port to my WiFi router 
and the Ethernet connection is connected to the RJ45-to-SFP adapter on the 
E320's SFP+ port.  I am able to ssh into the E320 and run the example programs 
on there, but when I try to run uhd_find_devices or uhd_usrp_probe on my PC, 
there are issues.  I am running UHD 3.15 on both my PC and the E320.  I will 
separate what I think is relevant information with lines of equal signs for 
readability =========

=====================================================================


The ifconfig -a info for my PC:


ifconfig -a
enp30s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.10.1  netmask 0.0.0.0  broadcast 255.255.255.255
        inet6 fe80::93f1:af0c:251:4642  prefixlen 64  scopeid 0x20<link>
        ether b0:6e:bf:c1:18:57  txqueuelen 1000  (Ethernet)
        RX packets 53  bytes 5865 (5.8 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 180  bytes 26338 (26.3 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0xf7600000-f761ffff

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 2019  bytes 203709 (203.7 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2019  bytes 203709 (203.7 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp37s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.20  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::44e4:2e51:6e8f:9d35  prefixlen 64  scopeid 0x20<link>
        ether 60:f6:77:96:f6:8b  txqueuelen 1000  (Ethernet)
        RX packets 111178  bytes 146464516 (146.4 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 51515  bytes 21064148 (21.0 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

===================================================================

The ifconfig -a on the E320 is:


eth0      Link encap:Ethernet  HWaddr 00:80:2F:28:B9:3E
          inet addr:192.168.1.18  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10667 errors:0 dropped:114 overruns:0 frame:0
          TX packets:3142 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:14041114 (13.3 MiB)  TX bytes:233123 (227.6 KiB)
          Interrupt:27 Base address:0xb000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:23 errors:0 dropped:0 overruns:0 frame:0
          TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2337 (2.2 KiB)  TX bytes:2337 (2.2 KiB)

sfp0      Link encap:Ethernet  HWaddr 00:80:2F:28:B9:3F
          inet addr:192.168.10.2  Bcast:192.168.10.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:38 errors:0 dropped:3 overruns:0 frame:0
          TX packets:51 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4118 (4.0 KiB)  TX bytes:5475 (5.3 KiB)
==================================================================

If I try to ping the SFP port just using the 'ping' command, it does not work

ping -c 4 192.168.10.2
PING 192.168.10.2 (192.168.10.2) 56(84) bytes of data.

--- 192.168.10.2 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3063ms

==================================================================

But if I force it to use the hardwaired interface, ping works fine.

ping -I enp30s0 -c 4 192.168.10.2
PING 192.168.10.2 (192.168.10.2) from 192.168.10.1 enp30s0: 56(84) bytes of 
data.
64 bytes from 192.168.10.2: icmp_seq=1 ttl=64 time=1.43 ms
64 bytes from 192.168.10.2: icmp_seq=2 ttl=64 time=1.44 ms
64 bytes from 192.168.10.2: icmp_seq=3 ttl=64 time=1.42 ms
64 bytes from 192.168.10.2: icmp_seq=4 ttl=64 time=0.961 ms

--- 192.168.10.2 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 0.961/1.312/1.443/0.203 ms

====================================================================
If I run uhd_find_devices, my PC can see the E320, but it is listed as 
"reachable: no".


~$ uhd_find_devices
[INFO] [UHD] linux; GNU C++ version 9.3.0; Boost_107100; 
UHD_3.15.0.HEAD-0-gaea0e2de

-- UHD Device 0

Device Address:
    serial: 31BEE1C
    claimed: False
    mgmt_addr: 192.168.1.18
    product: e320
    reachable: No
    type: e3xx

===========================================================================
If I run uhd_usrp_probe with "addr=192.168.1.18" it cannot detect a transport 
option


 uhd_usrp_probe --args "addr=192.168.1.18"
[INFO] [UHD] linux; GNU C++ version 9.3.0; Boost_107100; 
UHD_3.15.0.HEAD-0-gaea0e2de
[INFO] [MPMD] Initializing 1 device(s) in parallel with args: 
mgmt_addr=192.168.1.18,type=e3xx,product=e320,serial=31BEE1C,claimed=False,addr=192.168.1.18
[INFO] [MPM.PeriphManager] init() called with device args 
`mgmt_addr=192.168.1.18,product=e320'.
[ERROR] [MPMD] Failure during block enumeration: : Could not select a transport 
option! Either a transport hint was not specified or the specified hint does 
not support communication with RFNoC blocks.
Error: RuntimeError: Failed to run enumerate_rfnoc_blocks()

===========================================================================

If I run uhd_usrp_probe with "addr=192.168.10.2" it can't find the device:


uhd_usrp_probe --args "addr=192.168.10.2"
[INFO] [UHD] linux; GNU C++ version 9.3.0; Boost_107100; 
UHD_3.15.0.HEAD-0-gaea0e2de
Error: LookupError: KeyError: No devices found for ----->
Device Address:
    addr: 192.168.10.2

==========================================================================

The uhd_config_info on the  my PC and the E320:

 uhd_config_info --version
UHD 3.15.0.HEAD-0-gaea0e2de

ssh root@192.168.1.18
root@ni-e320-31BEE1C:~# uhd_config_info --version
UHD 3.15.0.0-0-gaea0e2de


_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to