Friday, July 22, 2022

How to Install rpi-imager in Ubuntu 20.04



Open a Terminal

$ sudo apt update

$sudo snap install rpi-imager


$ wget

$ sudo apt install ./imager_latest_amd64.deb

Tuesday, March 9, 2021

How to check the failed login history of your linux server

 lastb command is used to check the failed login history in Linux.

usage   :

$ sudo lastb

Thursday, January 28, 2021

How to make pdf file from multiple Image files in Ubuntu


If you have multiple image files and you want to make a single pdf file from it, just follow the steps

This GUI tool convert multiple image files to a single pdf file in Ubuntu linux

open terminal (Ctrl+Alt+T)

$ sudo apt install gscan2pdf

Friday, July 19, 2019

How to keep running a process after ending ssh session

ssh into your remote server.
start screen.

$ screen 

Start the process .

$ run any process

Then Press Ctrl-A then Ctrl-D. This will detach your screen session but leave your processes running.
You can now log out from the remote server.

When you like to come back to monitor your process, then log on again to the remote server  and type screen -r.
 This will resume your screen session,

You can Check your previous process.

Friday, November 3, 2017

Free Open Source Firewall Solution - Pfsense

PFSense is an open source firewall and router distribution based on FreeBSD .
 Pfsense is tailored for use as a firewall and router that is entirely managed via web interface.

pfSense can be setup on a lower end PC. It can be configured  and enhanced through a web-based interface, with out any  knowledge in FreeBSD system.

PfSense is very flexible and can easily be adapted to numerous applications ranging from a home router to a firewall for a large corporate network.  PfSense includes many features that are often only found in expensive commercial routers.

Why use pfSense instead of another router?

PfSense is fast, free, and stable offering tons of great features.

If you have an existing router that doesn't offer the features, or performance you need pfSense is a great choice to replace it with. Offering complete control of the hardware you can customize your pfSense system with the components you want.

If you've ever shopped for routers or firewall's before you probably know that depending on the features you are looking for they can be quite expensive. By using pfSense you can save a ton of money without compromising on features.

Popular uses for pfSense

    LAN / WAN Router
    Wireless Hotspot (Captive Portal)
    VPN Router
    DHCP / DNS Server
    Wireless Access Point
    Multi Wan Router
    Multi-WAN load balancing
    Automatic connection failover
    Bandwidth throttling 
    IPv4 and IPv6 support
    Port Forwarding / NAT (Network Address Translation)
User Authentication
    Local user and group database
    User and group-based privileges
    External RADIUS authentication
Proxy and Content Filtering
    Transparent Squid Proxy Server
    HTTP and HTTPS proxy
    Non Transparent or Transparent caching proxy
    Web Content Filter
    Domain/URL filtering
    Anti-virus filtering
    Unified Threat Management
    DNS Blacklist
    GeoIP blocking
    Time based rules
    SafeSearch for search engines
    Website access reporting
    Usage reporting for daily, monthly, etc.

Dashboard with configurable widgets
Local logging
Remote logging
Local monitoring graphs
Real-time interface traffic graphs  and More.........................

Monday, October 23, 2017

AppImage : Portable package for Linux

AppImage : New package format for Linux

Debian/Ubuntu useing .deb packages,  Redhat, Fedora Using .rpm Packages. Now a days you can see a new package format .appimage

AppImage is a Universal package format  that runs in all the Linux Distributions.

It is very easy to use , because there is no dependency issues.

A typical linux installation create files in various places so it requires root permission for installation.

but in appimage  doesn't need root privilege because it  doesn’t really install the software.

How to use appimage

  just download , make executable(right click on file --> select properties--> permissions and click on execute) and  run

Lot of Appimages are avilable here 

Tuesday, September 26, 2017

How to Install ESP32 Board in Arduino IDE ( Ubuntu /Debian )

How to Install  ESP32 Board in Arduino IDE ( Ubuntu /Debian )

Now a days ESP32 become more popular than NodeMCU.

ESP32 board is not available in Arduino IDE.

For Adding ESP32 Board in Arduino IDE

First you have to install the latest Arduino IDE from

Run the following commands in a terminal

sudo usermod -a -G dialout $USER && \
sudo apt-get install git && \
wget && \
sudo python && \
sudo pip install pyserial 
 Now make a folder espressif in your arduino/hardware folder and change to that directory
 mkdir -p ~/Arduino/hardware/espressif 
cd ~/Arduino/hardware/espressif  
now run the following command
git clone esp32 && \
cd esp32/tools/ && \
Copy and paste the above all commands in a terminal. 
It will download and install all the required files and settings.

Restart Arduino IDE.

Thursday, September 21, 2017

How to Run 720p and 1080p mkv files Raspberry pi

VLC and other common video players  in Raspberry pi not support GPU.

You can use Omxplayer a text based video player for running 720p and 1080p mkv and almost all other video formats.

for installing omxplayer

sudo apt-get install omxplayer

omxplayer is a textbased player , so it is very difficult to use.

you can provide a graphical front end by using tboplayer

Download the zip file from above site

run the following commands
sudo su
cd tboplayer-master

This will take some time to complete

now run the following
python /opt/tboplayer/

if any python module missing issue

pip install


raceback (most recent call last):
  File "/opt/tboplayer/", line 65, in
    import pexpect
ImportError: No module named pexpect

Solution :  pip install pexpect

Tuesday, August 22, 2017

How to Install Edup Wifi Adapter in Ubuntu

How to Install Edup Wifi Adapter in Ubuntu

USB ID  148f:7601 Ralink Technology, Corp.

Chip :  Ralink MT7601u

Open a Terminal and Run the following commands

sudo apt-get install linux-headers-generic build-essential 

sudo apt-get install git

git clone 

cd mt7601usta/src 


sudo make install 

sudo mkdir -p /etc/Wireless/RT2870STA/ 

sudo cp RT2870STA.dat /etc/Wireless/RT2870STA/ 

sudo modprobe mt7601Usta


Now Check your Wifi 

Monday, July 24, 2017

How to cut a field from csv file using bash

How to cut a field from csv file using bash 

Example :
cat mycsv.csv | cut -d ',' -f3

cat mycsv.csv | cut -d "," -f3 | sort | uniq -c | sort -rn | head