wep: iwconfig enc: "open" works, "shared" doesn't

Scherr, Paul PScherr
Tue Mar 9 08:21:52 PST 2004


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). 

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). 

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? 


---------------------------------------------------------------------------
srec summary for pm010102.hex
Included file name: PM010102.HEX
Component: 0x0015 1.1.2 (primary firmware)


Verifying update compatibility and combining data:
Plugging PDR 0400 (NIC configuration): ram16=1 pci=1 (07 00)
OK.

Downloading to volatile memory (RAM).
OK.

srec summary for pm010102.hex
Included file name: PM010102.HEX
Component: 0x0015 1.1.2 (primary firmware)

ioctl[PRISM2_IOCTL_HOSTAPD]: No data available
STAID not available (maybe running PRI-only)
ioctl[PRISM2_IOCTL_HOSTAPD]: No data available
ioctl[PRISM2_IOCTL_HOSTAPD]: No data available

Verifying update compatibility and combining data:
OK.

Downloading to volatile memory (RAM).
OK.

srec summary for rf010800.hex

Included file name: RF010800.hex
Component: 0x001f 1.8.0 (station firmware)

ioctl[PRISM2_IOCTL_HOSTAPD]: No data available
STAID not available (maybe running PRI-only)
ioctl[PRISM2_IOCTL_HOSTAPD]: No data available
ioctl[PRISM2_IOCTL_HOSTAPD]: No data available

Verifying update compatibility and combining data:
Could not find data position for plugging PDR 0x0413 at 0x0000118e (len=2)
PDR 0x0413 is not in wlan card PDA and there is no default data. Ignoring plug record.
OK.

Downloading to volatile memory (RAM).
OK.
Components after download:
  NICID: 0x8024 v1.0.0
  PRIID: 0x0015 v1.1.2
  STAID: 0x001f v1.8.0
Error for wireless request "Set Encode" (8B2A) :
    invalid argument "shared".





iwconfig

lo        no wireless extensions.

eth0      no wireless extensions.

wifi0     IEEE 802.11b  ESSID:"mynetwork"  
          Mode:Managed  Frequency:2.457GHz  Access Point: 00:44:72:C8:6C:3A  
          Bit Rate:11Mb/s   Sensitivity=1/3  
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:2348-A31E-00C7-915B-6E46-615C-9D   Security mode:restricted
          Power Management:off
          Link Quality:49/70  Signal level:-36 dBm  Noise level:-85 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:8   Missed beacon:0

wlan0     IEEE 802.11b  ESSID:"mynetwork"  
          Mode:Managed  Frequency:2.457GHz  Access Point: 00:44:72:C8:6C:3A
          Bit Rate:11Mb/s   Sensitivity=1/3  
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:2328-A31E-00C7-623A-6E46-615b-7c   Security mode:restricted
          Power Management:off
          Link Quality:49/70  Signal level:-36 dBm  Noise level:-85 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:8   Missed beacon:0



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20040309/36cf3f88/attachment.htm 



More information about the Hostap mailing list