Skip to main content

Posts

Showing posts from January, 2026

Install Ubuntu 24.04 on Windows 11 in Under 5 Minutes with WSL2

Are you eager to dive into the world of Linux but hesitant about partitioning your hard drive or dealing with complex installations? Good news! You can get a full fledged Ubuntu 24.04 (or almost any other Linux distribution) environment running on your Windows 11 machine in just a few minutes, thanks to the power of WSL (Windows Subsystem for Linux). This method is perfect for beginners just starting their Linux journey. It provides a seamless way to experiment with commands, learn the file system, and develop in a Linux environment without any risk to your existing Windows setup. If you're an experienced user who needs a dedicated system, a separate partition might still be your preferred route, but for everyone else, WSL is a game-changer! Here's how incredibly easy it is: Tools You'll Need: WSL (Windows Subsystem for Linux): This is the magic behind running Linux on Windows. Linux OS Distro: We'll be using Ubuntu 24.04, but you can pick almost any other distributio...

ns-3 Tutorial: Simulating P2P & CSMA Networks with NetAnim, Wireshark, and FlowMonitor

Welcome back! Today, we are going to explore a hybrid network topology in ns-3.44 . We will be simulating a network that consists of two Point-to-Point (P2P) nodes and three CSMA (Carrier Sense Multiple Access) nodes (representing a LAN). Beyond just running the simulation, we are going to experiment with five essential modules to visualize and analyze our network performance: NetAnim (Network Animation) AsciiTraceHelper (TraceMetrics-1.4.0) Gnuplot (Graphing data) Packet Capture (Wireshark & .pcap files) Flow Monitor (Performance statistics) Let's get started! Check the full video here: Prerequisites & Setup We will be using the standard example file second.cc . First, we need to copy this file from the examples directory to our scratch directory so we can modify it without ruining the original. Open your terminal and run: Bash cd ns-allinone-3.44/ns-3.44 cp examples/tutorial/second.cc scratch/ Now, let's verify that the basic simulation works: Bash ./ns3 run s...