<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">
<channel>
    <title>http://united-geeks.org/blog - WLAN</title>
    <link>http://united-geeks.org/blog/</link>
    <description>Für die tägliche Portion Info-Gulasch...</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.0 - http://www.s9y.org/</generator>
    <pubDate>Tue, 15 Jul 2008 01:47:00 GMT</pubDate>

    <image>
        <url>http://united-geeks.org/blog/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: http://united-geeks.org/blog - WLAN - Für die tägliche Portion Info-Gulasch...</title>
        <link>http://united-geeks.org/blog/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Prism2.5 / Intersil WLAN-Adapter and WPA_PSK</title>
    <link>http://united-geeks.org/blog/index.php?/archives/23-Prism2.5-Intersil-WLAN-Adapter-and-WPA_PSK.html</link>
            <category>WLAN</category>
    
    <comments>http://united-geeks.org/blog/index.php?/archives/23-Prism2.5-Intersil-WLAN-Adapter-and-WPA_PSK.html#comments</comments>
    <wfw:comment>http://united-geeks.org/blog/wfwcomment.php?cid=23</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://united-geeks.org/blog/rss.php?version=2.0&amp;type=comments&amp;cid=23</wfw:commentRss>
    

    <author>nospam@example.com (n00dl3s)</author>
    <content:encoded>
    A couple of weeks ago my Senao 2511 CD PLUS / EXT2 card stopped playing nicely with my own wireless network at home (I use it on a gentoo x86 system). My network is hidden and uses WPA-PSK for encryption, and until some time ago wpa_supplicant was working without problems. However, when trying to associate the card with the network i ran into this problem: &lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;ioctl [PRISM2_IOCTL_PRISM2_PARAM] Operation not supported&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
After some searching the web, I was quite sure that I needed to upgrade either my hostap-drivers or the firmware on my wireless card. &lt;br /&gt;
 Since I am using a pretty recent kernel and the in-kernel hostap driver (compiled as modules), I concluded that the firmware on the NIC must be the culprit.&lt;br /&gt;
&lt;br /&gt;
A check with &lt;em&gt;hostap_diag &lt;/em&gt; showed this:&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
# hostap_diag wlan0&lt;br /&gt;
NICID: id=0x800c v1.0.0 (PRISM II (2.5) Mini-PCI (SST parallel flash))&lt;br /&gt;
PRIID: id=0x0015 v1.1.0 # &lt;-- this is the &quot;primary&quot; firmware&lt;br /&gt;
STAID: id=0x001f v1.4.9 (station firmware)  # &lt;-- this is the &quot;secondary&quot; firmware &lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This &lt;a href=&quot;http://linux.junsun.net/intersil-prism/&quot; &gt;site&lt;/a&gt; has a nicely written overview on flashing your Prism2(2.5) / Intersil card with new firmware and also offers lots of different firmware packages to download &lt;a href=&quot;http://linux.junsun.net/intersil-prism/firmware&quot; &gt;here&lt;/a&gt; . The site walks you trough the whole process, which is great because it also informs about the danger of turning your precious equipment into not-so-precious garbage. &lt;br /&gt;
&lt;br /&gt;
The program needed to flash the new firmware is called prism2_srec and is included in the hostap_utils package (available for many distros or - &lt;br /&gt;
alternatively - get sources from &lt;a href=&quot;http://hostap.epitest.fi/&quot; &gt;here&lt;/a&gt; and compile it yourself). The nice thing about prism2_srec is that you can do a check first without really flashing the firmware. This makes it highly unlikely that you ruin your wireless card because of flashing the wrong firmware onto it...&lt;br /&gt;
&lt;br /&gt;
So, first I did the test-run:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;prism2_srec -v wlan0 &lt;primary firmware&gt; &lt;station firmware&gt; # note the absence of any switches (besides the -v for verbosity) &lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
The test-run gave me an &quot;OK&quot; at the end, which gave me confidence to actually flash the card.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;prism2_srec -v -f wlan0 &lt;primary firmware&gt; &lt;station firmware&gt; # the -f switch stands for &quot;flash&quot;, be careful!!!&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
So afterwards the output of hostap_diag reads like this:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
NICID: id=0x800c v1.0.0 (PRISM II (2.5) Mini-PCI (SST parallel flash))&lt;br /&gt;
PRIID: id=0x0015 v1.1.1&lt;br /&gt;
STAID: id=0x001f v1.8.2 (station firmware)&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
The firmware i used was v1.1.1 (primary) and v1.8.2 (secondary) which both work absolutely flawless. Some people have reported packet-loss when using the most recent secondary firwmare (v.1.8.4), so I thought I&#039;d better stay away from that one...&lt;br /&gt;
&lt;br /&gt;
So, after trying wpa_supplicant again, no errors anymore &lt;img src=&quot;http://united-geeks.org/blog/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Thanks to Jun Sun for all the info I needed...&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Wed, 18 Apr 2007 19:59:52 +0200</pubDate>
    <guid isPermaLink="false">http://united-geeks.org/blog/index.php?/archives/23-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/</creativeCommons:license>
</item>
<item>
    <title>Patching hostap drivers for packet-injection</title>
    <link>http://united-geeks.org/blog/index.php?/archives/25-Patching-hostap-drivers-for-packet-injection.html</link>
            <category>WLAN</category>
    
    <comments>http://united-geeks.org/blog/index.php?/archives/25-Patching-hostap-drivers-for-packet-injection.html#comments</comments>
    <wfw:comment>http://united-geeks.org/blog/wfwcomment.php?cid=25</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://united-geeks.org/blog/rss.php?version=2.0&amp;type=comments&amp;cid=25</wfw:commentRss>
    

    <author>nospam@example.com (n00dl3s)</author>
    <content:encoded>
    Most of the more advanced techniques to crack wireless networks use packet-injection, either to produce more traffic in case of WEP cracking (replay attacks ) or to de-authenticate a connected client (in order to sniff the re-authentication handshake for WPA-PSK cracking). &lt;br /&gt;
&lt;br /&gt;
In any case, the stock hostap driver doesn&#039;t allow you to inject packets, so I had to patch it. &lt;br /&gt;
You can get the patches &lt;a href=&quot;http://patches.aircrack-ng.org/&quot; &gt;here&lt;/a&gt;. Be sure to pick the right one for your card/driver. I used the hostap-kernel-2.6.18.patch which also works on my 2.6.19-beyond2 kernel. After applying the patch to the kernel sources, i did a make &amp;&amp;amp; make modules_install and rebooted the box. After that, injection worked great, but my card seemed to pick up much less traffic than before &lt;img src=&quot;http://united-geeks.org/blog/templates/default/img/emoticons/sad.png&quot; alt=&quot;:-(&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
When running kismet before, within seconds i could see dozens of wireless networks, but now only once in a while a new network appeared on the screen. Since the injection itself worked, I was quite sure I applied the patch correctly. After some research, I learnt that the injection patch can lead to problems if you use firmware that is rather old (although no precise version number for what is &quot;too old&quot; was mentioned anywhere). &lt;br /&gt;
&lt;br /&gt;
Read my post &lt;a href=&quot;http://united-geeks.org/blog/index.php?/archives/23-Prism2.5-Intersil-WLAN-Adapter-and-WPA_PSK.html&quot; &gt;here&lt;/a&gt; on how to upgrade the firmware on prism2/2.5/3 cards.  
    </content:encoded>

    <pubDate>Tue, 17 Apr 2007 20:59:00 +0200</pubDate>
    <guid isPermaLink="false">http://united-geeks.org/blog/index.php?/archives/25-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/</creativeCommons:license>
</item>

</channel>
</rss>