No subject


Wed Jan 26 21:46:16 EST 2011


1.11 icmp_seq=3D39 Destination Host Unreachable<br>From 172.16.1.11 icmp_se=
q=3D40 Destination Host Unreachable<br><br>I have to restart the hostapd de=
amon after this for the ping to work normally. <br>

<br>Thanks,<br><font color=3D"#888888">Uday.</font><div><div></div><div cla=
ss=3D"h5"><br><br><br><div class=3D"gmail_quote">On Mon, Jun 13, 2011 at 3:=
29 PM, Davide <span dir=3D"ltr">&lt;<a href=3D"mailto:louigi600 at yahoo.it" t=
arget=3D"_blank">louigi600 at yahoo.it</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<table border=3D"0" cellpadding=3D"0" cellspacing=3D"0"><tbody><tr><td styl=
e=3D"font: inherit;" valign=3D"top">Do you have iptables filtering in eithe=
r laptop or AP ?<br><br>--- <b>Lun 13/6/11, Uday Yeddula <i>&lt;<a href=3D"=
mailto:uday.yeddula at gmail.com" target=3D"_blank">uday.yeddula at gmail.com</a>=
&gt;</i></b> ha scritto:<br>

<blockquote style=3D"border-left: 2px solid rgb(16, 16, 255); margin-left: =
5px; padding-left: 5px;"><div><br>Da: Uday Yeddula &lt;<a href=3D"mailto:ud=
ay.yeddula at gmail.com" target=3D"_blank">uday.yeddula at gmail.com</a>&gt;<br>
</div>Oggetto: Re: hostap AP connected but cannot ping<br>A: &quot;Davide&q=
uot; &lt;<a href=3D"mailto:louigi600 at yahoo.it" target=3D"_blank">louigi600@=
yahoo.it</a>&gt;<br>Cc: <a href=3D"mailto:hostap at lists.shmoo.com" target=3D=
"_blank">hostap at lists.shmoo.com</a><br>

Data: Luned=EC 13 giugno 2011, 05:46<div><div></div><div><br><br><div>Hi Da=
vid,<br><br>Thank you for replying. <br><br>Yes, I have assigned ip-address=
 to the wireless interface in AP mode.<br>As I wrote in my previous e-mail,=
 when I ping from my laptop to the device in AP mode, the device responds t=
o the ARP requests and the ICMP echo requests with ARP replies and ICMP ech=
o replies. But, the replies are not received by my laptop.<br>


The &quot;tcpdump&quot; captures on the wireless interface in AP mode, when=
 an ICMP request is sent from my laptop are as below:<br><br>=3D=3D=3D=3D&g=
t; when ARP entry for the wireless interface in AP mode is not present in m=
y laptop,<br>


<i>user at user:~$ sudo tcpdump -i wlan2<br>tcpdump: verbose output suppressed=
, use -v or -vv for full protocol decode<br>listening on wlan2, link-type E=
N10MB (Ethernet), capture size 96 bytes<br>11:17:58.729002 ARP, Request who=
-has 172.16.1.1 tell 172.16.1.11, length 28<br>


11:17:58.729024 ARP, Request who-has 172.16.1.1 tell 172.16.1.11, length 28=
<br>11:17:58.729033 ARP, Reply 172.16.1.1 is-at 00:26:b6:de:f3:9b (oui Unkn=
own), length 28<br><br>=3D=3D=3D=3D=3D&gt; when ARP entry is present on my =
laptop<br>


user at user:~$ sudo tcpdump -i wlan2<br>tcpdump: verbose output suppressed, u=
se -v or -vv for full protocol decode<br>listening on wlan2, link-type EN10=
MB (Ethernet), capture size 96 bytes<br>11:23:53.568172 IP 172.16.1.11 &gt;=
 <a rel=3D"nofollow" href=3D"http://172.16.1.1" target=3D"_blank">172.16.1.=
1</a>: ICMP echo request, id 11220, seq 15, length 64<br>


11:23:53.568222 IP 172.16.1.1 &gt; <a rel=3D"nofollow" href=3D"http://172.1=
6.1.11" target=3D"_blank">172.16.1.11</a>: ICMP echo reply, id 11220, seq 1=
5, length 64<br></i><br>So, suspecting either the packets are lost in air o=
r mishandled by the wireless driver (ath9k + hostapd).<br>


Any thoughts on this?<br><br>Thanks,<br>Uday.<br><br><div>On Sat, Jun 11, 2=
011 at 9:39 AM, Davide <span dir=3D"ltr">&lt;<a rel=3D"nofollow" href=3D"ht=
tp://mc/compose?to=3Dlouigi600@yahoo.it" target=3D"_blank">louigi600 at yahoo.=
it</a>&gt;</span> wrote:<br>

<blockquote style=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(=
204, 204, 204); padding-left: 1ex;">
<table border=3D"0" cellpadding=3D"0" cellspacing=3D"0"><tbody><tr><td styl=
e=3D"font: inherit;" valign=3D"top">Have you given your wireless interface =
in AP mode an ip address ?<br>If you don&#39;t do that you will not be able=
 to ping it.<br>


You could also try bridging lan and wlan in one virtual interface allowing =
bothe to be seen with the same address.<br><br>Regards<br>David<br><br>--- =
<b>Ven 10/6/11, Uday Yeddula <i>&lt;<a rel=3D"nofollow" href=3D"http://mc/c=
ompose?to=3Duday.yeddula at gmail.com" target=3D"_blank">uday.yeddula at gmail.co=
m</a>&gt;</i></b> ha scritto:<br>


<blockquote style=3D"border-left: 2px solid rgb(16, 16, 255); margin-left: =
5px; padding-left: 5px;"><br>Da: Uday Yeddula &lt;<a rel=3D"nofollow" href=
=3D"http://mc/compose?to=3Duday.yeddula@gmail.com" target=3D"_blank">uday.y=
eddula at gmail.com</a>&gt;<br>

Oggetto: hostap AP connected but cannot ping<br>
A: <a rel=3D"nofollow" href=3D"http://mc/compose?to=3Dhostap@lists.shmoo.co=
m" target=3D"_blank">hostap at lists.shmoo.com</a><br>Data: Venerd=EC 10 giugn=
o 2011, 12:50<div><div></div><div><br><br><div>Hi,<br><br>I am trying to co=
nfigure an embedded device as an Access Point. It has Atheros Communication=
s Inc. AR928X Wireless Network Adapter (PCI-Express). I have Ubuntu 9.10 Se=
rver version installed in the box.
 (&quot;2.6.31-14-generic #48-Ubuntu SMP&quot;). Using hostapd deamon with =
ath9k driver for the same.<br>
<br>I have built hostapd using libnl-dev and libssl-dev packages.<br>After =
starting the hostapd with the hostapd.conf (sudo ./hostapd hostapd.conf), t=
ried connecting my laptop to this AP.<br>The connection was successful but =
cannot ping from my laptop to the AP.<i><br>



<br>user at user:~$ sudo hostapd /etc/hostapd/hostapd.conf<br>Configuration fi=
le: /etc/hostapd/hostapd.conf<br>Using interface wlan2 with hwaddr 00:26:b6=
:de:f3:9b and ssid &#39;test&#39;<br>wlan2: STA 00:26:82:c9:d3:30 IEEE 802.=
11: authenticated<br>



wlan2: STA 00:26:82:c9:d3:30 IEEE 802.11: associated (aid 1)<br>wlan2: STA =
00:26:82:c9:d3:30 RADIUS: starting accounting session 4DF1F33A-00000000<br>=
</i><br>On further analysis found that, my laptop sends the ARP request to =
the AP box. The AP box sends the ARP reply (observed using tcpdump on the A=
P box) but my laptop cannot see the ARP reply.<br>



If I restart hostapd deamon at this point, it works fine. (My laptop can pi=
ng the AP).<br>The AP is not stable. my laptop can always connect to it. Bu=
t some times the ping to the AP fails.<br><br>Has any one seen similar issu=
e? Can you help me with the fix for this problem?<br>



I have tried both hostapd-0.6.9 and hostapd-0.7.3 versions and found same p=
roblem on both versions.<br><br>The hostapd.conf used is as follows:<br><br=
>hostapd.conf:<br><br>interface=3Dwlan0<br>driver=3Dnl80211<br>ssid=3Dtest<=
br>



channel=3D11<br>hw_mode=3Dg<br>macaddr_acl=3D0<br>auth_algs=3D0<br>ignore_b=
roadcast_ssid=3D0<br><br>Thanks,<br>Uday.<br>
</div><br></div></div>-----Segue allegato-----<br><br><div>________________=
_______________________________<br>HostAP mailing list<br><a rel=3D"nofollo=
w" href=3D"http://mc/compose?to=3DHostAP@lists.shmoo.com" target=3D"_blank"=
>HostAP at lists.shmoo.com</a><br>


<a rel=3D"nofollow" href=3D"http://lists.shmoo.com/mailman/listinfo/hostap"=
 target=3D"_blank">http://lists.shmoo.com/mailman/listinfo/hostap</a><br></=
div></blockquote></td></tr></tbody></table></blockquote></div><br>
</div></div></div></blockquote></td></tr></tbody></table></blockquote></div=
><br>
</div></div></blockquote></div><br>

--0016e6dbea1ef4a1df04a5cb688c--


More information about the HostAP mailing list