<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.webos-internals.org/index.php?action=history&amp;feed=atom&amp;title=User_talk%3ABrybry</id>
	<title>User talk:Brybry - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.webos-internals.org/index.php?action=history&amp;feed=atom&amp;title=User_talk%3ABrybry"/>
	<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=User_talk:Brybry&amp;action=history"/>
	<updated>2026-04-15T09:46:40Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=User_talk:Brybry&amp;diff=21535&amp;oldid=prev</id>
		<title>Brybry: Created page with &quot;== Building Kismet for Touchpad == ('''Warning:''' This is very raw and I haven't even tried it twice to verify that it works. Some of these commands need sudo. Do everything at ...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=User_talk:Brybry&amp;diff=21535&amp;oldid=prev"/>
		<updated>2012-02-02T04:10:46Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Building Kismet for Touchpad == (&amp;#039;&amp;#039;&amp;#039;Warning:&amp;#039;&amp;#039;&amp;#039; This is very raw and I haven&amp;#039;t even tried it twice to verify that it works. Some of these commands need sudo. Do everything at ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Building Kismet for Touchpad ==&lt;br /&gt;
('''Warning:''' This is very raw and I haven't even tried it twice to verify that it works. Some of these commands need sudo. Do everything at your own risk.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
First we checkout optware from NSLU2 (which includes a toolchain and build targets)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd /srv&lt;br /&gt;
$ svn co http://svn.nslu2-linux.org/svnroot/optware/trunk optware&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then we need to set our target and setup our toolchain&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd optware; make cs08q1armel-target&lt;br /&gt;
$ cd cs08q1armel; make directories toolchain ipkg-utils&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we need to set up the Kismet mk-file to point to a recent build of kismet&lt;br /&gt;
&lt;br /&gt;
Open &amp;lt;tt&amp;gt;make/kismet.mk&amp;lt;/tt&amp;gt; with your favorite text editor.&lt;br /&gt;
&lt;br /&gt;
Below are the changes I made, it needs to be cleaned up and probably unset KISMET_PATCHES instead of commenting things out.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;diff&amp;quot;&amp;gt;&lt;br /&gt;
24c24,25&lt;br /&gt;
&amp;lt; KISMET_VERSION=2007-01-R1b&lt;br /&gt;
---&lt;br /&gt;
&amp;gt; #KISMET_VERSION=2007-01-R1b&lt;br /&gt;
&amp;gt; KISMET_VERSION=2011-03-R2&lt;br /&gt;
97c98,99&lt;br /&gt;
&amp;lt; kismet-source: $(DL_DIR)/$(KISMET_SOURCE) $(KISMET_PATCHES)&lt;br /&gt;
---&lt;br /&gt;
&amp;gt; #kismet-source: $(DL_DIR)/$(KISMET_SOURCE) $(KISMET_PATCHES)&lt;br /&gt;
&amp;gt; kismet-source: $(DL_DIR)/$(KISMET_SOURCE)&lt;br /&gt;
117c119,120&lt;br /&gt;
&amp;lt; $(KISMET_BUILD_DIR)/.configured: $(DL_DIR)/$(KISMET_SOURCE) $(KISMET_PATCHES) make/kismet.mk&lt;br /&gt;
---&lt;br /&gt;
&amp;gt; #$(KISMET_BUILD_DIR)/.configured: $(DL_DIR)/$(KISMET_SOURCE) $(KISMET_PATCHES) make/kismet.mk&lt;br /&gt;
&amp;gt; $(KISMET_BUILD_DIR)/.configured: $(DL_DIR)/$(KISMET_SOURCE) make/kismet.mk&lt;br /&gt;
121,124c124,127&lt;br /&gt;
&amp;lt; 	if test -n &amp;quot;$(KISMET_PATCHES)&amp;quot; ; \&lt;br /&gt;
&amp;lt; 		then cat $(KISMET_PATCHES) | \&lt;br /&gt;
&amp;lt; 		patch -d $(BUILD_DIR)/$(KISMET_DIR) -p1 ; \&lt;br /&gt;
&amp;lt; 	fi&lt;br /&gt;
---&lt;br /&gt;
&amp;gt; #	if test -n &amp;quot;$(KISMET_PATCHES)&amp;quot; ; \&lt;br /&gt;
&amp;gt; #		then cat $(KISMET_PATCHES) | \&lt;br /&gt;
&amp;gt; #		patch -d $(BUILD_DIR)/$(KISMET_DIR) -p1 ; \&lt;br /&gt;
&amp;gt; #	fi&lt;br /&gt;
155c158&lt;br /&gt;
&amp;lt; 	$(MAKE) -C $(@D) LIBS=-lm&lt;br /&gt;
---&lt;br /&gt;
&amp;gt; 	$(MAKE) -C $(@D) LIBS=&amp;quot;-lm -ldl&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next we make kismet and create the ipk&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd /srv/optware/cs08q1armel&lt;br /&gt;
$ make kismet kismet-ipk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now if everything went well you should have an ipk in your target build directory that can be installed using ipkg-opt.&lt;br /&gt;
&lt;br /&gt;
'''Three things you'll probably run into:'''&lt;br /&gt;
* First either curses or pcap will error out saying it couldn't create a file because of a bin directory not existing. You'll have to go into the staging directory and create that directory and run make again.&lt;br /&gt;
&lt;br /&gt;
*Second you might run into errors (&amp;lt;tt&amp;gt;undefined reference to `dlclose'&amp;lt;/tt&amp;gt; while making kismet. Try &amp;lt;tt&amp;gt;LIBS=&amp;quot;-lm -ldl&amp;quot; make kismet&amp;lt;/tt&amp;gt; in that case. At worst you'll have to edit a kismet makefile but I don't believe I had to.&lt;br /&gt;
&lt;br /&gt;
* Third the config files may or may not actually get included in the ipk. If not copy those from &amp;lt;tt&amp;gt;builds/kismet/conf&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;/opt/etc/kismet&amp;lt;/tt&amp;gt; on your device (and probably edit them to set gps to false)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Building Compat-Wireless for Touchpad ==&lt;br /&gt;
Coming soon?&lt;/div&gt;</summary>
		<author><name>Brybry</name></author>
	</entry>
</feed>