• Linux
  • FreeBSD
  • Networking
  • Python
  • AWS
  • WebDev
  • About Us
Tech Tips and Tutorials
Menu
  • Linux
  • FreeBSD
  • Networking
  • Python
  • AWS
  • WebDev
  • About Us

Category: FreeBSD

How to run tcpdump as a process for pcap capture in FreeBSD

If you are managing FreeBSD or any Linux servers , you might have used the tcpdump a number of times . It’s a very handy tool for Network engineers or System administrators for troubleshooting . Sometimes you need to run it over day/night , capture the file and then analyze it in Wireshark ....
Read More about How to run tcpdump as a process for pcap capture in FreeBSD
FreeBSD Leave a Comment

How to increase the disk size in FreeBSD

I have cloned my FreeBSD 16GB SSD to a 28GB SSD . So everything  works fine from the new SSD  but I am unable to use the extra storage I had added . Another popular scenario of resizing the partition is adding extra storage to your virtual machines or SAN devices .In either case...
Read More about How to increase the disk size in FreeBSD
FreeBSD Leave a Comment

How to list and mount an external USB disk in FreeBSD

Once the USB disk is connected , you can run the geom command to list all the available disk. In my case ada0 is my internal ssd , da0 is a card reader and da1 is the external USB disk . If you want to see more details about the disks including its sub...
Read More about How to list and mount an external USB disk in FreeBSD
FreeBSD Leave a Comment

How to install and connect OpenVPN client in FreeBSD

Prerequsites : Install OpenVPN client packages Now create openvpn folder in /usr/local/etc/ . I always create seperate folders for client and server . So I can use it if I need to run both server and client from a same device . Now you can copy a sample client config to this location ,...
Read More about How to install and connect OpenVPN client in FreeBSD
FreeBSD, Uncategorized Leave a Comment

How to set CPU affinity in FreeBSD to allocate specific cores to specific processes

If your hardware has multiple CPUs, you can set CPU affinity to run certain processes on specific cores. In FreeBSD, the cpuset command is used for this purpose. I have a test server on AWS with two CPU cores. First, let’s verify the hardware by running the following command: So you can see I...
Read More about How to set CPU affinity in FreeBSD to allocate specific cores to specific processes
FreeBSD Leave a Comment

How to install Python Pip on FreeBSD 12 .1

pip is a package manager in Python which you need to install various modules for Python . Here , we see how to install Pip on a FreeBSD 12.1 server . Release : 12.1-RELEASE-p10 Python : Python 3.7.9 So the command is : Tu upgrade pip to the latest : So now the pip...
Read More about How to install Python Pip on FreeBSD 12 .1
FreeBSD Leave a Comment

ZFS GPT table corrupted and recovery suggested

If you are playing with the file systems in FreeBSD , you might encounter this error: So ada0 is my drive here and I am getting the corrupt error after making some changes with my zfs file systems , this can be easily recovered by uisng the gpart recovery tool by using the command...
Read More about ZFS GPT table corrupted and recovery suggested
FreeBSD Leave a Comment

How to see the download speed using fetch command in FreeBSD

Sometimes, you may need to see the download speed on your FreeBSD server . The fetch command with /dev/null is an easy way to see this . The /dev/null is a null interface which is blackhole in unix based operating systems . It won’t save anything instead it redirects everything to null. So the...
Read More about How to see the download speed using fetch command in FreeBSD
FreeBSD Leave a Comment

Reading pflog file in FreeBSD

You can enable the logging in pflog You can verify your pflogd service running : But this log file is binary and you won’t be able to tail it with the ‘clog’ utility in FreeBSD . To clog this file you need to use the tcpdump: You can thhen filter this with your host...
Read More about Reading pflog file in FreeBSD
FreeBSD Leave a Comment

How to add a static route in FreeBSD

To add a static route via a specific interface: where re1 is my wan interface and destinationip is your remote IP . You can do an ‘ifconfig’ to see your network interfaces To delete the host: To add a default route to allow all traffic: where 192.168.1.1 is the default gateway To show all...
Read More about How to add a static route in FreeBSD
FreeBSD Leave a Comment
1 2 Next →
  • Popular Posts
  • Recent Posts
  • Linux Shell Scripts for System Administrators
  • Cacti 1.1.38 ERROR Opening .rrd No Such file or directory
  • Apache configuration for Cacti
  • How to create RAM disk in Ubuntu 18.04
  • Linux Shell Scripts for System Administrators
  • SOCKS PROXY
  • How to install XAMPP and access phpMyAdmin in MAC OS
  • How to increase the root volume in a Linux ec2 instance

Linux

  • Linux Shell Scripts for System Administrators
  • SOCKS PROXY
  • How to grep IP addresses from log files in Linux
  • How to empty or delete a large file in Linux

Categories

  • AWS (5)
  • FreeBSD (12)
  • Linux (29)
  • Networking (3)
  • Python (5)
  • Uncategorized (4)
  • WebDev (1)
  • Connect on Facebook
  • Connect on YouTube
© Copyright 2020.TechieNix. All Rights Reserved.
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled

Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.

Non-necessary

Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.