public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Sven Eckelmann <sven@narfation.org>
To: b.a.t.m.a.n@lists.open-mesh.org
Cc: Xuebing Wang <xbing6@gmail.com>
Subject: Re: [B.A.T.M.A.N.] [batman-adv] Does batman-adv works perfectly?
Date: Thu, 06 Apr 2017 09:10:38 +0200	[thread overview]
Message-ID: <1564983.uhzQdRUYbV@bentobox> (raw)
In-Reply-To: <9309484e-a9c2-0476-3ddf-a2d68a51c58e@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2080 bytes --]

On Donnerstag, 6. April 2017 10:32:29 CEST Xuebing Wang wrote:
> Hi community,
> 
> We have batman-adv working on OpenWRT Chaos Calmer.
> - Atheros ar9331 MIPS platform + built-in ath9k WiFi
> - batman-adv version 2016.1

Please update your batman-adv version. This one is known to have problems
which can cause crashes or memory corruptions.

If you are using the Chaos Calmer packages version 2016.1-3 then you should 
already have some of the fixes (I think all fixes up to 2016.3 or so). But no 
one is updating the Chaos Calmer branch in the openwrt-routing packages feed 
anymore. And I doubt that anyone will do that now because LEDE 17.01 was 
released a while ago.

[...]
> - Wireless interface MTU = 1532, adhoc network encryption "psk2-ccmp"
[..]
> We have batman-adv running on 10+ sites. For each site, there are 10-20 
> nodes in the mesh network.
> 
> batman-adv runs almost perfectly (*almost*). Occasionally (occurrence 
> rate is low), node drops off the batman-adv / adhoc mesh.
> - Sometimes, node can recover (re-joins the mesh network automatically), 
> but not always.

This sounds like problems in the wifi stack/hw. batman-adv is not handling 
adhoc or encryption - it is simply using the links which are provided by your 
wifi stack/hardware.

Your description therefore looks more like you should fix your wifi. I don't 
know why you have low rates but the IBSS problems with enabled encryption 
could be caused by an HW issue. You should check out a workaround to refresh 
the HW key cache [1] when incoming packets cannot be decrypted anymore.

> Any suggestions? Does batman-adv works perfectly in the field (i.e. 
> running for 1 year with 100+ nodes without any issues)?

There are a lot of other components which will fail during that time. For 
example your wifi stack

> What about I use one node as Master, and other nodes ping this Master 
> every 10s (or 30 seconds) (to keep mesh from inactivity)? Does this help?

I have absolutely no idea against what this should help.

Kind regards,
	Sven

[1] https://patchwork.kernel.org/patch/9381651/

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      parent reply	other threads:[~2017-04-06  7:10 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-06  2:32 [B.A.T.M.A.N.] [batman-adv] Does batman-adv works perfectly? Xuebing Wang
2017-04-06  7:04 ` Simon Wunderlich
2017-04-06  7:13   ` Sven Eckelmann
2017-04-06  8:05     ` Xuebing Wang
2017-04-06  9:27       ` Sven Eckelmann
     [not found]     ` <CAG5qQ7hQACaP=vz6jmvWDXoK=Sn0wpE3DrDhJv8Qajnhjbp+Og@mail.gmail.com>
2017-04-18 10:40       ` Simon Wunderlich
2017-04-22  7:12   ` Xuebing Wang
2017-04-22  8:35     ` Simon Wunderlich
2017-04-22 12:49       ` Xuebing Wang
2017-04-26  2:49       ` Xuebing Wang
2017-04-26  7:46         ` Simon Wunderlich
2017-04-06  7:10 ` Sven Eckelmann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1564983.uhzQdRUYbV@bentobox \
    --to=sven@narfation.org \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    --cc=xbing6@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox