Hi Andrew; replaced my hostapdconf with the your config below and it works with 2.6.35.2.
kp Am Montag, 18. Oktober 2010, 20:17:09 schrieb Andrew: > 02.10.2010 23:10, davidMbrooke пишет: > > Hi kp, > > > > Good news - hostapd works for me! > > (Well, good news for me anyway :-} ) > > > > On Sat, 2010-10-02 at 19:57 +0100, davidMbrooke wrote: > >>> Would you mind to give hostapd a test? I'm starting to get the > >>> impresson it's a PEBKAC rather than a ath5k/hostapd pb. > >> > >> I will certainly try hostapd; not something I have ever tried before. I > >> will try now and hopefully report my findings in 1 - 2 hours. > > > > I'm using .11g and I tried it with no encryption (works fine) and again > > with WPA2 (works fine). As you can see from the log the client > > Associates OK and then gets an IP address. From your earlier mails I > > understand this procedure was failing for you. > > > > Let me know if I should run further tests or if I can help understand > > your problem in any way. Perhaps the clue is in the list of modules I > > provided earlier. > > > > Output from my daemon.log: > > > > Oct 2 19:51:36 firewall hostapd: wlan0: STA 00:1e:64:4b:5e:d0 IEEE > > 802.11: authenticated > > Oct 2 19:51:37 firewall hostapd: wlan0: STA 00:1e:64:4b:5e:d0 IEEE > > 802.11: associated (aid 1) > > Oct 2 19:51:37 firewall hostapd: wlan0: STA 00:1e:64:4b:5e:d0 RADIUS: > > starting accounting session 4CA78D12-00000000 > > Oct 2 19:51:37 firewall hostapd: wlan0: STA 00:1e:64:4b:5e:d0 WPA: > > pairwise key handshake completed (WPA) > > Oct 2 19:51:37 firewall hostapd: wlan0: STA 00:1e:64:4b:5e:d0 WPA: > > group key handshake completed (WPA) > > Oct 2 19:51:37 firewall dnsmasq-dhcp[4221]: DHCPREQUEST(wlan0) > > 192.168.100.121 00:1e:64:4b:5e:d0 > > Oct 2 19:51:37 firewall dnsmasq-dhcp[4221]: DHCPNAK(wlan0) > > 192.168.100.121 00:1e:64:4b:5e:d0 wrong address > > Oct 2 19:51:37 firewall dnsmasq-dhcp[4221]: DHCPDISCOVER(wlan0) > > 00:1e:64:4b:5e:d0 > > Oct 2 19:51:37 firewall dnsmasq-dhcp[4221]: DHCPOFFER(wlan0) > > 192.168.1.182 00:1e:64:4b:5e:d0 > > Oct 2 19:51:38 firewall dnsmasq-dhcp[4221]: DHCPREQUEST(wlan0) > > 192.168.1.182 00:1e:64:4b:5e:d0 > > Oct 2 19:51:38 firewall dnsmasq-dhcp[4221]: DHCPACK(wlan0) > > 192.168.1.182 00:1e:64:4b:5e:d0 > > > > dMb > > Hi. > After rebuilding all with fresh kernel (2.6.35.7) I tried to test WiFi > and found that it doesn't work. Authentication pass OK, but after it > nl80211 returns error -12 (cannot allocate memory) in set_key call: > > WPA: 1c:4b:d6:85:2d:9f WPA_PTK entering state AUTHENTICATION > WPA: 1c:4b:d6:85:2d:9f WPA_PTK entering state AUTHENTICATION2 > WPA: 1c:4b:d6:85:2d:9f WPA_PTK entering state INITPSK > WPA: 1c:4b:d6:85:2d:9f WPA_PTK entering state PTKSTART > wlan0: STA 1c:4b:d6:85:2d:9f WPA: sending 1/4 msg of 4-Way Handshake > WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=8 > kde_len=0 keyidx=0 encr=0) > nl80211: Event message available > nl80211: Ignored unknown event (cmd=19) > IEEE 802.1X: 1c:4b:d6:85:2d:9f TX status - version=2 type=3 length=95 - > ack=1 > IEEE 802.1X: 121 bytes from 1c:4b:d6:85:2d:9f > IEEE 802.1X: version=1 type=3 length=117 > wlan0: STA 1c:4b:d6:85:2d:9f WPA: received EAPOL-Key frame (2/4 Pairwise) > WPA: 1c:4b:d6:85:2d:9f WPA_PTK entering state PTKCALCNEGOTIATING > WPA: PTK derivation - A1=00:21:91:97:b6:c8 A2=1c:4b:d6:85:2d:9f > WPA: PMK - hexdump(len=32): [REMOVED] > WPA: PTK - hexdump(len=48): [REMOVED] > WPA: 1c:4b:d6:85:2d:9f WPA_PTK entering state PTKCALCNEGOTIATING2 > WPA: 1c:4b:d6:85:2d:9f WPA_PTK entering state PTKINITNEGOTIATING > wlan0: STA 1c:4b:d6:85:2d:9f WPA: sending 3/4 msg of 4-Way Handshake > WPA: Send EAPOL(version=2 secure=1 mic=1 ack=1 install=1 pairwise=8 > kde_len=94 keyidx=1 encr=1) > Plaintext EAPOL-Key Key Data - hexdump(len=104): [REMOVED] > IEEE 802.1X: 1c:4b:d6:85:2d:9f TX status - version=2 type=3 length=199 - > ack=1 > IEEE 802.1X: 99 bytes from 1c:4b:d6:85:2d:9f > IEEE 802.1X: version=1 type=3 length=95 > wlan0: STA 1c:4b:d6:85:2d:9f WPA: received EAPOL-Key frame (4/4 Pairwise) > WPA: 1c:4b:d6:85:2d:9f WPA_PTK entering state PTKINITDONE > wpa_driver_nl80211_set_key: ifindex=6 alg=3 addr=0x80a9e28 key_idx=0 > set_tx=1 seq_len=0 key_len=16 > addr=1c:4b:d6:85:2d:9f > nl80211: set_key failed; err=-12 Cannot allocate memory) > hostapd_wpa_auth_disconnect: WPA authenticator requests disconnect: STA > 1c:4b:d6:85:2d:9f reason 2 > wlan0: STA 1c:4b:d6:85:2d:9f IEEE 802.11: deauthenticated due to local > deauth request > > > Can you check how it works on your test platform with older kernel with > my config? > Here is my simple config: > > interface=wlan0 > driver=nl80211 > logger_syslog=-1 > logger_syslog_level=2 > logger_stdout=-1 > logger_stdout_level=5 > dump_file=/tmp/hostapd.dump > ctrl_interface=/var/run/hostapd > ctrl_interface_group=0 > ssid=NiTr0 > hw_mode=g > channel=2 > beacon_int=500 > supported_rates=10 20 55 110 60 90 120 180 240 360 480 #540 1080 > wpa=3 > wpa_passphrase=password > wpa_key_mgmt=WPA-PSK > wpa_pairwise=TKIP CCMP > > > --------------------------------------------------------------------------- > --- Download new Adobe(R) Flash(R) Builder(TM) 4 > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > Flex(R) Builder(TM)) enable the development of rich applications that run > across multiple browsers and platforms. Download your free trials today! > http://p.sf.net/sfu/adobe-dev2dev > > _______________________________________________ > leaf-devel mailing list > leaf-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/leaf-devel ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel