<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    Using this:<br>
    <a class="moz-txt-link-freetext" href="http://www.iplocation.net/">http://www.iplocation.net/</a><br>
    <br>
    The 1st one (iPligence) places me near Rice U, about 20.4 miles from
    my house in Clear Lake.<br>
    The 2nd one (Labs) places me within 2.6 miles of my house.<br>
    The 3rd one (DB-IP) places me in Pearland, 10.8 miles from my house.<br>
    <br>
    These things used to place me in Dallas, so it is getting <br>
    much more accurate.<br>
    <br>
    <br>
    As far as I know, there is no other way for a computer <br>
    to know where it is located, except for it's IP address.<br>
    If you are not connected to the internet, the computer <br>
    does not know where it is, except in the time zone you <br>
    select.<br>
    <br>
    <br>
    Mike<br>
    <br>
    <br>
    More reading:<br>
    <br>
    <a class="moz-txt-link-freetext" href="http://whatismyipaddress.com/geolocation-accuracy">http://whatismyipaddress.com/geolocation-accuracy</a><br>
    <br>
<a class="moz-txt-link-freetext" href="http://arstechnica.com/tech-policy/2011/04/getting-warmer-an-ip-address-can-map-you-within-half-a-mile/">http://arstechnica.com/tech-policy/2011/04/getting-warmer-an-ip-address-can-map-you-within-half-a-mile/</a><br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 11/22/2014 11:28 PM, Julian Brown
      via Houston wrote:<br>
    </div>
    <blockquote
cite="mid:CAMzD1SpOva=JKvkpo9x9zS_y8XUqsDERscj1UjekkFSx5FPiHw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>You can get approximate lat and long if you know the zip
            code.<br>
            <br>
          </div>
          Their is a free download of zip codes with lat and long
          database on the inter tubes.<br>
          <br>
        </div>
        Julian<br>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Sat, Nov 22, 2014 at 10:17 PM,
          Michael R. Davis via Houston <span dir="ltr"><<a
              moz-do-not-send="true" href="mailto:houston@pm.org"
              target="_blank">houston@pm.org</a>></span> wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div>
              <div
                style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica
                Neue,Helvetica,Arial,Lucida
                Grande,sans-serif;font-size:10px">
                <div dir="ltr">Perl Mongers,</div>
                <span class="">
                  <div> </div>
                  <div
                    style="color:rgb(0,0,0);font-family:HelveticaNeue,Helvetica
                    Neue,Helvetica,Arial,Lucida
Grande,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent">>
                    or something fancier if you have a daytime/nighttime
                    script</div>
                  <div
                    style="color:rgb(0,0,0);font-family:HelveticaNeue,Helvetica
                    Neue,Helvetica,Arial,Lucida
Grande,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent">>
                    0-59/10 * * * * is_nighttime && power<span>-</span>outlet
                    iBoot ON  host mylamp</div>
                  <div
                    style="color:rgb(0,0,0);font-family:HelveticaNeue,Helvetica
                    Neue,Helvetica,Arial,Lucida
Grande,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent">>
                    5-59/10 * * * * is_daytime   && power<span>-</span>outlet
                    iBoot OFF  host mylamp</div>
                  <div
                    style="color:rgb(0,0,0);font-family:HelveticaNeue,Helvetica
                    Neue,Helvetica,Arial,Lucida
Grande,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent"> </div>
                </span>
                <div
                  style="color:rgb(0,0,0);font-family:HelveticaNeue,Helvetica
                  Neue,Helvetica,Arial,Lucida
Grande,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent"
                  dir="ltr">I'm finally putting plan to code and I ran
                  into an issue that there does not appear to be a
                  standard for the location of a system.  In order to
                  calculate the sunset and sunrise for my
                  is_nighttime/is_daytime scripts, I need to know
                  the location of the host.  Please let me know if you
                  know of any system location standards for something
                  that I feel should be ubiquitous.</div>
                <div
                  style="color:rgb(0,0,0);font-family:HelveticaNeue,Helvetica
                  Neue,Helvetica,Arial,Lucida
Grande,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent"
                  dir="ltr"> </div>
                <div
                  style="color:rgb(0,0,0);font-family:HelveticaNeue,Helvetica
                  Neue,Helvetica,Arial,Lucida
Grande,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent"
                  dir="ltr">For now, I'm planning to add a file to
                  /etc/profiles.d to add this environment variable for
                  the users on my server.</div>
                <div
                  style="color:rgb(0,0,0);font-family:HelveticaNeue,Helvetica
                  Neue,Helvetica,Arial,Lucida
Grande,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent"
                  dir="ltr"> </div>
                <div
                  style="color:rgb(0,0,0);font-family:HelveticaNeue,Helvetica
                  Neue,Helvetica,Arial,Lucida
Grande,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent"
                  dir="ltr">my ($lon, $lat, $hae) = split(/\s/,
                  $ENV{"LOCATION_COORDINATES_WGS84_LON_LAT_HAE"}||"");</div>
                <div
                  style="color:rgb(0,0,0);font-family:HelveticaNeue,Helvetica
                  Neue,Helvetica,Arial,Lucida
Grande,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent"
                  dir="ltr"> </div>
                <div
                  style="color:rgb(0,0,0);font-family:HelveticaNeue,Helvetica
                  Neue,Helvetica,Arial,Lucida
Grande,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent"
                  dir="ltr">It might be nice to populate it from data
                  stored in a /etc/local.coordinates file or something. 
                  From my perspective, knowing your location is as
                  important as knowing your time zone (e.g.
                  /etc/localtime)</div>
                <div
                  style="color:rgb(0,0,0);font-family:HelveticaNeue,Helvetica
                  Neue,Helvetica,Arial,Lucida
Grande,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent"
                  dir="ltr"> </div>
                <div
                  style="color:rgb(0,0,0);font-family:HelveticaNeue,Helvetica
                  Neue,Helvetica,Arial,Lucida
Grande,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent"
                  dir="ltr">/etc/local.coordinates</div>
                <div
                  style="color:rgb(0,0,0);font-family:HelveticaNeue,Helvetica
                  Neue,Helvetica,Arial,Lucida
Grande,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent"
                  dir="ltr">[main]</div>
                <div
                  style="color:rgb(0,0,0);font-family:HelveticaNeue,Helvetica
                  Neue,Helvetica,Arial,Lucida
Grande,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent"
                  dir="ltr">version=1</div>
                <div
                  style="color:rgb(0,0,0);font-family:HelveticaNeue,Helvetica
                  Neue,Helvetica,Arial,Lucida
Grande,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent"
                  dir="ltr">crs=wgs84</div>
                <div
                  style="color:rgb(0,0,0);font-family:HelveticaNeue,Helvetica
                  Neue,Helvetica,Arial,Lucida
Grande,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent"
                  dir="ltr">latitude=38.896783</div>
                <div
                  style="color:rgb(0,0,0);font-family:HelveticaNeue,Helvetica
                  Neue,Helvetica,Arial,Lucida
Grande,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent"
                  dir="ltr">longitude=-77.036509</div>
                <div
                  style="color:rgb(0,0,0);font-family:HelveticaNeue,Helvetica
                  Neue,Helvetica,Arial,Lucida
Grande,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent"
                  dir="ltr">hae=30</div>
                <div
                  style="color:rgb(0,0,0);font-family:HelveticaNeue,Helvetica
                  Neue,Helvetica,Arial,Lucida
Grande,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent"
                  dir="ltr">address=1600 Pennsylvania Avenue NW,
                  Washington, DC</div>
                <div
                  style="color:rgb(0,0,0);font-family:HelveticaNeue,Helvetica
                  Neue,Helvetica,Arial,Lucida
Grande,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent"
                  dir="ltr"> </div>
                <div
                  style="color:rgb(0,0,0);font-family:HelveticaNeue,Helvetica
                  Neue,Helvetica,Arial,Lucida
Grande,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent"
                  dir="ltr">Any comments?</div>
                <div
                  style="color:rgb(0,0,0);font-family:HelveticaNeue,Helvetica
                  Neue,Helvetica,Arial,Lucida
Grande,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent"
                  dir="ltr">Thanks,</div>
                <div
                  style="color:rgb(0,0,0);font-family:HelveticaNeue,Helvetica
                  Neue,Helvetica,Arial,Lucida
Grande,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent"
                  dir="ltr">Mike</div>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            Houston mailing list<br>
            <a moz-do-not-send="true" href="mailto:Houston@pm.org">Houston@pm.org</a><br>
            <a moz-do-not-send="true"
              href="http://mail.pm.org/mailman/listinfo/houston"
              target="_blank">http://mail.pm.org/mailman/listinfo/houston</a><br>
            Website: <a moz-do-not-send="true"
              href="http://houston.pm.org/" target="_blank">http://houston.pm.org/</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Houston mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Houston@pm.org">Houston@pm.org</a>
<a class="moz-txt-link-freetext" href="http://mail.pm.org/mailman/listinfo/houston">http://mail.pm.org/mailman/listinfo/houston</a>
Website: <a class="moz-txt-link-freetext" href="http://houston.pm.org/">http://houston.pm.org/</a></pre>
    </blockquote>
    <br>
  </body>
</html>