The description for serial console on a Nano is here:
https://www.jetsonhacks.com/2019/04/19/jetson-nano-serial-console/
One end of a serial console is usually a UART over USB, while the other end is usually just bare wires. Some Jetsons do have serial console on a micro-B USB connector, and can then use just a correct USB cable (without being a USB serial UART cable). In the case of a device with name “ttyACM0
” it implies this is a serial UART USB cable with the USB connected to the computer which generates the file “/dev/ttyACM0
” (presumably this is your host PC). You’ll see in the above URL that you do need a USB serial UART cable for serial console.
If you do not have such a cable, then you can simply use ssh
. If your host PC has allowed the virtual wired ethernet over USB, then your host should be able to “ping 192.168.55.1
”. This would imply you could successfully “ssh 192.168.55.1
”. Or, if the regular ethernet is connected to a router the host PC is also connected to, then you could use the regular ethernet IP address and ssh
to that.
Regardless, you must be connected to a logged in session on the remote Jetson prior to running screen
. Technically you could run screen
on the local PC, but it is something which does not make any sense and won’t do what you want it to do.
In that video’s URL he is using ethernet, but a serial console would also work. Any logged in session works. You could in fact run screen
while logged in to serial console, detach, and then log back in either local to the Jetson or via ethernet ssh
, and reattach. The trick is to have screen
running on the Jetson itself during a logged in session, detach, and then later reattach via any logged in session. Then your host PC can disconnect or be rebooted, and the session will continue on the Jetson as if the host PC never disconnected.
Note that since screen
runs on the Jetson and not on the host PC, then even though screen
is a Linux program, you could even reattach from a Windows machine using PuTTY, or from a Mac, or anything else.
Note: In the video when he mentions a ttyACM
it implies he is using serial console with a USB serial UART having the USB side connected to the host PC. Or else he is using a micro-B USB port which has an ACM serial UART integrated on the USB port (some Jetsons have this as a convenience, but it depends on the model).