Query: can wpa_supplicant set up an ad-hoc network

Soh Kam Yung sohkamyung
Sun Oct 18 20:14:33 PDT 2009

On Sat, Oct 17, 2009 at 12:08 AM, Dan Williams <dcbw at redhat.com> wrote:
> Yes. ?There is no real difference between starting and joining an adhoc
> network. ?Except a scan is done first (usually in the driver) to
> determine whether there is an existing IBSS with that SSID and security
> settings, and if so, that IBSS's BSSID is used.
> Remember, ad-hoc is *ad-hoc*. ?There's no central controller to say who
> can join the network and who cannot. ?The only access restriction is by
> SSID and encryption key.
> Is there some specific reason you are thinking you need to distinguish
> between the operations?
> Dan


It's more of trying to understand how an ad-hoc network works.  Thanks
for the info.

One more question: if the initial scan does not reveal an existing
IBSS and one is created instead by wpa_supplicant, how is the RF
channel selected?  Is this at random or are there specific rules that
determine which channel will be used?

Is there a wpa_supplicant option to configure the channel to be used for a IBSS?

Soh Kam Yung
my Google Reader Shared links:
my Google Reader Shared SFAS links:

More information about the Hostap mailing list