Query: can wpa_supplicant set up an ad-hoc network

Soh Kam Yung sohkamyung at gmail.com
Sun Oct 18 23:14:33 EDT 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

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?

Regards,
Kam-Yung
-- 
Soh Kam Yung
my Google Reader Shared links:
(http://www.google.com/reader/shared/16851815156817689753)
my Google Reader Shared SFAS links:
(http://www.google.com/reader/shared/user/16851815156817689753/label/sfas)


More information about the HostAP mailing list