On 2022-03-14 12:56, David Scott wrote:

Hi all,

We are trying to use the USRP E312 with ssh over ethernet. I am setting a static IP with

ifconfig eth0 xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx up

Which works fine, connecting to the USRP with static IP address set on my laptop.

The issue is that we need to disconnect the ethernet to test transmission on a drone. When we reconnect the ethernet cable the ip address is not re-established. I have to connect with serial cable and re-run the above command to bring the ethernet back up.

Is there a way to have this done automatically on the E312? It does not appear to have network-manager installed (like e.g. Ubuntu). I have modified /etc/init.d/interfaces but it seems to ignore this file completely, not even using it to set IP on system boot.

Any ideas?

Kind regards,
David


The interface is managed by Network Manager, so it takes over at device state transitions, and by default is setup for DHCP.

For earlier system images, this applies:

https://files.ettus.com/manual_archive/release_003_009_007/html/page_usrp_e3x0.html#e3xx_network_static

For newer (3.15 and later) system images, see this thread here:

https://www.mail-archive.com/[email protected]/msg11872.html

_______________________________________________
USRP-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to