Here are the results.... root@ni-e31x-3199693:~# systemctl | grep -i netsys-devices-soc0-amba-e000b000.ethernet-net-eth0.device loaded active plugged /sys/devices/soc0/amba/e000b000.ethernet/net/eth0sys-subsystem-net-devices-eth0.device loaded active plugged /sys/subsystem/net/devices/eth0systemd-networkd.service loaded active running Network Servicesystemd-resolved.service loaded active running Network Name Resolutionsystemd-timesyncd.service loaded active running Network Time Synchronizationsystemd-networkd.socket loaded active running Network Service Netlink Socketnetwork-pre.target loaded active active Network (Pre)network.target loaded active active Networknss-lookup.target loaded active active Host and Network Name Lookupsroot@ni-e31x-3199693:~# ip link1: lo: mtu 65536 qdisc noqueue qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:002: eth0: mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:80:2f:26:50:06 brd ff:ff:ff:ff:ff:ff
-----------------------------------------From: "Marcus D. Leech" To: dtra...@tampabay.rr.com Cc: "usrp-users@lists.ettus.com" Sent: Tuesday February 9 2021 5:40:32PM Subject: Re: [USRP-users] E310 with v4.0.0.0 Image: Configure Static IP On 02/09/2021 05:04 PM, dtra...@tampabay.rr.com wrote: Thanks, Marcus. That was actually what I attempted first. As described in the man page ( [1]https://www.freedesktop.org/software/systemd/man/systemd.network.html [2]) I created eth0.network under /etc/systemd/network/, with these contents: [Match] Name=eth0 [Network] Address=192.168.200.2/24 The system seemed to ignore this configuration, however. OK, what does: systemctl |grep -i net Yield? What does: ip link Return? ----------------------------------------- From: "Marcus D. Leech via USRP-users" To: usrp-users@lists.ettus.com Cc: Sent: Tuesday February 9 2021 4:42:34PM Subject: Re: [USRP-users] E310 with v4.0.0.0 Image: Configure Static IP 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 "mailto:USRP-users@lists.ettus.com">USRP-users@lists.ettus.com " [3]http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com" [4]> target= "_blank"> [5]http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com [6] 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. Links: ------ [1] https://www.freedesktop.org/software/systemd/man/systemd.network.html [2] https://www.freedesktop.org/software/systemd/man/systemd.network.html [3] http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com [4] http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com [5] http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com [6] http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
_______________________________________________ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com