Friday, July 17, 2026

tload : Low-overhead system load monitoring in Linux

 tload : Low-overhead system load monitoring in Linux

filesystem repair in linux for fat32 filesystem

 

Filesystem repair in linux for fat32 filesystem:


Yes such old USB drives still lives around :) 

--

Open your terminal and list all connected storage blocks to find your FAT32 device name (e.g., /dev/sdb1 or /dev/sdc2). 

 lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINTS

 

--

sudo umount /dev/sdb1

-- 

 This scans the filesystem and prompts you for confirmation before fixing any detected errors:

sudo fsck.fat -r -v /dev/sda1

 

-r: Wisely prompts you for a repair method if inconsistencies are found.

-v: Enables verbose mode so you see what the utility is actively doing. 

--

If you want Linux to automatically fix all errors without asking for manual confirmation, run:

sudo fsck.fat -a /dev/sdb1

 

-- 

If you only want to inspect the drive for issues without writing changes or altering any data:

sudo fsck.fat -n /dev/sdb1

--

 



Monday, June 29, 2026

The Truths Around Us - Value of Pi and many more to come

The Truths Around Us:

I recently became fascinated by how people figured out the value of π (pi).

It made me think about something bigger.

Many truths already exist in the world. They are not hidden. They are right in front of us. Everyone can see them, but not everyone notices them. Most of us accept things as they are and move on. A few people become curious. They keep asking "Why?" They keep looking until they find the answer.

Once they discover the truth, it does not belong only to them anymore. It becomes useful for everyone. It helps people live better lives and pushes humanity forward.

History is full of such examples.

Objects have always fallen to the ground. People saw it every day. But it took someone to ask why. That curiosity helped us understand gravity.

Tiny germs had always been around us. People could not see them and did not know they caused many diseases. Once scientists discovered them, simple habits like washing hands and keeping things clean saved millions of lives.

The code of life, DNA, has existed inside every living thing for billions of years. It was always there. We just did not know how to read it. Today, that discovery helps doctors treat diseases and understand life in ways that were impossible before.

These discoveries remind us of something important. Truth does not change because we do not understand it. It patiently waits until someone discovers it.

It also makes me wonder how many more truths are still waiting for us.

There are many things we still do not fully understand. We still do not know exactly how consciousness works or why we are aware of ourselves. We still do not fully understand time. We know that most of the universe is made of something we cannot even see, called dark matter and dark energy, but we still do not know what they really are.

Even here on Earth, nature is still far ahead of us.

We can predict the weather much better than before, but we still cannot control it. We cannot stop a cyclone from forming or safely weaken it before it reaches land. We cannot bring rain exactly where and when it is needed during a drought. We understand many parts of nature, but we are still learning how it truly works.

Maybe the answers already exist. Maybe the rules are already there, just like the value of π was always there before anyone calculated it.

That thought is both exciting and humbling.

Every great discovery began with someone looking at something ordinary and asking one simple question:

"Why?"

Perhaps the next great truth is already in front of us, waiting for someone curious enough to notice it.


Thursday, May 14, 2026

Fix Intel Wi-Fi Drops on Battery

Fix: Intel Wi-Fi Drops on Battery (Fedora/Linux)

If you have a laptop with Intel Wi-Fi, you might notice your internet stops working the moment you unplug your charger. Usually, the only way to fix it is to restart the whole computer.

The Problem

The Intel driver (iwlwifi) tries to save battery by putting your Wi-Fi card to "sleep." Sometimes, the card fails to wake up properly, causing it to ignore your router. This leads to the "Authentication Failed" errors you see in your logs.

The Solution: Disable Power Save

You can stop the Wi-Fi card from falling into this "deep sleep" by changing a single setting.

1. Create the configuration file

Open a terminal and create a settings file for your Wi-Fi driver:

sudo nano /etc/modprobe.d/iwlwifi.conf

2. Add the "Always On" rule

Paste this line into the file:

options iwlwifi power_save=0

(Save and exit by pressing Ctrl+O, Enter, then Ctrl+X.)

3. Reload the driver (No restart needed)

To make the change work immediately without rebooting your laptop, run these commands to "kick" the driver:

sudo modprobe -r iwlmvm
sudo modprobe -r iwlwifi
sudo modprobe iwlwifi

A Better Way for the Future

While the fix above works great, it is a "workaround." Here is how you should handle this long-term:

  • Keep your System Updated: Intel frequently releases "Firmware" updates. Run sudo dnf update regularly. These updates often contain the actual bug fixes that allow power saving to work without crashing.
  • Remove the Workaround: Once you have updated your kernel and firmware (e.g., a few months from now), try deleting the file you created: sudo rm /etc/modprobe.d/iwlwifi.conf
  • Test it: If the Wi-Fi stays stable on battery after an update, you no longer need the workaround, and your battery life will be slightly better with the fix removed.




Sunday, February 15, 2026

Three main approaches in Devops

 

In most real-world DevOps and IT strategy discussions, only three main approaches are commonly used. While
"Greenfield" and "Brownfield" are the standard industry terms, Bluefield is the only other major contender, especially in large-scale enterprise environments.
 
The "Big Three" Most Used Approaches
  1. Brownfield (Most Common): The majority of enterprise projects (~44%) follow this path. It focuses on upgrading or migrating existing systems with minimal disruption, retaining legacy data and configurations.
  2. Bluefield (Hybrid): This selective approach is nearly as popular as Brownfield (~42%) in complex enterprise migrations. It allows teams to "pick and choose"—starting fresh with modern architecture (Greenfield) while selectively migrating high-value data and proven processes from old systems.
  3. Greenfield: Used by about 14% of organizations, this is the "clean slate" approach. It is the standard for startups or new product units that have no legacy technical debt and want maximum innovation potential.

Summary of Popularity
Approach

Popularity ShareBest For...
Brownfield~44%Faster time-to-market and lower risk.
Bluefield~42%Complex migrations needing both innovation and legacy data.
Greenfield~14%Complete process overhauls and brand-new products.

Note: Other terms like "Greyfield" or "Whitefield" are rarely used in standard DevOps practice and are usually confined to niche academic or real-estate-based metaphors [No primary source cited for high DevOps usage].
 

Thanks google AI.