I’ll comment as I read…
eth0
would be the RJ45 connector which is “item 6” in the picture.
I do not know for certain if that RJ45 port can automatically handle a crossover cable versus straight-through. For reference, all ethernet connections on computers can go straight to a switch. The crossover is inside the switch itself, and the cable used is straight-through. If you go directly between the port on the Jetson to the port on another computer (not a switch between), then you technically need a crossover cable.
Some network adapters (if combined with the right driver) can automatically detect the need for a crossover, and can adapt without that crossover cable. Not all adapters have that ability. I think Jetsons work well with that situation, and likely can handle crossover situations without a crossover cable, but I won’t guarantee it.
If a crossover is needed between two computers (without a switch between them), then both ends would likely need to work in that situation. Even if the Jetson works with that situation (without a switch intervening), it might be that the other end does not. An easy test would be to not wire them directly together, but to at least temporarily put a switch between them. If the switch allows them to work, then you would know you need a crossover cable.
If you use some form of container for something like ROS2, then the container might cause a failure of the networks to talk to each other if it is not configured correctly.
What I don’t know is the difference between which port you use and which NIC is involved by saying “eth0
” or “eth1
”. The numbering depends on the order of enumeration during boot, so I cannot be sure of which one is which. The physical connector is what is important for the topic of crossover cables.
The USB-C port with label 10 is a bit of a twist. You should try with one of these ports, and not with the port label 10: Labels 12 or 7. This is if you are plugging in a USB network adapter, and not if you are using the virtual wired ethernet sometimes available on the USB port shown with label 10. Are you plugging in a USB network adapter and not just a cable? If so, then use the other ports. If not, then some explanation of the virtual wired ethernet you can get on port label 10 is required.
The port with label 10 can make the Jetson itself appear to be one or more devices. Normally a port is configured as a host. A host port can handle devices, e.g., mouse or keyboard or external NIC. When configured as a device, that port makes the Jetson look like a peripheral and not as a computer (e.g., it can look like mass storage to another computer if the port is programmed for that; or it can look like a wired network adapter if programmed for that…and that port is configured to make available a virtual wired network adapter).
The virtual wired ethernet uses the USB cable, and so there is no question of crossover cable. However, that port has a fixed IP address at the Jetson end. That Jetson would be address 192.168.55.1
(the other side would have to allow DHCP setup, not static, and that host would end up with address 192.168.55.100
). Actually, it is possible that if that other end is statically configured on the USB virtual address to have address 192.168.55.100
, then it might still work. This would be entirely over USB though, and would not involve the concept of a crossover cable (USB-C though is interesting because it uses some fancy wiring tricks to work in either direction and/or mode).
- If you have NIC, and if that NIC connects via USB, then try it anywhere other than the port with label 10. Check that it configures to the address you want (statically, if that is the desired case).
- If you are using the port with label 10 directly, as a virtual wired network adapter, then know that the other side needs to have address
192.168.55.100
(which then talks to the Jetson at 192.168.55.1
).
- If you have any kind of container on your robot, then make sure it is set to pass through the correct interface and to use the correct IP address.