Try to instead set this up via the application “nm-connection-editor” (use “sudo nm-connection-editor”, and if you don’t have this, then “sudo apt-get install network-manager-gnome”). You’d use the MAC address to identify the device if you have more than one possible device (see “ifconfig” output for MAC addresses).
GUI interface is also broken, it doesn’t allow to change IP address.
I’ve found a rootcause and walkaround by the way. All the utils are broken because they try to use ifup and ifdown scripts, which also fail because dhclient is running. To kill dhclient, you have to run it dhclient -r as root.
Jetson network subsystem is broken. I.e. you have remove network manager with systemctl in order to fix it. And write your own, which will use dhcpclient and ifup. Don’t expect files like /etc/network/interfaces to work.
I just installed the latest JetBot image jetbot-041_nano-4gb-jp441.zip and was able to set a static ip via the NetworkManager CLI as such:
Note: This was after connecting the WiFi to a router via the Ubuntu GUI.
List available connections: nmcli d wifi list
IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY
* MySSID Infra 11 130 Mbit/s 60 â–‚â–„â–†_ WPA2
Set Static IP for the WiFi connection: sudo nmcli con mod "MySSID" ipv4.addr "192.168.2.203/24" gw4 "192.168.2.1" ipv4.dns "8.8.8.8,8.8.4.4" ipv4.method "manual"
Reboot the Nano.
After this, the IP was set to the static IP I set.