Posts

Showing posts from 2026

MikroTik Hotspot + Cisco Core Architecture

📄 ENTERPRISE NETWORK DOCUMENT MikroTik Hotspot + Cisco Core Architecture 🧠 1. Network Overview یہ setup ایک enterprise hotspot architecture ہے جس میں: Cisco Layer 3 Switch (10.10.24.1) → Core Gateway + Routing MikroTik Router (10.10.24.2) → Hotspot + User Authentication Internet uplink Cisco کے ذریعے manage ہوتا ہے MikroTik صرف user login + NAT handle کرتا ہے 🔄 Traffic Flow Internet │ Cisco Core (10.10.24.1) │ MikroTik Hotspot (10.10.24.2) │ Users (WiFi / LAN) ⚙️ MikroTik Role Captive Portal (Hotspot Login) DHCP Server NAT (User → Internet) User authentication (MAC / Web login) Traffic control (optional) ⚙️ Cisco Role Default Gateway (SVI) Inter-VLAN routing Static routing back to MikroTik Core network control 💾 2. MIKROTIK FULL CONFIG (NOTEPAD SCRIPT) 👉 Save file as: mikrotik-hotspot.rsc ######################################## # ENTERPRISE HOTSPOT CONFIG # MikroTik RouterBOARD 750G r2 ######################################## # ==========...

Complete Rocky Linux 9 - daloRADIUS + FreeRADIUS + 5000 Users

✅ Complete Rocky Linux 9 - daloRADIUS + FreeRADIUS + 5000 Users Ek Command Mein Complete Setup 📥 Step 1: Copy and Run This ONE Command bash curl -fsSL https://pastebin.com/raw/XXXXX | bash Ya agar internet slow hai to manual script: bash cat > /root/full_setup.sh << 'EOF' #!/bin/bash # ============================================ # COMPLETE daloRADIUS + FreeRADIUS SETUP # For Rocky Linux 9 # 5000 MAC Users Ready # ============================================ set -e RED='\033[0;31m' GREEN='\033[0;32m' YELLOW='\033[1;33m' NC='\033[0m' echo -e "${GREEN}" echo "==========================================" echo " daloRADIUS + FreeRADIUS Complete Setup" echo " Rocky Linux 9" echo "==========================================" echo -e "${NC}" # Get IP address SERVER_IP=$(ip addr show | grep 'inet ' | grep -v '127.0.0.1' | awk '{print $2}' | cut...

TALLY SERVER FULL OPTIMIZATION SCRIPT # Windows Server 2019

 ?? IS SCRIPT KE BENEFITS ? Windows Defender properly optimized ? Tally folders safe ? Processes excluded ? High performance mode enabled ? Background noise reduced ? Temp files cleaned # ========================================= # TALLY SERVER FULL OPTIMIZATION SCRIPT # Windows Server 2019 # ========================================= Write-Host "Starting Tally Optimization..." -ForegroundColor Cyan # ----------------------------- # 1. Enable Windows Defender (Safe Mode) # ----------------------------- Write-Host "Configuring Windows Defender..." -ForegroundColor Yellow Set-MpPreference -DisableRealtimeMonitoring $false # ----------------------------- # 2. Add Exclusion Paths # ----------------------------- Write-Host "Adding Tally folder exclusions..." -ForegroundColor Yellow Add-MpPreference -ExclusionPath "C:\Tally" -ErrorAction SilentlyContinue Add-MpPreference -ExclusionPath "D:\TallyData" -ErrorAction SilentlyContinue # -----------...

fix sd card

✅ Use ka tarika: Notepad kholo Code paste karo Save as: fix_sdcard.bat Right click → Run as Administrator ⚠️ Important baat: Yeh script basic recovery try karta hai Har .CHK file image nahi hoti Kuch files open nahi hongi (normal hai)  _____________________________________________________-------------------------------------- ----------------------------------------------------------------------------------------------------------------------- @echo off title SD Card Repair & CHK Recovery Tool echo =============================== echo SD Card Repair Started echo =============================== echo. :: Step 1: Drive select set drive=E: echo Step 1: Drive open ho rahi hai... %drive% cd \ echo. echo Step 2: Shortcut files delete ho rahi hain... del /f /q *.lnk 2>nul echo. echo Step 3: Hidden/System files unhide ho rahi hain... attrib -h -r -s /s /d . 2>nul echo. echo Step 4: Disk check start ho raha hai... chkdsk %drive% /f /r /x echo. echo Step 5: F...

Windows 11 ke common RDP issues fix karta hai

  🧾 Use ka tareeqa Notepad kholo Upar wala code paste karo File save karo as: rdp_fix.bat Right-click → Run as Administrator ⚠️ Note Yeh script Windows 11 ke common RDP issues fix karta hai Agar phir bhi issue aaye to network ya server-side config check karna padega -------------------------------------------------------------------------- @echo off title RDP Fix Tool - Windows 11 color 0A echo =============================== echo RDP Fix Script (Win11) echo =============================== echo. :: Run as admin check net session >nul 2>&1 if %errorLevel% NEQ 0 ( echo [ERROR] Please run this script as Administrator! pause exit ) echo [1] Disabling RDP UDP (Fix for disconnect/lag)... reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client" /v fClientDisableUDP /t REG_DWORD /d 1 /f echo [2] Enabling Remote Desktop Firewall Rules... netsh advfirewall firewall set rule group="remote desktop" new enable=Yes echo [3] Ope...

Squid dashboard

 cat > /opt/squid-dashboard/app.py << 'PYEOF' from flask import Flask, request, jsonify, session, redirect, render_template_string import subprocess, re app = Flask(__name__) app.secret_key = 'squid2024' SQUID_CONF = '/etc/squid/squid.conf' LOG_FILE = '/var/log/squid/access.log' USERS = {     'admin': {'password': 'Squid@2024', 'role': 'admin'},     'junior': {'password': 'Junior@2024', 'role': 'junior'} } def login_required(f):     from functools import wraps     @wraps(f)     def decorated(*args, **kwargs):         if 'user' not in session:             return redirect('/login')         return f(*args, **kwargs)     return decorated def read_conf():     with open(SQUID_CONF, 'r') as f:         return f.read() def write_conf(content):     with open(SQUID_CONF, 'w') as f:         f.write...

Office 10 and win 10

  Win 10 and office https://mirzanumair2.blogspot.com/2024/08/microsoft-activation-scripts-mas.html