Re: Re: Ad-Hoc network wońt work ?!
Tue Sep 2 06:32:46 PDT 2008
thank you very much for your reply:
I use Kernel Version 2.6.27-rc3 and wpa_supplicant 0.5.10
I have wlan usb stick ASUS WL176G or an GIGABYTE which uses the rt2xx driver which is included in the kernel....
Do you have any idea ?
Thanks a lot
>>> Dan Williams <dcbw at redhat.com> 02.09.2008 15:26 >>>
On Mon, 2008-09-01 at 16:45 +0200, Manuel Sahm wrote:
> I have tried the following:
> # Start wpa_supplicant in the background
> wpa_supplicant -g/var/run/wpa_supplicant-global -B
> # Add a new interface (wlan0, no configuration file, driver=wext, and
> # enable control interface)
> wpa_cli -g/var/run/wpa_supplicant-global interface_add wlan0 ""
> wext /var/run/wpa_supplicant
> # Configure a network using the newly added network interface:
> wpa_cli -iwlan0 add_network
> wpa_cli -iwlan0 set_network 0 ssid '"test"'
> wpa_cli -iwlan0 set_network 0 key_mgmt NONE
> wpa_cli -iwlan0 set_network 0 mode 1
> wpa_cli -iwlan0 ap_scan 2
> wpa_cli -iwlan0 enable_network 0
> # At this point, the new network interface should start trying to
> offer an Ad-Hoc Network,
> but in windows xp(another pc), nothing is seen.
What kernel version? What wireless hardware, and what drivers are being
used? mac80211-based drivers may not successfully create adhoc BSSes
without some patches I posted to the kernel and wpa_supplicant (which
are in 2.6.26 and wpa_supplicant 0.6.4).
> I have valid ip address too.
> If I use iwconfig, all works fine ????
> iwconfig wlan0 essid "test"
> iwconfig wlan0 mode ad-hoc
> Thank you for your help...
> HostAP mailing list
> HostAP at lists.shmoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Hostap