Re: Assign IP address at boot time


Rudolf J Streif
 

Create the file /etc/systemd/network/eth0.conf:

[Match]
Name=eth0
[Network]
Address=<ip>
Gateway=<ip>
DNS=<ip>

Restart systemd-networkd

# systemctl restart systemd-networkd

or reboot.

:rjs

On 3/10/21 11:31 AM, jchludzinski wrote:

What is your startup manager? systemd or SysVInit?
systemd
--
Rudolf J Streif
CEO/CTO ibeeto
+1.855.442.3386 x700

Join {yocto@lists.yoctoproject.org to automatically receive all group messages.