Hi,
I'm having occasional problems with the wifi connection on my
WZR-HP-G300NH. I saw this on 12.09-beta and recently updated to
12.09-beta2 to see if the issue was present there (it is!).
It seems that hostapd is getting blocked performing a sendto. I've seen
it twice today both times it gets stuck in sendto.
root@station:~# strace -p 5007
Process 5007 attached - interrupt to quit
gettimeofday({1353102294, 271166}, NULL) = 0
sendto(9,
"\2\3\0\177\2\23\202\0\20\0\0\0\0\0\0\0s}\204\204q\304Z>\356pA'\202\265\3158"...,
131, 0, {sa_family=AF_PACKET, proto=0x888e, if47, pkttype=PACKET_HOST,
addr(6)={0, d8004dd851f5}, 20
Looking at the hostapd source it looks like it is at
src/drivers/driver_nl80211.c
static int nl80211_send_eapol_data(struct i802_bss *bss,
const u8 *addr, const u8 *data,
size_t data_len)
ret = sendto(bss->drv->eapol_tx_sock, data, data_len, 0,
(struct sockaddr *) &ll, sizeof(ll));
I'm currently running hostapd with strace watching it so hopefully if I
catch the problem again it might give some clues as to the events
leading up to it getting stuck.
Can anyone suggest anything that would be useful to gather to aid in
debugging this problem.
Regards
Richard
P.S. I just did a quick search and found
http://comments.gmane.org/gmane.linux.drivers.hostap/26604
which seems to have similar problems. I'll look into that later.
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel