Giter Club home page Giter Club logo

asuswrt-merlin's Introduction

RavenSystem's AsusWRT-Merlin configuration

Donate

Twitter

Chat

This is the configuration from my AsusWRT routers, with AsusWRT-Merlin firmware installed.

I 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).

Check AsusWRT-Merlin supported devices

Under Config you will find all config options and screenshots.

Remember to check AMTM plugins and options, included with AsusWRT-Merlin.

Router VPN Server for Apple devices: AAH: Always At Home

Tips

Some scripts options to customize your router. Please, before read AsusWRT-Merlin User Scripts to know how they works.

Check and customize SWAP

If your router has a SWAP file installed by AMTM, you can check and customize it.

To check it, run this command and see value:

cat /proc/sys/vm/swappiness

If 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)...

echo 72 > /proc/sys/vm/swappiness

... into this file...

/jffs/scripts/post-mount

... after line:

swapon /tmp/mnt/pendrive/myswap.swp # Added by amtm

Remove Asus proprietary connection diagnostic tool

This 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.

To disable it, add this line...

service stop_conn_diag

... to the end of this file...

/jffs/scripts/services-start

... and restart router.

Enable Link Aggregation to AiMesh node Ethernet Uplink

By 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.

Enable link aggregation in Aimesh node

  • 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.

Enable link aggregation in main router

  • 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.

Add custom script to node

  • Enter to your node using SSH.
  • Edit this file:
/jffs/scripts/init-start
  • Add these commands to remove eth3 (LAN2) and add eth0 (WAN) to bond0 (Link Aggregation Interface):
#!/bin/sh
ifconfig bond0 down
echo "-eth3" > /sys/class/net/bond0/bonding/slaves
brctl addif br0 eth3
brctl delif br0 eth0
ifconfig eth0 down
echo "+eth0" > /sys/class/net/bond0/bonding/slaves
ifconfig bond0 up
  • Set file permissions:
chmod a+x /jffs/scripts/init-start
  • Enable User Scripts:
nvram set jffs2_scripts=1
nvram commit
  • Restart node.
  • Connect main router LAN1 and LAN2 ports to node WAN and LAN1 ports.

Customize Link Aggregation Policy (Optional)

LACP Policy can be changed using:

echo 2 > /sys/class/net/bond0/bonding/xmit_hash_policy

asuswrt-merlin's People

Contributors

ravensystem avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.