Unable to connect with SSH

Hi,

we are having problems connecting to our Drive AGX Xavier via SSH. We did the wiring as described in the set-up video.
Following the “DRIVE - Learn - First Interaction using SSH” guide we wanted to find out the target ip.

ifconfig | grep -A 5 "br0\ " | grep -oP "inet addr:\K\S+"

doesn’t give any output on the AGX.

The interfaces that

ifconfig-a

outputs are:

can0
can1
dummy0
enP4p1s0
enp4s0
eth0
eth0:400
eth0:900
eth0.200
hv0
lo

Connecting via minicom works however.

Thanks in advance for your help!

Dear t.mueller,
What is the DRIVE SW version? Could you share the complete ifconfig output

Hi SivaRamaKrishna,

We are using the latest DRIVE OS 10.0 version (Linux).

ifconfig

gives:

nvidia@tegra-ubuntu:~$ ifconfig
can0: flags=193<UP,RUNNING,NOARP>  mtu 16
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 10  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 108  

can1: flags=193<UP,RUNNING,NOARP>  mtu 16
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 10  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 109  

enp4s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.0.10  netmask 255.255.255.0  broadcast 192.168.0.255
        ether 00:04:4b:f6:56:c1  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.100.194  netmask 255.255.255.0  broadcast 192.168.100.255
        inet6 fe80::204:4bff:fef6:56be  prefixlen 64  scopeid 0x20<link>
        ether 00:04:4b:f6:56:be  txqueuelen 1000  (Ethernet)
        RX packets 1313283  bytes 1671626561 (1.6 GB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 820906  bytes 58037453 (58.0 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 84  

eth0:400: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.200  netmask 255.255.255.0  broadcast 192.168.1.255
        ether 00:04:4b:f6:56:be  txqueuelen 1000  (Ethernet)
        device interrupt 84  

eth0:900: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.1.0.81  netmask 255.255.0.0  broadcast 10.1.255.255
        ether 00:04:4b:f6:56:be  txqueuelen 1000  (Ethernet)
        device interrupt 84  

eth0.200: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.42.0.28  netmask 255.255.255.0  broadcast 10.42.0.255
        inet6 fe80::204:4bff:fef6:56be  prefixlen 64  scopeid 0x20<link>
        ether 00:04:4b:f6:56:be  txqueuelen 1000  (Ethernet)
        RX packets 6306  bytes 319773 (319.7 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3672  bytes 238172 (238.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

hv0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.12.4  netmask 255.255.255.0  broadcast 192.168.12.255
        inet6 fe80::886:4cff:fef8:e900  prefixlen 64  scopeid 0x20<link>
        ether 0a:86:4c:f8:e9:00  txqueuelen 1000  (Ethernet)
        RX packets 4  bytes 292 (292.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 107  bytes 13188 (13.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 20  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 8304  bytes 537410 (537.4 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 8304  bytes 537410 (537.4 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

and

ifconfig -a

:

nvidia@tegra-ubuntu:~$ ifconfig -a
can0: flags=193<UP,RUNNING,NOARP>  mtu 16
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 10  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 108  

can1: flags=193<UP,RUNNING,NOARP>  mtu 16
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 10  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 109  

dummy0: flags=130<BROADCAST,NOARP>  mtu 1500
        ether 46:10:5c:32:5e:d3  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enP4p1s0: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 00:04:4b:f6:56:c3  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp4s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.0.10  netmask 255.255.255.0  broadcast 192.168.0.255
        ether 00:04:4b:f6:56:c1  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.100.194  netmask 255.255.255.0  broadcast 192.168.100.255
        inet6 fe80::204:4bff:fef6:56be  prefixlen 64  scopeid 0x20<link>
        ether 00:04:4b:f6:56:be  txqueuelen 1000  (Ethernet)
        RX packets 1313487  bytes 1671641088 (1.6 GB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 821501  bytes 58079155 (58.0 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 84  

eth0:400: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.200  netmask 255.255.255.0  broadcast 192.168.1.255
        ether 00:04:4b:f6:56:be  txqueuelen 1000  (Ethernet)
        device interrupt 84  

eth0:900: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.1.0.81  netmask 255.255.0.0  broadcast 10.1.255.255
        ether 00:04:4b:f6:56:be  txqueuelen 1000  (Ethernet)
        device interrupt 84  

eth0.200: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.42.0.28  netmask 255.255.255.0  broadcast 10.42.0.255
        inet6 fe80::204:4bff:fef6:56be  prefixlen 64  scopeid 0x20<link>
        ether 00:04:4b:f6:56:be  txqueuelen 1000  (Ethernet)
        RX packets 6338  bytes 321285 (321.2 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3689  bytes 239146 (239.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

hv0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.12.4  netmask 255.255.255.0  broadcast 192.168.12.255
        inet6 fe80::886:4cff:fef8:e900  prefixlen 64  scopeid 0x20<link>
        ether 0a:86:4c:f8:e9:00  txqueuelen 1000  (Ethernet)
        RX packets 4  bytes 292 (292.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 107  bytes 13188 (13.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 20  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 8341  bytes 539797 (539.7 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 8341  bytes 539797 (539.7 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Dear t.mueller,
Could you check ping to 192.168.100.194 machine from host?

Dear SivaRamaKrishna,

pinging to 192.168.100.194 just gives a timeout error.

Dear t.muller,
Could you please check thread with similar issue https://devtalk.nvidia.com/default/topic/1068517/general/how-to-use-ssh-under-drive-software-10-0

We managed to solve the issue by connecting the host and the target via a router. We set up the router to assign each device an ip address in the 192.168.100.xxx range. On the host we did

sudo ifconfig enx000ec6a3d1de 192.168.100.59 netmask 255.255.255.0

where enx000ec6a3d1de is the interface to the router on the host.