<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6487.1">
<TITLE>wep: iwconfig enc: "open" works, "shared" doesn't</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>
<P><FONT SIZE=2 FACE="Times">Following Andrew Barr’s instructions, I’m operational with the DWL-520 rev. E using Slackware 2.4.22 on an 815E-chip-based PC. I had to recompile the kernel to enable MOD_VERSIONS, which allowed successful makes of the hostap modules. (The modules hostap, hostap_pci, & hostap_crypt_wep load with no error messages.) I also installed wireless tools prior to making the new kernel, which allowed hostap_srec to load the firmware, although several message are generated in the process (see output below). </FONT></P>
<P><FONT SIZE=2 FACE="Times">However, when I try to set <iwconfig enc shared> using A.B.’s rc.wlan script, I get an invalid argument message (in output). Either way, open or shared, I’m able to connect to my Apple Airport base station and obtain a functional IP address, even though the base station is configured for WEP encryption (and MAC-specific access). </FONT></P>
<P><FONT SIZE=2 FACE="Times">My question is, what’s going on? Is hostap bypassing the hardware security? Is the base station actually receiving the WEP info despite “shared” being turned off? </FONT></P>
<BR>
<P><FONT SIZE=2 FACE="Times">---------------------------------------------------------------------------</FONT>
<BR><FONT SIZE=2 FACE="Times">srec summary for pm010102.hex</FONT>
<BR><FONT SIZE=2 FACE="Times">Included file name: PM010102.HEX</FONT>
<BR><FONT SIZE=2 FACE="Times">Component: 0x0015 1.1.2 (primary firmware)</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Times">Verifying update compatibility and combining data:</FONT>
<BR><FONT SIZE=2 FACE="Times">Plugging PDR 0400 (NIC configuration): ram16=1 pci=1 (07 00)</FONT>
<BR><FONT SIZE=2 FACE="Times">OK.</FONT>
</P>
<P><FONT SIZE=2 FACE="Times">Downloading to volatile memory (RAM).</FONT>
<BR><FONT SIZE=2 FACE="Times">OK.</FONT>
</P>
<P><FONT SIZE=2 FACE="Times">srec summary for pm010102.hex</FONT>
<BR><FONT SIZE=2 FACE="Times">Included file name: PM010102.HEX</FONT>
<BR><FONT SIZE=2 FACE="Times">Component: 0x0015 1.1.2 (primary firmware)</FONT>
</P>
<P><FONT SIZE=2 FACE="Times">ioctl[PRISM2_IOCTL_HOSTAPD]: No data available</FONT>
<BR><FONT SIZE=2 FACE="Times">STAID not available (maybe running PRI-only)</FONT>
<BR><FONT SIZE=2 FACE="Times">ioctl[PRISM2_IOCTL_HOSTAPD]: No data available</FONT>
<BR><FONT SIZE=2 FACE="Times">ioctl[PRISM2_IOCTL_HOSTAPD]: No data available</FONT>
</P>
<P><FONT SIZE=2 FACE="Times">Verifying update compatibility and combining data:</FONT>
<BR><FONT SIZE=2 FACE="Times">OK.</FONT>
</P>
<P><FONT SIZE=2 FACE="Times">Downloading to volatile memory (RAM).</FONT>
<BR><FONT SIZE=2 FACE="Times">OK.</FONT>
</P>
<P><FONT SIZE=2 FACE="Times">srec summary for rf010800.hex</FONT>
</P>
<P><FONT SIZE=2 FACE="Times">Included file name: RF010800.hex</FONT>
<BR><FONT SIZE=2 FACE="Times">Component: 0x001f 1.8.0 (station firmware)</FONT>
</P>
<P><FONT SIZE=2 FACE="Times">ioctl[PRISM2_IOCTL_HOSTAPD]: No data available</FONT>
<BR><FONT SIZE=2 FACE="Times">STAID not available (maybe running PRI-only)</FONT>
<BR><FONT SIZE=2 FACE="Times">ioctl[PRISM2_IOCTL_HOSTAPD]: No data available</FONT>
<BR><FONT SIZE=2 FACE="Times">ioctl[PRISM2_IOCTL_HOSTAPD]: No data available</FONT>
</P>
<P><FONT SIZE=2 FACE="Times">Verifying update compatibility and combining data:</FONT>
<BR><FONT SIZE=2 FACE="Times">Could not find data position for plugging PDR 0x0413 at 0x0000118e (len=2)</FONT>
<BR><FONT SIZE=2 FACE="Times">PDR 0x0413 is not in wlan card PDA and there is no default data. Ignoring plug record.</FONT>
<BR><FONT SIZE=2 FACE="Times">OK.</FONT>
</P>
<P><FONT SIZE=2 FACE="Times">Downloading to volatile memory (RAM).</FONT>
<BR><FONT SIZE=2 FACE="Times">OK.</FONT>
<BR><FONT SIZE=2 FACE="Times">Components after download:</FONT>
<BR><FONT SIZE=2 FACE="Times"> NICID: 0x8024 v1.0.0</FONT>
<BR><FONT SIZE=2 FACE="Times"> PRIID: 0x0015 v1.1.2</FONT>
<BR><FONT SIZE=2 FACE="Times"> STAID: 0x001f v1.8.0</FONT>
<BR><FONT SIZE=2 FACE="Times">Error for wireless request "Set Encode" (8B2A) :</FONT>
<BR><FONT SIZE=2 FACE="Times"> invalid argument "shared".</FONT>
</P>
<BR>
<BR>
<BR>
<BR>
<P><FONT SIZE=2 FACE="Times">iwconfig</FONT>
</P>
<P><FONT SIZE=2 FACE="Times">lo no wireless extensions.</FONT>
</P>
<P><FONT SIZE=2 FACE="Times">eth0 no wireless extensions.</FONT>
</P>
<P><FONT SIZE=2 FACE="Times">wifi0 IEEE 802.11b ESSID:"mynetwork" </FONT>
<BR><FONT SIZE=2 FACE="Times"> Mode:Managed Frequency:2.457GHz Access Point: 00:44:72:C8:6C:3A </FONT>
<BR><FONT SIZE=2 FACE="Times"> Bit Rate:11Mb/s Sensitivity=1/3 </FONT>
<BR><FONT SIZE=2 FACE="Times"> Retry min limit:8 RTS thr:off Fragment thr:off</FONT>
<BR><FONT SIZE=2 FACE="Times"> Encryption key:2348-A31E-00C7-915B-6E46-615C-9D Security mode:restricted</FONT>
<BR><FONT SIZE=2 FACE="Times"> Power Management:off</FONT>
<BR><FONT SIZE=2 FACE="Times"> Link Quality:49/70 Signal level:-36 dBm Noise level:-85 dBm</FONT>
<BR><FONT SIZE=2 FACE="Times"> Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0</FONT>
<BR><FONT SIZE=2 FACE="Times"> Tx excessive retries:0 Invalid misc:8 Missed beacon:0</FONT>
</P>
<P><FONT SIZE=2 FACE="Times">wlan0 IEEE 802.11b ESSID:"mynetwork" </FONT>
<BR><FONT SIZE=2 FACE="Times"> Mode:Managed Frequency:2.457GHz Access Point: 00:44:72:C8:6C:3A</FONT>
<BR><FONT SIZE=2 FACE="Times"> Bit Rate:11Mb/s Sensitivity=1/3 </FONT>
<BR><FONT SIZE=2 FACE="Times"> Retry min limit:8 RTS thr:off Fragment thr:off</FONT>
<BR><FONT SIZE=2 FACE="Times"> Encryption key:2328-A31E-00C7-623A-6E46-615b-7c Security mode:restricted</FONT>
<BR><FONT SIZE=2 FACE="Times"> Power Management:off</FONT>
<BR><FONT SIZE=2 FACE="Times"> Link Quality:49/70 Signal level:-36 dBm Noise level:-85 dBm</FONT>
<BR><FONT SIZE=2 FACE="Times"> Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0</FONT>
<BR><FONT SIZE=2 FACE="Times"> Tx excessive retries:0 Invalid misc:8 Missed beacon:0</FONT>
</P>
<BR>
<BR>
</BODY>
</HTML>