<div>Hi,</div>
<div>&nbsp;</div>
<div>I&#39;ve been trying to get WPA going on my Thinkpad A31p for a while.&nbsp; Because I couldn&#39;t get WPA&nbsp;working,&nbsp;recently I did the BIOS patch that would allow me to use a non IBM wifi card.&nbsp; The only other card I had was a Winston CM-9 (Atheros) and I had madwifi and wpa supplicant running great.&nbsp; Problem is my laptop saw it as another Ethernet controller and would fight and be unstable.&nbsp; Every time I would apply power it would try to PXE boot etc. so I had to go back to trying to get the Prism 
2.5 radio working.</div>
<div>&nbsp;</div>
<div>So to recap, I was able to associate and get connectivity with madwifi &amp; wpa supplicant.&nbsp; With the Prism card,&nbsp;my first problem was it had old firmware and I finally figured out how to upgrade (couldn&#39;t find the PDA files was my problem for the longest time) the Primary and Station firmware and I now have what is reported below.
</div>
<div>&nbsp;</div>
<div>hostap_diag reports:</div>
<div>NICID: id=8013 v1.0.0 (PRISM II (2.5) Mini-PCI (SST parallel flash))</div>
<div>PRIID: id=0x0015 v1.1.1</div>
<div>STAID: id=0x001f v1.7.4 (station firmware)</div>
<div>&nbsp;</div>
<div>For some reason dmesg shows the card showing up as wifi0 and then I see a line where wifi0:&nbsp; registered netdevice wlan0</div>
<div>Then I see a line where udev renamed wlan0 to eth2 and when I do a iwconfig I see my wireless card showing up twice under the&nbsp;names&nbsp; eth2 and wlan0_rename.&nbsp; I think I need to work on some udev rules to fix this ... I guess it should be called wlan0.
</div>
<div>&nbsp;</div>
<div>My interfaces file looks like this:</div>
<div>auto eth2</div>
<div>iface eth2 inet dhcp</div>
<div>&nbsp;&nbsp; wpa-driver hostap (have tried wext or just nothing and I get the same result)</div>
<div>&nbsp;&nbsp; wpa-bssid 00:12:a9:d1:e1:2e</div>
<div>&nbsp;&nbsp; wpa-pairwise TKIP CCMP</div>
<div>&nbsp;&nbsp; wpa-group TKIP CCMP</div>
<div>&nbsp;&nbsp; wpa-key-mgmt WPA-PSK</div>
<div>&nbsp;&nbsp; wpa-auth-alg OPEN SHARED LEAP</div>
<div>&nbsp;&nbsp; wpa-sid mysid</div>
<div>&nbsp;&nbsp; wpa-psk mypsk</div>
<div>&nbsp;&nbsp; wpa-proto WPA RSN</div>
<div>&nbsp;&nbsp; wpa-ap-scan 1 (have tried 2 as well)</div>
<div>&nbsp;</div>
<div>kernel is 2.6.22&nbsp; and I can provide .config if needed.&nbsp; At first hostap, hermes, and prism_pci were showing up in the modules list and I read where they need to be black listed so rather I rebuilt the kernel again to not include these and now hostap is the only one that shows up loaded in the modules list.&nbsp; lsmod | grep hostap has hits on these modules being loaded: hostap_pci, hostap and ieee80211_crypt
</div>
<div>&nbsp;</div>
<div>On bootup, the interface tries to come up but DHCP never gets a response.&nbsp; I have firewall rules that allows the wireless traffic not to get blocked (again this all worked with madwifi &amp; an Atheros card so I know my rules work).&nbsp; 
</div>
<div>&nbsp;</div>
<div>I run iwevent in another window and the only event I see is the station mode being set to Managed.&nbsp; I don&#39;t see anything else.</div>
<div>&nbsp;</div>
<div>I do a ps and grep for wpa and I see that wpa_supplicant is running.&nbsp; I&#39;ve tried it with both the wap-driver hostap and wext.</div>
<div>&nbsp;</div>
<div>I have a mixed system of testing &amp; unstable.&nbsp; wpa-supplicant is 0.6.0-2.&nbsp; wireless tools is the latest, version 29 which I had to download and compile myself to get rid of the warnings of iwconfig etc. being a different version from the extensions in the kernel.
</div>
<div>&nbsp;</div>
<div>Can someone point me in the direction I should go to debug this further?&nbsp; Let me know what other information you need and I&#39;ll provide it.</div>
<div>&nbsp;</div>
<div>I&#39;ve been using Debian since 1994 back with Ian was the leader and Debian and the people behind it are the best!&nbsp; Thanks in advance!</div>
<div>&nbsp;</div>
<div>Regards,</div>
<div>&nbsp;</div>
<div>Brian</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>