Avatar Image
Gajendra Mahato

Persistent MAC Address Spoofing (Global + Per-Connection) by QwenAi

by QwenAI | Verified on Arch Linux + NetworkManager ≥ 1.18 ✅ Goal: Apply the same spoofed MAC to all Wi-Fi connections (global). Optionally set a custom DHCP hostname per network (e.g., Galaxy-A06 instead of Nix). 🔧 Why it works: Uses NM’s native cloned-mac-address and dhcp-hostname — no race conditions, no leaks. 🔧 1. Global MAC Spoofing (All Wi-Fi) Step 1: Create policy file sudo mkdir -p /etc/NetworkManager/conf.d/ sudo tee /etc/NetworkManager/conf.d/99-global-mac-address.conf <<'EOF' [keyfile] unmanaged-devices= [connection-wifi] # Global default for *all* Wi-Fi connections wifi.cloned-mac-address=DE:AD:BE:EF:CA:FE EOF 📝 Replace DE:AD:BE:EF:CA:FE with your desired MAC (e.g., 90:01:C0:DE:13:37). ...

January 20, 2026 · 2 min

📡 Setup Cloudflare WARP (1.1.1.1 VPN) on Arch Linux and Debian using WireGuard

🧰 Requirements Make sure you have: A working internet connection networkmanager and systemd installed (default on most systems) ✅ Step 1: Install Required Packages 🐧 For Arch Linux: sudo pacman -S wireguard-tools wireguard-dkms networkmanager networkmanager-wireguard curl 🐧 For Debian/Ubuntu/Kali/Parrot: sudo apt update -y sudo apt install wireguard resolvconf curl -y ⚠️ If networkmanager is missing: sudo apt install network-manager 🛠️ Step 2: Install wgcf (WARP Config Generator) 🐧 For Arch Linux: sudo pacman -S wgcf 🐧 For Debian-based distros: Download from wgcf GitHub Releases Then: ...

January 13, 2026 · 2 min

Configuring DHCP Server to Assign Hostname via DHCP

Begin by installing the DHCP server package. sudo pacman -S extra/dhcp dhcpcd Next, set a custom hostname within the DHCP configuration file. sudo vim /etc/dhcpcd.conf Within this file, add or modify the host declaration to assign a specific hostname to a client: hostname OPPO-A3s ### This is set your device name OPPO-A3s in a network Finally, restart the DHCP server to apply the changes. sudo systemctl restart dhcpd.service sudo systemctl restart dhcpcd.service

January 13, 2026 · 1 min

Easy Guide to Fixing GRUB on Garuda Linux (BTRFS)

This simple guide helps you fix the GRUB bootloader on Garuda Linux with a BTRFS file system. Follow these steps to install the necessary tools, mount partitions, fix GRUB, and check EFI entries. Step 1: Install garuda-tools-base-git You need the garuda-tools-base-git package to manage GRUB on Garuda Linux. Install it using pacman: sudo pacman -S garuda/garuda-tools-base-git This package is only available for Garuda Linux and won’t work with other Arch-based distributions. ...

January 13, 2026 · 2 min

Easy Guide to Fixing GRUB on Garuda Linux (BTRFS)

This simple guide helps you fix the GRUB bootloader on Garuda Linux with a BTRFS file system. Follow these steps to install the necessary tools, mount partitions, fix GRUB, and check EFI entries. Step 1: Install garuda-tools-base-git You need the garuda-tools-base-git package to manage GRUB on Garuda Linux. Install it using pacman: sudo pacman -S garuda/garuda-tools-base-git This package is only available for Garuda Linux and won’t work with other Arch-based distributions. ...

January 13, 2026 · 2 min

paru -S gvfs-goa

sudo pacman -S gnome-online-accounts gvfs-google

January 13, 2026 · 1 min

Pipewire with Equalizer

paru -S easyeffects lsp-plugins

January 13, 2026 · 1 min

Saving the Current Pane Buffer in tmux

This guide explains how to save the contents of the current pane in tmux to a file. Step-by-Step Instructions Capture the Pane’s Content: Press prefix key Ctrl+b to enter tmux command mode. Type :capture-pane -S - -E - and press Enter. This captures the entire visible contents of the current pane to a buffer. Save the Buffer to a File: Press prefix key Ctrl+b again to enter tmux command mode. Type :save-buffer /tmp/pane_output.log and press Enter. This saves the buffer content to a file named /tmp/pane_output.log. Combined Command Method You can capture the pane’s content and save it to a file using the following commands in your shell within the tmux session: ...

January 13, 2026 · 1 min

Set Default Terminal in Gnome

gsettings set org.gnome.desktop.default-applications.terminal exec tilix gsettings set org.gnome.desktop.default-applications.terminal exec-arg -x gsettings set org.gnome.desktop.default-applications.terminal exec-arg --quake

January 13, 2026 · 1 min

Spoofing MAC Address in a Persistent fashion

This method allows users to change their WiFi adapter’s MAC address persistently. It also enables users to bypass MAC address blacklisting by network owners, as it allows connection to WiFi networks with a spoofed MAC address. Step 1: Writing a systemd Service Create a systemd service to change your MAC address and place it in the /etc/systemd/system/ directory with the name mac-spoofer.service. cat /etc/systemd/system/mac-spoofer.service [Unit] Description=MAC Address Change/spoofing wlo1 Wants=network-pre.target Before=network-pre.target BindsTo=sys-subsystem-net-devices-wlo1.device After=sys-subsystem-net-devices-wlo1.device [Service] Type=oneshot User=root ExecStart=/usr/bin/ifconfig wlo1 down ExecStart=/usr/bin/macchanger -r -b wlo1 ExecStart=/usr/bin/ifconfig wlo1 up [Install] WantedBy=multi-user.target Step 2: Creating a Dispatcher Script Create a script in the /etc/NetworkManager/dispatcher.d/ directory and grant it executable permission. This directory contains scripts to handle various network-related events, which are automatically executed in response to specific events managed by NetworkManager. ...

January 13, 2026 · 2 min