close up on DSBOARD-NX2

Headless Installation for Jetson Nano

Jetson Nano

25 October 2021
WHAT YOU WILL LEARN?

1- How to Make Headless Installation for Jetson Nano on Ubuntu Host?

2- How to Make Headless Installation for Jetson Nano on Windows Host?

ENVIRONMENT

Hardware: DSBOARD-NX2

Host OS: Ubuntu 18.04, Windows 7 or higher


In this blog post, we will explain how to make a headless installation using Ethernet on Jetson Nano after installing the Jetson OS. To learn how to install Jetson OS using SDK manager, click here.


First, connect microUSB to Type-A USB cable to DSBOARD-NX2 on Recovery port and your host. We will cover both Ubuntu and Windows hosts in this blog posts. Then, connect Ethernet and Power.


How to Make Headless Installation for Jetson Nano on Ubuntu Host?

When you connect your Jetson Nano to a host computer with microUSB, it appears as ACM*, * as 0 ,1, 2, etc. You can check the port name by the following command.


ls /dev/ttyACM*



Now, you need to install a serial terminal application like “screen” to serially transfer data to the Jetson Nano. 


sudo apt-get install screen


Then, connect to the Jetson Nano using “screen” by specifying its port name (/dev/ttyACM0) and speed (115200). 


sudo screen /dev/ttyACM0 115200



System configuration will start at the serial terminal as follows. If it doesn’t, press ESC a few times. Press Enter to continue.



Press Enter to accept the License Agreement.



Choose a Language, then press Enter. 



Choose a country. If your country is not in the list, choose other option. Then, press Enter to continue.



If you chose “other” as the country, choose your continent/region. Then, press Enter to continue.



Select your country. Then, press Enter to continue.



If your country is not defined in the system, you will see the following. Choose a locale of language and country. Then, press Enter to continue.



Choose Yes if you want to use the time as UTC. Choose No if you want to set your own time zone. 



Choose a full name and user name for your Jetson Nano.



Set up a password, re-enter the password for verification.



If your password is weak, you will receive the following warning. Click Enter if you want to continue with the weak password. Choose No if you want to change it.



Choose the Network type. Since we connected the network using Ethernet, choose eth0. 



Wait until the installation is complete.






Close the screen terminal and connect to Jetson Nano again with the same command.


sudo screen /dev/ttyACM0 115200


This time after entering the username and password, you can use your Jetson Nano.



To use your Jetson Nano over the network, use ssh after learning the IP address. 


ifconfig




Open a new terminal and connect the board by using the following command. Click yes if you receive the following warning and enter the password.


ssh nvidia@



You can now start using Jetson Nano even if you remove the USB cable. 



How to Make Headless Installation for Jetson Nano on Windows Host?

To complete headless installation for Jetson Nano on Windows Host, check the port name on the Device Manager / Ports. The module uses COM8 port in here.



You should use a serial terminal application for Windows such as PuTTY as in this post.

Open PuTTY, choose Serial, enter the port name (COM8) and speed (115200).



Complete the System Configuration Settings as explained before. When you connect to Jetson Nano using the puTTY again, you will access to your Jetson Nano. Enter the user name and password you specified before.



To connect the Jetson after removing the USB cable, check the IP address by running the following command.


ifconfig



Open puTTY again, choose SSH and enter the IP address.



If you receive such an alert, click Accept.



After entering username and password, you can use your Jetson Nano even after removing USB cable.


Türkçe