Skip to content

Instantly share code, notes, and snippets.

@AzimsTech
Last active November 2, 2025 19:41
Show Gist options
  • Select an option

  • Save AzimsTech/86da77ec0e5da6345ee0d266aef12844 to your computer and use it in GitHub Desktop.

Select an option

Save AzimsTech/86da77ec0e5da6345ee0d266aef12844 to your computer and use it in GitHub Desktop.

Revisions

  1. AzimsTech revised this gist Nov 2, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion 99-OpenWrt-Stuffs.md
    Original file line number Diff line number Diff line change
    @@ -18,7 +18,7 @@
    - [📡 Auto-Restart Network on WDS Station][wds-auto-restart]
    - [🌐 Populate Host Names to Secondary AP][populate-hostnames]
    - [6️⃣ IPv6 Stuffs][ipv6-stuffs]
    - [🍼 Configure PPPoE MTU 1500 RFC4638 (Baby Jumbo Frames)][baby-jumbo-frames]
    - ~~[🍼 Configure PPPoE MTU 1500 RFC4638 (Baby Jumbo Frames)][baby-jumbo-frames]~~ **(Unstable)**

    - **🔒 Security & Performance**
    - [🔒 DNS over TLS][dns-over-tls]
  2. AzimsTech revised this gist Oct 25, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion 99-OpenWrt-Stuffs.md
    Original file line number Diff line number Diff line change
    @@ -55,4 +55,4 @@
    [copy-files]: #file-openwrt-copy-files-to-windows-md
    [verify-sha256]: #file-verify-sha256-checksums-md
    [populate-hostnames]: #file-populate-host-names-in-associated-stations-to-2nd-ap-md
    [baby-jumbo-frames]: #file-baby-jumbo-frames.md
    [baby-jumbo-frames]: #file-baby-jumbo-frames-md
  3. AzimsTech revised this gist Oct 25, 2025. 2 changed files with 26 additions and 1 deletion.
    2 changes: 2 additions & 0 deletions 99-OpenWrt-Stuffs.md
    Original file line number Diff line number Diff line change
    @@ -18,6 +18,7 @@
    - [📡 Auto-Restart Network on WDS Station][wds-auto-restart]
    - [🌐 Populate Host Names to Secondary AP][populate-hostnames]
    - [6️⃣ IPv6 Stuffs][ipv6-stuffs]
    - [🍼 Configure PPPoE MTU 1500 RFC4638 (Baby Jumbo Frames)][baby-jumbo-frames]

    - **🔒 Security & Performance**
    - [🔒 DNS over TLS][dns-over-tls]
    @@ -54,3 +55,4 @@
    [copy-files]: #file-openwrt-copy-files-to-windows-md
    [verify-sha256]: #file-verify-sha256-checksums-md
    [populate-hostnames]: #file-populate-host-names-in-associated-stations-to-2nd-ap-md
    [baby-jumbo-frames]: #file-baby-jumbo-frames.md
    25 changes: 24 additions & 1 deletion baby-jumbo-frames.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,27 @@
    # Configure PPPoE MTU 1500 RFC4638 (Baby Jumbo Frames)
    # How to Set 1500 MTU for TM Unifi PPPoE on OpenWrt

    PPPoE normally limits MTU to **1492**.
    Set it to **1500** to try full-size packets without fragmentation.

    Add this to `/etc/config/network`:

    ```conf
    config device
    option name 'wan'
    option mtu '1508'
    config device
    option name 'pppoe-wan'
    option mtu '1500'
    ```

    Then restart the network:
    ```bash
    /etc/init.d/network restart
    ```

    ✅ PPPoE now runs with full 1500 MTU on TM Unifi.


    ## In LuCi

  4. AzimsTech revised this gist Aug 14, 2025. 1 changed file with 20 additions and 1 deletion.
    21 changes: 20 additions & 1 deletion sqm
    Original file line number Diff line number Diff line change
    @@ -10,4 +10,23 @@ config queue 'eth1'
    option linklayer 'ethernet'
    option debug_logging '0'
    option verbosity '5'
    option overhead '50' # 50 = 38 bytes ethernet overhead + 4 bytes VLAN overhead + 8 bytes pppoe overhead
    option overhead '50' # 50 = 38 bytes ethernet overhead + 4 bytes VLAN overhead + 8 bytes pppoe overhead


    DOWNLOADSPEED=95000
    UPLOADSPEED=50000
    WANIF=pppoe-wan
    echo 'Setting SQM on '$WANIF ' to ' $DOWNLOADSPEED/$UPLOADSPEED 'kbps down/up'
    uci set sqm.@queue[0].interface=$WANIF
    uci set sqm.@queue[0].enabled=1
    uci set sqm.@queue[0].download=$DOWNLOADSPEED
    uci set sqm.@queue[0].upload=$UPLOADSPEED
    uci set sqm.@queue[0].script='simplest_tbf.qos' # Already the default
    uci set sqm.@queue[0].qdisc='fq_codel'
    uci set sqm.@queue[0].itarget='auto'
    uci set sqm.@queue[0].etarget='auto'
    uci set sqm.@queue[0].linklayer='ethernet'
    uci set sqm.@queue[0].overhead='44'
    uci commit sqm
    /etc/init.d/sqm restart
    /etc/init.d/sqm enable
  5. AzimsTech revised this gist Aug 7, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion 99-OpenWrt-Stuffs.md
    Original file line number Diff line number Diff line change
    @@ -27,7 +27,7 @@
    - **📦 Maintenance & Troubleshooting**
    - [📦 Upgrading OpenWrt via CLI][sysupgrade]
    - [📂 Copying Files to/from Windows][copy-files]
    - [✅ Verify SHA256 Checksums via CLI][verify-sha256]
    - [✅ Verify SHA256 Checksums][verify-sha256]

    - **📓 Reference**
    - [🧾 Practical vi Cheat Sheet (BusyBox)][vi-cheat]
  6. AzimsTech revised this gist Aug 7, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion 99-OpenWrt-Stuffs.md
    Original file line number Diff line number Diff line change
    @@ -27,7 +27,7 @@
    - **📦 Maintenance & Troubleshooting**
    - [📦 Upgrading OpenWrt via CLI][sysupgrade]
    - [📂 Copying Files to/from Windows][copy-files]
    - [✅ Verify SHA256 Checksums (PowerShell)][verify-sha256]
    - [✅ Verify SHA256 Checksums via CLI][verify-sha256]

    - **📓 Reference**
    - [🧾 Practical vi Cheat Sheet (BusyBox)][vi-cheat]
  7. AzimsTech revised this gist Aug 7, 2025. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions ipv6-stuffs.md
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,7 @@ You can programmatically comment out the `ula_prefix` line using `sed`:
    sed -i "/option ula_prefix/s/^/# /" /etc/config/network
    ```

    ## To log all router adve
    ## To Log All Router Advertisements

    1. Install tcpdump:
    ```bash
    @@ -16,7 +16,7 @@ sed -i "/option ula_prefix/s/^/# /" /etc/config/network
    apk add tcpdump --update-cache
    ```

    2. Run tcpdump to log all router advertisements.Example:
    2. Run tcpdump to log all router advertisements. Example:
    ```bash
    tcpdump -vvvv -ttt -i wan icmp6 and 'ip6[40] = 134'
    ```
  8. AzimsTech revised this gist Aug 7, 2025. 1 changed file with 16 additions and 0 deletions.
    16 changes: 16 additions & 0 deletions ipv6-stuffs.md
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,24 @@
    # IPv6 Stuffs

    ## Disable ULA assignment
    You can programmatically comment out the `ula_prefix` line using `sed`:
    ```bash
    sed -i "/option ula_prefix/s/^/# /" /etc/config/network
    ```

    ## To log all router adve

    1. Install tcpdump:
    ```bash
    opkg update; opkg install tcpdump
    ```
    ```bash
    apk add tcpdump --update-cache
    ```

    2. Run tcpdump to log all router advertisements.Example:
    ```bash
    tcpdump -vvvv -ttt -i wan icmp6 and 'ip6[40] = 134'
    ```

    [⬆️ Go to top](#-table-of-contents)
  9. AzimsTech revised this gist Aug 7, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ipv6-stuffs.md
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@

    You can programmatically comment out the `ula_prefix` line using `sed`:
    ```bash
    bashsed -i "/option ula_prefix/s/^/# /" /etc/config/network
    sed -i "/option ula_prefix/s/^/# /" /etc/config/network
    ```

    [⬆️ Go to top](#-table-of-contents)
  10. AzimsTech revised this gist Aug 7, 2025. 1 changed file with 15 additions and 1 deletion.
    16 changes: 15 additions & 1 deletion Verify-SHA256-checksums.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,6 @@
    # Verify SHA256 checksums in PowerShell
    # Verify SHA256 checksums

    ## Windows (PowerShell)

    ```PowerShell
    (Get-FileHash '.\path\to\foo.zip').Hash -eq (Get-Content .\expected-hash.sha256)
    @@ -10,4 +12,16 @@
    (Get-FileHash .\openwrt-23.05.0-ramips-mt7621-dlink_dir-882-a1-squashfs-sysupgrade.bin).Hash -eq "452b69cc96aff64150e39396e174530ff6634a49b888c450cb713ad0d891f23e"
    ```

    ## OpenWrt/Linux

    ```bash
    echo "<hash> <filename>" | sha256sum -c
    ```

    ### Example

    ```bash
    echo "452b69cc96aff64150e39396e174530ff6634a49b888c450cb713ad0d891f23e openwrt-23.05.0-ramips-mt7621-dlink_dir-882-a1-squashfs-sysupgrade.bin" | sha256sum -c
    ```

    [⬆️ Go to top](#-table-of-contents)
  11. AzimsTech revised this gist Aug 7, 2025. 19 changed files with 19 additions and 19 deletions.
    2 changes: 1 addition & 1 deletion CLI-Config.md
    Original file line number Diff line number Diff line change
    @@ -95,4 +95,4 @@ uci set system.@system[0].timezone='<+08>-8'
    uci commit system
    ```

    [⬆️ Go to top](#-contents)
    [⬆️ Go to top](#-table-of-contents)
    2 changes: 1 addition & 1 deletion DNS-Over-TLS.md
    Original file line number Diff line number Diff line change
    @@ -21,4 +21,4 @@ service dnsmasq start
    > *More on [openwrt.org/docs/guide-user/services/dns/dot_dnsmasq_stubby](https://openwrt.org/docs/guide-user/services/dns/dot_dnsmasq_stubby)*

    [⬆️ Go to top](#-contents)
    [⬆️ Go to top](#-table-of-contents)
    2 changes: 1 addition & 1 deletion LuCI-Config.md
    Original file line number Diff line number Diff line change
    @@ -61,4 +61,4 @@ OpenWrt Installation and Configuration on D-LINK DIR-882-A1
    4. Save
    5. Save & apply

    [⬆️ Go to top](#-contents)
    [⬆️ Go to top](#-table-of-contents)
    2 changes: 1 addition & 1 deletion OpenWrt-copy-files-to-windows.md
    Original file line number Diff line number Diff line change
    @@ -31,4 +31,4 @@ Example:
    scp -O C:\Users\AzimsTech\Desktop\sysupgrade.bin [email protected]:/tmp/
    ```

    [⬆️ Go to top](#-contents)
    [⬆️ Go to top](#-table-of-contents)
    2 changes: 1 addition & 1 deletion Populate-Host-Names-in-Associated-Stations-to-2nd-AP.md
    Original file line number Diff line number Diff line change
    @@ -42,4 +42,4 @@
    echo "Paste that public key here " >> /etc/dropbear/authorized_keys
    ```

    [⬆️ Go to top](#-contents)
    [⬆️ Go to top](#-table-of-contents)
    2 changes: 1 addition & 1 deletion UNFI-HOME-Configuration.md
    Original file line number Diff line number Diff line change
    @@ -37,4 +37,4 @@ EOF
    chmod +x /etc/ppp/ip-up.d/00-add-ip6-route
    ```

    [⬆️ Go to top](#-contents)
    [⬆️ Go to top](#-table-of-contents)
    2 changes: 1 addition & 1 deletion Using-Image-Builder-WSL.md
    Original file line number Diff line number Diff line change
    @@ -73,4 +73,4 @@
    make clean
    ```
    [⬆️ Go to top](#-contents)
    [⬆️ Go to top](#-table-of-contents)
    2 changes: 1 addition & 1 deletion Verify-SHA256-checksums.md
    Original file line number Diff line number Diff line change
    @@ -10,4 +10,4 @@
    (Get-FileHash .\openwrt-23.05.0-ramips-mt7621-dlink_dir-882-a1-squashfs-sysupgrade.bin).Hash -eq "452b69cc96aff64150e39396e174530ff6634a49b888c450cb713ad0d891f23e"
    ```

    [⬆️ Go to top](#-contents)
    [⬆️ Go to top](#-table-of-contents)
    2 changes: 1 addition & 1 deletion auto-usb-tethering.md
    Original file line number Diff line number Diff line change
    @@ -56,4 +56,4 @@ Automatically enable USB tethering (RNDIS) when a USB device is connected to Ope
    This setup ensures that USB tethering (RNDIS) is automatically enabled whenever a compatible device is connected to OpenWrt.
    [⬆️ Go to top](#-contents)
    [⬆️ Go to top](#-table-of-contents)
    2 changes: 1 addition & 1 deletion baby-jumbo-frames.md
    Original file line number Diff line number Diff line change
    @@ -11,4 +11,4 @@



    [⬆️ Go to top](#-contents)
    [⬆️ Go to top](#-table-of-contents)
    2 changes: 1 addition & 1 deletion ipv6-stuffs.md
    Original file line number Diff line number Diff line change
    @@ -5,4 +5,4 @@ You can programmatically comment out the `ula_prefix` line using `sed`:
    bashsed -i "/option ula_prefix/s/^/# /" /etc/config/network
    ```

    [⬆️ Go to top](#-contents)
    [⬆️ Go to top](#-table-of-contents)
    2 changes: 1 addition & 1 deletion irq-tuning.md
    Original file line number Diff line number Diff line change
    @@ -73,4 +73,4 @@ echo "2" > /proc/irq/31/smp_affinity_list # Wireless NIC (mt7615e)
    - [[BookStack - StopLagging.com] - 1.5 Performance Tweaks for R4S and R6S
    ](https://wiki.stoplagging.com/books/technical-guides/page/nanopi-r6s-r4s-for-gigabit-sqm-with-openwrt#bkmrk-about-performance-tw)

    [⬆️ Go to top](#-contents)
    [⬆️ Go to top](#-table-of-contents)
    2 changes: 1 addition & 1 deletion mangling-ttl-hoplimit.md
    Original file line number Diff line number Diff line change
    @@ -27,4 +27,4 @@ nft flush ruleset
    service firewall restart
    ```

    [⬆️ Go to top](#-contents)
    [⬆️ Go to top](#-table-of-contents)
    2 changes: 1 addition & 1 deletion qosify.md
    Original file line number Diff line number Diff line change
    @@ -9,4 +9,4 @@ uci commit qosify
    /etc/init.d/qosify start
    ```

    [⬆️ Go to top](#-contents)
    [⬆️ Go to top](#-table-of-contents)
    2 changes: 1 addition & 1 deletion sysupgrade-CLI-steps.md
    Original file line number Diff line number Diff line change
    @@ -58,4 +58,4 @@
    - Check output of the following commands: `ubus call system board` to check detailed information about the device’s
    [⬆️ Go to top](#-contents)
    [⬆️ Go to top](#-table-of-contents)
    2 changes: 1 addition & 1 deletion uci-default-config.md
    Original file line number Diff line number Diff line change
    @@ -144,4 +144,4 @@ reboot
    ```


    [⬆️ Go to top](#-contents)
    [⬆️ Go to top](#-table-of-contents)
    2 changes: 1 addition & 1 deletion usb-tethering.md
    Original file line number Diff line number Diff line change
    @@ -280,4 +280,4 @@ Finding the correct MTU helps prevent fragmentation and improves network perform
    - [[milanvit.net] - Mini-tutorial: IPv6 with DHCPv6 on Asahi Net & OpenWRT](https://www.milanvit.net/post/mini-tutorial-ipv6-with-dhcpv6-on-asahi-net-openwrt/)
    - [[OpenWrt Forum] - @moeller0 #21 reply](https://forum.openwrt.org/t/some-websites-are-inaccessible/195012/21)

    [⬆️ Go to top](#-contents)
    [⬆️ Go to top](#-table-of-contents)
    2 changes: 1 addition & 1 deletion vi-cheat-sheet.md
    Original file line number Diff line number Diff line change
    @@ -79,4 +79,4 @@ Ctrl+Z → Suspend vi (resume with `fg`)
    Ctrl+C → Cancel operation (e.g., interrupt search)
    ```

    [⬆️ Go to top](#-contents)
    [⬆️ Go to top](#-table-of-contents)
    2 changes: 1 addition & 1 deletion wds-auto-restart-network.md
    Original file line number Diff line number Diff line change
    @@ -34,4 +34,4 @@ Here's content of `/etc/rc.local`
    exit 0
    ```

    [⬆️ Go to top](#-contents)
    [⬆️ Go to top](#-table-of-contents)
  12. AzimsTech revised this gist Aug 7, 2025. 1 changed file with 45 additions and 18 deletions.
    63 changes: 45 additions & 18 deletions 99-OpenWrt-Stuffs.md
    Original file line number Diff line number Diff line change
    @@ -1,29 +1,56 @@
    <!-- markdownlint-disable MD051 -->

    ![banner][banner-img]

    # 📖 Table of Contents

    - **🛠 Setup & Configuration**
    - [Configure using LuCI](#file-luci-config-md)
    - [Configure using CLI](#file-cli-config-md)
    - [Configure using uci-defaults script](#file-uci-default-config-md)
    - [OpenWrt Image Builder with WSL](#file-using-image-builder-wsl-md)
    - [OpenWrt-Builder with GitHub Actions](#openwrt-builder)
    - [🌐 Configure using LuCI][luci-config]
    - [🖥️ Configure using CLI][cli-config]
    - [📜 Configure using uci-defaults script][uci-default]
    - [🏗️ OpenWrt Image Builder with WSL][image-builder-wsl]
    - [🚀 OpenWrt-Builder with GitHub Actions][openwrt-builder]

    - **📶 Networking & Connectivity**
    - [USB Tethering](#file-usb-tethering-md)
    - [Auto USB Tethering (Android)](#file-auto-usb-tethering-md)
    - [Mangling TTL & Hoplimit](#file-mangling-ttl-hoplimit-md)
    - [Auto-Restart Network on WDS Station](#file-wds-auto-restart-network-md)
    - [Populate Host Names to Secondary AP](#file-populate-host-names-in-associated-stations-to-2nd-ap-md)
    - [IPv6 Stuffs](#file-ipv6-stuffs-md)
    - [🔌 USB Tethering][usb-tethering]
    - [Auto USB Tethering (Android)][auto-usb-tethering]
    - [Mangling TTL & Hoplimit][mangling-ttl]
    - [📡 Auto-Restart Network on WDS Station][wds-auto-restart]
    - [🌐 Populate Host Names to Secondary AP][populate-hostnames]
    - [6️⃣ IPv6 Stuffs][ipv6-stuffs]

    - **🔒 Security & Performance**
    - [DNS over TLS](#file-dns-over-tls-md)
    - [Tuning IRQ Affinity](#file-irq-tuning-md)
    - [Qosify Configuration](#file-qosify-md)
    - [🔒 DNS over TLS][dns-over-tls]
    - [⚙️ Tuning IRQ Affinity][irq-tuning]
    - [🚦 Qosify Configuration][qosify]

    - **📦 Maintenance & Troubleshooting**
    - [Upgrading OpenWrt via CLI](#file-sysupgrade-cli-steps-md)
    - [Copying Files to/from Windows](#file-openwrt-copy-files-to-windows-md)
    - [Verify SHA256 Checksums (PowerShell)](#file-verify-sha256-checksums-md)
    - [📦 Upgrading OpenWrt via CLI][sysupgrade]
    - [📂 Copying Files to/from Windows][copy-files]
    - [Verify SHA256 Checksums (PowerShell)][verify-sha256]

    - **📓 Reference**
    - [Practical vi Cheat Sheet (BusyBox)](#file-vi-cheat-sheet-md)
    - [🧾 Practical vi Cheat Sheet (BusyBox)][vi-cheat]

    ----

    [banner-img]: https://gist.github.com/user-attachments/assets/bd38a37c-c32d-4fd0-9baf-a977ee9b150a
    [openwrt-builder]: https://github.com/AzimsTech/OpenWrt-Builder

    [vi-cheat]: #file-vi-cheat-sheet-md
    [luci-config]: #file-luci-config-md
    [cli-config]: #file-cli-config-md
    [ipv6-stuffs]: #file-ipv6-stuffs-md
    [uci-default]: #file-uci-default-config-md
    [image-builder-wsl]: #file-using-image-builder-wsl-md
    [wds-auto-restart]: #file-wds-auto-restart-network-md
    [usb-tethering]: #file-usb-tethering-md
    [auto-usb-tethering]: #file-auto-usb-tethering-md
    [mangling-ttl]: #file-mangling-ttl-hoplimit-md
    [qosify]: #file-qosify-md
    [irq-tuning]: #file-irq-tuning-md
    [dns-over-tls]: #file-dns-over-tls-md
    [sysupgrade]: #file-sysupgrade-cli-steps-md
    [copy-files]: #file-openwrt-copy-files-to-windows-md
    [verify-sha256]: #file-verify-sha256-checksums-md
    [populate-hostnames]: #file-populate-host-names-in-associated-stations-to-2nd-ap-md
  13. AzimsTech revised this gist Aug 7, 2025. 1 changed file with 24 additions and 45 deletions.
    69 changes: 24 additions & 45 deletions 99-OpenWrt-Stuffs.md
    Original file line number Diff line number Diff line change
    @@ -1,50 +1,29 @@
    <!-- markdownlint-disable MD051 -->
    # 📖 Table of Contents

    ![banner][banner-img]
    - **🛠 Setup & Configuration**
    - [Configure using LuCI](#file-luci-config-md)
    - [Configure using CLI](#file-cli-config-md)
    - [Configure using uci-defaults script](#file-uci-default-config-md)
    - [OpenWrt Image Builder with WSL](#file-using-image-builder-wsl-md)
    - [OpenWrt-Builder with GitHub Actions](#openwrt-builder)

    # 📖 Contents
    - **📶 Networking & Connectivity**
    - [USB Tethering](#file-usb-tethering-md)
    - [Auto USB Tethering (Android)](#file-auto-usb-tethering-md)
    - [Mangling TTL & Hoplimit](#file-mangling-ttl-hoplimit-md)
    - [Auto-Restart Network on WDS Station](#file-wds-auto-restart-network-md)
    - [Populate Host Names to Secondary AP](#file-populate-host-names-in-associated-stations-to-2nd-ap-md)
    - [IPv6 Stuffs](#file-ipv6-stuffs-md)

    - **📚 Basics**
    - [🧾 Practical Cheat Sheet for BusyBox vi][vi-cheat]
    - [🌐 Configure using LuCi][luci-config]
    - [🖥️ Configure using CLI][cli-config]
    - [6️⃣ IPv6 Stuffs][ipv6-stuffs]
    - [📜 Configure using uci-defaults script][uci-default]
    - **🛠️ Intermediate (requires more resources)**
    - [🚀 OpenWrt-Builder - Image Builder frontends with GitHub Actions][openwrt-builder]
    - [🏗️ Using OpenWrt Image Builder with WSL][image-builder-wsl]
    - **🎛️ Optional**
    - [📡 Auto Restart Network on WDS Station][wds-auto-restart]
    - [🔌 USB Tethering][usb-tethering]
    - [⚡Auto USB Tethering on OpenWrt (Android)][auto-usb-tethering]
    - [⌚ Mangling TTL & Hoplimit][mangling-ttl]
    - [🚦 Easy Qosify configuration][qosify]
    - [⚙️ Tuning IRQ affinity on OpenWrt][irq-tuning]
    - [🔒 DNS Over TLS on OpenWrt][dns-over-tls]
    - [📦 Upgrading OpenWrt firmware using CLI][sysupgrade]
    - [📂 Copying Files between OpenWrt and Windows][copy-files]
    - [✅ Verify SHA256 checksums in PowerShell][verify-sha256]
    - [🌐 Populate Host Names in Associated Stations to Secondary AP][populate-hostnames]
    - **🔒 Security & Performance**
    - [DNS over TLS](#file-dns-over-tls-md)
    - [Tuning IRQ Affinity](#file-irq-tuning-md)
    - [Qosify Configuration](#file-qosify-md)

    ----
    - **📦 Maintenance & Troubleshooting**
    - [Upgrading OpenWrt via CLI](#file-sysupgrade-cli-steps-md)
    - [Copying Files to/from Windows](#file-openwrt-copy-files-to-windows-md)
    - [Verify SHA256 Checksums (PowerShell)](#file-verify-sha256-checksums-md)

    [banner-img]: https://gist.github.com/user-attachments/assets/bd38a37c-c32d-4fd0-9baf-a977ee9b150a
    [openwrt-builder]: https://github.com/AzimsTech/OpenWrt-Builder

    [vi-cheat]: #file-vi-cheat-sheet-md
    [luci-config]: #file-luci-config-md
    [cli-config]: #file-cli-config-md
    [ipv6-stuffs]: #file-ipv6-stuffs-md
    [uci-default]: #file-uci-default-config-md
    [image-builder-wsl]: #file-using-image-builder-wsl-md
    [wds-auto-restart]: #file-wds-auto-restart-network-md
    [usb-tethering]: #file-usb-tethering-md
    [auto-usb-tethering]: #file-auto-usb-tethering-md
    [mangling-ttl]: #file-mangling-ttl-hoplimit-md
    [qosify]: #file-qosify-md
    [irq-tuning]: #file-irq-tuning-md
    [dns-over-tls]: #file-dns-over-tls-md
    [sysupgrade]: #file-sysupgrade-cli-steps-md
    [copy-files]: #file-openwrt-copy-files-to-windows-md
    [verify-sha256]: #file-verify-sha256-checksums-md
    [populate-hostnames]: #file-populate-host-names-in-associated-stations-to-2nd-ap-md
    - **📓 Reference**
    - [Practical vi Cheat Sheet (BusyBox)](#file-vi-cheat-sheet-md)
  14. AzimsTech revised this gist Aug 7, 2025. 1 changed file with 17 additions and 17 deletions.
    34 changes: 17 additions & 17 deletions 99-OpenWrt-Stuffs.md
    Original file line number Diff line number Diff line change
    @@ -31,20 +31,20 @@
    [banner-img]: https://gist.github.com/user-attachments/assets/bd38a37c-c32d-4fd0-9baf-a977ee9b150a
    [openwrt-builder]: https://github.com/AzimsTech/OpenWrt-Builder

    [vi-cheat]: ./vi-cheat-sheet.md
    [luci-config]: ./luci-config.md
    [cli-config]: ./cli-config.md
    [ipv6-stuffs]: ./ipv6-stuffs.md
    [uci-default]: ./uci-default-config.md
    [image-builder-wsl]: ./using-image-builder-wsl.md
    [wds-auto-restart]: ./wds-auto-restart-network.md
    [usb-tethering]: ./usb-tethering.md
    [auto-usb-tethering]: ./auto-usb-tethering.md
    [mangling-ttl]: ./mangling-ttl-hoplimit.md
    [qosify]: ./qosify.md
    [irq-tuning]: ./irq-tuning.md
    [dns-over-tls]: ./dns-over-tls.md
    [sysupgrade]: ./sysupgrade-cli-steps.md
    [copy-files]: ./openwrt-copy-files-to-windows.md
    [verify-sha256]: ./verify-sha256-checksums.md
    [populate-hostnames]: ./populate-host-names-in-associated-stations-to-2nd-ap.md
    [vi-cheat]: #file-vi-cheat-sheet-md
    [luci-config]: #file-luci-config-md
    [cli-config]: #file-cli-config-md
    [ipv6-stuffs]: #file-ipv6-stuffs-md
    [uci-default]: #file-uci-default-config-md
    [image-builder-wsl]: #file-using-image-builder-wsl-md
    [wds-auto-restart]: #file-wds-auto-restart-network-md
    [usb-tethering]: #file-usb-tethering-md
    [auto-usb-tethering]: #file-auto-usb-tethering-md
    [mangling-ttl]: #file-mangling-ttl-hoplimit-md
    [qosify]: #file-qosify-md
    [irq-tuning]: #file-irq-tuning-md
    [dns-over-tls]: #file-dns-over-tls-md
    [sysupgrade]: #file-sysupgrade-cli-steps-md
    [copy-files]: #file-openwrt-copy-files-to-windows-md
    [verify-sha256]: #file-verify-sha256-checksums-md
    [populate-hostnames]: #file-populate-host-names-in-associated-stations-to-2nd-ap-md
  15. AzimsTech revised this gist Aug 7, 2025. 1 changed file with 17 additions and 17 deletions.
    34 changes: 17 additions & 17 deletions 99-OpenWrt-Stuffs.md
    Original file line number Diff line number Diff line change
    @@ -31,20 +31,20 @@
    [banner-img]: https://gist.github.com/user-attachments/assets/bd38a37c-c32d-4fd0-9baf-a977ee9b150a
    [openwrt-builder]: https://github.com/AzimsTech/OpenWrt-Builder

    [vi-cheat]: #file-vi-cheat-sheet-md
    [luci-config]: #file-luci-config-md
    [cli-config]: #file-cli-config-md
    [ipv6-stuffs]: #file-ipv6-stuffs-md
    [uci-default]: #file-uci-default-config-md
    [image-builder-wsl]: #file-using-image-builder-wsl-md
    [wds-auto-restart]: #file-wds-auto-restart-network-md
    [usb-tethering]: #file-usb-tethering-md
    [auto-usb-tethering]: #file-auto-usb-tethering-md
    [mangling-ttl]: #file-mangling-ttl-hoplimit-md
    [qosify]: #file-qosify-md
    [irq-tuning]: #file-irq-tuning-md
    [dns-over-tls]: #file-dns-over-tls-md
    [sysupgrade]: #file-sysupgrade-cli-steps-md
    [copy-files]: #file-openwrt-copy-files-to-windows-md
    [verify-sha256]: #file-verify-sha256-checksums-md
    [populate-hostnames]: #file-populate-host-names-in-associated-stations-to-2nd-ap-md
    [vi-cheat]: ./vi-cheat-sheet.md
    [luci-config]: ./luci-config.md
    [cli-config]: ./cli-config.md
    [ipv6-stuffs]: ./ipv6-stuffs.md
    [uci-default]: ./uci-default-config.md
    [image-builder-wsl]: ./using-image-builder-wsl.md
    [wds-auto-restart]: ./wds-auto-restart-network.md
    [usb-tethering]: ./usb-tethering.md
    [auto-usb-tethering]: ./auto-usb-tethering.md
    [mangling-ttl]: ./mangling-ttl-hoplimit.md
    [qosify]: ./qosify.md
    [irq-tuning]: ./irq-tuning.md
    [dns-over-tls]: ./dns-over-tls.md
    [sysupgrade]: ./sysupgrade-cli-steps.md
    [copy-files]: ./openwrt-copy-files-to-windows.md
    [verify-sha256]: ./verify-sha256-checksums.md
    [populate-hostnames]: ./populate-host-names-in-associated-stations-to-2nd-ap.md
  16. AzimsTech revised this gist Aug 7, 2025. 1 changed file with 40 additions and 21 deletions.
    61 changes: 40 additions & 21 deletions 99-OpenWrt-Stuffs.md
    Original file line number Diff line number Diff line change
    @@ -1,31 +1,50 @@
    <!-- markdownlint-disable MD051 -->

    ![banner](https://gist.github.com/user-attachments/assets/bd38a37c-c32d-4fd0-9baf-a977ee9b150a)

    ![banner][banner-img]

    # 📖 Contents

    - **📚 Basics**
    - [🧾 Practical Cheat Sheet for BusyBox vi](#file-vi-cheat-sheet-md)
    - [🌐 Configure using LuCi](#file-luci-config-md)
    - [🖥️ Configure using CLI](#file-cli-config-md)
    - [ 6️⃣ IPv6 Stuffs](#file-ipv6-stuffs-md)
    - [📜 Configure using uci-defaults script](#file-uci-default-config-md)
    - [🧾 Practical Cheat Sheet for BusyBox vi][vi-cheat]
    - [🌐 Configure using LuCi][luci-config]
    - [🖥️ Configure using CLI][cli-config]
    - [6️⃣ IPv6 Stuffs][ipv6-stuffs]
    - [📜 Configure using uci-defaults script][uci-default]
    - **🛠️ Intermediate (requires more resources)**
    - [ 🚀 OpenWrt-Builder - Image Builder frontends with GitHub Actions](https://github.com/AzimsTech/OpenWrt-Builder)
    - [🏗️ Using OpenWrt Image Builder with WSL](#file-using-image-builder-wsl-md)
    - [🚀 OpenWrt-Builder - Image Builder frontends with GitHub Actions][openwrt-builder]
    - [🏗️ Using OpenWrt Image Builder with WSL][image-builder-wsl]
    - **🎛️ Optional**
    - [ 📡 Auto Restart Network on WDS Station](#file-wds-auto-restart-network-md)
    - [🔌 USB Tethering](#file-usb-tethering-md)
    - [⚡Auto USB Tethering on OpenWrt (Android)](#file-auto-usb-tethering-md)
    - [⌚ Mangling TTL & Hoplimit](#file-mangling-ttl-hoplimit-md)
    - [🚦 Easy Qosify configuration](#file-qosify-md)
    - [⚙️ Tuning IRQ affinity on OpenWrt](#file-irq-tuning-md)
    - [🔒 DNS Over TLS on OpenWrt](#file-dns-over-tls-md)
    - [📦 Upgrading OpenWrt firmware using CLI](#file-sysupgrade-cli-steps-md)
    - [📂 Copying Files between OpenWrt and Windows](#file-openwrt-copy-files-to-windows-md)
    - [✅ Verify SHA256 checksums in PowerShell](#file-verify-sha256-checksums-md)
    - [🌐 Populate Host Names in Associated Stations to Secondary AP](#file-populate-host-names-in-associated-stations-to-2nd-ap-md)
    - [📡 Auto Restart Network on WDS Station][wds-auto-restart]
    - [🔌 USB Tethering][usb-tethering]
    - [⚡Auto USB Tethering on OpenWrt (Android)][auto-usb-tethering]
    - [⌚ Mangling TTL & Hoplimit][mangling-ttl]
    - [🚦 Easy Qosify configuration][qosify]
    - [⚙️ Tuning IRQ affinity on OpenWrt][irq-tuning]
    - [🔒 DNS Over TLS on OpenWrt][dns-over-tls]
    - [📦 Upgrading OpenWrt firmware using CLI][sysupgrade]
    - [📂 Copying Files between OpenWrt and Windows][copy-files]
    - [✅ Verify SHA256 checksums in PowerShell][verify-sha256]
    - [🌐 Populate Host Names in Associated Stations to Secondary AP][populate-hostnames]

    ----

    [banner-img]: https://gist.github.com/user-attachments/assets/bd38a37c-c32d-4fd0-9baf-a977ee9b150a
    [openwrt-builder]: https://github.com/AzimsTech/OpenWrt-Builder

    [vi-cheat]: #file-vi-cheat-sheet-md
    [luci-config]: #file-luci-config-md
    [cli-config]: #file-cli-config-md
    [ipv6-stuffs]: #file-ipv6-stuffs-md
    [uci-default]: #file-uci-default-config-md
    [image-builder-wsl]: #file-using-image-builder-wsl-md
    [wds-auto-restart]: #file-wds-auto-restart-network-md
    [usb-tethering]: #file-usb-tethering-md
    [auto-usb-tethering]: #file-auto-usb-tethering-md
    [mangling-ttl]: #file-mangling-ttl-hoplimit-md
    [qosify]: #file-qosify-md
    [irq-tuning]: #file-irq-tuning-md
    [dns-over-tls]: #file-dns-over-tls-md
    [sysupgrade]: #file-sysupgrade-cli-steps-md
    [copy-files]: #file-openwrt-copy-files-to-windows-md
    [verify-sha256]: #file-verify-sha256-checksums-md
    [populate-hostnames]: #file-populate-host-names-in-associated-stations-to-2nd-ap-md
  17. AzimsTech revised this gist Aug 5, 2025. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions ipv6-stuffs.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,5 @@
    # IPv6 Stuffs

    You can programmatically comment out the `ula_prefix` line using `sed`:
    ```bash
    bashsed -i "/option ula_prefix/s/^/# /" /etc/config/network
  18. AzimsTech revised this gist Aug 5, 2025. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions 99-OpenWrt-Stuffs.md
    Original file line number Diff line number Diff line change
    @@ -9,6 +9,7 @@
    - [🧾 Practical Cheat Sheet for BusyBox vi](#file-vi-cheat-sheet-md)
    - [🌐 Configure using LuCi](#file-luci-config-md)
    - [🖥️ Configure using CLI](#file-cli-config-md)
    - [ 6️⃣ IPv6 Stuffs](#file-ipv6-stuffs-md)
    - [📜 Configure using uci-defaults script](#file-uci-default-config-md)
    - **🛠️ Intermediate (requires more resources)**
    - [ 🚀 OpenWrt-Builder - Image Builder frontends with GitHub Actions](https://github.com/AzimsTech/OpenWrt-Builder)
  19. AzimsTech revised this gist Aug 5, 2025. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions ipv6-stuffs.md
    Original file line number Diff line number Diff line change
    @@ -2,3 +2,5 @@ You can programmatically comment out the `ula_prefix` line using `sed`:
    ```bash
    bashsed -i "/option ula_prefix/s/^/# /" /etc/config/network
    ```

    [⬆️ Go to top](#-contents)
  20. AzimsTech revised this gist Aug 5, 2025. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion ipv6-stuffs.md
    Original file line number Diff line number Diff line change
    @@ -1 +1,4 @@
    You can programmatically comment out the `ula_prefix` line using `sed`:
    ```bash
    bashsed -i "/option ula_prefix/s/^/# /" /etc/config/network
    ```
  21. AzimsTech revised this gist Aug 5, 2025. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions ipv6-stuffs.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
  22. AzimsTech revised this gist Aug 1, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion wds-auto-restart-network.md
    Original file line number Diff line number Diff line change
    @@ -34,4 +34,4 @@ Here's content of `/etc/rc.local`
    exit 0
    ```

    [⬆️ Go to top](#file-99-openwrt-stuffs-md)
    [⬆️ Go to top](#-contents)
  23. AzimsTech revised this gist Aug 1, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion vi-cheat-sheet.md
    Original file line number Diff line number Diff line change
    @@ -79,4 +79,4 @@ Ctrl+Z → Suspend vi (resume with `fg`)
    Ctrl+C → Cancel operation (e.g., interrupt search)
    ```

    [⬆️ Go to top](#file-99-openwrt-stuffs-md)
    [⬆️ Go to top](#-contents)
  24. AzimsTech revised this gist Aug 1, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Verify-SHA256-checksums.md
    Original file line number Diff line number Diff line change
    @@ -10,4 +10,4 @@
    (Get-FileHash .\openwrt-23.05.0-ramips-mt7621-dlink_dir-882-a1-squashfs-sysupgrade.bin).Hash -eq "452b69cc96aff64150e39396e174530ff6634a49b888c450cb713ad0d891f23e"
    ```

    [⬆️ Go to top](#file-99-openwrt-stuffs-md)
    [⬆️ Go to top](#-contents)
  25. AzimsTech revised this gist Aug 1, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Using-Image-Builder-WSL.md
    Original file line number Diff line number Diff line change
    @@ -73,4 +73,4 @@
    make clean
    ```
    [⬆️ Go to top](#file-99-openwrt-stuffs-md)
    [⬆️ Go to top](#-contents)
  26. AzimsTech revised this gist Aug 1, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion usb-tethering.md
    Original file line number Diff line number Diff line change
    @@ -280,4 +280,4 @@ Finding the correct MTU helps prevent fragmentation and improves network perform
    - [[milanvit.net] - Mini-tutorial: IPv6 with DHCPv6 on Asahi Net & OpenWRT](https://www.milanvit.net/post/mini-tutorial-ipv6-with-dhcpv6-on-asahi-net-openwrt/)
    - [[OpenWrt Forum] - @moeller0 #21 reply](https://forum.openwrt.org/t/some-websites-are-inaccessible/195012/21)

    [⬆️ Go to top](#file-99-openwrt-stuffs-md)
    [⬆️ Go to top](#-contents)
  27. AzimsTech revised this gist Aug 1, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion UNFI-HOME-Configuration.md
    Original file line number Diff line number Diff line change
    @@ -37,4 +37,4 @@ EOF
    chmod +x /etc/ppp/ip-up.d/00-add-ip6-route
    ```

    [⬆️ Go to top](#file-99-openwrt-stuffs-md)
    [⬆️ Go to top](#-contents)
  28. AzimsTech revised this gist Aug 1, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion uci-default-config.md
    Original file line number Diff line number Diff line change
    @@ -144,4 +144,4 @@ reboot
    ```


    [⬆️ Go to top](#file-99-openwrt-stuffs-md)
    [⬆️ Go to top](#-contents)
  29. AzimsTech revised this gist Aug 1, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion sysupgrade-CLI-steps.md
    Original file line number Diff line number Diff line change
    @@ -58,4 +58,4 @@
    - Check output of the following commands: `ubus call system board` to check detailed information about the device’s
    [⬆️ Go to top](#file-99-openwrt-stuffs-md)
    [⬆️ Go to top](#-contents)
  30. AzimsTech revised this gist Aug 1, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion qosify.md
    Original file line number Diff line number Diff line change
    @@ -9,4 +9,4 @@ uci commit qosify
    /etc/init.d/qosify start
    ```

    [⬆️ Go to top](#file-99-openwrt-stuffs-md)
    [⬆️ Go to top](#-contents)