<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2900.3157" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>Hello,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I have tried the following:</DIV>
<DIV># Start wpa_supplicant in the background<BR>wpa_supplicant -g/var/run/wpa_supplicant-global -B</DIV>
<DIV>&nbsp;</DIV>
<DIV># Add a new interface (wlan0, no configuration file, driver=wext, and<BR># enable control interface)<BR>wpa_cli -g/var/run/wpa_supplicant-global interface_add wlan0 "" wext /var/run/wpa_supplicant</DIV>
<DIV>&nbsp;</DIV>
<DIV># Configure a network using the newly added network interface:<BR>wpa_cli -iwlan0 add_network<BR>wpa_cli -iwlan0 set_network 0 ssid '"test"'<BR>wpa_cli -iwlan0 set_network 0 key_mgmt NONE</DIV>
<DIV>wpa_cli -iwlan0 set_network 0 mode 1</DIV>
<DIV>wpa_cli -iwlan0 ap_scan 2<BR>wpa_cli -iwlan0 enable_network 0</DIV>
<DIV>&nbsp;</DIV>
<DIV># At this point, the new network interface should start trying to offer an Ad-Hoc Network,</DIV>
<DIV>but in windows xp(another pc), nothing is seen.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I have valid ip address too.</DIV>
<DIV>&nbsp;</DIV>
<DIV>PS:</DIV>
<DIV>If I use iwconfig, all works fine ????</DIV>
<DIV>&nbsp;</DIV>
<DIV>iwconfig wlan0 essid "test"</DIV>
<DIV>iwconfig wlan0 mode ad-hoc</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you for your help...</DIV></BODY></HTML>