How to find network card driver name and version on Linux

Question: An Ethernet network interface card is attached to my Linux box, and I would like to know which network adapter driver is installed for the NIC hardware. Is there a way to find out the name and version of a network card driver for my network card? For network interface card (NIC) hardware to […]
Continue reading…

 

How to check if AES-NI is enabled for OpenSSL on Linux

Question: I have a Linux server which has Intel AES-NI hardware capability. I would like to check whether currently installed OpenSSL can use AES-NI acceleration. Intel Advanced Encryption Standard New Instructions (AES-NI) is a special instruction set for x86 processors, which is designed to accelerate the execution of AES algorithms. AES-based symmetric encryption is widely […]
Continue reading…

 

How to change USB device permission permanently on Linux

Question: I am trying to run gpsd on my Linux with a USB GPS receiver. However, I am getting the following errors from gpsd. gpsd[377]: gpsd:ERROR: read-only device open failed: Permission denied gpsd[377]: gpsd:ERROR: /dev/ttyUSB0: device activation failed. gpsd[377]: gpsd:ERROR: device open failed: Permission denied – retrying read-only Looks like gpsd does not have permission […]
Continue reading…

 

How to install a Brother printer on Linux

Question: I have a Brother HL-2270DW laser printer, and want to print documents from my Linux box using this printer. How can I install an appropriate Brother printer driver on my Linux computer, and use it? Brother is well known for its affordable compact laser printer lineup. You can get a high-quality WiFi/duplex-capable laser printer […]
Continue reading…

 

How to check memory usage on Linux

Question: I would like to monitor memory usage on my Linux system. What are the available GUI-based or command-line tools for checking current memory usage of Linux? When it comes to optimizing the performance of a Linux system, physical memory is the single most important factor. Naturally, Linux offers a wealth of options to monitor […]
Continue reading…

 

How to check CPU info on Linux

Question: I would like to know detailed information about the CPU processor of my computer. What are the available methods to check CPU information on Linux? Depending on your need, there are various pieces of information you may need to know about the CPU processor(s) of your computer, such as CPU vendor name, model name, […]
Continue reading…

 

How to connect to a serial port on Linux

Question: I need to access the management terminal of a hardware switch/router (e.g., Cisco Catalyst or HP ProCurve) via its console port. The switch console port is connected to the serial port of my Linux box. How can I connect to the serial port from a Linux terminal? First of all, let’s assume that you […]
Continue reading…

 

How to check firmware version on Linux

Question: I would like to upgrade the firmware of my Linux computer. But first I want to check the firmware version. Is there any Linux command for that? To find out the firmware version of a Linux computer, you can use a command line tool called dmidecode. This tool dumps the content of a computer’s […]
Continue reading…

 

How to find the device name of a USB drive on Linux

Question: I need to know the device name (e.g., /dev/sdb) assigned to my USB flash drive after I plug the drive into my Linux system. Is there an easy way to identify the device name of a USB drive on Linux? To find out the device name assigned to a USB drive or USB stick, […]
Continue reading…