I have installed minicom through the following command:
sudo apt-get minicom
I am connected with the HP 5130 switch through a USB to Serial Console Cable. The name of my serial port is /dev/ttyUSB0 according to following command:
dmesg | grep tty
[ 0.000000] console [tty0] enabled
[49689.082419] usb 3-2: pl2303 converter now attached to ttyUSB0
Extra check:
ls -l /dev/ttyUSB0
If I unplug the USB cable, I get following error:
ls: cannot access /dev/ttyUSB0: No such file or directory
So I assume its correct that ttyUSB0 is the right port
I edited the settings of minicom as following:
+-----------------------------------------------------------------------+
| A - Serial Device : /dev/ttyUSB0 |
| B - Lockfile Location : /var/lock |
| C - Callin Program : |
| D - Callout Program : |
| E - Bps/Par/Bits : 9600 8N1 |
| F - Hardware Flow Control : Yes |
| G - Software Flow Control : No |
| |
| Change which setting? |
+-----------------------------------------------------------------------+
and started minicom
However, I don't get any output except this:
Welcome to minicom 2.7
OPTIONS: I18n
Compiled on Jan 1 2014, 17:13:22.
Port /dev/ttyUSB0, 15:02:26
Press CTRL-A Z for help on special keys
CTRL-A Z for help | 9600 8N1 | NOR | Minicom 2.7 | VT102 | Offline | ttyUSB0
I think the problem lies in the offline status?