Hi at all,
i’m facing a problem when connecting through SSH to my Jetson TX2. I’m using an Ubuntu 18.04 and the board is correctly connected and visible from the host.
$ lsusb
Bus 002 Device 002: ID 8087:8002 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:800a Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 008: ID 0955:7020 NVidia Corp.
Bus 003 Device 005: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 003 Device 004: ID 413c:2107 Dell Computer Corp.
Bus 003 Device 003: ID abcd:1234 Unknown
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
when i launch the SSH command nothing happens until the system kill the command for connection timed out.
$ ssh jetson@192.168.55.1
ssh: connect to host 192.168.55.1 port 22: Connection timed out
The strange thing is that if i connect my Jetson to another laptop (using a MacBook Pro with Ubuntu via VM) the board is visible and reachable via SSH. So i think that the problem is in my host pc.
I have to add that before adding the ethernet connection protected by 801.x in my host side all was working correctly, maybe this is the cause? And if yes how can i fix it?
Here some debug commands that could be useful (from my Jetson)
$ifconfig
Summary
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 147.122.61.40 netmask 255.255.255.0 broadcast 147.122.61.255
inet6 fe80::3323:15e2:81ca:9ea2 prefixlen 64 scopeid 0x20<link>
ether 00:04:4b:8c:a0:d1 txqueuelen 1000 (Ethernet)
RX packets 31488 bytes 29457041 (29.4 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 9157 bytes 1135103 (1.1 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 41
l4tbr0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.55.1 netmask 255.255.255.0 broadcast 192.168.55.255
inet6 fe80::1 prefixlen 128 scopeid 0x20<link>
inet6 fe80::4064:c3ff:fe7e:85f5 prefixlen 64 scopeid 0x20<link>
ether 42:64:c3:7e:85:f5 txqueuelen 1000 (Ethernet)
RX packets 368 bytes 70435 (70.4 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 850 bytes 89726 (89.7 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
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 1 (Local Loopback)
RX packets 6223 bytes 383017 (383.0 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 6223 bytes 383017 (383.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
rndis0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::4064:c3ff:fe7e:85f5 prefixlen 64 scopeid 0x20<link>
ether 42:64:c3:7e:85:f5 txqueuelen 1000 (Ethernet)
RX packets 92 bytes 18322 (18.3 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 700 bytes 110027 (110.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::4064:c3ff:fe7e:85f7 prefixlen 64 scopeid 0x20<link>
ether 42:64:c3:7e:85:f7 txqueuelen 1000 (Ethernet)
RX packets 281 bytes 53270 (53.2 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 674 bytes 109412 (109.4 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 00:04:4b:8c:a0:cf 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
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2020-10-14 11:35:12 CEST; 27min ago
Process: 12888 ExecReload=/bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS)
Process: 12883 ExecReload=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS)
Process: 5070 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS)
Main PID: 5171 (sshd)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/ssh.service
└─5171 /usr/sbin/sshd -D
ott 14 11:57:48 jetson-tx2-board systemd[1]: Reloading OpenBSD Secure Shell server.
ott 14 11:57:48 jetson-tx2-board sshd[5171]: Received SIGHUP; restarting.
ott 14 11:57:48 jetson-tx2-board systemd[1]: Reloaded OpenBSD Secure Shell server.
ott 14 11:57:48 jetson-tx2-board sshd[5171]: Server listening on 0.0.0.0 port 22.
ott 14 11:57:48 jetson-tx2-board sshd[5171]: Server listening on :: port 22.
ott 14 11:57:49 jetson-tx2-board systemd[1]: Reloading OpenBSD Secure Shell server.
ott 14 11:57:49 jetson-tx2-board systemd[1]: Reloaded OpenBSD Secure Shell server.
ott 14 11:57:49 jetson-tx2-board sshd[5171]: Received SIGHUP; restarting.
ott 14 11:57:49 jetson-tx2-board sshd[5171]: Server listening on 0.0.0.0 port 22.
ott 14 11:57:49 jetson-tx2-board sshd[5171]: Server listening on :: port 22.