How to Force Google Safe Search on DD-WRT

Choosing Googles SafeSearch

Other Posts Worth Reading

Try Oone of These Two Methods to Force Google Safe Search

These two methods will enforce Google’s safesearch on all computers on your network (keep in mind that this won’t work for cell phones or other devices using cellular data). This is specific to any router using the DDWRT firmware. DDWRT is an open source firmware that is available to be flashed on a number of routers (check the DDWRT website for a list of compatible routers and installation details)

Method #1 of Forcing Google’s Safe Search – Rewrite DDWRT’s Hosts File on Startup

The simplest way to do this is to have your router edit your hosts file on each startup as follows:

  1. Go to Administration->Commands

    DDWRT Screenshot - administration

  2. Click “Edit” and add the following script:

  3. Click “Run Commands”
  4. Click “Save Startup”
  5. Done!

What does this do ? It redirects those urls to the ip address of forcesafesearch.com. Your hosts file will be wiped out on every reboot of the router but the script will restore the settings.

While this is a very easy way of forcing safesearch, the disadvantage is that Google could change the ip address of safesearch. In addition, this method doesn’t permit wild cards.

Method #2 of Forcing Google SafeSearch- Use DNSMasq

This method permits wildcards:

  1. Make sure that you have DNS masq enabled.
  2. Services->Additional DNSMasq option Box.
  3. DDWRT DNSMasq Option

  4. Insert the following (Note the DOT before google.com, the dot acts as a wild card to pickup any subdomains):
  5. It should look like this:

    DNSMasq Options With Google Safe Search Specified

  6. Click “Save” (button bottom of page)
  7. Click “Apply Settings”
  8. Done! If it doesn’t work right away you may need to reboot the router (use the button on the Services tab)

Make a $5 Motion Sensitive Coca Cola Night Light

Coca-Cola Night Soap Dispenser

Here’s a simple project.

Motion Sensitive Soap Dispenser

Home Depot is currently selling this “Soap Brite Lighted Soap Dispenser” which acts as a night lite, lighting up the liquid soap with one of 7 colors when it senses motion.

It will set you back a grand total of $3.88 plus tax. The LED lighting is contained in the base and shines up through the plastic container to illuminate the soap. There’s a button on the base which can rotate through the seven colors.

Coca-Cola Bottle Replacement

By itself, and for the cost, the dispenser is pretty cool, but you can give it a simple upgrade by replacing the container with a one pint Mexican bottled glass coke bottle. I found mine at a local grocery store for $1. The dispenser’s container simply lifts off the base (no screws). The base fits the pint Coke bottle exactly. Find a pump that fits the Coke bottle, and it can continue its use as a soap dispenser (I was able to snatch one from another soap dispenser we had lying around which fit perfectly).

No pump ? Than simply put it on a shelf with the cap back on and you have an interesting night light!

Coca-Cola Night Light

Caution: If you are going to use the glass Coke bottle as a soap dispenser, be careful as it is a little top heavy and may fall if one is not careful when using. Suggest using superglue to glue the base. Not recommended for kids.

Easily Remove GPS Location from Photographs

GPS Mobile Phone

Your GPS Data is Stamped on Your Mobile Photos

Most cell phones nowadays stamp each digital photograph with the GPS coordinates of where the photo was taken. If you upload this to Google Photos, google will happily pinpoint the location on Google Maps with a click or two (and some applications may show this information when you view the photo). In addition the photograph will have other metadata such as camera make and model, etc. If you are going to share the photo with others or post it publicly, many times you don’t want this information, particularly, your location information, posted to the web.

Exiftool offers an easy and straightforward method of stripping metadata and is available for Windows, Mac, and Linux.

Backup Your Photos Before Stripping Meta Data

Make sure you have a backup of all of your original photos with all metadata before you start and only strip information from a copy of the photo (although by default it also makes a backup of the photo, adding “_original” to the extension).

Using Exiftool To Strip Meta-Data

  1. View All Meta Data in Photo

  2. On command line (in windows use CMD):

    This produces output like this:

  3. Remove Only the Location Information from Photo

  4. Remove Location Plus (caution, will strip other useful information)

  5. Adding an extra flag makes sure other xmp information that may contain gps location is also stripped. Unfortunately, this will also remove other information you may want to keep:

  6. Remove All Metadata from Photo

  7. Type the following

    Same photo as above, but with ll exif metadata information stripped, leaving only file and technical information:

    For the full set of features and documentation see the Exiftool website.