On 02/09/2021 04:35 PM, Dennis Trask via USRP-users wrote:
I have re-imaged the SD card for my E310 with the v4.0.0.0 image. I cannot figure out how to set a static IP address on eth0 at boot-up. I created an /etc/network/interfaces file that looks like this:

auto eth0
iface eth0 inet static
address 192.168.200.2
netmask 255.255.255.0

I can run the command "ifup eth0" and bring up the interface with the desired configuration, but it does not initialize when I reboot.

The SD image I am using was obtained with the command: uhd_images_downloader -t e310 -t sg3

I built the uhd_images_downloder from source, and it's version is 4.0.0.HEAD-0-g90ce6062.

Dennis



_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
It almost certainly is running systemd/networkd

So look under /etc/systemd/networkd

In Linux, there have historically been many different ways to configure network devices, and even under systemd, there are a couple of different schemes "out there". I believe that in a UHD 4 system image on E310, it is based on Networkd.


_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to