All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Wunderlich <sw@simonwunderlich.de>
To: Xuebing Wang <xbing6@gmail.com>
Cc: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] [batman-adv] Does batman-adv works perfectly?
Date: Sat, 22 Apr 2017 10:35:50 +0200	[thread overview]
Message-ID: <1558277.kIpDkU8F5M@prime> (raw)
In-Reply-To: <e7d58eab-dfaf-bd5f-945e-1ebb1cac90af@gmail.com>

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

Hi Xuebing,

actually, ath9k is the most used hardware platform used with batman-adv, at 
least as far as I'm aware. It is used commercially as well on some hundred 
thousand devices. I would assume that it's very hard (or impossible) to find a 
"perfect" running hardware platform and drivers. On other drivers, you will 
have trouble to even get IBSS/11s mode running.

The question is, how do you handle faults - usually, there are workarounds 
applied which happen automatically like the ones we have referenced in this 
thread. They don't happen very often (i.e. less than once a day), and many of 
them can be fixed quite fast (except for the deaf problem, which may take ~30 
seconds to recover).

However, there are also some problems which happen more often in certain 
environments or on certain hardware (maybe due to bad choices in RF design 
...). There also may be problems in certain driver versions (i.e. 
regressions). And of course, there can be issues which have not yet been 
addressed.

BTW, I've just seen that you use psk2-ccmp. There is a known problem with key 
cache corruption. I'm not sure if it was already solved and merged in Chaos 
Calmer [1]. You may want to try if the problem appears without encryption.

Cheers,
      Simon

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

On Saturday, April 22, 2017 3:12:54 PM CEST Xuebing Wang wrote:
> Hi Simon / Sven,
> 
> Do you know any hardware platform on which batman-adv (or batmand) work
> perfectly and field-proven? Thanks.
> 
> Xuebing Wang
> 
> On 2017年04月06日 15:04, Simon Wunderlich wrote:
> > Hello Xuebing,
> > 
> > it sounds like you have WiFi driver issues. There are some effects like
> > key
> > cache corruption, deafness, and other effects known for the AR93xx series.
> > To confirm, you can try to use IPv6 link local ping (ping6
> > fe80:...%wlan0) to your neighbors. If you can ping but batman can't (e.g.
> > use batctl) it's a batman issue. If both pings don't get through, it's
> > most likely a WiFi driver issue. In this case, a master or something
> > doesn't help. :)
> > 
> > Cheers,
> > 
> >       Simon
> > 
> > On Thursday, April 6, 2017 10:32:29 AM 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
> >> - routing_algos = BATMAN_IV
> >> - Wireless interface MTU = 1532, adhoc network encryption "psk2-ccmp"
> >> - bat0 interface MTU = 1500
> >> 
> >> 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.
> >> 
> >> Any suggestions? Does batman-adv works perfectly in the field (i.e.
> >> running for 1 year with 100+ nodes without any issues)?
> >> 
> >> 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?
> >> 
> >> Thanks.
> >> Xuebing Wang


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

  reply	other threads:[~2017-04-22  8:35 UTC|newest]

Thread overview: 13+ 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-18 10:40         ` Simon Wunderlich
2017-04-22  7:12   ` Xuebing Wang
2017-04-22  8:35     ` Simon Wunderlich [this message]
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

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=1558277.kIpDkU8F5M@prime \
    --to=sw@simonwunderlich.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.