-
Notifications
You must be signed in to change notification settings - Fork 65
Networking Setup
This isn't meant to be a comprehensive guide. It acts more like a reference.
Note: You are expected to have setup your jetson nano with a hostname for easy ssh. Follow this tutorial (especially step 12), and make sure that you note the hostname you pick.
- Setup laptop to act as a wifi hotspot.
- For macos: https://www.howtogeek.com/214053/how-to-turn-your-mac-into-a-wi-fi-hotspot/
- I actually connect another wifi dongle to my laptop so that I can have an active wifi connection as well (since I only have 1 wifi card inside my laptop).
- For macos: https://www.howtogeek.com/214053/how-to-turn-your-mac-into-a-wi-fi-hotspot/
- If you are using a usb wifi dongle for the jetson nano, plug it in. If you're using a full dual wifi/bluetooth card, set it up according to these intructions: https://www.howtogeek.com/214053/how-to-turn-your-mac-into-a-wi-fi-hotspot/
- Configure your jetson nano to autoconnect to the wifi hotspot that you created on your laptop.
Now, everytime you want to be able to ssh into the jetson nano (for debug for instance), just plug in the usb wifi dongle into your laptop. Your laptop should then automatically go into internet sharing mode. If you wait a minute or two, your jetson should automatically connect to the laptop hotspot. You can check if the jetson nano has connected to the wifi hotspot by running the following command in your terminal: ping [jetson-hostname].local
. Once the ping starts receiving packets, you can now ssh [username]@[hostname].local
. You should now be able to ssh into the jetson nano, and the jetson nano should also share the internet connection that your computer has (on the other network card).
Note: I would only use this for starting scripts/quick debugging, since there is a little bit of latency between your laptop and the jetson.