How to set a static IPv4 address on Jetson Linux 35.1.0?

Hi,

I am trying to assign a static IP address to the Jetson Orin AGX.

According to this post: How to set a static IPv4 address on Jetson Linux 34.1.0? /etc/netplan and if-up/if-down are AWOL! ,

Could you please help with the following questions:

  1. What do I have to change at /etc/network/if-up.d/ or /etc/network/if-down.d/?
    Please let me know. Thanks!

Sorry for the late response, is this still an issue to support? Thanks

When I go to set a static IP address I usually just use “nm-connection-editor”. If you don’t have this, then “sudo apt-get install network-manager-gnome”.

In our application scenario, it is not convenient to use the GUI. In addition, if the IP address configured on the GUI is used, the device name and mac address may change when multiple network ports are used.

Once set with the nm-connection-editor the setup does not require the GUI. It is Wi-Fi which tends to configure during GUI login. Incidentally, you could see what files change in “/etc” after setup with nm-connection-editor (e.g., you could rsync/etc” before and after the setup…rsync would tell you which files changed). It would be a lot of output, but you could also run nm-connection-editor in strace and dig out the file edits from the log. Networking setup became a real pain once network management was added, although it was probably a necessary pain.

Note: Networking was a lot easier before systemd services were introduced. This added networking management and ended simple bash script setup.