All of lore.kernel.org
 help / color / mirror / Atom feed
* Setup no IP address for eth0 - systemd
@ 2023-02-27 10:17 Konstantin Kletschke
  2023-02-27 11:54 ` [yocto] " Anders Montonen
  0 siblings, 1 reply; 3+ messages in thread
From: Konstantin Kletschke @ 2023-02-27 10:17 UTC (permalink / raw)
  To: yocto


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



-- 
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

konstantin.kletschke@inside-m2m.de
http://www.inside-m2m.de 

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [yocto] Setup no IP address for eth0 - systemd
  2023-02-27 10:17 Setup no IP address for eth0 - systemd Konstantin Kletschke
@ 2023-02-27 11:54 ` Anders Montonen
  2023-02-27 13:46   ` Konstantin Kletschke
  0 siblings, 1 reply; 3+ messages in thread
From: Anders Montonen @ 2023-02-27 11:54 UTC (permalink / raw)
  To: Konstantin Kletschke; +Cc: Yocto-mailing-list

Hi,

> On 27 Feb 2023, at 12:17, Konstantin Kletschke <konstantin.kletschke@inside-m2m.de> wrote:
> 
> 
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [yocto] Setup no IP address for eth0 - systemd
  2023-02-27 11:54 ` [yocto] " Anders Montonen
@ 2023-02-27 13:46   ` Konstantin Kletschke
  0 siblings, 0 replies; 3+ messages in thread
From: Konstantin Kletschke @ 2023-02-27 13:46 UTC (permalink / raw)
  To: Anders Montonen; +Cc: Yocto-mailing-list

On Mon, Feb 27, 2023 at 01:54:53PM +0200, Anders Montonen wrote:

> 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



> 
> -a

-- 
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

konstantin.kletschke@inside-m2m.de
http://www.inside-m2m.de 

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-02-27 13:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-27 10:17 Setup no IP address for eth0 - systemd Konstantin Kletschke
2023-02-27 11:54 ` [yocto] " Anders Montonen
2023-02-27 13:46   ` Konstantin Kletschke

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.