I don't know about the E310, but on the N310, I found files in /data/network which is where I needed to make changes such as these. Rob
On Wed, Feb 10, 2021 at 9:48 AM Dennis Trask via USRP-users < usrp-users@lists.ettus.com> wrote: > Here are the results.... > > root@ni-e31x-3199693:~# systemctl | grep -i net > sys-devices-soc0-amba-e000b000.ethernet-net-eth0.device > loaded active plugged > /sys/devices/soc0/amba/e000b000.ethernet/net/eth0 > sys-subsystem-net-devices-eth0.device > loaded active plugged /sys/subsystem/net/devices/eth0 > systemd-networkd.service > loaded active running Network Service > systemd-resolved.service > loaded active running Network Name Resolution > systemd-timesyncd.service > loaded active running Network Time Synchronization > systemd-networkd.socket > loaded active running Network Service Netlink Socket > network-pre.target > loaded active active Network (Pre) > network.target > loaded active active Network > nss-lookup.target > loaded active active Host and Network Name Lookups > root@ni-e31x-3199693:~# ip link > 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1000 > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 > 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> 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 ( > <https://www.freedesktop.org/software/systemd/man/systemd.network.html> > https://www.freedesktop.org/software/systemd/man/systemd.network.html) 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 > " <http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com> > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com" > <http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com>> > target= > "_blank"> > <http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com> > 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 > USRP-users@lists.ettus.com > 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