<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Razor</id>
	<title>ThinkWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Razor"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Razor"/>
	<updated>2026-05-04T08:15:18Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=User:Razor&amp;diff=17441</id>
		<title>User:Razor</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=User:Razor&amp;diff=17441"/>
		<updated>2006-01-11T09:28:38Z</updated>

		<summary type="html">&lt;p&gt;Razor: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Recently got a new [[:Category:X41|X41]] but also had a [[:Category:600E|600E]] once.&lt;/div&gt;</summary>
		<author><name>Razor</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_install_wpa_supplicant&amp;diff=14560</id>
		<title>How to install wpa supplicant</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_install_wpa_supplicant&amp;diff=14560"/>
		<updated>2006-01-11T09:23:17Z</updated>

		<summary type="html">&lt;p&gt;Razor: /* Starting wpa_supplicant */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Installing wpa_supplicant ===&lt;br /&gt;
AtRPMS contains packages for [[:Category:Fedora|Fedora Core]].&lt;br /&gt;
&lt;br /&gt;
*Get the [http://hostap.epitest.fi/wpa_supplicant/ source] &lt;br /&gt;
*Edit the {{path|.config}} file in the source directory according to your wlan driver (see driver section)&lt;br /&gt;
&lt;br /&gt;
  #&lt;br /&gt;
  #.config&lt;br /&gt;
  #&lt;br /&gt;
  # Uncomment following two lines and fix the paths if you have installed openssl&lt;br /&gt;
  # in non-default location&lt;br /&gt;
  #CFLAGS += -I/usr/local/openssl/include&lt;br /&gt;
  #LIBS += -L/usr/local/openssl/lib&lt;br /&gt;
  # Driver interface for Host AP driver&lt;br /&gt;
  #CONFIG_DRIVER_HOSTAP=y&lt;br /&gt;
  # Driver interface for Agere driver&lt;br /&gt;
  #CONFIG_DRIVER_HERMES=y&lt;br /&gt;
  # Change include directories to match with the local setup&lt;br /&gt;
  #CFLAGS += -I../../hcf -I../../include -I../../include/hcf&lt;br /&gt;
  #CFLAGS += -I../../include/wireless&lt;br /&gt;
  # Driver interface for Prism54 driver&lt;br /&gt;
  # (Note: Prism54 is not yet supported, i.e., this will not work as-is and is&lt;br /&gt;
  # for developers only)&lt;br /&gt;
  #CONFIG_DRIVER_PRISM54=y&lt;br /&gt;
  # Driver interface for ndiswrapper&lt;br /&gt;
  #CONFIG_DRIVER_NDISWRAPPER=y&lt;br /&gt;
  # Driver interface for Atmel driver&lt;br /&gt;
  #CONFIG_DRIVER_ATMEL=y&lt;br /&gt;
  # Driver interface for Broadcom driver&lt;br /&gt;
  #CONFIG_DRIVER_BROADCOM=y&lt;br /&gt;
  # Example path for wlioctl.h; change to match your configuration&lt;br /&gt;
  #CFLAGS += -I/opt/WRT54GS/release/src/include&lt;br /&gt;
  # Driver interface for Intel ipw2100/2200 driver&lt;br /&gt;
  #CONFIG_DRIVER_IPW=y&lt;br /&gt;
  CONFIG_DRIVER_MADWIFI=y&lt;br /&gt;
  # Change include directories to match with the local setup&lt;br /&gt;
  CFLAGS += -I../madwif&lt;br /&gt;
  CONFIG_DRIVER_WEXT=y&lt;br /&gt;
  # Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)&lt;br /&gt;
  #CONFIG_DRIVER_BSD=y&lt;br /&gt;
  #CFLAGS += -I/usr/local/include&lt;br /&gt;
  #LIBS += -L/usr/local/lib&lt;br /&gt;
  # Driver interface for Windows NDIS&lt;br /&gt;
  #CONFIG_DRIVER_NDIS=y&lt;br /&gt;
  #CFLAGS += -I/usr/include/w32api/ddk&lt;br /&gt;
  #LIBS += -L/usr/local/lib&lt;br /&gt;
  # For native build using mingw&lt;br /&gt;
  #CONFIG_NATIVE_WINDOWS=y&lt;br /&gt;
  # Additional directories for cross-compilation on Linux host for mingw target&lt;br /&gt;
  #CFLAGS += -I/opt/mingw/mingw32/include/ddk&lt;br /&gt;
  #LIBS += -L/opt/mingw/mingw32/lib&lt;br /&gt;
  #CC=mingw32-gcc&lt;br /&gt;
  # Driver interface for development testing&lt;br /&gt;
  #CONFIG_DRIVER_TEST=y&lt;br /&gt;
  # Driver interface for wired Ethernet drivers&lt;br /&gt;
  #CONFIG_DRIVER_WIRED=y&lt;br /&gt;
  CONFIG_IEEE8021X_EAPOL=y&lt;br /&gt;
  # EAP-MD5 (automatically included if EAP-TTLS is enabled)&lt;br /&gt;
  CONFIG_EAP_MD5=y&lt;br /&gt;
  # EAP-MSCHAPv2 (automatically included if EAP-PEAP is enabled)&lt;br /&gt;
  CONFIG_EAP_MSCHAPV2=y&lt;br /&gt;
  # EAP-TLS&lt;br /&gt;
  CONFIG_EAP_TLS=y&lt;br /&gt;
  # EAL-PEAP&lt;br /&gt;
  CONFIG_EAP_PEAP=y&lt;br /&gt;
  # EAP-TTLS&lt;br /&gt;
  CONFIG_EAP_TTLS=y&lt;br /&gt;
  # EAP-GTC&lt;br /&gt;
  CONFIG_EAP_GTC=y &lt;br /&gt;
  # EAP-OTP&lt;br /&gt;
  CONFIG_EAP_OTP=y&lt;br /&gt;
  # LEAP&lt;br /&gt;
  CONFIG_EAP_LEAP=y&lt;br /&gt;
  # PKCS#12 (PFX) support (used to read private key and certificate file from&lt;br /&gt;
  # a file that usually has extension .p12 or .pfx)&lt;br /&gt;
  CONFIG_PKCS12=y&lt;br /&gt;
  # Include control interface for external programs, e.g, wpa_cli&lt;br /&gt;
  CONFIG_CTRL_IFACE=y&lt;br /&gt;
&lt;br /&gt;
* install wpa_supplicant by {{cmdroot|make &amp;amp;&amp;amp; make install}}&lt;br /&gt;
&lt;br /&gt;
=== Configuration ===&lt;br /&gt;
&lt;br /&gt;
==== For WPA-PSK ====&lt;br /&gt;
*Edit {{path|wpa_supplicant.conf}}:&lt;br /&gt;
  &lt;br /&gt;
  #&lt;br /&gt;
  #wpa_supplicant.conf&lt;br /&gt;
  #&lt;br /&gt;
  ctrl_interface=/var/run/wpa_supplicant&lt;br /&gt;
  ctrl_interface_group=0&lt;br /&gt;
  eapol_version=1&lt;br /&gt;
  # ap_scan=2 was the one for me you may try 0 or 1 indstead of 2&lt;br /&gt;
  ap_scan=2&lt;br /&gt;
  fast_reauth=1&lt;br /&gt;
  network={&lt;br /&gt;
        ssid=&amp;quot;lastwaterhole&amp;quot;&lt;br /&gt;
        proto=WPA&lt;br /&gt;
        key_mgmt=WPA-PSK&lt;br /&gt;
        pairwise=TKIP&lt;br /&gt;
        group=TKIP&lt;br /&gt;
        psk=&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
You have to change the values according to the response of {{cmdroot|wpa_passphrase &amp;lt;yourAPssid&amp;gt; &amp;lt;yourpassphrase&amp;gt;}}.&lt;br /&gt;
&lt;br /&gt;
=== Starting wpa_supplicant ===&lt;br /&gt;
Make sure that the modules &amp;lt;tt&amp;gt;ath_pci&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;ath_hal&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;ath_rate_sample&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;wlan&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;wlan_tkip&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;wlan_xauth&amp;lt;/tt&amp;gt; are loaded (using {{cmdroot|lsmod}}).&lt;br /&gt;
&lt;br /&gt;
Now you are able to start wpa_supplicant by &lt;br /&gt;
:{{cmdroot|wpa_supplicant -d -c/etc/wpa_supplicant.conf -iath0 -Dmadwifi}}&lt;br /&gt;
If every thing works as expected, you can replace &amp;lt;tt&amp;gt;-d&amp;lt;/tt&amp;gt; by &amp;lt;tt&amp;gt;-B&amp;lt;/tt&amp;gt; for the deamon mode.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|1=Using the Intel PRO/Wireless 2200BG on a 2.6.15 kernel with both ieee80211 and ipw2200 from the kernel source (rather than external sources), you should use the &amp;lt;tt&amp;gt;wext&amp;lt;/tt&amp;gt; driver instead of &amp;lt;tt&amp;gt;ipw&amp;lt;/tt&amp;gt; for wpa_supplicant.}}&lt;br /&gt;
                 &lt;br /&gt;
====Bringing up the network card manually==== &lt;br /&gt;
*Bring up the network interface with {{cmdroot|ifconfig ath0 &amp;lt;yourip&amp;gt; up}}.&lt;br /&gt;
{{NOTE|1=At the moment there is a problem within the madwifi driver or wpa_supplicant passing dhcp. ThatÂ´s why I use a fixed IP.&lt;br /&gt;
There are two patches one for wpa_supllicant (http://hostap.epitest.fi/bugz/show_bug.cgi?id=63) and one for madwifi                                            &lt;br /&gt;
(http://article.gmane.org/gmane.linux.drivers.madwifi.devel/1275). Each one is supposed to work.}}&lt;br /&gt;
*Change the routes and add the default gateway.&lt;br /&gt;
&lt;br /&gt;
====Bringing up the device at boottime (for {{Gentoo}} users)====&lt;br /&gt;
*Make a symbolic link&lt;br /&gt;
:{{cmdroot|cd /etc/init.d/}}&lt;br /&gt;
:{{cmdroot|ln -s net.lo net.ath0}}&lt;br /&gt;
*Copy {{path|wpa_supplicant.conf}} to {{path|/etc/conf.d/wpa_supplicant}}.&lt;br /&gt;
*Edit {{path|/etc/conf.d/net}}&lt;br /&gt;
  &lt;br /&gt;
  #&lt;br /&gt;
  #net&lt;br /&gt;
  #&lt;br /&gt;
  wpa_supplicant_ath0=&amp;quot;-Dmadwifi&amp;quot;&lt;br /&gt;
  wpa_timeout_ath0=60&lt;br /&gt;
  config_ath0=(&amp;quot;&amp;lt;yourip&amp;gt; netmask 255.255.255.0&amp;quot;)&lt;br /&gt;
  routes_ath0=(&amp;quot;default gw &amp;lt;yourgateway&amp;gt;&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
*Add net.ath0 to the default runlevel by executing&lt;br /&gt;
:{{cmdroot|rc-update add net.ath0 default}}&lt;br /&gt;
*Make sure all needed modules are in {{path|/etc/modules.autoload/2.x}}&lt;br /&gt;
&lt;br /&gt;
=== External Sources ===&lt;br /&gt;
*[http://hostap.epitest.fi/wpa_supplicant/ wpa_supplicant] source&lt;br /&gt;
*[http://www.linux-wireless.org/ linux-wireless] Wireless HOWTOs&lt;br /&gt;
*[http://rinta-aho.org/docs/wlan/wlan.html EAP-TLS] setting up WLAN network with EAP-TLS&lt;/div&gt;</summary>
		<author><name>Razor</name></author>
		
	</entry>
</feed>