I’m not too knowledgeable on this topic, so I’m not too sure what you meant in your message. To provide more information, I am using this wifi card Amazon.ca.
An alternate way of asking the same thing is to see if ping and DNS work. What do you see from:
host nvidia.com
The answer might differ depending on where you are in the world, but for me I see:
nvidia.com has address 216.228.121.209
nvidia.com mail is handled by 10 nvidia-com.mail.protection.outlook.com.
Using the IP address above, you might see if you can ping that address (assuming DNS worked and gave you such an address): ping 216.228.121.209
If the first one fails, then your router or gateway is failing in such a way that DNS is not answering. This is the name-to-address service. If the ping of an address outside of your Jetson fails, then perhaps networking as a whole is failing to the outside world.
If you can provide the above information, then this will to some extent answer questions about the extent of what is or is not working in networking.
Either way, if you want to debug this from a networking point of view (ignore the WiFi card for now), then include the output from these commands:
kevinlee@kevinlee-desktop:~$ iwconfig
dummy0 no wireless extensions.
l4tbr0 no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
usb0 no wireless extensions.
lo no wireless extensions.
docker0 no wireless extensions.
rndis0 no wireless extensions.
kevinlee@kevinlee-desktop:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
I don’t think I ever claimed to really understand why @linuxdev wanted me to check it, but I figured sharing the output of all the commands would give @linuxdev a good idea why my networking is failing.
It seems that my jetson nano does not have access to the internet, but I’m not quite sure how to fix that since it’s outside of the scope of the “Getting started with the jetson nano” tutorial.
Ok… maybe you can google search the meaning of each command and understand what are they doing for. It will help you in lots of aspect since it sounds like you are new to Linux.
Currently, your wifi does not have a IP assigned. So again, I have another question, are you sure your wifi is connecting to something that is able to access the external Internet (gateway)? You can use the ubuntu GUI on the desktop to control your wifi connection.
Okay, so I think I may have solved the issue. I booted the nano with display and logged into the wifi. Then I ran the update command and all files were fetched. Just wondering, how would I have done this in headless mode?
Just to give you a general idea of what is going on, it looks like you are using the USB cable for the network connection. The Jetson would use IP address 192.168.55.1, and the host PC (on that cable) would be address 192.168.55.100. For the case of PC and Jetson talking to each other by naming those numeric IP addresses it should work.
The problem though is that the Jetson has no default route. A “router” has the ability to forward and connect different IP addresses as a kind of adapter when you need to talk to some other computer which is not locally available. Basically, if it were set up correctly, then the “route” command would show you a default gateway. Adding or removing WiFi does trigger having this set up, or not set up.
I have not set up WiFi to run in headless mode, but if the USB cable is connected, then if you set a default gateway to be the host PC, and if that PC is told to forward anything requesting the outside world, then the Jetson would use the PC as it is a gateway, and the PC would pretend to be a router. The PC’s access to the internet would then be available to the Jetson as if the Jetson is talking to a router with a default route.
The “host” command basically tests if named addresses can be converted to numeric addresses (this is “DNS” service). For it to work the Jetson would need access to the outside world. Without this you can only use the numeric (“dotted-decimal”) IP address format. DNS servers are usually part of your ISP. No gateway implies no DNS.
You have two choices:
Set your PC up to forward for the Jetson, and tell the Jetson that the IP address of the host PC is the default gateway (which means that if you request any address other than “192.168.55.1” or “192.168.55.100”, then the PC would be consulted and asked to reroute to the outside world);
Set up the WiFi (which uses the WiFi router’s forwarding/DNS/gateway abilities) to run without the GUI running (which is what headless mode does).
Sorry, I couldn’t give you the steps for that (partly because I don’t use headless, I also don’t use WiFi, and I use wired ethernet directly to a router rather than the USB to the PC…when I do work on the PC I run Linux which would be quite a bit different in forwarding setup compared to Linux).