Decided to share a custom build I've created for my own use:
Chaos Calmer
LuCI with IPv6
MiniUPnP
OpenVPN with mbed TLS
DNSCrypt
ipset-dns
Reghack (WiFi channels 12 and 13)
Minified LuCI's CSS and JS
Removed kernel debugging and USB support
Nothing else has been touched. Basically, it is a 'make defconfig' + profile + the mentioned above.
Free ROM: 150 KB
Total available RAM: 15000 KB
OpenVPN BF-CBC speed: 12Mbs/12Mbs (measured on v8 downloading ubuntu via torrent)
Download firmware:
dropbox
Build script:
https://gist.github.com/amq/71a7c1ab521fb3c2aca6
Kudos to Aegisu
Supported devices:
tl-wr841nd-v3
tl-wr841nd-v5
tl-wr841nd-v7
tl-wr841n-v8
tl-wr841n-v9
tl-wr847n-v8
Changelog:
2015-09-13
- Chaos Calmer 15.05 (r46849)
- Removed QoS
- Added dnscrypt-proxy
- Added ipset-dns
- Added luci-app-openvpn
2015-04-21
- r45545
- Added QoS
- Added Reghack
- Removed kernel debugging and USB support
2015-01-22
- r44077
- Included patch for PolarSSL CVE-2015-1182
2014-12-19
- r43751
- Compiled with GCC 4.9
2014-12-16
- r43720
- Initial release
How to achieve the same build with the 'menu makeconfig' interface
1. rm .config .config.old
2. make defconfig
3. make menuconfig
(use space to select, make sure you see a star after a selection, not an M; use esc to go back)
_Target Profile - TP-LINK TL-WR841N/ND
Enable:
_LuCI - Collections - luci
_LuCI - Applications - luci-app-upnp
_LuCI - Applications - luci-app-openvpn
_Network - VPN - openvpn-polarssl
_Network - ipset-dns
_Network - IP addresses and Names - dnscrypt-proxy
Disable:
_Global build settings - Enable support for printk, Crash logging, Support for paging of anonymous memory (swap), Compile the kernel with symbol tables information, Compile the kernel with debug information, Compile the kernel with SysRq support, Enable printk timestamps
_Advanced configuration options (for developers) - Toolchain options - GCC compiler Version - gcc 4.9
_Kernel modules - USB Support - everything
OpenVPN setup guides:
https://blog.ipredator.se/howto/openwrt … enwrt.html
https://www.robertkehoe.com/2015/08/set … g-openwrt/
(Last edited by amq on 4 Dec 2016, 17:33)