no fuss, no muss...
sudo apt update -y
sudo apt install zsh -y
chsh -s /bin/zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
sudo hostnamectl set-hostname nano
sudo nvpmodel -m 0 # 10W(MAXN mode)
sudo nvpmodel -m 1 # 5W mode
sudo nvpmodel -q # query current power mode
Use screen util to connect with Jetson Nano through MicroUSB Connector (exec following commands on Host OS)
ls -l /dev/cu.usbmodem*
sudo screen /dev/cu.usbmodem14133200001053 115200 # Press Ctrl + a + k to trigger termination with y for confirmation.
sudo apt update -y
sudo apt-get install git cmake -y
sudo apt-get install python3-dev -y
sudo apt-get install python3-pip -y
sudo apt-get install libhdf5-serial-dev hdf5-tools -y
sudo apt-get install libatlas-base-dev gfortran -y
#sudo -H pip3 install -U jetson-stats
sudo pip3 install jetson-stats -i https://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com
sudo systemctl restart jetson_stats.service
jtop
sudo jetson_clocks --show # display current settings
sudo jetson_clocks --fan # set PWM fan speed to maximal
sudo systemctl disable nvzramconfig # nvzramconfig is a service
sudo fallocate -l 8G /mnt/8G.swap
sudo chmod 600 /mnt/8G.swap
sudo mkswap /mnt/8G.swap
sudo vi /etc/fstab # add this line: /mnt/8G.swap swap swap defaults 0 0
sudo reboot
sudo nmcli device wifi list
sudo nmcli device wifi connect <ssid_name> password <password> # replace <ssid_name> and <password> with proper settings
ifconfig
sudo nmcli radio wifi off
sudo nmcli radio wifi on
nmcli radio help
nmcli radio wifi help
cd ~/Desktop
wget https://www.python.org/ftp/python/3.7.9/Python-3.7.9.tgz
tar -xf Python-3.7.9.tgz
cd Python-3.7.9
./configure --enable-shared --enable-optimizations
make
sudo make install
sudo ldconfig /usr/local/lib
#pip3 install ipython
pip3 install nbconvert
# ipython nbconvert --to script xxx.ipynb
jupyter nbconvert --to script xxx.ipynb
stty cols 132 rows 34
sudo service nvargus-daemon restart
pip3 install torch torchvision torchaudio
cat /usr/local/cuda/version.txt