Create a new network
Atton Jonathan
jonathan.atton
Sat Aug 8 08:37:38 PDT 2009
I have read than IBSS+WPA does'nt really exists and can not work. Maybe this
is why it does'nt works for me, a problem with my driver ?
Sometimes when I tested IBSS+WPA my comptuer had frozen, so maybe the driver
do'esnt support it.
2009/8/8 Atton Jonathan <jonathan.atton at gmail.com>
> After some more tests I have found something strange.
>
> If the first computer use the WEP configuration it works.
>
> When I use the WPA configuration it dooes'nt works :
>
> 0 ADD_NETWORK
> 0 SET_NETWORK 3 ssid "test24"
> 0 SET_NETWORK 3 proto WPA
> 0 SET_NETWORK 3 key_mgmt WPA-NONE
> 0 SET_NETWORK 3 pairwise NONE
> 0 SET_NETWORK 3 group TKIP
> 0 SET_NETWORK 3 psk "aaaaaaaaaa"
> 0 SET_NETWORK 3 mode 1
> 0 AP_SCAN 2
> 0 SELECT_NETWORK 3
> 0 REASSOCIATE
> 0 RECONNECT
>
> > STATUS
> bssid=be:1f:c5:58:68:07
> ssid=test24
> id=3
> pairwise_cipher=NONE
> group_cipher=TKIP
> key_mgmt=UNKNOWN (what ??)
> wpa_state=COMPLETED
> ip_address=192.168.0.1
>
>
> the second computer detect: [WEP][IBSS]
>
> It seems WPA-NONE doesn't works.
>
>
>
> 2009/8/8 Atton Jonathan <jonathan.atton at gmail.com>
>
> Thank you for your help, I didn't know "IBSS".
>>
>> I have followed these instructions from the documentation :
>>
>> >* > # Note: IBSS can only be used with key_mgmt NONE (plaintext and static WEP)
>> *>* > # and key_mgmt=WPA-NONE (fixed group key TKIP/CCMP). In addition, ap_scan has
>> *>* > # to be set to 2 for IBSS. WPA-None requires following network block options:
>> *>* > # proto=WPA, key_mgmt=WPA-NONE, pairwise=NONE, group=TKIP (or CCMP, but not
>>
>>
>>
>> *>* > # both), and psk must also be set.
>> *
>>
>> I can create, detect and connect my 2 computers with : key_mgmt NONE and
>> WPA-NONE.
>>
>> It seems than the network can be protected by a key when we use WPA-NONE,
>> we can't create an ad-hoc network with a classic WPA configuration ?
>>
>>
>> 2009/8/6 Pujeri, Prabhakar <c_ppujer at qualcomm.com>
>>
>>> I guess its wifi network and both are stations in your two computers
>>>
>>>
>>>
>>> Then you can connect through IBSS Ad hoc mode
>>>
>>>
>>>
>>>
>>>
>>> If its IBSS then try this
>>>
>>> Please try to use the following wpa_supplicant configuaration to check if
>>> association is o.k.
>>>
>>>
>>>
>>> Here is several sample of configuration file for wpa_supplicant.conf.
>>>
>>>
>>>
>>> 1. Set the WPA supplicant in IBSS mode and WPA supplicant scan the peer
>>> IBSS station.
>>>
>>> ctrl_interface=/var/run/wpa_supplicant
>>>
>>> update_config=1
>>>
>>>
>>>
>>> network={
>>>
>>> ssid="ibss"
>>>
>>> proto=WPA
>>>
>>> key_mgmt=NONE
>>>
>>> mode=1
>>>
>>> }
>>>
>>>
>>>
>>> 2. Set the WPA supplicant in IBSS mode and wireless driver scan the peer
>>> IBSS station.
>>>
>>> ctrl_interface=/var/run/wpa_supplicant
>>>
>>> update_config=1
>>>
>>> ap_scan=2
>>>
>>>
>>>
>>> network={
>>>
>>> ssid="ibss"
>>>
>>> proto=WPA
>>>
>>> key_mgmt=NONE
>>>
>>> mode=1
>>>
>>> }
>>>
>>>
>>>
>>> 3. Set the WPA supplicant in IBSS mode, WPA supplicant scan the peer
>>> IBSS station and set the IBSS channehl to 1.
>>>
>>> ctrl_interface=/var/run/wpa_supplicant
>>>
>>> update_config=1
>>>
>>>
>>>
>>> network={
>>>
>>> ssid="ibss"
>>>
>>> proto=WPA
>>>
>>> key_mgmt=NONE
>>>
>>> mode=1
>>>
>>> frequency=2412
>>>
>>> }
>>>
>>>
>>>
>>> *From:* Atton Jonathan [mailto:jonathan.atton at gmail.com]
>>> *Sent:* Thursday, August 06, 2009 9:57 AM
>>> *To:* Pujeri, Prabhakar
>>> *Cc:* hostap at lists.shmoo.com
>>> *Subject:* Re: Create a new network
>>>
>>>
>>>
>>> hum i m not sure you understand what I try to do.
>>>
>>> I only have 2 computers and I want link them with a wireless WPA network.
>>> I need to create the network on my first computer, the second computer is
>>> supposed to detect the network. But I don't know how to create a new
>>> network, when I use a classic wpa_supplicant conf, the daemon try to connect
>>> to the network but the network does'nt exists as I try to create it.
>>>
>>> Can we create a new network with wpa_supplicant ? As a router does.
>>>
>>> 2009/8/6 Pujeri, Prabhakar <c_ppujer at qualcomm.com>
>>>
>>> First check whether network is available or not by this command
>>>
>>> Iwlist wlan0 scan
>>>
>>>
>>>
>>> If wlan0 is ur wireless interface
>>>
>>>
>>>
>>> If it?s available then send me scan result and wpa_supplicant
>>> configuration to me
>>>
>>>
>>>
>>> prabhakar
>>>
>>>
>>>
>>>
>>>
>>> *From:* hostap-bounces at lists.shmoo.com [mailto:
>>> hostap-bounces at lists.shmoo.com] *On Behalf Of *Atton Jonathan
>>> *Sent:* Thursday, August 06, 2009 9:09 AM
>>> *To:* hostap at lists.shmoo.com
>>> *Subject:* Re: Create a new network
>>>
>>>
>>>
>>> Anybody can help me ?
>>>
>>> 2009/8/3 Atton Jonathan <jonathan.atton at gmail.com>
>>>
>>> Hello,
>>>
>>> I try to create a new network with wpa_supplicant (wp2 personnal). My
>>> first computer is supposed to create the wireless network and my second
>>> computer have to detect this network.
>>> Currently I have a configuration for the first computer but the network
>>> is not created, wpa_supplicant try to connect to the network but it can't as
>>> the network doesn't exists :/
>>>
>>> A special option is necessary to do this ?
>>>
>>> --
>>> Regards.
>>>
>>>
>>>
>>>
>>> --
>>> Regards.
>>>
>>>
>>>
>>>
>>> --
>>> Regards.
>>>
>>
>>
>>
>> --
>> Regards.
>>
>
>
>
> --
> Regards.
>
--
Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20090808/a53ddad1/attachment.htm
More information about the Hostap
mailing list