Logo

dev-resources.site

for different kinds of informations.

Configuring Cisco firewall in Linux machine with Minicom

Published at
1/7/2025
Categories
cisco
firewall
cli
linux
Author
xinitd
Categories
4 categories in total
cisco
open
firewall
open
cli
open
linux
open
Author
6 person written this
xinitd
open
Configuring Cisco firewall in Linux machine with Minicom

How to configure Cisco device in Linux machine with Minicom? You need installed Minicom utility, C-13 power cable, physical connection from your PC to Cisco device via COM-to-USB cable like this:

Image description

Minicom utility need for connecting and sending commands to devices, connected by serial port, based on RS-232 standard and have out-of-box drivers. As an alternative in Windows may be used PuTTY.

If you not have already installed Minicom, this command help you:

sudo apt install minicom -y
Enter fullscreen mode Exit fullscreen mode

Ok, after device is connected determine port in Debian-based systems:

sudo dmesg | grep -i tty
Enter fullscreen mode Exit fullscreen mode

The output will look something like one of these:

[    0.788856] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    0.789144] 00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[94023.461242] usb 2-1: pl2303 converter now attached to ttyUSB0
[107561.131086] type=1503 audit(1260922689.994:33): operation="open" pid=27195 parent=27185 profile="/usr/sbin/cupsd" requested_mask="w::" denied_mask="w::" fsuid=0 ouid=0 name="/dev/ttyUSB0
Enter fullscreen mode Exit fullscreen mode

Launch new terminal window and start minicom application:

sudo minicom -s
Enter fullscreen mode Exit fullscreen mode

Select Serial port setup.
In opened window press A button on keyboard for set Serial Device and enter value: /dev/ttyUSB0.
Press E button for change baud rate, then press C to set it to 9600.
Change Hardware Flow Control to No by pressing F.
Select Exit menu item.

Now in front of you opening Cisco's unpriveleged mode. Set password for enable mode:

cisco> enable
cisco# configure terminal
cisco(config)# enable password my_password
Enter fullscreen mode Exit fullscreen mode

Set username and password for configure terminal mode:

cisco> enable
cisco# configure terminal
cisco(config)# username <username> password <password> privilege 15
Enter fullscreen mode Exit fullscreen mode

Set authentication method:

cisco> enable
cisco# configure terminal
cisco(config)# aaa authentication serial console LOCAL
Enter fullscreen mode Exit fullscreen mode

Exit from Minicom with saving changes. Press <CTRL+A> keyboard shortcut, then X button, then Enter.

cisco Article's
30 articles in total
Favicon
Master CCNA with Comprehensive Tutorials, Labs, and Challenges
Favicon
Configuring network access with Cisco ASA via minicom utility
Favicon
Pass Your Cisco Certification with 350 401 Questions
Favicon
Configuring Cisco firewall in Linux machine with Minicom
Favicon
Importance of Cisco in IT Networking in 2025
Favicon
Is a Cisco Certification Worth It in 2025?
Favicon
5 Study Tips to Pass the CCNA Certification Exam
Favicon
Any IT certification you want to pass just visit the best website TopITExam
Favicon
How to Get CCNA Certification in 2025
Favicon
CompTIA Certification Cost 2025: Complete IT Certification in Guide
Favicon
What Types of Jobs Can You Get with a CCNA?
Favicon
SWITCH CISCO SGN
Favicon
Protocolo BGP ejemplo
Favicon
Are Cisco Certifications Worth It?
Favicon
Is It Better to Start with Cisco Certifications?
Favicon
CCNA Training Online | Cisco Certified Network Associate Certification Online
Favicon
The Need for Security in Firms:
Favicon
Is Getting a CCNA Certification Worth in 2025?
Favicon
Cursos Cisco: Cibersegurança, IoT, Redes, IA E Outros Gratuitos
Favicon
Curso De Ciência De Dados Online E Gratuito Da Cisco
Favicon
Wi-Fi Components - 500-420 CAAPA Exam Guide
Favicon
IPv6 DHCP and Router Advertisements - Cisco 010-151 DCTECH Exam Guide
Favicon
Switching Packets - Cisco 010-151 DCTECH Exam Guide
Favicon
IPv4 Address Resolution - Cisco 010-151 DCTECH Exam Guide
Favicon
Wireless Interference - 500-301 CCS Exam
Favicon
Advantages and Disadvantages of Wi-Fi - 500-325 CSA Exam Guide
Favicon
What an IP Address Represents - Cisco 300-420 ENSLD Study Guide
Favicon
Mastering Routing Protocols with Cisco Packet Tracer: A Learning Experience
Favicon
Keeping Pace with AI: Optimizing Network Infrastructure To Handle Growing AI Workloads
Favicon
Assign an Address Through a Protocol - Cisco 010-151 DCTECH Exam Guide

Featured ones: