<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.yobi.be/index.php?action=history&amp;feed=atom&amp;title=HostAP</id>
	<title>HostAP - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.yobi.be/index.php?action=history&amp;feed=atom&amp;title=HostAP"/>
	<link rel="alternate" type="text/html" href="https://wiki.yobi.be/index.php?title=HostAP&amp;action=history"/>
	<updated>2026-05-22T17:18:18Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.yobi.be/index.php?title=HostAP&amp;diff=10442&amp;oldid=prev</id>
		<title>PhilippeTeuwen: /* Advanced support (dynamically added/removed PSKs) without MAC pairing: */</title>
		<link rel="alternate" type="text/html" href="https://wiki.yobi.be/index.php?title=HostAP&amp;diff=10442&amp;oldid=prev"/>
		<updated>2018-11-08T11:51:32Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Advanced support (dynamically added/removed PSKs) without MAC pairing:&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&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: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:51, 8 November 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 419:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 419:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;==== Advanced support (dynamically added/removed PSKs) without MAC pairing: ====&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;==== Advanced support (dynamically added/removed PSKs) without MAC pairing: ====&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; 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;cf [http://lists.shmoo.com/pipermail/hostap/2004-September/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;008037&lt;/del&gt;.html this post to the hostap list]&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; 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;cf [http://lists.shmoo.com/pipermail/hostap/2004-September/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;008184&lt;/ins&gt;.html this post to the hostap list]&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;==== Advanced support (dynamically added/removed PSKs) with MAC pairing: ====&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;==== Advanced support (dynamically added/removed PSKs) with MAC pairing: ====&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>PhilippeTeuwen</name></author>
	</entry>
	<entry>
		<id>https://wiki.yobi.be/index.php?title=HostAP&amp;diff=6799&amp;oldid=prev</id>
		<title>PhilippeTeuwen: Reverted edits by Etegohy (Talk) to last revision by PhilippeTeuwen</title>
		<link rel="alternate" type="text/html" href="https://wiki.yobi.be/index.php?title=HostAP&amp;diff=6799&amp;oldid=prev"/>
		<updated>2010-11-24T20:32:59Z</updated>

		<summary type="html">&lt;p&gt;Reverted edits by &lt;a href=&quot;/index.php?title=Special:Contributions/Etegohy&quot; title=&quot;Special:Contributions/Etegohy&quot;&gt;Etegohy&lt;/a&gt; (&lt;a href=&quot;/index.php?title=User_talk:Etegohy&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:Etegohy (page does not exist)&quot;&gt;Talk&lt;/a&gt;) to last revision by &lt;a href=&quot;/index.php?title=User:PhilippeTeuwen&quot; title=&quot;User:PhilippeTeuwen&quot;&gt;PhilippeTeuwen&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Can&#039;t load revision 6799&lt;/p&gt;</summary>
		<author><name>PhilippeTeuwen</name></author>
	</entry>
	<entry>
		<id>https://wiki.yobi.be/index.php?title=HostAP&amp;diff=6641&amp;oldid=prev</id>
		<title> at 00:27, 24 November 2010</title>
		<link rel="alternate" type="text/html" href="https://wiki.yobi.be/index.php?title=HostAP&amp;diff=6641&amp;oldid=prev"/>
		<updated>2010-11-24T00:27:06Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Can&#039;t load revision 6641&lt;/p&gt;</summary>
		<author><name></name></author>
	</entry>
	<entry>
		<id>https://wiki.yobi.be/index.php?title=HostAP&amp;diff=2917&amp;oldid=prev</id>
		<title>PhilippeTeuwen at 00:00, 2 March 2008</title>
		<link rel="alternate" type="text/html" href="https://wiki.yobi.be/index.php?title=HostAP&amp;diff=2917&amp;oldid=prev"/>
		<updated>2008-03-02T00:00:26Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://wiki.yobi.be/index.php?title=HostAP&amp;amp;diff=2917&amp;amp;oldid=2916&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>PhilippeTeuwen</name></author>
	</entry>
	<entry>
		<id>https://wiki.yobi.be/index.php?title=HostAP&amp;diff=2916&amp;oldid=prev</id>
		<title>PhilippeTeuwen at 23:57, 1 March 2008</title>
		<link rel="alternate" type="text/html" href="https://wiki.yobi.be/index.php?title=HostAP&amp;diff=2916&amp;oldid=prev"/>
		<updated>2008-03-01T23:57:19Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;Converted with [[MediaWiki#HTML-WikiConverter|HTML::WikiConverter::MediaWiki]] from my old phpwiki site&amp;#039;&amp;#039;&lt;br /&gt;
----&lt;br /&gt;
=== Installation ===&lt;br /&gt;
&lt;br /&gt;
This works best with a prism chipset, e.g. a Senao card (while new versions of hostap can work with some other chipsets, check the doc). &amp;lt;br /&amp;gt;Instructions are given here for a (mini)PCI. &amp;lt;br /&amp;gt;If needed, first remove Debian packages as we&amp;#039;ll install the very last version (0.4.4)&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 apt-get remove hostap-modules-$(uname -r) hostap-utils hostapd&lt;br /&gt;
 wget http://hostap.epitest.fi/releases/hostap-driver-0.4.4.tar.gz&lt;br /&gt;
 tar xzf hostap-driver-0.4.4.tar.gz&lt;br /&gt;
 cd hostap-driver-0.4.4&lt;br /&gt;
 make&lt;br /&gt;
 make install&lt;br /&gt;
 cd ..&lt;br /&gt;
 wget http://hostap.epitest.fi/releases/hostap-utils-0.4.0.tar.gz&lt;br /&gt;
 tar xzf hostap-utils-0.4.0.tar.gz&lt;br /&gt;
 cd hostap-utils-0.4.0&lt;br /&gt;
 make&lt;br /&gt;
 make install&lt;br /&gt;
 cd ..&lt;br /&gt;
 wget http://hostap.epitest.fi/releases/hostapd-0.4.4.tar.gz&lt;br /&gt;
 tar xzf hostapd-0.4.4.tar.gz&lt;br /&gt;
 cd hostapd-0.4.4&lt;br /&gt;
 cp defconfig .config (and edit the file if needed)&lt;br /&gt;
 make&lt;br /&gt;
 make install&lt;br /&gt;
 mkdir -p /etc/hostapd&lt;br /&gt;
 cp hostapd.accept hostapd.deny hostapd.conf hostapd.wpa_psk /etc/hostapd&lt;br /&gt;
 cd ..&lt;br /&gt;
 wget http://hostap.epitest.fi/releases/wpa_supplicant-0.4.4.tar.gz&lt;br /&gt;
 tar xzf wpa_supplicant-0.4.4.tar.gz&lt;br /&gt;
 cd wpa_supplicant-0.4.4&lt;br /&gt;
 cp defconfig .config (and edit the file if needed)&lt;br /&gt;
 make&lt;br /&gt;
 make install&lt;br /&gt;
 mkdir -p /etc/hostapd&lt;br /&gt;
 cp wpa_supplicant.conf /etc/hostapd&lt;br /&gt;
 make wpa_gui&lt;br /&gt;
 cp wpa_gui/wpa_gui /usr/local/sbin&lt;br /&gt;
=== Typical launch of hostapd ===&lt;br /&gt;
&lt;br /&gt;
Edit files in /etc/hostapd if needed, especially hostapd.conf&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 modprobe hostap_pci&lt;br /&gt;
 ifconfig wlan0 10.0.0.1&lt;br /&gt;
 iwconfig wlan0 mode master&lt;br /&gt;
 iwconfig wlan0 essid test&lt;br /&gt;
 iwconfig wlan0 channel 1&lt;br /&gt;
 hostapd -dd /etc/hostapd/hostapd.conf (to run in debug mode)&lt;br /&gt;
 hostapd -B /etc/hostapd/hostapd.conf (to run in background daemon mode)&lt;br /&gt;
&lt;br /&gt;
To stop:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 killall hostapd&lt;br /&gt;
 ifconfig wlan0 down&lt;br /&gt;
 modprobe -r hostap_pci&lt;br /&gt;
 modprobe -r hostap_crypt_wep&lt;br /&gt;
 modprobe -r hostap_crypt_tkip&lt;br /&gt;
 modprobe -r hostap_crypt_ccmp&lt;br /&gt;
 modprobe -r hostap&lt;br /&gt;
&lt;br /&gt;
=== Typical launch of wpa_supplicant ===&lt;br /&gt;
&lt;br /&gt;
Edit wpa_supplicant.conf in /etc/hostapd if needed, especially comment out configurations using EAP methods not compiled in wpa_supplicant (cf .config used to compile wpa_supplicant)&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 modprobe hostap_pci&lt;br /&gt;
 wpa_supplicant -dd -iwlan0 -w -c/etc/hostapd/wpa_supplicant.conf (to run in debug mode)&lt;br /&gt;
 wpa_supplicant -B -iwlan0 -w -c/etc/hostapd/hostapd.conf (to run in background daemon mode)&lt;br /&gt;
 pump -i wlan0&lt;br /&gt;
&lt;br /&gt;
Note that for ipw2200 clients you need to add -Dipw for kernels &amp;amp;lt; 2.6.13 and -Dwext fir kernels &amp;amp;gt;= 2.6.13&lt;br /&gt;
&lt;br /&gt;
To stop:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 pump -k -i wlan0&lt;br /&gt;
 killall wpa_supplicant&lt;br /&gt;
 ifconfig wlan0 down&lt;br /&gt;
 modprobe -r hostap_pci&lt;br /&gt;
 modprobe -r hostap_crypt_wep&lt;br /&gt;
 modprobe -r hostap_crypt_tkip&lt;br /&gt;
 modprobe -r hostap_crypt_ccmp&lt;br /&gt;
 modprobe -r hostap&lt;br /&gt;
&lt;br /&gt;
=== Resources ===&lt;br /&gt;
&lt;br /&gt;
* ipw2200&lt;br /&gt;
** http://ubuntuforums.org/showthread.php?t=26623&lt;br /&gt;
** http://www.enseirb.fr/kadionik/linux/wifi.sh.txt&lt;br /&gt;
** [http://www.cure.nom.fr/article.php?theme=Linux&amp;amp;id_fic=22 http://www.cure.nom.fr/article.php?theme=Linux&amp;amp;amp;id_fic=22]&lt;br /&gt;
** http://tvilda.tigbis.lt/dokuwiki/doku.php?id=ubuntu__intel_pro_wireless_2200bg__wpa_mini-howto_fr&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== hostap-utils ===&lt;br /&gt;
hostap-utils contains a utility called &amp;#039;&amp;#039;&amp;#039;hostap_crypt_conf&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
====Man page====&lt;br /&gt;
hostap_crypt_conf is a tool for configuring encryption keys to the Host AP driver. It extends the features of iwconfig by &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;supporting individual per STA keys&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; and support more than one encryption algorithm.&lt;br /&gt;
&lt;br /&gt;
hostap_crypt_conf takes following options:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 Usage: hostap_crypt_conf [-1]..[-9] [-t] [-p] &amp;amp;lt;device&amp;amp;gt; &amp;amp;lt;addr&amp;amp;gt; &amp;amp;lt;alg&amp;amp;gt; [key]&lt;br /&gt;
 Options:&lt;br /&gt;
   -1 .. -9   key index (for WEP); only one index per command&lt;br /&gt;
   -t         set TX key index (given with -1 .. -9)&lt;br /&gt;
   -p         permanent station configuration (do not expire data)&lt;br /&gt;
   device     wlan#&lt;br /&gt;
   addr       station hwaddr or ff:ff:ff:ff:ff:ff for default/broadcast key&lt;br /&gt;
   alg        crypt algorithm (WEP, NULL, none)&lt;br /&gt;
   key        key data (in hex, e.g. &amp;#039;0011223344&amp;#039;, or s:string)&lt;br /&gt;
 &lt;br /&gt;
 Algorithms:&lt;br /&gt;
   WEP        40 or 104 bit WEP&lt;br /&gt;
   TKIP       Temporal Key Integrity Protocol (TKIP), WEP with per-packet temporal keys and Michael MIC&lt;br /&gt;
   CCMP       AES-CCM (Counter with CBC-MAC)&lt;br /&gt;
   NULL       NULL encryption (i.e., do not encrypt/decrypt);&lt;br /&gt;
              used to configure no encryption for given station when using default encryption&lt;br /&gt;
   none       disable encryption&lt;br /&gt;
&lt;br /&gt;
IEEE 802.11 (Chap. 8.3.2) specifies that dot11WEPKeyMappings uses only one key per station address (whereas dot11WEDefaultKeys has four), but Host AP uses a more general implementation that allows four keys even with individual keys. However, to remain compliant with the standard, it is recommended to use only the first key with station-specific key mapping. In addition, it might be useful to configure default TX key to be something else than the first key to allow individual keys to be used even with stations that not explicitly support WEP key mapping.&lt;br /&gt;
&lt;br /&gt;
==== AP configuration example ====&lt;br /&gt;
&lt;br /&gt;
use station specific key also with broadcast RX frames to support different keys with stations that do not use WEP key mapping; if the stations allow configuration of separate key for broadcast/multicast bcrx_sta_key should be left to 0 (default)&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 prism2_param wlan0 bcrx_sta_key 1&lt;br /&gt;
&lt;br /&gt;
set key2 as the default key (used with broadcast/multicast frames and with stations for which there is no individual key mapping)&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 hostap_crypt_conf -2t wlan0 ff:ff:ff:ff:ff:ff WEP s:abcde&lt;br /&gt;
&lt;br /&gt;
or with iwconfig:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 iwconfig wlan0 key s:abcde [2]&lt;br /&gt;
 iwconfig wlan0 key [2]&lt;br /&gt;
&lt;br /&gt;
set a permanent key mapping for STA2 (hwaddr=00:11:22:33:44:55)&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 hostap_crypt_conf -p wlan0 00:11:22:33:44:55 WEP s:qwert&lt;br /&gt;
&lt;br /&gt;
==== STA1 configuration example ====&lt;br /&gt;
&lt;br /&gt;
use only the default key (i.e., no key mapping)&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 iwconfig wlan0 key s:abcde [2]&lt;br /&gt;
 iwconfig wlan0 key [2]&lt;br /&gt;
&lt;br /&gt;
==== STA2 configuration example (hwaddr=00:11:22:33:44:55) ====&lt;br /&gt;
&lt;br /&gt;
configure default key (idx 2) so that the station knows how to decrypt broadcast/multicast frames&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 iwconfig wlan0 key s:abcde [2]&lt;br /&gt;
&lt;br /&gt;
configure individual key (idx 1) that will be used to decrypt unicast frames from the AP and to encrypt all frames to the AP&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 iwconfig wlan0 key s:qwert [1]&lt;br /&gt;
 iwconfig wlan0 key [1]&lt;br /&gt;
=== Example how to use WPA-PSK ===&lt;br /&gt;
&lt;br /&gt;
==== On the AP ====&lt;br /&gt;
&lt;br /&gt;
Use hostapd &amp;lt;br /&amp;gt;Edit /etc/hostapd/hostapd.conf with:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 interface=wlan0&lt;br /&gt;
 ssid=test&lt;br /&gt;
 wpa=1&lt;br /&gt;
 wpa_passphrase=&amp;amp;lt;string of 8 to 63 chars&amp;amp;gt;&lt;br /&gt;
 wpa_psk=&amp;amp;lt;hex string representing 32 bytes&amp;amp;gt;&lt;br /&gt;
 wpa_key_mgmt=WPA-PSK&lt;br /&gt;
 wpa_pairwise=TKIP CCMP&lt;br /&gt;
&lt;br /&gt;
Launch hostapd /&amp;gt;If both wpa_passphrase and wpa_psk are provided, passphrase is used.&lt;br /&gt;
&lt;br /&gt;
==== On the STA ====&lt;br /&gt;
&lt;br /&gt;
Use wpa_supplicant &amp;lt;br /&amp;gt;At least STA firmware 1.7.0 is required to use WPA on prism chipsets, see HostApFlash for firmware upgrade. &amp;lt;br /&amp;gt;Edit /etc/wpa_supplicant.conf with:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 ctrl_interface=/var/run/wpa_supplicant&lt;br /&gt;
 network={&lt;br /&gt;
   ssid=&amp;quot;test&amp;quot;&lt;br /&gt;
   proto=WPA&lt;br /&gt;
   key_mgmt=WPA-PSK&lt;br /&gt;
   pairwise=TKIP CCMP&lt;br /&gt;
   group=TKIP CCMP&lt;br /&gt;
   psk=... (&amp;quot;passphrase&amp;quot; or hex)&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Launch wpa_supplicant&lt;br /&gt;
&lt;br /&gt;
===EAP===&lt;br /&gt;
==== Support of WPA-Enterprise and RADIUS under GNU/Linux ====&lt;br /&gt;
&lt;br /&gt;
* [http://hostap.epitest.fi/ Host AP driver for Intersil Prism2/2.5/3 and WPA Supplicant]&lt;br /&gt;
* [http://www.mtghouse.com/products/aegisclient/index.shtml AEGIS client]&lt;br /&gt;
* [http://www.missl.cs.umd.edu/Projects/wireless/8021x/ Summary by OS]&lt;br /&gt;
&lt;br /&gt;
==== RADIUS implementations ====&lt;br /&gt;
&lt;br /&gt;
* [http://www.gnu.org/software/radius/ GNU RADIUS]&lt;br /&gt;
* [http://www.freeradius.org/ freeRADIUS]&lt;br /&gt;
* [http://sourceforge.net/projects/portslave/ PortSlave], used by [http://www.linuxrouter.org/ LRP]&lt;br /&gt;
* [http://radius.innercite.com/ IC-RADIUS]&lt;br /&gt;
* Now hostap can handle some of the EAP methods without need for a RADIUS server&lt;br /&gt;
&lt;br /&gt;
==== Open1x ====&lt;br /&gt;
&lt;br /&gt;
* [http://www.open1x.org Xsupplicant]&lt;br /&gt;
* [http://www.missl.cs.umd.edu/wireless/eaptls/ HOWTO on EAP/TLS authentication between FreeRADIUS and XSupplicant] (quite old...)&lt;br /&gt;
* [http://tldp.org/HOWTO/8021X-HOWTO/intro.html 802.1X Port-Based Authentication HOWTO]&lt;br /&gt;
&lt;br /&gt;
==== Links and security articles ====&lt;br /&gt;
&lt;br /&gt;
* [http://www.drizzle.com/aboba/IEEE/ The Unofficial 802.11 Security Web Page]&lt;br /&gt;
* [http://www.drizzle.com/aboba/RADEXT/radius_vuln_00.txt RADIUS Vulnerabilities in Wireless and Wired Environments]&lt;br /&gt;
* [http://www.untruth.org/josh/security/radius/radius-auth.html An Analysis of the RADIUS Authentication Protocol]&lt;br /&gt;
&lt;br /&gt;
==== Example: EAP-TLS ====&lt;br /&gt;
&lt;br /&gt;
Setting up hostapd with FreeRADIUS&lt;br /&gt;
&lt;br /&gt;
(note: now hostap can handle some of the EAP methods without need for a RADIUS server)&lt;br /&gt;
&lt;br /&gt;
==== Installing FreeRADIUS ====&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 cd /usr/local/src&lt;br /&gt;
 wget ftp://ftp.freeradius.org/pub/radius/freeradius-1.0.1.tar.gz&lt;br /&gt;
 tar zxfv freeradius-1.0.1.tar.gz&lt;br /&gt;
 cd freeradius-1.0.1&lt;br /&gt;
 ./configure&lt;br /&gt;
 make&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
Edit /usr/local/etc/raddb/eap.conf:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 default_eap_type = tls&lt;br /&gt;
 tls {&lt;br /&gt;
    private_key_password = whatever&lt;br /&gt;
    private_key_file = ${raddbdir}/certs/cert-srv.pem&lt;br /&gt;
    certificate_file = ${raddbdir}/certs/cert-srv.pem&lt;br /&gt;
    CA_file = ${raddbdir}/certs/demoCA/cacert.pem&lt;br /&gt;
    dh_file = ${raddbdir}/certs/dh&lt;br /&gt;
    random_file = ${raddbdir}/certs/random&lt;br /&gt;
    fragment_size = 1024&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Edit /usr/local/etc/raddb/users:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 Client     Auth-Type := EAP&lt;br /&gt;
&lt;br /&gt;
Edit /etc/hostapd/hostapd.conf:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 ieee8021x=1&lt;br /&gt;
 auth_server_addr=127.0.0.1&lt;br /&gt;
 auth_server_port=1812&lt;br /&gt;
 auth_server_shared_secret=testing123&lt;br /&gt;
 acct_server_addr=127.0.0.1&lt;br /&gt;
 acct_server_port=1813&lt;br /&gt;
 acct_server_shared_secret=testing123&lt;br /&gt;
 wpa_key_mgmt=WPA-EAP&lt;br /&gt;
&lt;br /&gt;
Launch FreeRADIUS&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 /usr/local/sbin/rc.radiusd start&lt;br /&gt;
&lt;br /&gt;
Launch hostapd, cf HostApUsage&lt;br /&gt;
&lt;br /&gt;
==== Setting up wpa_supplicant ====&lt;br /&gt;
&lt;br /&gt;
Be sure wpa_supplicant is compiled with EAPOL and EAP-TLS&lt;br /&gt;
&lt;br /&gt;
Copy certificates from the server to the client, e.g. in /etc/certs:&lt;br /&gt;
&lt;br /&gt;
* The CA certificate (/usr/local/etc/raddb/certs/demoCA/cacert.pem on the server)&lt;br /&gt;
* The client certificate (/usr/local/etc/raddb/certs/cert-clt.pem on the server)&lt;br /&gt;
&lt;br /&gt;
Edit /etc/wpa_supplicant.conf:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 network={&lt;br /&gt;
     ssid=&amp;quot;test&amp;quot;&lt;br /&gt;
     proto=WPA RSN&lt;br /&gt;
     key_mgmt=WPA-EAP&lt;br /&gt;
     eap=TLS&lt;br /&gt;
     identity=&amp;quot;Client&amp;quot;&lt;br /&gt;
     ca_cert=&amp;quot;/etc/certs/cacert.pem&amp;quot;&lt;br /&gt;
     client_cert=&amp;quot;/etc/certs/cert-clt.pem&amp;quot;&lt;br /&gt;
     private_key=&amp;quot;/etc/certs/cert-clt.pem&amp;quot;&lt;br /&gt;
     private_key_passwd=&amp;quot;whatever&amp;quot;&lt;br /&gt;
 }&lt;br /&gt;
=== To flash your Prism card ===&lt;br /&gt;
&lt;br /&gt;
In order to use WPA with a Prism card you need at least v 1.7.0 of the firmware.&lt;br /&gt;
&lt;br /&gt;
To check what is the current version:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 hostap_diag wlan0&lt;br /&gt;
&lt;br /&gt;
Follow instructions given in http://linux.junsun.net/intersil-prism/&amp;lt;br /&amp;gt;You can flash from linux with prism_srec &amp;lt;br /&amp;gt;You&amp;#039;ll have to recompile and reinstall the drivers after having defined PRISM2_NON_VOLATILE_DOWNLOAD (and PRISM2_DOWNLOAD_SUPPORT) in driver/modules/hostap_config.h &amp;lt;br /&amp;gt;We tried primary firmware 1.1.1 and STA 1.8.0 but it seems that STA 1.7.4 is more robust &amp;lt;br /&amp;gt;Typical command: (check for your own chipset!!!)&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 prism2_srec -f wlan0 pk010101.hex sf010704.hex&lt;br /&gt;
&lt;br /&gt;
Remark for a SMD 2632W card: its NICID is 0x8002 and is not listed nevertheless S1 firmwares can apply, e.g. [http://linux.junsun.net/intersil-prism/firmware/1.7.1/s1010701.hex s1010701.hex]. &amp;lt;br /&amp;gt;See also [http://linux.junsun.net/intersil-prism/stories/20040212_Andrew_Chapman_SMC2632W_NICID_8002.txt this story]&amp;lt;br /&amp;gt;So I could upgrade the SMD card from STAID v0.8.3 to v1.7.1&lt;br /&gt;
===Embedded===&lt;br /&gt;
==== [http://www.nimblemicro.com/ Nimble Micorsystems] ====&lt;br /&gt;
&lt;br /&gt;
* [http://www.nimblemicro.com/products/netengine.htm NetEngine NP51R]&lt;br /&gt;
* [http://www.linuxdevices.com/news/NS3382169752.html Article on TNP-51R]&lt;br /&gt;
&lt;br /&gt;
==== [http://www.soekris.com/ Soekris] ====&lt;br /&gt;
&lt;br /&gt;
==== Articles ====&lt;br /&gt;
&lt;br /&gt;
* [http://www.linuxdevices.com/articles/AT2334725255.html Building a wireless access point with Linux]&lt;br /&gt;
* [http://www.linuxdevices.com/articles/AT2005548492.html Linux-based gateways, servers, wireless access points]&lt;/div&gt;</summary>
		<author><name>PhilippeTeuwen</name></author>
	</entry>
</feed>