Use macOS terminal with a console cable for a serial terminal

The first thing you need to do is find out which device you want to connect to (the USB-C console cable)

ls /dev/tty.*

ictrepairs@MacBook-Pro-16-di-Luigi-Mazzoli /dev % cd /dev


ictrepairs@MacBook-Pro-16-di-Luigi-Mazzoli /dev % ls -ltr /dev/*usb*
crw-rw-rw- 1 root wheel 0x9000004 12 Lug 10:25 /dev/tty.usbserial-A98404LD
crw-rw-rw- 1 root wheel 0x9000005 12 Lug 10:25 /dev/cu.usbserial-A98404LD

Once you’ve figured out which one is your console cable, you can execute the SCREEN command to start the serial terminal session on your Mac. Remember to add the speed (baud rate) after the device name (for Cisco use 9600, Sophos 38400).

It should look something like this…

ictrepairs@MacBook-Pro-16-di-Luigi-Mazzoli /dev % screen /dev/tty.usbserial-A98404LD 38400

To Disconnect the OS X USB Console from the Terminal Window
 Enter Ctrl+A followed by Ctrl+\

 

 

Dettagli articolo

Codice articolo:
177
Categoria:
Data di inserimento:
12-Lug-2024 10:26am
Visualizzazioni:
8
Valutazione (Voti):
(0)

Articoli correlati