<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=Linux%2FWifi</id>
	<title>Linux/Wifi - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=Linux%2FWifi"/>
	<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=Linux/Wifi&amp;action=history"/>
	<updated>2026-05-05T12:46:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://aznot.com/index.php?title=Linux/Wifi&amp;diff=7038&amp;oldid=prev</id>
		<title>Kenneth: /* wpa_supplicant */</title>
		<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=Linux/Wifi&amp;diff=7038&amp;oldid=prev"/>
		<updated>2024-02-11T01:20:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;wpa_supplicant&lt;/span&gt;&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 01:20, 11 February 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l83&quot;&gt;Line 83:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 83:&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;generated from:&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;generated from:&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;div&gt;  wpa_passphrase MYSSID &amp;gt;&amp;gt; /etc/wpa_supplicant/wpa_supplicant.conf&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;  wpa_passphrase MYSSID &amp;gt;&amp;gt; /etc/wpa_supplicant/wpa_supplicant.conf&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== debian interfaces ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(Example from a older Raspberry Pi)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/etc/network/interfaces.d/wlan&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;auto wlan1&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;allow-hotplug wlan1&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;iface wlan1 inet dhcp&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/pre&amp;gt;&lt;/ins&gt;&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;== Wireless WEP Authentication ==&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;== Wireless WEP Authentication ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key aznot:diff:1.41:old-6927:rev-7038:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Kenneth</name></author>
	</entry>
	<entry>
		<id>https://aznot.com/index.php?title=Linux/Wifi&amp;diff=6927&amp;oldid=prev</id>
		<title>Kenneth: /* madwifi */</title>
		<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=Linux/Wifi&amp;diff=6927&amp;oldid=prev"/>
		<updated>2024-01-28T22:18:49Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;madwifi&lt;/span&gt;&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 22:18, 28 January 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l57&quot;&gt;Line 57:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 57:&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;See [[madwifi]]&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;See [[madwifi]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== wpa_supplicant ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/etc/wpa_supplicant/wpa_supplicant.conf&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;update_config=1&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;country=US&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;network={&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;        ssid=&quot;MYSSID&quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;        psk=&quot;MYPASSWORD&quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;or:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;network={&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;        ssid=&quot;MYSSID&quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;        #psk=&quot;MYPASSWORD&quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;        psk=81cffae6b3b3594ad304fec7c56e200a9bdc75ec83d074e22a0241b65f0f453a&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;generated from:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; wpa_passphrase MYSSID &amp;gt;&amp;gt; /etc/wpa_supplicant/wpa_supplicant.conf&lt;/ins&gt;&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;== Wireless WEP Authentication ==&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;== Wireless WEP Authentication ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key aznot:diff:1.41:old-1437:rev-6927:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Kenneth</name></author>
	</entry>
	<entry>
		<id>https://aznot.com/index.php?title=Linux/Wifi&amp;diff=1437&amp;oldid=prev</id>
		<title>Kenneth: Created page with &quot;== Common Tasks ==  Wireless interface tools:  ifconfig  # set interface ip address and up/down state  iwconfig  # configure wireless settings (SSID, key, mode)  iwlist    # s...&quot;</title>
		<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=Linux/Wifi&amp;diff=1437&amp;oldid=prev"/>
		<updated>2014-12-19T15:16:57Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Common Tasks ==  Wireless interface tools:  ifconfig  # set interface ip address and up/down state  iwconfig  # configure wireless settings (SSID, key, mode)  iwlist    # s...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Common Tasks ==&lt;br /&gt;
&lt;br /&gt;
Wireless interface tools:&lt;br /&gt;
 ifconfig  # set interface ip address and up/down state&lt;br /&gt;
 iwconfig  # configure wireless settings (SSID, key, mode)&lt;br /&gt;
 iwlist    # scan wireless&lt;br /&gt;
 dhclient  # dhcp client&lt;br /&gt;
&lt;br /&gt;
Set ESSID:&lt;br /&gt;
 iwconfig [interface] essid [essid]&lt;br /&gt;
 iwconfig eth1 essid toast&lt;br /&gt;
&lt;br /&gt;
Set managed mode:&lt;br /&gt;
 # note: interface may need to be down to change (ifconfig eth1 down)&lt;br /&gt;
 iwconfig eth1 mode Managed&lt;br /&gt;
&lt;br /&gt;
Set WEP key:&lt;br /&gt;
 iwconfig eth1 key 0123-4567-89&lt;br /&gt;
 iwconfig eth1 key off&lt;br /&gt;
&lt;br /&gt;
WPA:&lt;br /&gt;
 # type password, hit enter&lt;br /&gt;
 wpa_passphrase [SSID] &amp;gt;&amp;gt; /etc/wpa_supplicant/wpa_supplicant.conf&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
network={&lt;br /&gt;
        ssid=&amp;quot;testnetwork&amp;quot;&lt;br /&gt;
        #psk=&amp;quot;testpassword&amp;quot;&lt;br /&gt;
        psk=ed5b87ba31bf9d6611576f94c57e848696005ea2d5743baab976a48ed11d1b2a&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # start wpa_supplicant daemon&lt;br /&gt;
 wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i wlan0 -D madwifi&lt;br /&gt;
 # debug mode:&lt;br /&gt;
 wpa_supplicant -c wpa.conf -i wlan0 -d&lt;br /&gt;
&lt;br /&gt;
DHCP client:&lt;br /&gt;
 dhclient [interface]  # get DHCP address&lt;br /&gt;
 dhclient -r [interface]  # release DHCP address&lt;br /&gt;
 dhclient [interface] -H [hostname]  # get DHCP address and set hostname&lt;br /&gt;
&lt;br /&gt;
Other examples:&lt;br /&gt;
 iwconfig wlan0 mode managed&lt;br /&gt;
 iwpriv wlan0 set AuthMode=WPAPSK&lt;br /&gt;
 iwpriv wlan0 set EncrypType=TKIP&lt;br /&gt;
 iwpriv wlan0 set WPAPSK=&amp;quot;AP&amp;#039;s wpa-preshared key&amp;quot;&lt;br /&gt;
 iwconfig wlan0 essid &amp;quot;AP&amp;#039;s SSID&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Scan:&lt;br /&gt;
 iwlist [interface] scan&lt;br /&gt;
&lt;br /&gt;
Common wireless interfaces:&lt;br /&gt;
 eth1, wlan0, ath0&lt;br /&gt;
&lt;br /&gt;
== madwifi ==&lt;br /&gt;
&lt;br /&gt;
See [[madwifi]]&lt;br /&gt;
&lt;br /&gt;
== Wireless WEP Authentication ==&lt;br /&gt;
&lt;br /&gt;
Shared WEP key:&lt;br /&gt;
 iwconfig ath0 key &amp;lt;yourkey&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 # operating in a restricted, shared-key environment&lt;br /&gt;
 iwpriv ath0 authmode 2&lt;br /&gt;
 &lt;br /&gt;
 # operating in open system key (which is often considered more secure)&lt;br /&gt;
 iwpriv ath0 authmode 1&lt;br /&gt;
&lt;br /&gt;
== Connecting to AP ==&lt;br /&gt;
&lt;br /&gt;
Connecting to an open AP:&lt;br /&gt;
 iwconfig ath0 essid &amp;quot;eddie&amp;quot;&lt;br /&gt;
 iwconfig ath0 ap 00:06:25:E8:3A:05&lt;br /&gt;
&lt;br /&gt;
Connect to first available open AP:&lt;br /&gt;
 iwconfig ath0 ap any&lt;br /&gt;
 iwconfig ath0 ap auto&lt;br /&gt;
&lt;br /&gt;
== Connecting with DHCP ==&lt;br /&gt;
&lt;br /&gt;
DHCP Connection:&lt;br /&gt;
 dhclient ath0&lt;br /&gt;
 dhcpcd ath0&lt;br /&gt;
&lt;br /&gt;
== Connect without DHCP ==&lt;br /&gt;
&lt;br /&gt;
 ifconfig ath0 &amp;lt;IP address&amp;gt; netmask &amp;lt;netmask&amp;gt; up&lt;br /&gt;
 &lt;br /&gt;
 route add default gw &amp;lt;gateway hostname&amp;gt;&lt;br /&gt;
 route add default gw &amp;lt;gateway address&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 vi /etc/resolv.conf&lt;br /&gt;
  search t0e.org&lt;br /&gt;
  nameserver 10.10.10.1&lt;br /&gt;
&lt;br /&gt;
== CentOS interface setup ==&lt;br /&gt;
&lt;br /&gt;
/etc/sysconfig/network-scripts/ifcfg-ath0&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DEVICE=ath0&lt;br /&gt;
BOOTPROTO=dhcp&lt;br /&gt;
HWADDR=00:0F:20:95:6A:9A&lt;br /&gt;
ONBOOT=no&lt;br /&gt;
DHCP_HOSTNAME=kencent&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Ubuntu interface setup ==&lt;br /&gt;
&lt;br /&gt;
/etc/network/interfaces:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
    auto lo&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet dhcp&lt;br /&gt;
&lt;br /&gt;
iface wlan0 inet manual&lt;br /&gt;
allow-hotplug wlan0&lt;br /&gt;
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf&lt;br /&gt;
iface default inet dhcp&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Connecting to an AP with WEP ==&lt;br /&gt;
&lt;br /&gt;
using shared WEP key:&lt;br /&gt;
 iwpriv ath0 authmode 2&lt;br /&gt;
&lt;br /&gt;
using open WEP key (which is often considered more secure):&lt;br /&gt;
 iwpriv ath0 authmode 1&lt;br /&gt;
&lt;br /&gt;
Specify WEP key:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
iwconfig ath0 key &amp;lt;wep key (in hex)&amp;gt;&lt;br /&gt;
iwconfig ath0 key &amp;lt;s:ASCII string of key&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Connecting to an AP with WPA ==&lt;br /&gt;
&lt;br /&gt;
Make PSK:&lt;br /&gt;
 wpa_passphrase My_WPA_Protected_AP_ESSID &amp;quot;Some_Decent_PassPhrase_of_up_64_Characters&amp;quot; &amp;gt;&amp;gt; /etc/wpa_supplicant.conf&lt;br /&gt;
&lt;br /&gt;
Edit /etc/wpa_supplicant.conf and add the lines into the network section created above:&lt;br /&gt;
     key_mgmt=WPA-PSK&lt;br /&gt;
 #    proto=WPA&lt;br /&gt;
    proto=RSN&lt;br /&gt;
&lt;br /&gt;
Uncomment the proto=WPA line (and comment out the RSN line) to enable WPA. Leave as is for WPA2 (stronger encryption). &lt;br /&gt;
&lt;br /&gt;
Secure:&lt;br /&gt;
 chmod 640 /etc/wpa_supplicant.conf&lt;br /&gt;
&lt;br /&gt;
Full example:&lt;br /&gt;
 modprobe ath_pci # if running pre-r1408 Madwifi code, then also: wlanconfig ath0 create wlandev wifi0 wlanmode sta&lt;br /&gt;
 iwconfig ath0 essid &amp;quot;My_WPA_Protected_AP_ESSID&amp;quot;&lt;br /&gt;
 ifconfig ath0 192.168.0.100 up&lt;br /&gt;
 /usr/local/bin/wpa_supplicant -dd -Dmadwifi -iath0 -c/etc/wpa_supplicant.conf &lt;br /&gt;
&lt;br /&gt;
See if connected:&lt;br /&gt;
 iwconfig ath0&lt;br /&gt;
&lt;br /&gt;
Automate wpa_supplicant:&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 modprobe ath_pci  (If running pre-r1408 Madwifi code, then also: wlanconfig ath0 create wlandev wifi0 wlanmode sta)&lt;br /&gt;
 iwconfig ath0 essid &amp;quot;My_WPA_Protected_AP_ESSID&amp;quot;&lt;br /&gt;
 ifconfig ath0 192.168.0.100 up&lt;br /&gt;
 wpa_supplicant -Bw -Dmadwifi -iath0 -c/etc/wpa_supplicant.conf&lt;br /&gt;
&lt;br /&gt;
old note:&lt;br /&gt;
 wpa_supplicant -Bw -Dwext -iath0 -c/etc/wpa_supplicant.conf&lt;br /&gt;
 &lt;br /&gt;
 # if you are using a Linux version smaller than 2.6.14&lt;br /&gt;
 wpa_supplicant -Bw -Dmadwifi -iath0 -c/etc/wpa_supplicant.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
*[http://madwifi.org/wiki/UserDocs/WPA_PSK_on_Both_Ends#TheStationclientSide UserDocs/WPA_PSK_on_Both_Ends - madwifi.org - Trac]&lt;br /&gt;
&lt;br /&gt;
== wifi init.d ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
#&lt;br /&gt;
# chkconfig: - 99 01&lt;br /&gt;
# description: Starts and stops the Wireless&lt;br /&gt;
#&lt;br /&gt;
# lock:    /var/run/wifi&lt;br /&gt;
# config:  /etc/sysconfig/wifi&lt;br /&gt;
# config:  /etc/wpa_supplicant.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Source function library.&lt;br /&gt;
if [ -f /etc/init.d/functions ] ; then&lt;br /&gt;
  . /etc/init.d/functions&lt;br /&gt;
elif [ -f /etc/rc.d/init.d/functions ] ; then&lt;br /&gt;
  . /etc/rc.d/init.d/functions&lt;br /&gt;
else&lt;br /&gt;
  exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# /etc/sysconfig/wifi&lt;br /&gt;
# WIFI_SSID=ssid&lt;br /&gt;
# WIFI_DHCP=yes&lt;br /&gt;
# WIFI_AUTH=wpa|wep&lt;br /&gt;
if [ ! -e /etc/sysconfig/wifi ] ; then&lt;br /&gt;
  echo &amp;quot;ERROR: /etc/sysconfig/wifi is missing&amp;quot;&lt;br /&gt;
  exit 1&lt;br /&gt;
else&lt;br /&gt;
  . /etc/sysconfig/wifi&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# WPA&lt;br /&gt;
# wpa_passphrase &amp;quot;My_WPA_Protected_AP_ESSID&amp;quot; &amp;quot;Some_Decent_PassPhrase_of_up_64_Characters&amp;quot; &amp;gt;&amp;gt; /etc/wpa_supplicant.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
LOCKFILE=/var/run/wifi&lt;br /&gt;
&lt;br /&gt;
case &amp;quot;$1&amp;quot; in&lt;br /&gt;
  start)&lt;br /&gt;
    echo -n &amp;quot;Starting wifi: &amp;quot;&lt;br /&gt;
    if [ -e $LOCKFILE ] ; then&lt;br /&gt;
      echo -n &amp;quot;Wifi already running&amp;quot;&lt;br /&gt;
      failure ; echo ; exit 1&lt;br /&gt;
    fi&lt;br /&gt;
    touch $LOCKFILE&lt;br /&gt;
    modprobe ath_pci&lt;br /&gt;
    iwconfig ath0 essid &amp;quot;${WIFI_SSID}&amp;quot;&lt;br /&gt;
    if [ &amp;quot;${WIFI_AUTH}&amp;quot; = &amp;quot;wpa&amp;quot; ] ; then&lt;br /&gt;
      wpa_supplicant -Bw -Dmadwifi -iath0 -c/etc/wpa_supplicant.conf&lt;br /&gt;
    else&lt;br /&gt;
      echo -n &amp;quot;code not written yet!&amp;quot;&lt;br /&gt;
      failure ; echo ; exit 1&lt;br /&gt;
    fi&lt;br /&gt;
    if [ &amp;quot;${WIFI_DHCP}&amp;quot; = &amp;quot;yes&amp;quot; ] ; then&lt;br /&gt;
      dhclient ath0 &amp;amp;&amp;gt; /dev/null&lt;br /&gt;
      if [ &amp;quot;$?&amp;quot; != &amp;quot;0&amp;quot; ] ; then&lt;br /&gt;
        echo -n &amp;quot;unable to obtain ip address!&amp;quot;&lt;br /&gt;
        failure ; echo ; exit 1&lt;br /&gt;
      fi&lt;br /&gt;
    else&lt;br /&gt;
      echo &amp;quot;code not written yet!&amp;quot;&lt;br /&gt;
      failure ; echo ; exit 1&lt;br /&gt;
    fi&lt;br /&gt;
    success ; echo ; exit 0&lt;br /&gt;
    ;;&lt;br /&gt;
  stop)&lt;br /&gt;
    echo -n &amp;quot;Stopping wifi:&amp;quot;&lt;br /&gt;
    rm -f $LOCKFILE&lt;br /&gt;
    dhclient -r ath0 &amp;amp;&amp;gt;/dev/null&lt;br /&gt;
    killall wpa_supplicant &amp;amp;&amp;gt;/dev/null&lt;br /&gt;
    modprobe -r ath_pci&lt;br /&gt;
    success ; echo ; exit 0&lt;br /&gt;
    ;;&lt;br /&gt;
  restart)&lt;br /&gt;
        $0 stop&lt;br /&gt;
        $0 start&lt;br /&gt;
        ;;&lt;br /&gt;
  status)&lt;br /&gt;
    if [ -e $LOCKFILE ] ; then&lt;br /&gt;
      echo &amp;quot;Wifi is running&amp;quot;&lt;br /&gt;
      exit 1&lt;br /&gt;
    else&lt;br /&gt;
      echo &amp;quot;Wifi is stopped&amp;quot;&lt;br /&gt;
      exit 1&lt;br /&gt;
    fi&lt;br /&gt;
    ;;&lt;br /&gt;
  *)&lt;br /&gt;
    echo $&amp;quot;Usage: $0 {start|stop|restart|status}&amp;quot;&lt;br /&gt;
    exit 2&lt;br /&gt;
esac&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Restart network:&lt;br /&gt;
 service network restart&lt;br /&gt;
&lt;br /&gt;
Shut down madwifi:&lt;br /&gt;
 ifconfig ath0 down&lt;br /&gt;
 ifconfig wifi0 down&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 iwconfig ath0 mode master&lt;br /&gt;
 iwconfig ath0 essid paradiso&lt;br /&gt;
 iwconfig ath0 channel 9&lt;br /&gt;
 iwpriv ath0 mode 2&lt;br /&gt;
 ifconfig ath0 up&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
*[http://ubuntuforums.org/showthread.php?t=105437 HOWTO: Latest madwifi svn snapshot - Ubuntu Forums]&lt;br /&gt;
*[http://madwifi.org/wiki/UserDocs/FirstTimeHowTo UserDocs/FirstTimeHowTo - madwifi.org - Trac]&lt;br /&gt;
&lt;br /&gt;
== WPA with Linux ==&lt;br /&gt;
&lt;br /&gt;
 wpa_passphrase YOURSSID yourpassphrase &amp;gt; /etc/wpa_supplicant.conf&lt;br /&gt;
 chmod 640 /etc/wpa_supplicant.conf&lt;br /&gt;
 wpa_supplicant -Bw -Dwext -iath0 -c/etc/wpa_supplicant.conf&lt;br /&gt;
 # or use -Dmadwifi instead of -Dwext&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
*[http://madwifi.org/wiki/UserDocs/FirstTimeHowTo#ConnectingtoanAPwithWPA Connecting to an AP with WPA]&lt;br /&gt;
*[http://madwifi.org/wiki/UserDocs/802.11i Setting up a Client Using WPA-PSK]&lt;br /&gt;
*[http://madwifi.org/wiki/UserDocs/WPA_PSK_on_Both_Ends#TheStationclientSide WPA on madwifi: AP &amp;amp; Station]&lt;/div&gt;</summary>
		<author><name>Kenneth</name></author>
	</entry>
</feed>