Hi François, Thanks for sending the follow-up. That could be helpful to other people who encounter the same problem. And don't hesitate to ask more questions down the line: this is the right place to ask questions about o11s. Have fun with your secure mesh.
Cheers, Javier On Wed, Jan 29, 2014 at 11:54 AM, François Gervais <[email protected] > wrote: > Hi, > > We found the problem. It was a little/big endianness problem. > > It seems that with our cross-compile toolchain __BYTE_ORDER == > __LITTLE_ENDIAN is not true even if the system is little endian. Probably > one of both of these are not defined or not defined correctly. This caused > the wrong function to be used in ieee802_11.h. > > This in turn caused > > frame_control = ieee_order(frame->frame_control); > > to invert bytes. > > That's it. I hope this didn't create too much noise on the mailing list. > > Francois > > > On January 29, 2014 at 9:44 AM François Gervais <[email protected]> > wrote: > > Hi, > > We're trying to create a secure mesh but the meshd-nl80211 tool from > authsae fails to authenticate the nodes. > > With the default debug messages with get the following: > > > NL80211_CMD_NEW_PEER_CANDIDATE(1390949875.361066) > libsae: process_mgmt_frame failed > EAFNOSUPPORT > > We added a little more debug to identify why process_mgmt_frame fails and > we saw that it's because the STYPE from frame_control equals 0. It might > mean something to somebody here. > > > > > Here's what we do on both nodes to start the mesh network: > > # iw dev wlan0 interface add mesh0 type mp > # ifconfig mesh0 up > # meshd-nl80211 -c authsae.conf > > Our configuration is the following: > > Wireless adapter: WN722N/WN821N > Driver: ath9k_htc (backports-3.12-1) > iw: 3.13 > > Our config file: > > /* this is a comment */ > authsae: > { > sae: > { > debug = 65535; > password = "meshpasswd"; > group = [19, 26, 21, 25, 20]; > blacklist = 5; > thresh = 5; > lifetime = 3600; > }; > meshd: > { > meshid = "mesh_test"; > interface = "mesh0"; > band = "11g"; > channel = 1; > htmode = "none"; > mcast-rate = 12; > }; > }; > > Any idea why this fails? > > > > > _______________________________________________ > Devel mailing list > [email protected] > http://lists.open80211s.org/cgi-bin/mailman/listinfo/devel > > -- Javier Cardona cozybit Inc. http://www.cozybit.com
_______________________________________________ Devel mailing list [email protected] http://lists.open80211s.org/cgi-bin/mailman/listinfo/devel
