Hello Felix I replaced mac80211 and hostapd from AA tree by the ones from your git and recompiled a new image. The problem with adhoc and wpa that i described no longer happens and both routers are able to communicate with each other with regardless of which one starts or restarts the network; the wifi interface or reboots.
On 10/19/2013 01:38 PM, Felix Fietkau wrote: > On 2013-10-19 7:30 PM, cmsv wrote: >> I have recently experienced a problem when using wpa encryption on adhoc >> interfaces. >> >> Description: >> When both routers power up at the same time everything works without >> problems and bother can see and communicate with each other on layer 2 >> (batman-adv) and layer 3; however if one reboots or restarts the >> wireless interface; communication is no longer possible and both routers >> stop seeing each other in both layers. >> >> Rebooting both at the same time gets them to work again with each other. >> >> Someone mentioned that this might be caused due to the latest hostpad >> not being pulled. >> >> Any feedback is welcome. >> >> On both routers: >> option encryption 'psk2' >> wpad 20130405-1 >> DISTRIB_REVISION="r38401" >> DISTRIB_CODENAME="attitude_adjustment" >> DISTRIB_TARGET="ar71xx/generic" > Here's a backport of mac80211+hostapd: > http://nbd.name/gitweb.cgi?p=aa-mac80211.git;a=summary > git://nbd.name/aa-mac80211.git > > Please try integrating that into your build tree and see if it fixes the > issue. This problem is solved with the provided solution. There is still something that also changed and maybe is related to part of the described problem above. http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg20204.html mac80211.git also does not output the mac address to the wireless config. > > - Felix > >
0x782BF73E.asc
Description: application/pgp-keys
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel