Dear USRP-Users,

I am trying to establish a connection from my laptop (ThinkPad P53) to an X440, 
initially,  via 1G ethernet cable, but uhd_find_devices, or uhd_usrp_probe fail 
despite bring able to ping the device.

  *
Preamble

I have a USRP-2954 and have had no problem operating this, via the same 1G 
ethernet cable (with 10GB RJ45 to FSP+ adaptor). I have used Ubuntu 22.04 and 
24.04.1 with both building from source and directly apt installing the 
binaries, able to find success with uhd_find_devices afterwards.

A difference between the USRP-2954 and X440 is that the USRP-2954 uses a fixed 
IP address (192.168.40.2) where are Eth0 on the X440 is configured to use a 
DHCP-assigned IP address. For a while I have experimented with network settings 
on the host laptop, with varying levels of insight gained, but never able to 
get a response recognised from uhd_find_devices with the X440.

  *
Ubuntu 24.04.1 | apt install libuhd-dev uhd-host

After installation and verification, and expecting uhd_find_devices to work 
with 1G Ethernet connection, it fails.

I attempted permutating ubuntu network settings to establish a connection. Only 
with the 'shared to other computers' option does ubuntu declare a connection 
has been established. From this, with wireshark I can confirm communication 
from the X440 via its serial number and mac address, and find its ip address 
(10.42.0.159).
I can ping the device with 'shared to other computers' or with a fixed address 
set on the computer as 10.42.0.1. I cannot however ssh into the device, or get 
a valid response from uhd_find_devices / uhd_usrp_probe with known arguments 
queried.

Connecting the laptop to the 'PS to USB' usb-c port, I expect to see a new usb 
device recognised on the laptop with lsusb, lsblk, ls -lash /dev/tty*, but 
never does the number of connections change after powering cycling the device 
while connected in this way. This was my hope through after finding 
https://forums.ni.com/t5/USRP-Software-Radio/Unable-to-find-usrp-devices-for-USRP-X440-RJ45-ethernet/td-p/4354614

  *
Ubuntu 24.04.1 | building 4.7.0.0 from source

I installed all dependencies in both 
https://files.ettus.com/manual/page_build_guide.html (only without libcurses5 
and libcurses5-dev) and 
https://kb.ettus.com/Building_and_Installing_the_USRP_Open-Source_Toolchain_(UHD_and_GNU_Radio)_on_Linux
 (24.04 version).

In the cmake stage, I notice that it failed to find modules gevent, mprpc, 
pyudev and pyroute2. Previously I had included this (aside mprpc) with similar 
outcome.

After completing the build, I can ping the device successfully (ICMP Echo ping 
request and reply) with fixed ip set, but attempting uhd_usrp_probe with this 
yeilds Destination unreachable.

  *
Additional notes

With each attempt I turn firewall off, via ufw and iptables, as I am on a 
closed network.

>From the Ettus's X440 Getting Started Guide, "Note that if you are operating 
>the device in Network Mode, the version of UHD running on the host computer 
>and the USRP X4x0 must match".
With this I need to make sure the UHD versions are matching. However with no 
way found so far to access the X440 to check its UHD version, I have tried all 
versions since 4.5.0.0 not including release candidates.
I will be doing this with release candidates with Ubuntu 20 in the mean time, 
and will update if I have success with this.

  *
Summary

Cannot connect to X440 via 1G ethernet, aside ping responses with fixed ip 
address.
Cannot recognise the X440 as a usb device required to access the filesystems 
directly on the device.

To establish a connection from this as a starting point via networking 
configuration, are there any suggestions?
To restart the setup from a fresh ubuntu installation, is there anything I 
should change that may improve my chances? It is possible I have missed some 
crucial dependencies for the X440 specifically?

I have saved all logs for the build process and can share these.

Scenere thanks for any and all guidance,
Dan
_______________________________________________
USRP-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to