I can’t connect via ssh (or ping) when trying to install the Jetpack 4.3 SDK components over USB.
I can flash the Xavier without issue. I get to the 50% mark where I then switch over to the Xavier and finish the configuration wizard. I do that and it boots up and I login. After connecting the Xavier to the host with the USB Type-C connector, the Xavier correctly reports the IP to be 192.168.55.1.
The host is running Ubuntu 18.04, which was upgraded from an older Ubuntu version. After the above steps, the host does not indicate an IP of 192.168.55.100. Therefore, I attempted to manually set a static host IP address as instructed in the README-usb-dev-mode.txt file. From what I’ve read elsewhere, because the host was upgraded from an older Ubuntu version, I need to do this by altering the /etc/network/interfaces file, rather than editing a file in the /etc/netplan/ directory.
This is my edited/update /etc/network/interfaces file:
auto eno2 iface eno2 inet static address 192.168.55.100 netmask 255.255.255.0
After editing it I restarted the networking…
$ sudo ip a flush eno2 $ sudo systemctl restart networking.service
At this point, from the Xavier I can ping 192.168.55.1, and ssh into 192.168.55.1 (itself), but I can’t ping or ssh 192.168.55.1 (the host).
Similarly from the host, I can ping and ssh 192.168.55.100 (itself), but not 192.168.55.100 (the Xavier).
The cross-machine pings gives me “Destination Host Unreachable” errors.
This is the routing table of the host:
$ route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default modem.Home 0.0.0.0 UG 600 0 0 wlo1 22.214.171.124 0.0.0.0 255.0.0.0 U 0 0 0 ham0 link-local 0.0.0.0 255.255.0.0 U 1000 0 0 wlo1 192.168.0.0 0.0.0.0 255.255.255.0 U 600 0 0 wlo1 192.168.55.0 0.0.0.0 255.255.255.0 U 0 0 0 eno2
This is the routing table of the Xavier:
$ route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default _gateway 0.0.0.0 UG 32766 0 0 l4tbr0 link-local 0.0.0.0 255.255.0.0 U 1000 0 0 l4tbr0 192.168.55.0 0.0.0.0 255.255.255.0 U 0 0 0 l4tbr0
When I attempt the installation from the SDK Manager I get:
“Cannot connect to the device via SSH. Validate that SSH service is running on the device.”
I’m at a loss as to what to try next. Can someone please offer some guidance?
@linuxdev, I see that you’ve helped on related questions. Perhaps you can help?