<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.daveking.com/index.php?action=history&amp;feed=atom&amp;title=Use_Android_Phone_As_GPS_With_Kismet</id>
	<title>Use Android Phone As GPS With Kismet - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.daveking.com/index.php?action=history&amp;feed=atom&amp;title=Use_Android_Phone_As_GPS_With_Kismet"/>
	<link rel="alternate" type="text/html" href="https://wiki.daveking.com/index.php?title=Use_Android_Phone_As_GPS_With_Kismet&amp;action=history"/>
	<updated>2026-04-26T18:50:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>https://wiki.daveking.com/index.php?title=Use_Android_Phone_As_GPS_With_Kismet&amp;diff=4453&amp;oldid=prev</id>
		<title>Dlk at 22:39, 16 January 2021</title>
		<link rel="alternate" type="text/html" href="https://wiki.daveking.com/index.php?title=Use_Android_Phone_As_GPS_With_Kismet&amp;diff=4453&amp;oldid=prev"/>
		<updated>2021-01-16T22:39:27Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 22:39, 16 January 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l10&quot; &gt;Line 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Uncomment this line in /etc/kismet/kismet.conf: &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;# gps=gpsd:host=localhost,port=2947&amp;lt;/code&amp;gt; and start kismet: &amp;lt;code&amp;gt;sudo kismet&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;Note that this line will, in the future, cause kismet to automatically start gpsd via systemd if it is not already running.  If the phone isn&amp;#039;t connected as a GPS at that point, errors to that effect will be logged.  There are no other ill effects.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Uncomment this line in /etc/kismet/kismet.conf: &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;# gps=gpsd:host=localhost,port=2947&amp;lt;/code&amp;gt; and start kismet: &amp;lt;code&amp;gt;sudo kismet&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;Note that this line will, in the future, cause kismet to automatically start gpsd via systemd if it is not already running.  If the phone isn&amp;#039;t connected as a GPS at that point, errors to that effect will be logged.  There are no other ill effects.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#&amp;lt;code&amp;gt;sudo kismet&amp;lt;/code&amp;gt; to collect the data.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#&amp;lt;code&amp;gt;sudo kismet&amp;lt;/code&amp;gt; to collect the data.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Use the kismetdb_to_kml utility to convert a Kismet db to a KML file for use with Google Earth or other GIS tools:&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;sudo kismetdb_to_kml --in Kismet-20210116-21-57-38-1.kismet --out output.kml&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Use the kismetdb_to_kml utility to convert a Kismet db to a KML file for use with Google Earth or other GIS tools:&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;sudo kismetdb_to_kml --in Kismet-20210116-21-57-38-1.kismet --out output.kml&amp;lt;/code&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br /&amp;gt;Kismet logs are SQLite3 database files.  See https://kismetwireless.net/docs/devel/kismetdb/&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki-nearline_:diff::1.12:old-4452:rev-4453 --&gt;
&lt;/table&gt;</summary>
		<author><name>Dlk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.daveking.com/index.php?title=Use_Android_Phone_As_GPS_With_Kismet&amp;diff=4452&amp;oldid=prev</id>
		<title>Dlk at 22:33, 16 January 2021</title>
		<link rel="alternate" type="text/html" href="https://wiki.daveking.com/index.php?title=Use_Android_Phone_As_GPS_With_Kismet&amp;diff=4452&amp;oldid=prev"/>
		<updated>2021-01-16T22:33:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 22:33, 16 January 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot; &gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Using==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Using==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#If you will be mobile, turn off wifi on the phone and disconnect the laptop from any wifi network.  Tether the laptop to the phone via USB and connect it to the internet via the phone.  The goal is to use the phone for network connectivity so that the laptop wifi adapter can be used for scanning by kismet.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#If you will be mobile, turn off wifi on the phone and disconnect the laptop from any wifi network.  Tether the laptop to the phone via USB and connect it to the internet via the phone.  The goal is to use the phone for network connectivity so that the laptop wifi adapter can be used for scanning by kismet.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Run the &amp;quot;GPSd Forwarder&amp;quot; app, specifying the IP of the laptop plus a random port number that you will tell gpsd to listen on (&amp;quot;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;NNNN&lt;/del&gt;&amp;quot; in this writeup.)&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Run the &amp;quot;GPSd Forwarder&amp;quot; app, specifying the IP of the laptop plus a random port number that you will tell gpsd to listen on (&amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;9999&lt;/ins&gt;&amp;quot; in this writeup.)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Open the laptop&amp;#039;s firewall so that gpsd can receive data from the phone app: &amp;lt;code&amp;gt;sudo firewall-cmd --add-port &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;NNNN&lt;/del&gt;/udp&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Open the laptop&amp;#039;s firewall so that gpsd can receive data from the phone app: &amp;lt;code&amp;gt;sudo firewall-cmd --add-port &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;9999&lt;/ins&gt;/udp&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Set &amp;lt;code&amp;gt;OPTIONS=&amp;quot;udp://*:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;NNNN&lt;/del&gt;&amp;quot;&amp;lt;/code&amp;gt; in the /etc/sysconfig/gpsd file.  Use systemd to start gpsd.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Set &amp;lt;code&amp;gt;OPTIONS=&amp;quot;udp://*:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;9999&lt;/ins&gt;&amp;quot;&amp;lt;/code&amp;gt; in the /etc/sysconfig/gpsd file.  Use systemd to start gpsd.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Use the &amp;lt;code&amp;gt;gpsmon&amp;lt;/code&amp;gt; command to confirm that gpsd is receiving data from the GPS on the phone.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Use the &amp;lt;code&amp;gt;gpsmon&amp;lt;/code&amp;gt; command to confirm that gpsd is receiving data from the GPS on the phone.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Uncomment this line in /etc/kismet/kismet.conf: &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;# gps=gpsd:host=localhost,port=2947&amp;lt;/code&amp;gt; and start kismet: &amp;lt;code&amp;gt;sudo kismet&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;Note that this line will, in the future, cause kismet to automatically start gpsd via systemd if it is not already running.  If the phone isn&amp;#039;t connected as a GPS at that point, errors to that effect will be logged.  There are no other ill effects.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Uncomment this line in /etc/kismet/kismet.conf: &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;# gps=gpsd:host=localhost,port=2947&amp;lt;/code&amp;gt; and start kismet: &amp;lt;code&amp;gt;sudo kismet&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;Note that this line will, in the future, cause kismet to automatically start gpsd via systemd if it is not already running.  If the phone isn&amp;#039;t connected as a GPS at that point, errors to that effect will be logged.  There are no other ill effects.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#&amp;lt;code&amp;gt;sudo kismet&amp;lt;/code&amp;gt; to collect the data.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#&amp;lt;code&amp;gt;sudo kismet&amp;lt;/code&amp;gt; to collect the data.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Use the kismetdb_to_kml utility to convert a Kismet db to a KML file for use with Google Earth or other GIS tools:&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;sudo kismetdb_to_kml --in Kismet-20210116-21-57-38-1.kismet --out output.kml&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Use the kismetdb_to_kml utility to convert a Kismet db to a KML file for use with Google Earth or other GIS tools:&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;sudo kismetdb_to_kml --in Kismet-20210116-21-57-38-1.kismet --out output.kml&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki-nearline_:diff::1.12:old-4451:rev-4452 --&gt;
&lt;/table&gt;</summary>
		<author><name>Dlk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.daveking.com/index.php?title=Use_Android_Phone_As_GPS_With_Kismet&amp;diff=4451&amp;oldid=prev</id>
		<title>Dlk at 22:30, 16 January 2021</title>
		<link rel="alternate" type="text/html" href="https://wiki.daveking.com/index.php?title=Use_Android_Phone_As_GPS_With_Kismet&amp;diff=4451&amp;oldid=prev"/>
		<updated>2021-01-16T22:30:33Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 22:30, 16 January 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot; &gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Install gpsd and kismet on the laptop.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Install gpsd and kismet on the laptop.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Using==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Using==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#If you will be mobile, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;then &lt;/del&gt;turn off the wifi &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;on &lt;/del&gt;the phone&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, turn on its mobile hotspot, &lt;/del&gt;and connect the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;laptop &lt;/del&gt;to the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;hotspot before doing &lt;/del&gt;the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;rest of this&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#If you will be mobile, turn off &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;wifi on the phone and disconnect &lt;/ins&gt;the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;laptop from any &lt;/ins&gt;wifi &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;network.  Tether the laptop to &lt;/ins&gt;the phone &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;via USB &lt;/ins&gt;and connect &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;it to the internet via &lt;/ins&gt;the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;phone.  The goal is &lt;/ins&gt;to &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;use &lt;/ins&gt;the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;phone for network connectivity so that &lt;/ins&gt;the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;laptop wifi adapter can be used for scanning by kismet&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Run the &amp;quot;GPSd Forwarder&amp;quot; app, specifying the IP of &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;your &lt;/del&gt;laptop plus &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;the &lt;/del&gt;random port number that you will tell gpsd to listen on.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Run the &amp;quot;GPSd Forwarder&amp;quot; app, specifying the IP of &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;the &lt;/ins&gt;laptop plus &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;a &lt;/ins&gt;random port number that you will tell gpsd to listen on &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;(&amp;quot;NNNN&amp;quot; in this writeup&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Start &lt;/del&gt;gpsd &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;with &lt;/del&gt;&amp;lt;code&amp;gt;sudo &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;gpsd &lt;/del&gt;-&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;N &lt;/del&gt;udp&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;://*:NNNN&lt;/del&gt;&amp;lt;/code&amp;gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;with &amp;quot;NNNN&amp;quot; being the port number from the previous step.&amp;lt;br /&amp;gt;You can make this permanent by setting &lt;/del&gt;&amp;lt;code&amp;gt;OPTIONS=&amp;quot;udp://*:NNNN&amp;quot;&amp;lt;/code&amp;gt; in the /etc/sysconfig/gpsd file.  &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Then you can use &lt;/del&gt;systemd to start&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;/stop &lt;/del&gt;gpsd.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Open the laptop&amp;#039;s firewall so that &lt;/ins&gt;gpsd &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;can receive data from the phone app: &lt;/ins&gt;&amp;lt;code&amp;gt;sudo &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;firewall-cmd --add&lt;/ins&gt;-&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;port NNNN/&lt;/ins&gt;udp&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Use the &amp;lt;code&amp;gt;gpsmon&amp;lt;/code&amp;gt; command to confirm that gpsd is receiving data from the phone.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;#Set &lt;/ins&gt;&amp;lt;code&amp;gt;OPTIONS=&amp;quot;udp://*:NNNN&amp;quot;&amp;lt;/code&amp;gt; in the /etc/sysconfig/gpsd file.  &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Use &lt;/ins&gt;systemd to start gpsd.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Uncomment this line in /etc/kismet/kismet.conf: &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;# gps=gpsd:host=localhost,port=2947&amp;lt;/code&amp;gt; and start kismet: &amp;lt;code&amp;gt;sudo kismet&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;Note that this line will cause kismet to automatically start gpsd via systemd if it is not running.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Use the &amp;lt;code&amp;gt;gpsmon&amp;lt;/code&amp;gt; command to confirm that gpsd is receiving data from &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;the GPS on &lt;/ins&gt;the phone.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Uncomment this line in /etc/kismet/kismet.conf: &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;# gps=gpsd:host=localhost,port=2947&amp;lt;/code&amp;gt; and start kismet: &amp;lt;code&amp;gt;sudo kismet&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;Note that this line will&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, in the future, &lt;/ins&gt;cause kismet to automatically start gpsd via systemd if it is not &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;already &lt;/ins&gt;running. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; If the phone isn&amp;#039;t connected as a GPS at that point, errors to that effect will be logged.  There are no other ill effects.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;#&amp;lt;code&amp;gt;sudo kismet&amp;lt;/code&amp;gt; to collect the data.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;#Use the kismetdb_to_kml utility to convert a Kismet db to a KML file for use with Google Earth or other GIS tools:&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;sudo kismetdb_to_kml --in Kismet-20210116-21-57-38-1.kismet --out output.kml&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki-nearline_:diff::1.12:old-4450:rev-4451 --&gt;
&lt;/table&gt;</summary>
		<author><name>Dlk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.daveking.com/index.php?title=Use_Android_Phone_As_GPS_With_Kismet&amp;diff=4450&amp;oldid=prev</id>
		<title>Dlk: Created page with &quot;==Installing== #Install &quot;[https://play.google.com/store/apps/details?id=io.github.tiagoshibata.gpsdclient&amp;hl=en_US GPSd Client]&quot; app on the Android phone.  It will be called &quot;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.daveking.com/index.php?title=Use_Android_Phone_As_GPS_With_Kismet&amp;diff=4450&amp;oldid=prev"/>
		<updated>2021-01-16T21:11:48Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Installing== #Install &amp;quot;[https://play.google.com/store/apps/details?id=io.github.tiagoshibata.gpsdclient&amp;amp;hl=en_US GPSd Client]&amp;quot; app on the Android phone.  It will be called &amp;quot;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Installing==&lt;br /&gt;
#Install &amp;quot;[https://play.google.com/store/apps/details?id=io.github.tiagoshibata.gpsdclient&amp;amp;hl=en_US GPSd Client]&amp;quot; app on the Android phone.  It will be called &amp;quot;GPSd Forwarder&amp;quot; once it&amp;#039;s installed.&lt;br /&gt;
#Install gpsd and kismet on the laptop.&lt;br /&gt;
==Using==&lt;br /&gt;
#If you will be mobile, then turn off the wifi on the phone, turn on its mobile hotspot, and connect the laptop to the hotspot before doing the rest of this.&lt;br /&gt;
#Run the &amp;quot;GPSd Forwarder&amp;quot; app, specifying the IP of your laptop plus the random port number that you will tell gpsd to listen on.&lt;br /&gt;
#Start gpsd with &amp;lt;code&amp;gt;sudo gpsd -N udp://*:NNNN&amp;lt;/code&amp;gt; with &amp;quot;NNNN&amp;quot; being the port number from the previous step.&amp;lt;br /&amp;gt;You can make this permanent by setting &amp;lt;code&amp;gt;OPTIONS=&amp;quot;udp://*:NNNN&amp;quot;&amp;lt;/code&amp;gt; in the /etc/sysconfig/gpsd file.  Then you can use systemd to start/stop gpsd.&lt;br /&gt;
#Use the &amp;lt;code&amp;gt;gpsmon&amp;lt;/code&amp;gt; command to confirm that gpsd is receiving data from the phone.&lt;br /&gt;
#Uncomment this line in /etc/kismet/kismet.conf: &amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;# gps=gpsd:host=localhost,port=2947&amp;lt;/code&amp;gt; and start kismet: &amp;lt;code&amp;gt;sudo kismet&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;Note that this line will cause kismet to automatically start gpsd via systemd if it is not running.&lt;/div&gt;</summary>
		<author><name>Dlk</name></author>
		
	</entry>
</feed>