Linux: Serial Port Communication
Posted: 25 Nov 2014, 6:18am - Tuesday

Since HyperTerminal was removed in Windows 7, I decided to look up on Linux tools for serial port communication and found minicom command. Here's how to install & use it (in my case I used Linux Mint):

# apt-get install minicom
Then after installation, cast a command:
# minicom -s

            +-----[configuration]------+
            | Filenames and paths      |
            | File transfer protocols  |
            | Serial port setup        |
            | Modem and dialing        |
            | Screen and keyboard      |
            | Save setup as dfl        |
            | Save setup as..          |
            | Exit                     |
            | Exit from Minicom        |
            +--------------------------+
Then you have to setup the serial port,
    +-----------------------------------------------------------------------+
    | 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?                                              |
    +-----------------------------------------------------------------------+
So in my case, I used USB to Serial connector, so I set Serial Device to ttyUSB0 After that, go to Exit and you'll be connected to the device you want to connect like Cisco routers/switch.