Archive

Archive for the ‘Linux’ Category

How to setup Minicom on a Kali (Debian) Linux computer

January 20th, 2014 Comments off

I needed to use the console port to configure some Cisco gears. Unfortunately, I only had my Kali Linux laptop with me. After a quick Google search, I found a package called “Minicom”, which could be used to connect to the serial ports on the laptop.

First, I went straight to “apt-get” to install the package, by using

But Kali Linux kicked back with error

1 apt-get

Turned out that the package ‘minicom’ placed in ‘universe’ repository. Check if that repository is enabled. The /etc/apt/sources.list must contain something like this:

Remember to run sudo apt-get update after changing the sources.list

2 sources list

Now I could install it

3 install

I also needed to get the serial port info with the following command:

4 dmesg

Then I could start Minicom and set it up with the information I have

5 minicom setup

Don’t forget to save the settings as default.
From now on, when I need to use the console port to config my Cisco gears, I just run Minicom and ready to go.

The last step would be, to Exit from minicom, Click Ctrl, A, Z then X.

Categories: Data Center, Linux
l>