On 3/10/21 1:32 PM, jchludzinski wrote:
Preferred method for local configuration is using /etc/systemd/network. However, the probable reason why it did not work is that the file should be eth0.network. The name of the file(s) do not matter that much. The extension does though.Create the file /etc/systemd/network/eth0.conf:[Match] Name=eth0 [Network] Address=<ip> Gateway=<ip> DNS=<ip>That didn't work BUT editing /lib/systemd/network/80-wired.network [Match] Name=en* eth* KernelCommandLine=!nfsroot [Match] Name=eth0 [Network] Address=192.168.0.101/24 #Gateway=<ip> #DNS=<ip> [Network] DHCP=no [DHCP] #RouteMetric=10 #ClientIdentifier=mac ... did work, after: *root@arria10:~#* /systemctl restart systemd-networkd/
-- Rudolf J Streif CEO/CTO ibeeto +1.855.442.3386 x700
OpenPGP_0x8D8CA82927339B75.asc
Description: application/pgp-keys
OpenPGP_signature
Description: OpenPGP digital signature
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#52657): https://lists.yoctoproject.org/g/yocto/message/52657 Mute This Topic: https://lists.yoctoproject.org/mt/81212608/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
