Patching Routers

with news of more devices becoming compromised, maybe we should repurpose them to save replacement costs ?

An example below of a diy patch for a router to repurpose on the network.

Included Components:

  • qr_onboard_ui.html — Visual onboarding panel
  • relay_status_api.py — FastAPI status & CID relay
  • start_api_server.sh — Launch script for FastAPI service
  • ota-node.whl — OTA relay logic + wallet/CID router (placeholder stub)
  • edge_wallet_overlay.py — Edge wallet panel integration
  • router_config.json — Relay config
  • router_firewall.sh — Secure traffic lockdown
  • init.d/otard — OpenWRT boot script (/etc/init.d/otard)

Drop into /etc/otr/, set executable bits, and you’ve got a home-grade gateway node.

Linksys Sample

Linksys Bin Sample

Use for development/testing purposes only.

Other Router Platforms for OTR Patching

These platforms are commonly found in households and support firmware patching or OpenWRT/DD-WRT installation:

BrandPatchable viaNotes
LinksysOpenWRT/DD-WRTVery popular; easy patch and broad support
TP-LinkOpenWRT/DD-WRTSome models allow full firmware access
NetgearOpenWRT/DD-WRT (select models)May require serial access on some units
ASUSMerlin Firmware / OpenWRTStrong support, often used by power users
GL.iNet RoutersOpenWRT (stock)Ideal for dev kits — comes pre-flashed
Ubiquiti EdgeRouterCLI-based patchingAdvanced users; good relay backbone option
MikroTikRouterOS scriptingCommercial-grade; used in mesh/backhaul roles

How OTR Router Nodes Integrate at Home

Once patched, the router becomes a hybrid node:

  • MAC-first routing logic: OTR identifies devices based on their MAC address, not IP, allowing for device identity and trust even when offline or not DHCP-bound.
  • Firewall enhancement: Devices outside the MAC-trust list are sandboxed or relayed only via specific interfaces (e.g., LoRa, Bluetooth, or SDN).
  • Dual-network toggle: With a UI toggle, users can switch devices between regular internet access (DHCP) and OTR mode (for relay, logging, or encrypted comm).
  • Edge Wallet & CID Logging: All traffic or actions (e.g., rewards claims, content relays) can be logged via CID to IPFS, enabling transparency and auditability.
  • OTA Modules: Adds local APIs for:
    • Device onboarding
    • Relay proof logging
    • Wallet viewing and claim triggers
    • Translator node usage (cross-language proof-of-work)
    • SDR interaction if hardware present

Benefits of Using OTR Home Routers

  • Offline-first: Enables users to operate secure, functional Web3 services even without constant internet.
  • Trusted devices: MAC-address identity means devices don’t need wallet logins or sessions to be tracked and rewarded.
  • Resilience: In emergencies, they can fallback to radio, LoRa, or Bluetooth routing.
  • Extendable: Easily upgradable with sensors, SDR, cameras, drones, etc.
  • Privacy-first: OTR replaces centralized DNS/IP routing with community-run logic — no surveillance gatekeepers.