Installing the WRTune Engine

How to install the custom WRTune rpcd script on your OpenWRT router to unlock advanced features.

The WRTune Engine is a custom shell script installed on your router at /usr/libexec/rpcd/wrtune. It exposes a wrtune ubus namespace that powers many advanced features beyond what stock OpenWRT’s rpcd provides.

What the Engine Enables 🔗

Without the WRTune Engine, you can still use basic features (dashboard, client list, system info). Installing the engine unlocks:

  • WiFi interface management (add, delete, toggle)
  • Guest WiFi with timed auto-expiry
  • Client blocking via organized firewall rules
  • LAN-wide internet pause
  • LLDP neighbor discovery (network map)
  • Wake-on-LAN via etherwake
  • Router reboot

Automatic Installation 🔗

WRTune handles engine installation automatically:

  1. Navigate to Settings → Permissions
  2. Tap “Install WRTune Engine”
  3. WRTune uses SSH to connect to your router
  4. It uploads the engine script to /usr/libexec/rpcd/wrtune
  5. It installs ACL permission files at /usr/share/rpcd/acl.d/ubus_access.json
  6. Confirms successful installation

The entire process takes a few seconds and requires no manual commands.

:::tip After a router firmware upgrade, you may need to reinstall the engine. WRTune checks the engine version on login and prompts you if an update is needed. :::

Engine ubus Methods 🔗

Once installed, the wrtune namespace exposes these methods:

MethodDescription
get_infoReturns engine version for auto-update checks
get_neighborsLLDP neighbor discovery (network map)
get_supported_widthsChannel width capabilities per radio
set_wifi / add_wifi / delete_wifi / toggle_wifiFull WiFi lifecycle
start_guest / extend_guest_timeTimed guest WiFi with auto-expiry
kick_clientDisconnects a client via hostapd
init_firewall / block_clientFirewall-based client blocking
toggle_internet / get_internet_statusLAN-wide internet pause
reboot_routerSystem reboot
wake_on_lanSends magic packet via etherwake
list_interfacesReturns active bridge interfaces
check_etherwakeChecks if etherwake is installed

Firewall Rule Naming 🔗

All firewall rules created by WRTune use the wrtune_ prefix convention. This keeps your router’s firewall configuration organized and easily identifiable — no hunting through randomly named rules.