wpa-supplicant for adhoc network with more than 2 nodes?

Ly Hong Ly
Thu Apr 27 07:34:35 PDT 2006


Hi,

I am trying to establish a secured wireless IBSS-network with more than
2 nodes using wpa_supplicant and the configuration below.

/etc/wpa_supplicant.conf

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=2
fast_reauth=1

network={
        ssid="test adhoc"
        mode=1
        proto=WPA
        key_mgmt=WPA-NONE
        pairwise=NONE
        group=TKIP
        psk="secret passphrase"
}


If there are only 2 nodes in the IBSS network, connection could be done
easily and data could be exchanged successfully. 
But trouble occurs for reconnection. Suppose both nodes are already
connected using the configuration above and pings 
could be done successfully. So in order to simulate a lost-connection
I just reboot one station. In this case reconnection takes a very long
time or even it does not work. 
Are there any settings for wpa_supplicant to fix this trouble?
Another problem occurs when using 3 nodes. In this case the third one
won't get the connection to the other already connected nodes.
Does wpa_supplicant support IBSS network with more than 2 nodes using
the configuration above?


WPA-supplicant does not support WPA-PSK in IBSS mode. But Why does it
support with WPA-NONE setting?
What is the differen behaviour between both settings for wpa_supplicant?

BR

Van Hong Ly




More information about the Hostap mailing list