{"id":20671621,"url":"https://github.com/ravensystem/asuswrt-merlin","last_synced_at":"2025-04-19T18:38:35.580Z","repository":{"id":110172635,"uuid":"601998674","full_name":"RavenSystem/AsusWRT-Merlin","owner":"RavenSystem","description":"Well tested AsusWRT-Merlin Configurations and Options","archived":false,"fork":false,"pushed_at":"2025-01-05T12:59:36.000Z","size":4606,"stargazers_count":23,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T11:41:44.517Z","etag":null,"topics":["asus","asus-rog","asus-routers","asuswrt","asuswrt-merlin","router"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RavenSystem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":"https://paypal.me/ravensystem"}},"created_at":"2023-02-15T09:30:39.000Z","updated_at":"2025-03-21T10:18:48.000Z","dependencies_parsed_at":"2024-05-17T09:30:54.775Z","dependency_job_id":"1927f076-cd51-4c0b-8f18-897a43308d22","html_url":"https://github.com/RavenSystem/AsusWRT-Merlin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RavenSystem%2FAsusWRT-Merlin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RavenSystem%2FAsusWRT-Merlin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RavenSystem%2FAsusWRT-Merlin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RavenSystem%2FAsusWRT-Merlin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RavenSystem","download_url":"https://codeload.github.com/RavenSystem/AsusWRT-Merlin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249766365,"owners_count":21322583,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asus","asus-rog","asus-routers","asuswrt","asuswrt-merlin","router"],"created_at":"2024-11-16T20:28:32.175Z","updated_at":"2025-04-19T18:38:35.556Z","avatar_url":"https://github.com/RavenSystem.png","language":"Shell","funding_links":["https://paypal.me/ravensystem"],"categories":[],"sub_categories":[],"readme":"# RavenSystem's AsusWRT-Merlin configuration\n\n[![Donate](https://img.shields.io/badge/donate-PayPal-blue.svg)](https://paypal.me/ravensystem)\n\n[![Twitter](https://img.shields.io/twitter/follow/RavenSystem.svg?style=social)](https://twitter.com/RavenSystem)\n\n[![Chat](https://img.shields.io/discord/594630635696553994?style=social)](https://discord.gg/v8hyxj2)\n\nThis is the configuration from my AsusWRT routers, with [AsusWRT-Merlin firmware](https://www.asuswrt-merlin.net) installed.\n\nI have tested different Asus router models, and I have experience developing some AsusWRT-Merlin Addons. My setup manages more than 70+ network connected devices (60+ wifi devices).\n\nCheck [AsusWRT-Merlin supported devices](https://github.com/RMerl/asuswrt-merlin.ng/wiki/Supported-Devices)\n\nUnder [Config](Config#main-router-configuration) you will find all config options and screenshots.\n\nRemember to check [AMTM](https://diversion.ch) plugins and options, included with AsusWRT-Merlin.\n\nRouter VPN Server for Apple devices: [AAH: Always At Home](https://github.com/RavenSystem/AlwaysAtHome)\n\n## Tips\n\nSome scripts options to customize your router. Please, before read [AsusWRT-Merlin User Scripts](https://github.com/RMerl/asuswrt-merlin.ng/wiki/User-scripts) to know how they works.\n\n### Check and customize SWAP\n\nIf your router has a SWAP file installed by [AMTM](https://diversion.ch), you can check and customize it.\n\nTo check it, run this command and see value:\n```shell\ncat /proc/sys/vm/swappiness\n```\n\nIf value is `0`, or if you want to use a different value, run or add this line with your new value (`72` is an example)...\n```shell\necho 72 \u003e /proc/sys/vm/swappiness\n```\n\n... into this file...\n```shell\n/jffs/scripts/post-mount\n```\n\n... after line:\n```shell\nswapon /tmp/mnt/pendrive/myswap.swp # Added by amtm\n```\n\n### Remove Asus proprietary connection diagnostic tool\n\nThis is a service used to check router ports and show their status in WebUI. It is useless because under Tools menu you can see ports status, and can be disabled to save RAM.\n\nTo disable it, add this line...\n```shell\nservice stop_conn_diag\n```\n\n... to the end of this file...\n```shell\n/jffs/scripts/services-start\n```\n\n... and restart router.\n\n### Enable Link Aggregation to AiMesh node Ethernet Uplink\n\nBy default, only WAN port can be used as uplink to main router or core switch. But if your node supports Link Aggregation, you can use it as uplink.\n\n#### Enable link aggregation in Aimesh node\n- Under WebUI AiMesh Menu, select your AiMesh Node, Manage, and enable Link Aggregation. If this option is not available, you can stop here because your node doesn't support it.\n\n#### Enable link aggregation in main router\n- Under WebUI LAN Menu, select Switch Control tab, and enable Link Aggregation. If this option is not available, you can stop here because your main router doesn't support it.\n\n#### Add custom script to node\n- Enter to your node using SSH.\n- Edit this file:\n```shell\n/jffs/scripts/init-start\n```\n\n- Add these commands to remove `eth3` (LAN2) and add `eth0` (WAN) to `bond0` (Link Aggregation Interface):\n```shell\n#!/bin/sh\nifconfig bond0 down\necho \"-eth3\" \u003e /sys/class/net/bond0/bonding/slaves\nbrctl addif br0 eth3\nbrctl delif br0 eth0\nifconfig eth0 down\necho \"+eth0\" \u003e /sys/class/net/bond0/bonding/slaves\nifconfig bond0 up\n```\n\n- Set file permissions:\n```shell\nchmod a+x /jffs/scripts/init-start\n```\n\n- Enable User Scripts:\n```shell\nnvram set jffs2_scripts=1\nnvram commit\n```\n\n- Restart node.\n- Connect main router LAN1 and LAN2 ports to node WAN and LAN1 ports.\n\n#### Customize Link Aggregation Policy (Optional)\n\nLACP Policy can be changed using:\n```shell\necho 2 \u003e /sys/class/net/bond0/bonding/xmit_hash_policy\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fravensystem%2Fasuswrt-merlin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fravensystem%2Fasuswrt-merlin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fravensystem%2Fasuswrt-merlin/lists"}