Dear yocto, community,

I have a yocto build running on a Beaglebone Black with systemd enabled.
No /etc/init.d, no /etc/network/interfaces.

How do I set up a static IP Address for eth0?
The system always does an udhcpc request and uses that.

I have 
systemd-networkd.service loaded active running 
and tryed the following file in /etc/systemd/network:

# cat eth0.network
[Match]
Name=eth0

[Network]
Address=10.2.3.4/24
Gateway=10.2.3.1
DNS=1.1.1.1


Kind Regards
Konstantin


-- 
INSIDE M2M GmbH
Konstantin Kletschke
Berenbosteler Straße 76 B
30823 Garbsen

Telefon: +49 (0) 5137 90950136
Mobil: +49 (0) 151 15256238
Fax: +49 (0) 5137 9095010

[email protected]
http://www.inside-m2m.de 

Geschäftsführung: Michael Emmert, Derek Uhlig
HRB: 111204, AG Hannover

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59303): https://lists.yoctoproject.org/g/yocto/message/59303
Mute This Topic: https://lists.yoctoproject.org/mt/97263112/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to