<div dir="ltr"><div>This is possible in current generations of OpenWRT Attitude Adjustment, although I'm not completely sure if the pre-compiled v12.09 binaries support it reliably. It is called IBSS-RSN. You would need to include the package wpad or hostapd + wpa_supplicant. The wpad_mini package as-is doesn't include IBSS-RSN support.<br>
<br></div>Below is an example /etc/config/wireless which I use for adhoc encryption on a UBNT Nano M2. To my knowledge, tho, IBSS-RSN is only possibly with pre-shared keys (i.e. key stored locally on each node's flash), which does bring up security issues. I.e. WPA Enterprise-style distribution encryption management isn't available yet.<br>
<div><br>config wifi-device radio0<br> option type mac80211<br> option channel 5<br> option hwmode 11ng<br> option macaddr DC:XX:XX:XX:XX:XX<br> option htmode HT20<br> list ht_capab SHORT-GI-20<br>
list ht_capab SHORT-GI-40<br> list ht_capab TX-STBC<br> list ht_capab RX-STBC1<br> list ht_capab DSSS_CCK-40<br> option beacon_int 337<br> # REMOVE THIS LINE TO ENABLE WIFI:<br> option disabled 0<br>
<br>config wifi-iface wmesh<br> option network 'mesh'<br> option mode 'adhoc'<br> option device 'radio0'<br> option ssid 'MyMesh'<br> option bssid '02:CA:FF:EE:BA:BE'<br>
option encryption 'psk2+aes'<br> option key 'areallyreallyreallyreallystrongpassword'<br><br></div><div>To take advantage of all the entropy available, I'd recommend using a tool like pwgen to generate a randomized with maximum entropy, and of maximum length (e.g. 63chars).<br>
<br></div><div>802.11s meshing, i.e. layer 2 meshing, will at some point support the authsae encryption agent, i.e. for distributed encryption management that does not depend on pre-shared keys. But, I don't believe it's at a usable state just yet.<br>
</div><div><br><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 3, 2014 at 8:57 AM, Andrea Mannoni <span dir="ltr"><<a href="mailto:andrea.mannoni@email.it" target="_blank">andrea.mannoni@email.it</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px">Hi all,</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">I'm working for the implementation of an ad-hoc network that works, in each repeater, with Openwrt + OLSR.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I discovered that one critical problem in an ad-hoc network is the impossibility to encrypt it.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Did you find a solution at this problem?</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">Thank you for your support.</div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div dir="ltr"><br></div>
</font></span></div>
<br>--<br>
Olsr-users mailing list<br>
<a href="mailto:Olsr-users@lists.olsr.org">Olsr-users@lists.olsr.org</a><br>
<a href="https://lists.olsr.org/mailman/listinfo/olsr-users" target="_blank">https://lists.olsr.org/mailman/listinfo/olsr-users</a><br></blockquote></div><br><br clear="all"><br>-- <br><div>Ben West</div><div><a href="mailto:me@benwest.name" target="_blank">me@benwest.name</a></div>
</div>