<?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>onderka.com &#187; IBM Thinkpad R32</title>
	<atom:link href="http://www.onderka.com/category/notebooks/ibm-thinkpad-r32/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.onderka.com</link>
	<description>Hardware-Fetischismus. Oder so ähnlich.</description>
	<lastBuildDate>Wed, 08 Sep 2010 05:38:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Prism WLAN-Karten für WPA flashen</title>
		<link>http://www.onderka.com/2006/07/08/prism-wlan-karten-fur-wpa-flashen/</link>
		<comments>http://www.onderka.com/2006/07/08/prism-wlan-karten-fur-wpa-flashen/#comments</comments>
		<pubDate>Sat, 08 Jul 2006 08:54:02 +0000</pubDate>
		<dc:creator>Stefan</dc:creator>
				<category><![CDATA[Firmware]]></category>
		<category><![CDATA[IBM Thinkpad R32]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.onderka.com/index.php/2006/07/08/prism-wlan-karten-fur-wpa-flashen/</guid>
		<description><![CDATA[OK, ich geb&#8217;s zu: Ich habe ein Thinkpad R32 seit ein paar Tagen. Dafür müssen das Dell C610 und das Thinkpad X21 demnächst weg. Schon ein Unterschied zum kleinen X21, 512MB DDR, 2GHz PIVm, 14,1 Zoll TFT und so weiter und so fort. Alles prima, die 40GB-Platte aus dem X21 umgebaut, bootet. Nach einem schnellen [...]]]></description>
			<content:encoded><![CDATA[<p>
OK, ich geb&#8217;s zu: Ich habe ein Thinkpad R32 seit ein paar Tagen. Dafür müssen das Dell C610 und das Thinkpad X21 demnächst weg.
</p>
<p>
Schon ein Unterschied zum kleinen X21, 512MB DDR, 2GHz PIVm, 14,1 Zoll TFT und so weiter und so fort. Alles prima, die 40GB-Platte aus dem X21 umgebaut, bootet. Nach einem schnellen Kompilieren eines neuen Kernels (Andere Soundkarte, Mobile Radeon statt Rage Mobility etc.) läuft auch alles, demnächst dann mal alles neu emergen mit den PIV-cflags.
</p>
<p>
Das R32 hat eine interne &#8220;Prism 2.5 WLAN / Modem Mini-PCI Kombikarte&#8221; (schönes Wort&#8230;). <code>hostap_pci</code> ist im Kernel, <code>dmesg</code> zeigt an daß die Prism initialisiert wird, aber <code>wpa_supplicant</code> kann nicht zu meinem WPA-verschlüsselten WLAN verbinden.
</p>
<p>
Ja, die neue MAC-Adresse steht im Access Point <img src='http://www.onderka.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />
</p>
<p>
Eine Intel Pro/Wireless 2200BG läßt sich wegen dem bekannten IBM <a class="ext-link" href="http://www.paul.sladen.org/thinkpad-r31/wifi-card-pci-ids.html"><span class="icon"> </span> 1802</a> -Fehler nicht installieren, das no1802.com &#8211; Tool zeigt beim R32 in beiden Versionen keine Wirkung. Also Googeln:
</p>
<p>
<a class="ext-link" href="http://www.netgate.com/info/miniPCI/Prism/Firmware/help.html"><span class="icon"> </span>  Intersil Prism 2.5 Firmware Info Page</a>
</p>
<blockquote><p>&#8220;or you&#8217;ve got code that implements WPA (requires 1.7.4).&#8221;</p></blockquote>
<p>
Aha, Firmware >=1.7.4!
</p>
<p>
Die Seite verlinkt auf <a class="ext-link" href="http://linux.junsun.net/intersil-prism/"><span class="icon"> </span> Mini-howto on Flashing Intersil Prism Chipsets</a> , also Firmware-Update ausprobieren.
</p>
<p>Auf der Seite finden sich alle nötigen Informationen, wichtig ist u. a., die für die jewilige Karte richtige Firmware zu flashen. Mit <code>hostap_diag</code> aus dem Paket <code>hostap-utils</code> läßt sich diese herausfinden:
</p>
<blockquote><p>$ hostap_diag wifi0<br />
Host AP driver diagnostics information for &#8216;wifi0&#8242;</p>
<p>NICID: id=0&#215;8013 v1.0.0 (PRISM II (2.5) Mini-PCI (SST parallel flash))<br />
PRIID: id=0&#215;0015 v1.1.0<br />
STAID: id=0x001f v1.4.9 (station firmware)</p></blockquote>
<p>Die Hardware-ID der Karte ist also <code>NICID: id=0x8013</code>, daraus ergibt sich die Platform-ID:</p>
<blockquote><p>platform is a 1-character platform ID, which has to do with your NICID. Refer to the release ID table</p></blockquote>
<p>
Das PDF zum nachschlagen befindet sich <a class="ext-link" href="http://home.eunet.cz/jt/wifi/Download.pdf"><span class="icon"> </span> hier</a>
</p>
<h2>Flashen</h2>
<p>Zum Flashen muß der Firmware-Upload im hostap-Treiber aktiviert werden:</p>
<blockquote><p>&#8220;Are you sure you have compiled (and loaded the correct version of)<br />
hostap.o module with PRISM2_DOWNLOAD_SUPPORT definition in<br />
driver/module/hostap_config.h?<br />
In addition, non-volatile download requires<br />
PRISM2_NON_VOLATILE_DOWNLOAD to be defined.&#8221;</p></blockquote>
<p>
Editieren von <code>/drivers/net/wireless/hostap/hostap_config.h</code> in den Kernel-Quellen:
</p>
<blockquote><p>/* Allow kernel configuration to enable download support. */<br />
// #if !defined(PRISM2_DOWNLOAD_SUPPORT) &#038;&#038; defined(CONFIG_HOSTAP_FIRMWARE)<br />
#define PRISM2_DOWNLOAD_SUPPORT<br />
// #endif</p></blockquote>
<blockquote><p>/* Allow kernel configuration to enable non-volatile download support. */<br />
// #ifdef CONFIG_HOSTAP_FIRMWARE_NVRAM<br />
#define PRISM2_NON_VOLATILE_DOWNLOAD<br />
// #endif</p></blockquote>
<p>
Test vor dem Flashen:</p>
<blockquote><p>$ prism2_srec -v wlan0 pk010101.hex sf010704.hex</p></blockquote>
<p>Flashen:</p>
<blockquote><p>$ prism2_srec -v -f wlan0 pk010101.hex sf010704.hex</p></blockquote>
<p>Firmware-Versionen nach dem Flashen:</p>
<blockquote><p>
$ hostap_diag wifi0<br />
Host AP driver diagnostics information for &#8216;wifi0&#8242;</p>
<p>NICID: id=0&#215;8013 v1.0.0 (PRISM II (2.5) Mini-PCI (SST parallel flash))<br />
PRIID: id=0&#215;0015 v1.1.1<br />
STAID: id=0x001f v1.7.4 (station firmware)</p></blockquote>
<p>Testen der Verbindung:</p>
<blockquote><p>$ wpa_supplicant -Dhostap -iwlan0 -c/etc/wpa_supplicant.conf -dd</p></blockquote>
<p>&#8220;Connected &#8230;&#8221;</p>
<p> <img src='http://www.onderka.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.onderka.com/2006/07/08/prism-wlan-karten-fur-wpa-flashen/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
