Setup no IP address for eth0 - systemd
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 no IP Address at all 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 unmanaged.network [Match] Name = eth0 eth1 eth2 wlan* [Link] Unmanaged = true
Kind Regards
Konstantin
Signature · 14 lines
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
Hi,
Quoted 10 lines · Konstantin Kletschke
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 no IP Address at all for eth0? The system always does an udhcpc request and uses that.
Check if you also have Networkmanager in your image.
-a
Quoted 1 line · Anders Montonen
Check if you also have Networkmanager in your image.
My other, rather similair mail was answered with a solution which works fine here in this use case, too:
Renaming the file having an additional prefix like "10-" works like a charme. I suspect the number has to be lower than the 80 found in many files in /lib/systemd/network...
Kind Regards
Konstantin
Quoted 2 lines
-a
Signature · 14 lines
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