How te set a static IP for a Jetson Nano?

Viewed 9433

I want to set a static IP for a Jetson Nano in my local network. What I've tried:

-- Changing the DHCP on the router.

-- editing /etc/network/interfaces with the following:

auto eth0
iface eth0 inet static
  address 192.168.1.80
  netmask 255.255.255.0
  gateway 192.168.1.1

Both this options doesn't seem to work.

1 Answers

It seems the Jetson Nano has an underlying configuration for the network interface of the board.

1) edit /etc/default/networking

sudo vi /etc/default/networking

and set the parameter CONFIGURE_INTERFACES=no

# Set to 'no' to skip interfaces configuration on boot
CONFIGURE_INTERFACES=no

2) Now then the settings in /etc/network/interfaces will work

sudo vi /etc/network/interfaces

auto eth0
iface eth0 inet static
  address 192.168.1.80
  netmask 255.255.255.0
  gateway 192.168.1.1

3) Reboot the board

Related