Default Ethernet manager conflicts with static ip

Hi,
I wanted to set a static IP on the Orin NX with JP6.1 ETH interface and used systemd via creating a file in /etc/systemd/network which configures the interface.

The problem is that sometimes after system login I see in the GUI two settings for the configured interface- the static config and a DHCP config. In addition, sometimes the interface stops, the ETH communication stops and there is no config at all (no static that configured via systemd and not the dhcp one)

It seems like conflict or race condition between two network managers or something like that. Is there a known issue with the steps I’ve done?

Thanks

Configure your ip the Debian way using /etc/network/interfaces
NetworkManager should detect this and mark this interface “managed” by a different entity.

Hi @fchkjwlsq ,
thank you for your quick reply.
Can you please instruct me how to do that in the safest way?

Just create a file in /etc/network/interfaces? Or I need to do something else?

In addition, can I do it in the rootFS prior to flashing or its better to do this in a script each time the system starts?

Yes. It’s that easy.
Further instructions:
https://wiki.debian.org/NetworkConfiguration

there is no /etc/network/interfaces dir

/etc/network/interfaces is a regular text file. Looks like this:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
        address 192.168.0.93/24
        gateway 192.168.0.254

Read the Debian wiki.

i read but its not exists in the target (not a file as well)
maybe they don’t use it in latest JP?

i dont have the ifup ifdown tools as well

Just create it.

apt install ifupdown net-tools

Thanks

Do you familiar with the problem that the system waits around 5min during poweroff/power on for raising/closing network interfaces if the network cable is not connected?

Sorry, I don’t. Basically Jetson/Ubuntu should behave like PC/Ubuntu in this area. There is nothing NVidia specific here. If there is a setup problem a Ubuntu PC should behave the same. You may try this.

Thank you for your help

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.