So, for many hours I’ve been working on trying to get my Jetson Nano to connect through WiFi using the console.
Here’s my journey so far.
- Follow the directions on Getting Started With Jetson Nano Developer Kit | NVIDIA Developer to download and flash the Linux system to my 128GB Evo SD Card purchased at https://smile.amazon.com/gp/product/B06XWZWYVP/ (Successfully flashed it using Etcher)
- Install J48 connector to use the barrel connector instead of MicroUSB
- In round 1 I connected my monitor, keyboard, and mouse, and successfully booted into the Nano. The WiFi connection worked just fine and I did
sudo apt-get update && sudo apt-get upgrade
without issue. The problem then became that Vino required me to make my account auto-log in, disable all security, and allow for random Vino connections in order to use the RDE (Remote Desktop Environment). After hours of work on trying to connect to it through my Linux Mint 19.3 host system, I decided that it wasn’t worth it and decided to chop its head off. - In round 2, I flashed the OS once again to start fresh, and then I followed the tutorial at HEADLESS SETUP - Jetson Nano - YouTube to get SSH up and running. Everything went well, WiFi was good to go at that time, too.
- I then ran
sudo apt-get update && sudo apt-get upgrade
again while connected to SSH. It ran, and when it updated wpasupplicant, the connection dropped. (Given that it relates to using WPA to connect through WiFi, I’m not surprised.) - After that connection dropped, I successfully reconnected to SSH again, and then I did
sudo reboot
just to make sure everything was good to go, as I remembered that it needed a reboot after upgrading it the last time. - After that reboot, the system came up, and I could use
sudo screen /dev/ttyACM0 115200
on the host machine to talk to the Nano, butifconfig
shows that wlan0 wasn’t connected. I couldn’t ping google.com and get a response either.
Things I’ve Tried
-
sudo ifup wlan0
which resulted in it complaining about the missing/etc/network/interface
file. (I later gave it one, but nothing came of it.) - My password contains a
\
character, so I usedwpa_passphrase
to secure it so it’s not stored in clear text… (If I flash the card again, I’ll probably just run that command on my host machine and give it the hashed version when creating the connection through the shell GUI.) - I also did a
sudo dhclient wlan0
and got a bunch of endlessDHCPDISCOVER
messages. I couldn’t get it to cancel through the tty connection, so I pushed the reset button on the case I got for my Nano, and it rebooted.
After I made some modifications to the network config, I stopped being able to use TTY for some reason, so I’ll probably reflash to card to start fresh, but I need to know why apt upgrade
causes the upgrades to stop the Wifi connection from working. What am I missing, and what other information do you need from me to figure out what’s going wrong here?