I must be doing some thing wrong .. with this setup, I can't bring up maps.google.com or the maps from bing.com.
To level set, here are the steps I followed.
1. Make sure OPTWARE is installed on the router.
2. On the ‘Services|Services’ page, enable the DNSMasq and add information as follows. Click ‘Save Changes’ when done.
DNSMasq: Enable
Local DNS: Enable
No DNS Rebind: Enable
Additional DNSMasq Options: addn-hosts=/tmp/dlhosts
3. On the ‘Administration|Commands’ page, save the following code in the ‘Command Shell’ box. Click ‘Save Startup’.
#
# Simple ad-blocking
#
_rogue=127.0.0.1
echo -e "n=1\nwhile ! wget -q -O /tmp/hsts http://www.mvps.org/winhelp2002/hosts.txt ; do\n\t[ \$n -gt 5 ] && break\n\tlet n+=1\n\tsleep 60\ndone\ngrep \"^127.0.0.1\" /tmp/hsts | grep \"^127.0.0.1\" | grep -v localhost | awk '{print \"$_rogue\\\t\"\$2}' | tr -d '\\\015' >/tmp/dlhosts\nrm /tmp/hsts\nkillall -HUP dnsmasq" >/tmp/wh
sh /tmp/wh &
4. Start a telnet session on the Router
5. Login with the ‘root’ credentials
6. Enable the ‘pixelserv’ OPTWARE service by entering the following commands at the prompt.
service pixelserv on
service pixelserv start
7. Reboot the Router.
Stopping the pixelserv service, seems to clear things up.
The laptop that I am using for the test has a wireless connection with a WRT610N which is a configured as a repeated bridge to the E3000 from my earlier post. The fw build on the WRT610N is the same as the E3000. OPTWARE is installed on the E3000 only. The following should help.
Am I doing something wrong? If you need any diagnostic information from me, let me know. _________________ ===================================
1 * DIR-866L - 29193 Mega (Main Gateway)
1 * EA4200 - 29193 Mega (Main Gateway)
1 * EA6500 - 29193 Mega (Repeater Bridge)
1 * EA6500v2 - 29193 Mega (Repeater Bridge)
1 * WRT610N - 29193 Mega (Repeater Bridge)
===================================
Joined: 24 Aug 2009 Posts: 2070 Location: South Florida
Posted: Sun Apr 03, 2011 2:26 Post subject:
Pandora is blocked by this script (on smart-phones only so far).
Oh well, I guess I'll just use my unlimited 3G data plan.. _________________ Optware, the Right Way
Asus RT-AC68U
Asus RT-N66U
Asus RT-N10
Asus RT-N12
Asus RT-N16 x5
Asus WL520gU
Engenious ECB350
Linksys WRT600Nv1.1
Linksys WRT610Nv1
Linksys E2000
Netgear WNDR3300
SonicWall NSA220W
SonicWall TZ215W
SonicWall TZ205W
SonicWall TZ105W
I don't think Pandora is the problem, I think there is a site that Pandora invokes that might be blocked and there is something in the script that stops the processing for the rest of the page.
In my tests, i have noticed that as soon as I stop pixelserv, some level of normalcy returns.
For now I have reverted to using IEPro and Adblock on the browsers. That said, I am willing to test, if there are any suggestions. _________________ ===================================
1 * DIR-866L - 29193 Mega (Main Gateway)
1 * EA4200 - 29193 Mega (Main Gateway)
1 * EA6500 - 29193 Mega (Repeater Bridge)
1 * EA6500v2 - 29193 Mega (Repeater Bridge)
1 * WRT610N - 29193 Mega (Repeater Bridge)
===================================
The problem I am running up against is I just don't have enough NVRAM to store the additional startup script. Frater, is there any way to relocate these startup scripts to somewhere on /opt, that way it would not impose an "nvram penalty"? Ideally, things should really be implemented as your services.
These big startup scripts and firewalls scripts... those strings are read exactly once from nvram in a given session. But they occupy space for the entire session.
I know examining efficiency on that level may seem anal, but unfortunately dd-wrt doesn't manage nvram well, and running out of it is really bad.
I've been using the script for a long time now and its been working fine. I haven't changed anything in the router. Over the last few days it hasn't been working. I tried rebooting a few times to update the block list, but no improvement.
I just found this topic , hopefully the issues are easily figured out; as this sounds amazing. I'm super hyped there's an adblocker pretty much built in router side with this.
Since assisting in this is beyond my skill set, I want to say thanks in the mean time heh.
Thinking of trying this on my WRT150N and WRT600N in the mean time, suggestions on what I need to enable or disable to avoid issues? Much appreciated. >_>b
guys you might have already notice
http://winhelp2002.mvps.org/hosts.txt
has been removed.
404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
I went ahead and installed the code above, added the dnsmasq entry and enables the pixelserv service.
I am noticing a performance issue and pages take ages to load. Even the dd-wrt forum page hangs. Other sites include my.yahoo.com, cnn.com, bbc.com.uk etc.
On a whim, while pages were waiting to load, I stopped the pixelserv service, and the pages loaded immediately.
By no means is this a conclusive test, but I wanted to check with the group to see if others are seeing similar issues.
If my case is isoloated, any clues as to what might be going on.
Router: e3000
Firmware: DD-WRT v24-sp2 (12/24/10) mega
(SVN revision 15962)
how do i stop the service in a way that will let me turn it back on quickly?