{"id":19926174,"url":"https://github.com/ani717/headless-jetson-nano-setup","last_synced_at":"2025-10-24T20:10:20.070Z","repository":{"id":190587651,"uuid":"365416078","full_name":"ANI717/Headless-Jetson-Nano-Setup","owner":"ANI717","description":"Jetson Nano Setup without Monitor for JetBot Build. JupyterLab, ROS2 Dasing, Torch, Torch2trt, ONNX, ONNXRuntime-GPU and TensorFlow Installation Included. JupyterLab doesn't require Docker Container.","archived":false,"fork":false,"pushed_at":"2021-11-15T07:32:13.000Z","size":422,"stargazers_count":7,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-07T13:43:34.848Z","etag":null,"topics":["aarch64","jetbot","jetson-nano","jupyterlab","onnx","onnxruntime","onnxruntime-gpu","python3","pytorch","ros2","ros2-dashing","tensorflow2","torch","torch2trt","torchvision","ubuntu"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ANI717.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-05-08T04:11:50.000Z","updated_at":"2024-07-22T18:59:37.000Z","dependencies_parsed_at":"2023-08-25T11:31:27.613Z","dependency_job_id":null,"html_url":"https://github.com/ANI717/Headless-Jetson-Nano-Setup","commit_stats":null,"previous_names":["ani717/headless-jetson-nano-setup"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ANI717%2FHeadless-Jetson-Nano-Setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ANI717%2FHeadless-Jetson-Nano-Setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ANI717%2FHeadless-Jetson-Nano-Setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ANI717%2FHeadless-Jetson-Nano-Setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ANI717","download_url":"https://codeload.github.com/ANI717/Headless-Jetson-Nano-Setup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252162531,"owners_count":21704269,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aarch64","jetbot","jetson-nano","jupyterlab","onnx","onnxruntime","onnxruntime-gpu","python3","pytorch","ros2","ros2-dashing","tensorflow2","torch","torch2trt","torchvision","ubuntu"],"created_at":"2024-11-12T22:28:16.051Z","updated_at":"2025-10-24T20:10:19.987Z","avatar_url":"https://github.com/ANI717.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ch1 align=\"center\"\u003eHeadless Jetson Nano Setup for Jetbot Build\u003c/h1\u003e\n\u003c/p\u003e\n\n\u003cp align=\"justify\"\u003e\nHeadless Jetson Nano 4GB setup with with Micro-USB cable Without Using Monitor. USB Dongle is required for Wifi Connection. JupyterLab setup included. JupyterLab doesn't need docker. Torch, Torch2trt, ONNX, ONNXRuntime-GPU Torchvision and TensorFlow Installation Included. ROS2 Dasing Installation Included.\n\u003c/p\u003e\n  \n## Colaborators\n[Animesh Bala Ani](https://www.linkedin.com/in/ani717/)\n\n## Table of Contents\n* [Install Jetson Nano Image](#install) \u003cbr/\u003e\n* [Boot Jetson Nano](#boot) \u003cbr/\u003e\n* [Wifi Connection Setup](#wifi) \u003cbr/\u003e\n* [Download This Repository](#repository) \u003cbr/\u003e\n* [One Command Install All](#all) \u003cbr/\u003e\n* [Enable I2C Permissions](#i2c) \u003cbr/\u003e\n* [Install Jupyter Lab](#jupytarlab) \u003cbr/\u003e\n* [Setup Jetbot Stats](#stats) \u003cbr/\u003e\n* [Install ROS2 Dashing](#ros2dashing) \u003cbr/\u003e\n* [Install Torch](#torch) \u003cbr/\u003e\n* [Install Torch2trt and ONNX](#torch2trt) \u003cbr/\u003e\n* [Install TensorFlow](#tf) \u003cbr/\u003e\n* [Issues](#issue) \u003cbr/\u003e\n\n## Install Jetson Nano Image \u003ca name=\"install\"\u003e\u003c/a\u003e\nDownload [balenaEtcher](https://www.balena.io/etcher/) and install it.\u003c/br\u003e\nDownload [Jetson Nano Developer Kit SD Card Image](https://developer.nvidia.com/jetson-nano-sd-card-image-45-0), and write it on a microSD card with **balenaEtcher**.\u003c/br\u003e\n\n## Boot Jetson Nano \u003ca name=\"boot\"\u003e\u003c/a\u003e\nInsert the microSD card to Jetson Nano.\u003c/br\u003e\nConnect Jetson Nano with a PC/Laptop using Micro-USB cable.\u003c/br\u003e\nPower On the Jetson Nano and wait for 1-2 minutes.\u003c/br\u003e\nDownload [PuTTY](https://www.putty.org/).\u003cbr/\u003e\nOpen **Putty**, select connection type **serial**.\u003cbr/\u003e\nThe serial line value `COM#` can be found from following in Windows OS.\u003c/br\u003e\n```\nDevice Manager \u003e Ports (COM\u0026LPT) \u003e USB Serial Device (COM#)\n```\nOnce connected, go through initial setup until Network Configuration.\u003c/br\u003e\nSelect `dummy0: Unknown Interface`\u003c/br\u003e\nOnce it fails to connect, select `Do not configure the network at this time`\u003c/br\u003e\nGo through the rest of the steps with the default settings.\nOnce completed, wait couple of minutes and go to next step.\n\n## Wifi Connection Setup \u003ca name=\"wifi\"\u003e\u003c/a\u003e\nOpen Putty and connect using host name `192.168.55.1` or using COM Port\u003cbr/\u003e\nRun following command and reboot Jetson Nano.\u003c/br\u003e\n```\nsudo systemctl restart network-manager.service\n```\nLog into Jetson Nano and run following command to detect availability of your wifi SSID.\u003c/br\u003e\n```\nnmcli device wifi list\n```\nConnect to wifi using following command.\u003c/br\u003e\n```\nsudo nmcli device wifi connect \u003cSSID\u003e password \u003cWifi_Password\u003e\n```\nRun following command to get the IP address (2nd one).\u003c/br\u003e\n```\nhostname -I\n```\nOpen Putty and connect using the IP address.\u003cbr/\u003e\nOnce login completes, the Micro-USB cable can be disconnected.\n\n## Download Repository \u003ca name=\"repository\"\u003e\u003c/a\u003e\n```\ngit clone https://github.com/ANI717/Headless-Jetson-Nano-Setup\n```\n\n## One Command Install All \u003ca name=\"all\"\u003e\u003c/a\u003e\nInstalls `Jupyter Lab`, `ROS2 Dashing`, `PyTorch`, `Torchvision`, `Torch2trt`, `ONNX`, `ONNXRuntime-GPU`, `Inputs` and `Adafruit_MotorHat`.\u003cbr/\u003e\nEnables I2C Permissions.\u003cbr/\u003e\nSets Jetbot Stats.\u003cbr/\u003e\nTakes aroud 20 minutes to 50 minutes.\u003cbr/\u003e\n```\ncd ~/Headless-Jetson-Nano-Setup\nchmod +x ./*.sh \u0026\u0026 ./install.sh\n```\n\n## Enable I2C Permissions \u003ca name=\"i2c\"\u003e\u003c/a\u003e\n```\nsudo usermod -aG i2c $USER\n```\n\n## Install Jupyter Lab \u003ca name=\"jupytarlab\"\u003e\u003c/a\u003e\n```\ncd ~/Headless-Jetson-Nano-Setup\nchmod +x ./jupyter.sh \u0026\u0026 ./jupyter.sh\n```\nOpen Jupytar Lab in a browser with `\u003cIP Address\u003e:8888` link. Default password is `jetbot`.\u003cbr/\u003e \nThe interface should look like this (without watermark).\u003cbr/\u003e\n\n\u003cimg src=\"JupytarLab.png\" alt=\"JupytarLab Interface\" class=\"inline\"/\u003e\u003cbr/\u003e\n[Reference](https://github.com/NVIDIA-AI-IOT/jetbot/wiki/Create-SD-Card-Image-From-Scratch)\n\n## Setup Jetbot Stats \u003ca name=\"stats\"\u003e\u003c/a\u003e\nSetup Jetbot Stats Service to show Jebot status in OLED display.\u003cbr/\u003e\n```\ncd ~/Headless-Jetson-Nano-Setup\nchmod +x ./jetbot_stats.sh \u0026\u0026 ./jetbot_stats.sh\n```\n\n## Install ROS2 Dashing \u003ca name=\"ros2dashing\"\u003e\u003c/a\u003e\n```\ncd ~/Headless-Jetson-Nano-Setup\nchmod +x ./dashing.sh \u0026\u0026 ./dashing.sh\n```\n[Reference](https://docs.ros.org/en/dashing/Installation/Ubuntu-Install-Debians.html)\n\n## Install Torch \u003ca name=\"torch\"\u003e\u003c/a\u003e\nInstalls `PyTorch` and `TorchVision`.\u003cbr/\u003e\n```\ncd ~/Headless-Jetson-Nano-Setup\nchmod +x ./pytorch.sh \u0026\u0026 ./pytorch.sh\n```\n[PyTorch Wheel](https://forums.developer.nvidia.com/t/pytorch-for-jetson-version-1-9-0-now-available/72048)\u003cbr/\u003e\n\n## Install Torch2trt and ONNX \u003ca name=\"torch2trt\"\u003e\u003c/a\u003e\nInstalls `Torch2trt`, `ONNX` and `ONNXRuntime-GPU`.\u003cbr/\u003e\n```\ncd ~/Headless-Jetson-Nano-Setup\nchmod +x ./torch2trt_onnx.sh \u0026\u0026 ./torch2trt_onnx.sh\n```\n\n## Install TensorFlow \u003ca name=\"tf\"\u003e\u003c/a\u003e\nInstalls `TensorFLow`.\u003cbr/\u003e\n```\ncd ~/Headless-Jetson-Nano-Setup\nchmod +x ./tensorflow.sh \u0026\u0026 ./tensorflow.sh\n```\n\n## Issues \u003ca name=\"issue\"\u003e\u003c/a\u003e\nInstalling or modifying `OpenCV` will break `Gstreamer Pipeline`.\u003cbr/\u003e\nTherefore `Albumation` package should not be installed for Deep Learning.\u003cbr/\u003e\nAlso `Numpy` version `1.19.4` is required to work `Gstreamer Pipeline`.\u003cbr/\u003e\n\nUpdating `Setuptools` will generate deprication error during ROS2 workspace building.\u003cbr/\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fani717%2Fheadless-jetson-nano-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fani717%2Fheadless-jetson-nano-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fani717%2Fheadless-jetson-nano-setup/lists"}