Static IP in tx2

Did someone successfully set static IP in tx2? If yes, how did you get it to work?

I want to set the Jetson to have static IP so I can connect to it through ssh with an Ethernet cable in a local network but…

eth0 vanished when I tried to edit the /etc/network/interfaces.d/ to:

auto eth0
iface eth0 inet static
address 192.168.1.150
netmask 255.255.255.0
gateway 192.168.1.2

The same problem in: How to set TX1 to use static IP on ethernet port

The simplest way to set this up is to use an app like “nm-connection-editor” (if you don’t have this, then “sudo apt-get install network-manager-gnome”). Simply look for the MAC address of eth0 (perhaps from “ifconfig”), and then find that in the manager, and tell it to use that address instead of DHCP.

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