Active Topics

 


Reply
Thread Tools
Posts: 479 | Thanked: 58 times | Joined on Dec 2007 @ Dubai, UAE
#21
Is there any way I can copy the existing hosts file out of the N800, edit it on my PC (WinXP) and then copy it back into the N800?

my commandline skillz is teh fail (i can lolcattalk too), and with things working all fine and dandy on my tablet now, I would REALLY hate to screw it up.
 
GeneralAntilles's Avatar
Posts: 5,478 | Thanked: 5,222 times | Joined on Jan 2006 @ St. Petersburg, FL
#22
Originally Posted by ghoonk View Post
Is there any way I can copy the existing hosts file out of the N800, edit it on my PC (WinXP) and then copy it back into the N800?
The steps outlined on the last page are hardly advanced stuff. Just do exactly as it says and everything will work fine.
 
PJE's Avatar
Posts: 58 | Thanked: 16 times | Joined on Oct 2007 @ Michigan, USA
#23
Originally Posted by ghoonk View Post
Is there any way I can copy the existing hosts file out of the N800, edit it on my PC (WinXP) and then copy it back into the N800?
You can, using 'mv hosts /media/mmc2/hosts' (at which point the file can be seen via USB on the PC), but be aware that PC files can have different end of line terminators than linux files... so I'd recommend doing it on your N800 directly.

You are not actually editing the host file, all you are doing is making a new host file by joining the current host file (which has your machine ID) and the ad blocking list to create the new super host file.
__________________
“Never trust a computer you can't throw out a window.” - Steve Wozniak.
 
Posts: 479 | Thanked: 58 times | Joined on Dec 2007 @ Dubai, UAE
#24
That worked. Application Manager works fine too.

Now to test it over the next couple of days to see what kind of improvement I can get. I've turned off AB+ just to get an idea of how this works.

Thanks, guys!
 
Posts: 168 | Thanked: 51 times | Joined on Jun 2007
#25
Originally Posted by free View Post
Exactly,
That's why in the few lines, I *append* the ad-blocking host to the current original one.
What got me into trouble was using the same hosts file after an OS update. The localhost line changes with each update.
 
Posts: 63 | Thanked: 4 times | Joined on Feb 2008
#26
Thank you for the very clear instructions! I have modified my hosts file using the one from hosts-file.net following the posted instructions. Now however instead of ads I'm seeing the CSS placeholders and messages telling me server could not be found. I think I'm also supposed to use UserContent.css or Greasemonkey scripts to hide those now defunct css elements right? Is there a preference for which one?

Edit: Did some googling and yeah, I figured it out. However, http://www.floppymoose.com isn't working for me. Anyhow, I found a website that suggests that using Mozilla's built in image blocking may be more effective than using CSS filtering.

http://www.gozer.org/mozilla/ad_blocking/

Anyone use this?

Last edited by Redshift; 2008-03-20 at 01:26.
 
Posts: 33 | Thanked: 14 times | Joined on Dec 2007
#27
Frankly, it think privoxy is easier to use and does a more thorough job of ad blocking. Just install the deb and point set the proxy settings and your done.
 
Posts: 93 | Thanked: 7 times | Joined on Sep 2007
#28
Is there by the way some faster way to switch proxies? Most of the time I'm behind privoxy, but every now and then I need to be in my uni's "ip space" and frankly it's a ***** to change those settings.. so many clicks..
 
Posts: 566 | Thanked: 150 times | Joined on Dec 2007
#29
Originally Posted by traveller604 View Post
Is there by the way some faster way to switch proxies? Most of the time I'm behind privoxy, but every now and then I need to be in my uni's "ip space" and frankly it's a ***** to change those settings.. so many clicks..
Create a new connection that doesn't have the proxy settings set, and then switch when necessary.
 
brontide's Avatar
Posts: 868 | Thanked: 474 times | Joined on Oct 2007 @ Capital District, NY, USA
#30
I did a

mv /etc/hosts /etc/hosts.orig and then created the following script.

Code:
#!/bin/sh
cp /etc/hosts /etc/hosts.bak
wget -q -O - http://www.mvps.org/winhelp2002/hosts.txt | sed -e 's|127\.0\.0\.1  localhost|127\.0\.0\.1 Nokia-N810-50-2 localhost|' > /etc/hosts
Note the one item will need to be changed based on your original hosts file. I love CPU non-intensive adblocking tricks. I also run my own .css rules for the sites I visit.
 
Reply

Tags
adblock


 
Forum Jump


All times are GMT. The time now is 04:51.