How to configure Wi-fi+Lan bridged access point in pfSense firewall router

I have installed wireless mini-PCIe card for my pfSense firewall. How do I configure a bridged LAN wifi access point (AP) network and setup pfSense?   In this tutorial, I will explain how to setup…

cron Error: bad username; while reading /etc/cron.d file on Linux

I am getting the following error in my cron job log file /var/log/cron.log: Aug 22 01:59:01 server2 cron[7510]: Error: bad username; while reading /etc/cron.d/backups I have job entry as follows to run a job at…

How to forcefully mark down pfSense Gateway as down

I have two internet connections (fiber and 4G LTE) configured in load balanced mode using pfSense FreeBSD based firewall. One of my wan connection is running out of bandwidth quota. How can I force and…

How to automatically mount zfs file system on Linux/Unix/FreeBSD

I have created a zfs file system called data/vm_guests on Ubuntu Linux server. After the server reboot, zpools do not automatically mount at /data/vm_guests. It is failing my KVM guest machines. How can I mount…

How to check if port is in use on Linux or Unix

H ow do I determine if a port is in use under Linux or Unix-like system? How can I verify which ports are listening on Linux server?   It is important you verify which ports…

How to add to bash $PATH permanently on Linux

Iam a new Linux and bash shell user. How do I permanently set $PATH on Linux? How can I permanently add a directory to shell PATH on Linux?   You need to setup a variable…

How to create a permanent Bash alias on Linux/Unix

I need to create a bash shell alias named update as follows: alias update= sudo — sh -c  /root/bin/chk_disk && dnf update However, this update alias gets removed after I reboot the Fedora Linux box.…

How to assign a grep command value to a variable in Linux/Unix

H ow do I store grep command output in shell variable? What is the syntax to store the command output into a variable in Linux or Unix?   You can use the grep command for…

How to change the ssh port on Linux or Unix server

I am a new Linux/Unix server admin. How do I change the SSH Port for my Linux or Unix server using command line option?   You can easily change the SSH Port for Your Linux…

How to secure MongoDB on Linux or Unix production server

M ongoDB ransom attacks are in Wild. I am using it for storing data on my public facing cloud server powered by Ubuntu Linux. How do I protect and secure my MongoDB nosql server on…