Are you sure your computer has an IP address ? You don&#39;t have a second interface (wired interface for example) with the same netmask ? Maybe the ping is not sent on the wireless interface.<br><br><div class="gmail_quote">
2009/8/10 Manuel Sahm <span dir="ltr">&lt;<a href="mailto:Manuel.Sahm@feig.de">Manuel.Sahm@feig.de</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello thanks, I tried the following, then I saw an encrypted Ad-Hoc network on my host PC (win XP) and I try to connect to it. I enter ABCDEFABCD and the &quot;Connection OK&quot; appears.<br>
But I am not able to seind PINGs ?!<br>
(Without encryption all works fine ?)<br>
<br>
Thanks a lot<br>
<br>
This is my new procedure - maybe still anything wrong ?<br>
<div class="im"><br>
<br>
//Delete/Remove network interface<br>
wpa_cli -g /var/run/wpa_supplicant-global interface_remove wlan0<br>
<br>
// (Re)Add a new interface (wlan0, no configuration file, driver=wext, and enable control interface)<br>
wpa_cli -iwlan -g /var/run/wpa_supplicant-global interface_add wlan0 &quot;&quot; wext /var/run/wpa_supplicant<br>
// Ad-Hoc Mode<br>
wpa_cli ap_scan 2<br>
<br>
//Configure a network...<br>
wpa_cli -iwlan0 add_network<br>
<br>
// 64-bit WEP-Key<br>
wpa_cli -iwlan0 set_network 0 wep_key0 ABCDEFABCD<br>
</div><div class="im">wpa_cli -iwlan0 set_network 0 wep_tx_keyidx 0<br>
wpa_cli -iwlan0 set_network 0 key_mgmt NONE<br>
<br>
// Set SSID<br>
wpa_cli -iwlan0 set_network 0 ssid &#39;&quot;linksys&quot;&#39;<br>
<br>
// set the Ad-Hoc network mode<br>
wpa_cli -iwlan0 set_network 0 mode 1<br>
<br>
// set the channel<br>
wpa_cli -iwlan0 set_network 0 frequency 2412<br>
<br>
//Enable Configured WLAN Network<br>
&quot;wpa_cli -iwlan0 enable_network 0<br>
<br>
<br>
</div>&gt;&gt;&gt; Atton Jonathan &lt;<a href="mailto:jonathan.atton@gmail.com">jonathan.atton@gmail.com</a>&gt; 10.08.2009 15:11 &gt;&gt;&gt;<br>
<div><div></div><div class="h5">Your hexadecimal key seems invalid, try with 10 hexadecimal characters.<br>
<br>
2009/8/10 Manuel Sahm &lt;<a href="mailto:Manuel.Sahm@feig.de">Manuel.Sahm@feig.de</a>&gt;<br>
<br>
<br>
Hello I tried the following code to get an encrypted Ad-Hoc Connection to my PC.<br>
<br>
Without WEP Enryption all works fine, but if I swtich encryption on, no encryption is mentioned on my host PC (Windows XP)<br>
<br>
This is what I do: - Any idea what could be wrong ?<br>
<br>
Thanks very very much<br>
<br>
<br>
<br>
//Delete/Remove network interface<br>
wpa_cli -g /var/run/wpa_supplicant-global interface_remove wlan0<br>
<br>
// (Re)Add a new interface (wlan0, no configuration file, driver=wext, and enable control interface)<br>
wpa_cli -iwlan -g /var/run/wpa_supplicant-global interface_add wlan0 &quot;&quot; wext /var/run/wpa_supplicant<br>
// Ad-Hoc Mode<br>
wpa_cli ap_scan 2<br>
<br>
//Configure a network...<br>
wpa_cli -iwlan0 add_network<br>
<br>
// 64-bit WEP-Key<br>
wpa_cli -iwlan0 set_network 0 wep_key0 ABCDEFABCDEFABCD<br>
wpa_cli -iwlan0 set_network 0 wep_tx_keyidx 0<br>
wpa_cli -iwlan0 set_network 0 key_mgmt NONE<br>
<br>
// Set SSID<br>
wpa_cli -iwlan0 set_network 0 ssid &#39;&quot;linksys&quot;&#39;<br>
<br>
// set the Ad-Hoc network mode<br>
wpa_cli -iwlan0 set_network 0 mode 1<br>
<br>
// set the channel<br>
wpa_cli -iwlan0 set_network 0 frequency 2412<br>
<br>
//Enable Configured WLAN Network<br>
&quot;wpa_cli -iwlan0 enable_network 0<br>
<br>
_______________________________________________<br>
HostAP mailing list<br>
<a href="mailto:HostAP@lists.shmoo.com">HostAP@lists.shmoo.com</a><br>
<a href="http://lists.shmoo.com/mailman/listinfo/hostap" target="_blank">http://lists.shmoo.com/mailman/listinfo/hostap</a><br>
<br>
<br>
<br>
<br>
--<br>
Regards.<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Regards.<br>