Posted by dandriff on Saturday June 06, 2009@07:31PM
Let's just pretend the following were true:
So, I am running OpenWRT Kamikaze on my WRT54GS and am using Comcast as my ISP, with 8 Mb. down / 2 Mb. up service. It's great! Except for the random dropouts. I am using a wired network client when I notice the dropouts occur sometimes for 20 seconds every minute, for a minute or two here and there. Blimey!!!
So I read on the internet that dslreports.com will do some free line-quality testing for you. Neat! The only catch is that your IP address must respond to pings!
So off I went to google..to find out how to open OpenWRT Kamikaze for WAN ping requests.
After a little more work than I had been anticipating, I found something even better than what I had been looking for!:
iptables -A input_rule -i $WAN -p icmp -m icmp --icmp-type echo-request -m limit --limit 10/s -m length --length 1:150 -j ACCEPT
Note: For the $WAN variable in the iptables rule, for my hardware setup I used the value "eth0.1".