Bruno Antunes | 29 Aug 13:00 2014
Picon

Possible regression? Adhoc Mode broken & kernel oops with batman-adv.

Using OpenWrt trunk r42000 on 2 different boards (gw2388-4 & router
station pro) causes kernel oops when restarting the network or wifi.

The setting that causes the oops is connecting in adhoc mode to a
batman-adv mesh network.

As comparison WDS mode works fine for the same boards.

Also Adhoc mode using wpa_supplicant appears to be broken.
With wpa2 security only allows connections at 54 Mbps, removing
security allows for 802.11n rates.

Don't know if the 2 issues are related or not.

Below the kernel oops from the router station.

Regards,
Bruno

root <at> RSPro1:/# wifi
root <at> RSPro1:/# [  182.040000] batman_adv: bat0: Interface deactivated: adhoc0
[  182.050000] batman_adv: bat0: Removing interface: adhoc0
[  182.080000] br-mesh: port 2(bat0) entered disabled state
[  182.080000] device bat0 left promiscuous mode
[  182.090000] br-mesh: port 2(bat0) entered disabled state
[  182.100000] CPU 0 Unable to handle kernel paging request at virtual
address 00000020, epc == 87090884, ra == 870963e8
[  182.110000] Oops[#1]:
[  182.110000] CPU: 0 PID: 6 Comm: kworker/u2:0 Not tainted 3.10.49 #2
[  182.110000] Workqueue: bat_events batadv_softif_vlan_get [batman_adv]
(Continue reading)

Ufo | 27 Aug 15:14 2014
Picon

new alfred packet type *3* for solar tracer charging units

at Solarfestival in Germany we were reverse engineering some solar
tracer charge controllers. so they were part of the local wifi mesh
https://twitter.com/rundfreifunk/status/502788487549288448
https://twitter.com/rundfreifunk/status/503888938973802496
https://twitter.com/rundfreifunk/status/503942726292103168

best way for distributing the detailed data (about local sun impact..)
was alfred. we used nr. 160 but now simon choosed nr. 3 for that.

https://twitter.com/rundfreifunk/status/503548243452899328

so, plug your solar systems into your mesh-nodes!

https://twitter.com/rundfreifunk/status/503875891735560192
https://twitter.com/rundfreifunk/status/504575102965792768

greetings, ufo

p.s.

code: https://gitorious.org/tracertools/pages/Home

p.p.s.

anyone with CRC expierence?? please! we need help with that dump CRC,
please have a look if there is a new idea about used crc

http://pad.freifunk.net/p/solartracer

--

-- 
(Continue reading)

Simon Wunderlich | 25 Aug 19:41 2014
Picon

[PATCH] alfred: support for changing interfaces

From: Simon Wunderlich <simon@...>

This patch adds support for changing the interface alfreds listens to on
the fly without restarting alfred.

Signed-off-by: Simon Wunderlich <simon@...>
---
 alfred.h     |  2 ++
 client.c     | 54 +++++++++++++++++++++++++++++++++++++++++++++++++
 main.c       | 66 +++++++++++++++++++++++++++++++++++-------------------------
 man/alfred.8 |  3 +++
 packet.h     | 17 ++++++++++++++++
 unix_sock.c  | 38 ++++++++++++++++++++++++++++++++++
 vis/vis.c    |  2 +-
 7 files changed, 154 insertions(+), 28 deletions(-)

diff --git a/alfred.h b/alfred.h
index 35ac4dd..f0989ea 100644
--- a/alfred.h
+++ b/alfred.h
 <at>  <at>  -86,6 +86,7  <at>  <at>  enum clientmode {
 	CLIENT_REQUEST_DATA,
 	CLIENT_SET_DATA,
 	CLIENT_MODESWITCH,
+	CLIENT_CHANGE_INTERFACE,
 };

 struct globals {
 <at>  <at>  -125,6 +126,7  <at>  <at>  int set_best_server(struct globals *globals);
 int alfred_client_request_data(struct globals *globals);
(Continue reading)

Linus Lüssing | 21 Aug 21:48 2014
Picon

[PATCHv3 1/2] batctl: adding multicast debug level

This patch adds the multicast debug level to check for own
multicast flag changes for instance.

Signed-off-by: Linus Lüssing <linus.luessing@...>
---

Changes in v3:
* none

Changes in v2:
* added a sentence about 'mcast' log level to manpage

 README       |    1 +
 man/batctl.8 |    6 +++---
 sys.c        |    5 +++++
 3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/README b/README
index b5fd259..c5e3575 100644
--- a/README
+++ b/README
 <at>  <at>  -389,6 +389,7  <at>  <at>  $  batctl loglevel
 [ ] messages related to bridge loop avoidance (bla)
 [ ] messages related to arp snooping and distributed arp table (dat)
 [ ] messages related to network coding (nc)
+[ ] messages related to multicast (mcast)

 batctl nc_nodes
 ===============
diff --git a/man/batctl.8 b/man/batctl.8
(Continue reading)

liu | 21 Aug 09:20 2014

How to test the non-mesh client roaming feature?

Hello, everyone. I want to test the non-mesh client roaming feature. And 
I have connected my notebook to the mesh node A via the access point on 
node A. What should I do next? When the notebook move to the mesh node 
B, should I connect it to the access point on node B manually?How to 
make the non-mesh client move to another mesh node automatically? Thanks.

Best regards
liu

Antonio Quartulli | 20 Aug 17:04 2014

[PATCHv4] batctl: tcpdump - parse TVLV containers

From: Antonio Quartulli <antonio@...>

OGMs and unicast TVLV packets carry TVLV containers as
payload.
With this patch such containers are now parsed and the
relevant information is printed to screen.

Signed-off-by: Antonio Quartulli <antonio@...>
---

changes since v3:
- undo unneeded style change in tcpdump.c
- remove unneeded sentence about style change sin commit message

changes since v2:
- extended doc in README and manpage

changes since v1:
- remove all the style changes
- make tvlv_len of type ssize_t in dump_batman_iv_ogm()

 README       |   1 +
 main.h       |   7 +++
 man/batctl.8 |   3 ++
 tcpdump.c    | 169 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 tcpdump.h    |   1 +
 5 files changed, 177 insertions(+), 4 deletions(-)

diff --git a/README b/README
index b5fd259..f87c551 100644
(Continue reading)

Antonio Quartulli | 20 Aug 16:47 2014

[PATCHv3] batctl: tcpdump - parse TVLV containers

From: Antonio Quartulli <antonio@...>

OGMs and unicast TVLV packets carry TVLV containers as
payload.
With this patch such containers are now parsed and the
relevant information is printed to screen.

Moreover, the parts of code that have been touched by this
patch have also been re-arranged a bit from the style point
of view.

Signed-off-by: Antonio Quartulli <antonio@...>
---

changes since v2:
- extended doc in README and manpage

changes since v1:
- remove all the style changes
- make tvlv_len of type ssize_t in dump_batman_iv_ogm()

 README       |   1 +
 main.h       |   7 +++
 man/batctl.8 |   3 ++
 tcpdump.c    | 170 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 tcpdump.h    |   1 +
 5 files changed, 177 insertions(+), 5 deletions(-)

diff --git a/README b/README
index b5fd259..f87c551 100644
(Continue reading)

Simon Wunderlich | 19 Aug 15:42 2014
Picon

[PATCH] batman-adv: add detection for complex bridge loops

From: Simon Wunderlich <simon@...>

There are network setups where the current bridge loop avoidance can't
detect bridge loops. The minimal setup affected would consist of two
LANs and two separate meshes, connected in a ring like that:

   A...(mesh1)...B
   |             |
 (LAN1)        (LAN2)
   |             |
   C...(mesh2)...D

Since both the meshes and backbones are separate, the bridge loop
avoidance has not enough information to detect and avoid the loop
in this case. Even if these scenarios can't be fixed easily,
these kind of loops can be detected.

This patch implements a periodic check (running every 60 seconds for
now) which sends a broadcast frame with a random MAC address on
each backbone VLAN. If a broadcast frame with the same MAC address
is received shortly after on the mesh, we know that there must be a
loop and report that incident as well as throw an uevent to let others
handle that problem.

Signed-off-by: Simon Wunderlich <simon@...>
---
 bridge_loop_avoidance.c | 138 ++++++++++++++++++++++++++++++++++++++++++++++++
 main.h                  |   4 ++
 packet.h                |   1 +
 sysfs.c                 |   6 ++-
(Continue reading)

Sven Eckelmann | 15 Aug 13:38 2014

[PATCH] list: fix order of arguments for hlist_add_after(_rcu)

From: Ken Helias <kenhelias@...>

All other add functions for lists have the new item as first argument
and the position where it is added as second argument.  This was changed
for no good reason in this function and makes using it unnecessary
confusing.

The name was changed to hlist_add_behind() to cause unconverted code to
generate a compile error instead of using the wrong parameter order.

[akpm@...: coding-style fixes]
Signed-off-by: Ken Helias <kenhelias@...>
Cc: "Paul E. McKenney" <paulmck@...>
Acked-by: Jeff Kirsher <jeffrey.t.kirsher@...>	[intel
driver bits]
Cc: Hugh Dickins <hughd@...>
Cc: Christoph Hellwig <hch@...>
Signed-off-by: Andrew Morton <akpm@...>
Signed-off-by: Linus Torvalds <torvalds@...>
[sven@...: fix parameter order, add compat code]
Signed-off-by: Sven Eckelmann <sven@...>
---
The patch to fix the order of arguments was already submitted to davem via
http://article.gmane.org/gmane.linux.network/326598

 compat.h        | 6 ++++++
 fragmentation.c | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/compat.h b/compat.h
(Continue reading)

Linus Lüssing | 15 Aug 05:29 2014
Picon

[PATCHv8 0/3] Multicast optimizations for bridges

This patchset enables the usage of the batman-adv multicast optimizations
for scenarios involving bridges on top of e.g. bat0, too.

Along come two more patches adding according debugging facilities
to make it possible for the user to check why the multicast
optimizations might not work ideally to give hints about
what they might change about their topology.

Cheers, Linus

Changes in v8 (thanks to Simon's suggestions):
- PATCH 2/3:
* print shadowing status log of an appearing and shadowing querier, too
  (the bridge-querier-existence call has an additional 10s delay
   to ensure reports had their time to arrive -
   the bridge-querier-port call doesn't have that)
- PATCH 3/3:
* changing debugfs output from "+" and "-" to "U/4/6" and "."
* fixing "no querier present" logic (introduced in [PATCHv7 3/3])

Changes in v7 (thanks to Simon's suggestions):
- PATCH 2/3:
* renaming old/new_querier to old/new_state
* slightly extended kerneldoc of batadv_mcast_querier_log()
* removing words "good" and "bad" from debug output
* simplified batadv_mcast_flags_log()
* assignment instead of memset in batadv_mcast_mla_tvlv_update()
  and batadv_softif_init_late()
* simple struct member assignments instead of one complex struct
  assigment
(Continue reading)

liu | 14 Aug 08:55 2014

how to compile the latest version of batctl in OpenWrt 12.09

Hello, I try to test the latest version of batman-adv in OpenWrt 12.09. 
I failed to compile 'batctl' because of the old version of 'libnl' in 
OpenWrt.The version '2014.3' and the development version of 'batctl' 
require 'libnl-3.0', but OpenWrt 12.09 only contain the 'libnl-2.0.1'. 
That's the problem. How to fix this? Anyone have built it in OpenWrt 
12.09 yet?

Thanks.

Best regards

liu


Gmane