Just like many other League addicts, ever since the Vanguard incident, TFT has been a no-go....
except it isn't, since the Android 13 version works just as fine, after some tweaks!
| opkg update | |
| opkg install dnsproxy | |
| # Ensure, that the NTP server can work without DNS | |
| uci del system.ntp.server | |
| uci add_list system.ntp.server='194.177.4.1' # 0.openwrt.pool.ntp.org | |
| uci add_list system.ntp.server='213.222.217.11' # 1.openwrt.pool.ntp.org | |
| uci add_list system.ntp.server='80.50.102.114' # 2.openwrt.pool.ntp.org | |
| uci add_list system.ntp.server='193.219.28.60' # 3.openwrt.pool.ntp.org | |
| uci commit system |
| #!/bin/sh | |
| # Set kernel parameters in /etc/sysctl.conf | |
| cat << EOF > /etc/sysctl.conf | |
| # Increase maximum number of open file descriptors | |
| fs.file-max = 1000000 | |
| # Increase maximum number of inotify instances per user | |
| fs.inotify.max_user_instances = 8192 |
Oh boi, here I give you the solution for that. This document is based on these links:
My solution seems to be deprecated, there are other solution from the comment on this Gist, that actually works. So, please use that instead, it's way much simpler, and it works.
| server: | |
| ########################################################################### | |
| # BASIC SETTINGS | |
| ########################################################################### | |
| # Time to live maximum for RRsets and messages in the cache. If the maximum | |
| # kicks in, responses to clients still get decrementing TTLs based on the | |
| # original (larger) values. When the internal TTL expires, the cache item | |
| # has expired. Can be set lower to force the resolver to query for data | |
| # often, and not trust (very large) TTL values. | |
| cache-max-ttl: 86400 |