May 14, 2009 · General · Email This Post

Sponsored Link
Minicom is a clone of the MS-DOS "Telix" communication program. It emulates ANSI and VT102 terminals, has a dialing directory and auto zmodem download.

Install minicom using the following command

sudo apt-get install minicom

Now you need to check your serial ports using the following command from your terminal

dmesg|grep ttyS

You should see similar to the following output

[ 1.430818] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 1.431528] 00:0c: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A

This means the device correspond to my serial port is ttyS0.

Configure minicom using the following command

sudo minicom -s

Use the keyboard keys to select the menu item Serial port setup.

Enter A to change the Serial Device to /dev/ttyS0, and then enter E to change the line speed to 9600 8N1

Using arrow keys, select Save setup as dfl

Select Exit from Minicom.

Next time, from the terminal you only need to run sudo minicom in order to access your Cisco box or you make the user a member of the ‘dialout' group. Then you don't have to run minicom with sudo after the initial default configuration. The Dialout group owns all of the serial ports in Ubuntu.

Sponsored Link

Incoming search terms:

Related posts

6 Comments to “Minicom – HyperTerminal replacement in Ubuntu”

  1. Might wanna try GTKterm, much easier.

    [Reply]

  2. Jim says:

    I like Minicom, but I prefer GTKterm also. Unfortunately it doesn’t have official support, but the code is very straight forward and easy for users to customize and hack. Check out the project at http://www.jls-info.com/julien/linux/

    [Reply]

  3. Sigurður Jónsson says:

    I like both. Gtkterm is however better than minicom if you need to boot your cisco box into rommon and reset the password. Minicom doesnt respond to the break character. Anyway thats my experience.

    [Reply]

  4. Nur Suhaili says:

    why the output

    [ 1.430818] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    [ 1.431528] 00:0c: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A

    did not came out in my terminal? nothing come out when i want to check my serial port.what should i do?

    [Reply]

  5. Arun Kumar S says:

    sudo minicom

    minicom: cannot open /dev/ttySO: No such file or directory

    The command”sudo minicom’ show an error as above.

    [Reply]

  6. minakshi says:

    where should i type all these commands to install the minicom? and which sw is used in case of ubuntu if i want to connect it to beagleboard?

    [Reply]

Leave a Reply