ASUS RT-N56U/N65U/N14U custom firmware with QOS
Upstream: http://code.google.com/p/rt-n56u/
Prebuilt Images: https://www.mediafire.com/folder/z09g335s500o4/Padavan%27s_RTN56U_firmware_QOS_mod
========
Modifications:
- Added BFQ I/O scheduler
- Added OpenWRT QOS script for QOS into the firmware
- Added patch for newer systems with texinfo >= 5 to bootstrap cross-gcc 4.4.7
- Added gcc 4.7.3. All images are compiled with this now.
Starting with *3.8-081-moonman-6 all builds are compiled with gcc 4.8.2 (with better optimizations for 74kc)
Starting with *3.8-084-moonman-7 all builds are compiled with gcc 4.9.1 ** Beware: any version of gcc past 4.4.7 causes problems in builds, particularly native ipv6 does not work, and ** PPTPD does not accept connections. I've reverted back to 4.4.7 until these problems are resolved. - All images are compiled with appropriate compiler optimizations instead of generic mips32r2:
RT-N14U: -march=24kec -mtune=24kec
RT-N56U/RT-N65U: -march=74kc -mtune=74kc
=========
How-To:
- If NOT coming from stock f/w, reset internal storage after flashing:
Advanced Settings -> Administration -> Settings ->
Router Internal Storage (/etc/storage) -> Reset - Disable HW Nat:
Advanced Settings -> WAN -> Hardware offload NAT/Routing IPv4 -> Disable - SSH (or WinSCP) into the router and modify /etc/storage/qos.conf for your connection
- Change QOS_ENABLED variable in qos.conf to YES (all caps)
=========
To build:
- Follow the steps outlined here:
http://code.google.com/p/rt-n56u/wiki/HowToMakeFirmware - Additionaly install
sudo
if it isn't installed. (it isn't, by default, in Debian)
========
I use ArchLinux installation with debian sid chroot.
Install "debootstrap" from aur and create a chroot.
Place this script in <chrootdir>/bin and make it executable
(I called this script "start")
#!/bin/bash
PATH=$PATH:/bin:/sbin:/usr/sbin
export PATH
/bin/bash
to chroot use
arch-chroot <chrootdir> /bin/start