I'm trying to implement a wireless access point using Bering but haven't been able to run it successfully yet. I can see the access point from an external laptop but can't connect to it.
> > > THe /etc/network/interfaces file looks like this: > auto ath0 > iface ath0 inet static > address 192.168.1.254 > netmask 255.255.255.0 > broadcast 192.168.1.255 > wireless-channel 1 > > The output of lsmod |grep ath is the following: > ath_pci 60292 0 > ath_rate_sample 7872 0 [ath_pci] > wlan 129916 1 [wlan_xauth wlan_tkip wlan_ccmp > wlan_acl ath_p] > ath_hal 174288 1 [ath_pci ath_rate_sample] > > When trying to connect to the AP from an external laptop I get the > following error message: firewall# hostapd /etc/hostapd/hostapd.conf Configuration file: /etc/hostapd/hostapd.conf madwifi_set_privacy: enabled=0 BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits) ath0: IEEE 802.11 Fetching hardware channel/rate support not supported. madwifi_sta_deauth: addr=ff:ff:ff:ff:ff:ff reason_code=3 ioctl[IEEE80211_IOCTL_SETMLME]: Invalid argument Could not connect to kernel driver. Mode: IEEE 802.11g Channel: 60 Frequency: 0 MHz madwifi_del_key: addr=00:00:00:00:00:00 key_idx=0 madwifi_del_key: addr=00:00:00:00:00:00 key_idx=1 madwifi_del_key: addr=00:00:00:00:00:00 key_idx=2 madwifi_del_key: addr=00:00:00:00:00:00 key_idx=3 Using interface ath0 with hwaddr 00:80:48:7e:6b:c9 and ssid 'AneeshAP' madwifi_set_ieee8021x: enabled=1 madwifi_configure_wpa: group key cipher=1 madwifi_configure_wpa: pairwise key ciphers=0xa madwifi_configure_wpa: key management algorithms=0x2 madwifi_configure_wpa: rsn capabilities=0x0 madwifi_configure_wpa: enable WPA=0x3 madwifi_set_privacy: enabled=0 madwifi_set_key: alg=TKIP addr=00:00:00:00:00:00 key_idx=1 madwifi_set_privacy: enabled=1 l2_packet_receive - recvfrom: Network is down Wireless event: cmd=0x8c03 len=20 ath0: STA 00:1b:77:02:6c:96 IEEE 802.11: associated New STA ath0: STA 00:1b:77:02:6c:96 WPA: event 1 notification madwifi_del_key: addr=00:1b:77:02:6c:96 key_idx=0 ath0: STA 00:1b:77:02:6c:96 WPA: start authentication madwifi_del_key: addr=00:1b:77:02:6c:96 key_idx=0 madwifi_set_sta_authorized: addr=00:1b:77:02:6c:96 authorized=0 ath0: STA 00:1b:77:02:6c:96 IEEE 802.1X: unauthorizing port ath0: STA 00:1b:77:02:6c:96 WPA: sending 1/4 msg of 4-Way Handshake IEEE 802.1X: 125 bytes from 00:1b:77:02:6c:96 IEEE 802.1X: version=1 type=3 length=121 ath0: STA 00:1b:77:02:6c:96 WPA: received EAPOL-Key frame (2/4 Pairwise) ath0: STA 00:1b:77:02:6c:96 WPA: invalid MIC in msg 2/4 of 4-Way Handshake ath0: STA 00:1b:77:02:6c:96 WPA: EAPOL-Key timeout ath0: STA 00:1b:77:02:6c:96 WPA: sending 1/4 msg of 4-Way Handshake IEEE 802.1X: 125 bytes from 00:1b:77:02:6c:96 IEEE 802.1X: version=1 type=3 length=121 ath0: STA 00:1b:77:02:6c:96 WPA: received EAPOL-Key frame (2/4 Pairwise) ath0: STA 00:1b:77:02:6c:96 WPA: invalid MIC in msg 2/4 of 4-Way Handshake ath0: STA 00:1b:77:02:6c:96 WPA: EAPOL-Key timeout ath0: STA 00:1b:77:02:6c:96 WPA: sending 1/4 msg of 4-Way Handshake IEEE 802.1X: 125 bytes from 00:1b:77:02:6c:96 IEEE 802.1X: version=1 type=3 length=121 ath0: STA 00:1b:77:02:6c:96 WPA: received EAPOL-Key frame (2/4 Pairwise) ath0: STA 00:1b:77:02:6c:96 WPA: invalid MIC in msg 2/4 of 4-Way Handshake ath0: STA 00:1b:77:02:6c:96 WPA: EAPOL-Key timeout ath0: STA 00:1b:77:02:6c:96 WPA: sending 1/4 msg of 4-Way Handshake madwifi_sta_deauth: addr=00:1b:77:02:6c:96 reason_code=2 madwifi_del_key: addr=00:1b:77:02:6c:96 key_idx=0 ioctl[IEEE80211_IOCTL_DELKEY]: Invalid argument madwifi_set_sta_authorized: addr=00:1b:77:02:6c:96 authorized=0 ioctl[IEEE80211_IOCTL_SETMLME]: Invalid argument ath0: STA 00:1b:77:02:6c:96 IEEE 802.1X: unauthorizing port Could not set station 00:1b:77:02:6c:96 flags for kernel driver (errno=22). ath0: STA 00:1b:77:02:6c:96 IEEE 802.11: deauthenticated due to local deauth request Wireless event: cmd=0x8c04 len=20 ath0: STA 00:1b:77:02:6c:96 IEEE 802.11: disassociated >From what I can see, I think there is an error with the WPA key, but I'm not really sure. If anyone can make some sense out of the debug message I'd really appreciate it if you could tell me how I can go ahead from here. Many Thanks > Aneesh > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ------------------------------------------------------------------------ leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/