Hi Everyone,
I have begun using the 3.1 distro of LEAF Bering uClibc and have a few 
questions.
I have setup my router to have a wireless AP using Madwifi and Hostapd.  I 
followed the instructions listed here:
http://leaf.sourceforge.net/doc/bucu-ap.html
 
Problem #1
I notice that I am only connecting at the "b" rate with my laptop.  I have a 
"g" card for both my AP and my laptop.
If I setup my AP with no encryption though, I can connect at "g" speed.
 
Problem #2
I'm not quite sure how to change to using AES for encryption.  Right now I am 
using TKIP.  I thought in hostapd.conf you would list only ccmp.  
 
wpa_pairwise=CCMPvs
wpa_pairwise=TKIP CCMP
If I do the first example I am unable to connect at all.
 
Here is my configuration-
 
# apkg -linitrd 3.1 Rev 7 uClibc 0.9.28root 3.1 Rev 7 uClibc 0.9.28config 0.6 
Rev 8 uClibc 0.9.28etc 3.1 Rev 7 uClibc 0.9.28modules 2.4.x Rev 5 uClibc 
0.9.28iptables 1.3.5 Rev 3 uClibc 0.9.28dhcpcd 1.3.22pl4-22 Rev 2 uClibc 
0.9.28shorwall 3.4.7 Rev 1 uClibc 0.9.28ulogd 1.24 Rev 5 uClibc 0.9.28dropbear 
0.50 Rev 3 uClibc 0.9.28mhttpd 1.19 Rev 6 uClibc 0.9.28ntpd 4.2.2p3 Rev 1 
uClibc 0.9.28webconf 1.1.3 Rev 3 uClibc 0.9.28libm 0.9.28 Rev 1 uClibc 
0.9.28libssl 0.9.7l Rev 1 uClibc 0.9.28libcrpto 0.9.7l Rev 1 uClibc 
0.9.28hostapd 0.5.7 Rev 1 uClibc 0.9.28configdbmoddb
#less hostapd.conf
interface=ath0driver=madwifilogger_syslog=-1logger_syslog_level=1logger_stdout=-1logger_stdout_level=2debug=2ctrl_interface=/var/run/hostapdssid=testhw_mode=gmacaddr_acl=0auth_algs=3ignore_broadcast_ssid=0wpa=3wpa_psk=my
 key herewpa_key_mgmt=WPA-PSKwpa_pairwise=TKIP 
CCMPeap_server=0eapol_key_index_workaround=0
#dmesg <snipped>
ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)wlan: 
0.8.4.2 (0.9.3)ath_rate_sample: 1.2 (0.9.3)ath_pci: 0.9.4.5 (0.9.3)PCI: Found 
IRQ 7 for device 01:0a.0wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbpswifi0: 11g 
rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 
48Mbps 54Mbpswifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 
54Mbpswifi0: H/W encryption support: WEP AES AES_CCM TKIPwifi0: mac 7.9 phy 4.5 
radio 5.6wifi0: Use hw queue 1 for WME_AC_BE trafficwifi0: Use hw queue 0 for 
WME_AC_BK trafficwifi0: Use hw queue 2 for WME_AC_VI trafficwifi0: Use hw queue 
3 for WME_AC_VO trafficwifi0: Use hw queue 8 for CAB trafficwifi0: Use hw queue 
9 for beaconswifi0: Atheros 5212: mem=0xf4100000, irq=7wlan: mac acl policy 
registered
# tail /etc/network/interfaces#    
# Step 7 (optional): configure Wireless Access Pointauto ath0iface ath0 inet 
static        address 192.168.4.1        netmask 255.255.255.0        broadcast 
192.168.4.255
# tail /etc/modules# Wireless AP (Madwifi) w/ 
WPAath_halwlanwlan_scan_apath_rate_sampleath_pci 
autocreate=apwlan_aclwaln_ccmpwlan_tkipwlan_xauth
 
I'm seeing a lot of this in my daemon logs-
Apr 19 12:05:15  hostapd: ath0: STA 00:16:b6:b6:84:90 WPA: EAPOL-Key timeoutApr 
19 12:05:15  hostapd: ath0: STA 00:16:b6:b6:84:90 WPA: sending 1/4 msg of 4-Way 
HandshakeApr 19 12:05:15  hostapd: ath0: STA 00:16:b6:b6:84:90 IEEE 802.1X: 
unauthorizing portApr 19 12:05:15  hostapd: ath0: STA 00:16:b6:b6:84:90 IEEE 
802.11: deauthenticated due to local deauth requestApr 19 12:05:15  hostapd: 
ath0: STA 00:16:b6:b6:84:90 IEEE 802.11: disassociatedApr 19 12:05:15  hostapd: 
ath0: STA 00:16:b6:b6:84:90 IEEE 802.11: associatedApr 19 12:05:15  hostapd: 
ath0: STA 00:16:b6:b6:84:90 WPA: event 1 notificationApr 19 12:05:15  hostapd: 
ath0: STA 00:16:b6:b6:84:90 WPA: start authenticationApr 19 12:05:15  hostapd: 
ath0: STA 00:16:b6:b6:84:90 IEEE 802.1X: unauthorizing portApr 19 12:05:15  
hostapd: ath0: STA 00:16:b6:b6:84:90 WPA: sending 1/4 msg of 4-Way HandshakeApr 
19 12:05:15  hostapd: ath0: STA 00:16:b6:b6:84:90 WPA: received EAPOL-Key frame 
(2/4 Pairwise)Apr 19 12:05:15  hostapd: ath0: STA
  00:16:b6:b6:84:90 WPA: invalid MIC in msg 2/4 of 4-Way HandshakeApr 19 
12:05:16  hostapd: ath0: STA 00:16:b6:b6:84:90 WPA: EAPOL-Key timeoutApr 19 
12:05:16  hostapd: ath0: STA 00:16:b6:b6:84:90 WPA: sending 1/4 msg of 4-Way 
HandshakeApr 19 12:05:16  hostapd: ath0: STA 00:16:b6:b6:84:90 WPA: received 
EAPOL-Key frame (2/4 Pairwise)Apr 19 12:05:16  hostapd: ath0: STA 
00:16:b6:b6:84:90 WPA: invalid MIC in msg 2/4 of 4-Way HandshakeApr 19 12:05:17 
 hostapd: ath0: STA 00:16:b6:b6:84:90 WPA: EAPOL-Key timeoutApr 19 12:05:17  
hostapd: ath0: STA 00:16:b6:b6:84:90 WPA: sending 1/4 msg of 4-Way HandshakeApr 
19 12:05:17  hostapd: ath0: STA 00:16:b6:b6:84:90 WPA: received EAPOL-Key frame 
(2/4 Pairwise)Apr 19 12:05:17  hostapd: ath0: STA 00:16:b6:b6:84:90 WPA: 
invalid MIC in msg 2/4 of 4-Way Handshake
Any insight you may have is greatly appreciated.  Thanks in advance for your 
help!-Jeremy
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to