Hi Aneesh,

I've had the same problem with setting up Leaf as WAP.
You've followed the doc that Martin so generously provided?
It was a huge help for me, but for some reason there was a gap between 
finishing those steps and connecting to my shiny new Soekris.
For me, I think it was a knowledge gap between what is merely routine 
for experts and my decidedly ,uh network-challenged condition.
At any rate, I did figure it out eventually, and you will too- you're 
that close.

One of the things I noticed was hostapd either wasn't running or wasn't 
sourcing that hostapd.conf file I spent so long modifying.
'iwconfig' didn't reflect the changes I'd made in ssid, for example.
'ps' didn't show hostapd running either. You seem to have those bases 
covered.

My next brick-upside-the-head-moment^H^H^H hurdle was the realization 
that the nic in my VAIO would not support WPA, so make sure you're 
compatible on that end.

Sorry to wait so long to post so little on this thread. I'm happy to 
cut-n-paste any logs or confs you might find useful, and again, thanks 
to Martin, and all the whole Leaf crew, past and present

-Ben


[EMAIL PROTECTED] wrote:
> Send leaf-user mailing list submissions to
>       leaf-user@lists.sourceforge.net
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>       https://lists.sourceforge.net/lists/listinfo/leaf-user
> or, via email, send a message with subject or body 'help' to
>       [EMAIL PROTECTED]
> 
> You can reach the person managing the list at
>       [EMAIL PROTECTED]
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of leaf-user digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: WLM 54G (Aneesh Pande)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Thu, 5 Jul 2007 21:21:46 +0200
> From: "Aneesh Pande" <[EMAIL PROTECTED]>
> Subject: Re: [leaf-user] WLM 54G
> To: leaf-user@lists.sourceforge.net
> Message-ID:
>       <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> 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
> 
> 
> End of leaf-user Digest, Vol 14, Issue 2
> ****************************************
> 
> 





-------------------------------------------------------------------------
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/

Reply via email to