flash tomato and use one of the various wanup scripts
done and done
why people insist on using the garbage ASUS-based firmware is beyond me ..
http://www.linksysinfo.org/index.php?threads/script-clean-lean-and-mean-adblocking.68464/
I guess its also beyond you to post useful information.flash tomato and use one of the various wanup scripts
done and done
why people insist on using the garbage ASUS-based firmware is beyond me ..
http://www.linksysinfo.org/index.php?threads/script-clean-lean-and-mean-adblocking.68464/
Using this current thread and this issue thread you should be able to figure it out if you're handy with the command line.
- DNSMasq reads from /etc/hosts
- You can keep the mvps.org hosts in /etc/storage/dnsmasq/hosts (This is where the webGUI hosts editor saves to - tricky part is that it can't save the size of the mvps file across reboot and truncates it, so you need to either deal with that, or I'm just lazy and set it to run wget on every boot of the router)
- Startup script to copy hosts and cycle DNSmasq goes in /etc/storage/started_script.sh (Might also work in some other place, scripts here go in some order, but started_script works for me.)
wget http://winhelp2002.mvps.org/hosts.txt -O /etc/storage/dnsmasq/hosts
cat /etc/storage/dnsmasq/hosts >> /etc/hosts
killall dnsmasq
dnsmasq
sleep 8
wget http://winhelp2002.mvps.org/hosts.txt -O /etc/storage/dnsmasq/hosts
cat /etc/storage/dnsmasq/hosts >> /etc/hosts
killall dnsmasq
dnsmasq
iptables -t nat -A PREROUTING --source [the static IP address you provided] -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128
killall dnsmasq
mkdir /var/startup/
cp /etc/storage/dnsmasq/hosts /var/startup/hostsOriginal
wget http://someonewhocares.org/hosts/hosts -O /var/startup/winHelpHosts
cat /var/startup/hostsOriginal >> /var/startup/winHelpHosts
cat /var/startup/winHelpHosts >> /etc/hosts
rm /etc/storage/dnsmasq/hosts
ln -s /etc/hosts /etc/storage/dnsmasq/hosts
rm -r /var/startup/
dnsmasq
killall dnsmasq
mkdir /var/startup/
cp /etc/storage/dnsmasq/hosts /var/startup/hostsOriginal
wget "http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts;showintro=0;mimetype=plaintext" -O /var/startup/winHelpHosts
cat /var/startup/hostsOriginal >> /var/startup/winHelpHosts
cat /var/startup/winHelpHosts >> /etc/hosts
rm /etc/storage/dnsmasq/hosts
ln -s /etc/hosts /etc/storage/dnsmasq/hosts
rm -r /var/startup/
dnsmasq
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!