Hi Dan,<br><div><div>thank you for your reply.<br> </div><span>>This could be your problem. Use ap_scan=1 or ap_scan=2.<br></span>I've tried both, and in the first case wpa_supplicant tries to connect continuously
<br>without results, and in the output I notice this phrase:
<br> ...<br> ioctl[SIOCSIWENCODEEXT]: Invalid argument<br> Driver did not support SIOCSIWENCODEEXT<br> WPA: Failed to set PTK to the driver.<br> ...<br>In the second case nothing significant seems to happen (well, to me).
<span><br>
<br>>This means that the driver was unable to authenticate and associate to<br>>your access point with the given settings. This means that either (a)<br>>your settings are wrong, or (b) the driver has a bug.<br>
<br></span>For the point (a)... Configuration is correct I hope, anyway, <br>that's the "iwlist" output: <br><br> Address: 00:1B:11:86:D7:8A<br> ESSID:"alegigijacopogiulio...ntwk!"
<br> Protocol:IEEE 802.11bg<br> Mode:Master<br> Channel:6<br> Encryption key:on<br> Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
<br> 11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s<br> 48 Mb/s; 54 Mb/s<br> Quality=100/100 Signal level=-19 dBm Noise level=-19 dBm<br> IE: WPA Version 1
<br> Group Cipher : TKIP<br> Pairwise Ciphers (1) : TKIP<br> Authentication Suites (1) : PSK<br> IE: IEEE 802.11i/WPA2 Version 1<br>
Group Cipher : TKIP
<br> Pairwise Ciphers (2) : TKIP CCMP<br> Authentication Suites (1) : PSK<br> Extra: Last beacon: 80ms ago<span><br><br>>First I'd make 100% sure that your settings in the wpa_supplicant config
<br>>are correct, then I guess you get to enable debugging in the kernel</span><div><span>>driver and try to trace why the driver isn't able to associate with the<br>>parameters you gave it.<br><br>
<br>>What kernel version? What version of ipw3945? What version of
<br>>ieee80211 stack? You might want to try mac80211 and iwl3495 instead<br>>just for another data point.<br></span>My kernel is the vanilla <a href="http://2.6.21.5" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
2.6.21.5</a>, the ipw3945 driver is the 1.2.2 (firmware
1.14.2),<br>and I've built 802.11 stack and mac like a module, during kernel compiling.<br>I've already enabled debugging for mac, ieee802.11 and ipw driver, tell me <br>if (and how) I could give you more informations.
<br><br>Thank you in advance Dan :-)<br></div></div><br>