All of lore.kernel.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] batman-adv vis_data
@ 2011-04-19  7:39 Gioacchino Mazzurco
  2011-04-19  7:46 ` Gioacchino Mazzurco
  0 siblings, 1 reply; 8+ messages in thread
From: Gioacchino Mazzurco @ 2011-04-19  7:39 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

Hi!

In Pisa we are switching to batman-adv for our mesh, we use the
version packaged in openwrt.

But it seems that the output of vd is not conform to specification in
this page  http://www.open-mesh.org/wiki/batman-adv/VisAdv

especially the box representing a node is painted only for the node
where you call 'batctl vd dot'

here you can see what is happening
http://eigenlab.org/batman-adv_status.php to simplify visualization i
am generating it with 'batctl vd dot -H'

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [B.A.T.M.A.N.] batman-adv vis_data
  2011-04-19  7:39 [B.A.T.M.A.N.] batman-adv vis_data Gioacchino Mazzurco
@ 2011-04-19  7:46 ` Gioacchino Mazzurco
  2011-04-19 13:29   ` Linus Lüssing
  0 siblings, 1 reply; 8+ messages in thread
From: Gioacchino Mazzurco @ 2011-04-19  7:46 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

moreover the two node have two interfaces used by batman-adv but only
one is displayed!

2011/4/19 Gioacchino Mazzurco <gmazzurco89@gmail.com>:
> Hi!
>
> In Pisa we are switching to batman-adv for our mesh, we use the
> version packaged in openwrt.
>
> But it seems that the output of vd is not conform to specification in
> this page  http://www.open-mesh.org/wiki/batman-adv/VisAdv
>
> especially the box representing a node is painted only for the node
> where you call 'batctl vd dot'
>
> here you can see what is happening
> http://eigenlab.org/batman-adv_status.php to simplify visualization i
> am generating it with 'batctl vd dot -H'
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [B.A.T.M.A.N.] batman-adv vis_data
  2011-04-19  7:46 ` Gioacchino Mazzurco
@ 2011-04-19 13:29   ` Linus Lüssing
  2011-04-19 17:44     ` Gioacchino Mazzurco
  0 siblings, 1 reply; 8+ messages in thread
From: Linus Lüssing @ 2011-04-19 13:29 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

On Tue, Apr 19, 2011 at 09:46:10AM +0200, Gioacchino Mazzurco wrote:
> moreover the two node have two interfaces used by batman-adv but only
> one is displayed!
> 
> 2011/4/19 Gioacchino Mazzurco <gmazzurco89@gmail.com>:
> > Hi!
> >
> > In Pisa we are switching to batman-adv for our mesh, we use the
> > version packaged in openwrt.
> >
> > But it seems that the output of vd is not conform to specification in
> > this page  http://www.open-mesh.org/wiki/batman-adv/VisAdv
> >
> > especially the box representing a node is painted only for the node
> > where you call 'batctl vd dot'
> >
> > here you can see what is happening
> > http://eigenlab.org/batman-adv_status.php to simplify visualization i
> > am generating it with 'batctl vd dot -H'
> >
> 

Hi Gioacchino,

As far as I know the format for the batman-adv vis output has not
been changed on purpose and the wiki page should reflect the current
specification. So you might possibly have found a bug.

So guessing from the link, you are testing this with two nodes
(with two interfaces as you said) with perfect link qualities and
the issue already comes up, correct?

It would be great if you could provide the following additional
data from this two node setup:
- The raw vis output from /sys/kernel/debug/batman_adv/bat0/vis_data
- The originator table of the two nodes from
  /sys/kernel/debug/batman_adv/bat0/originators

Cheers, Linus

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [B.A.T.M.A.N.] batman-adv vis_data
  2011-04-19 13:29   ` Linus Lüssing
@ 2011-04-19 17:44     ` Gioacchino Mazzurco
  2011-04-20 22:45       ` Gioacchino Mazzurco
  0 siblings, 1 reply; 8+ messages in thread
From: Gioacchino Mazzurco @ 2011-04-19 17:44 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

ok the node number now is increased but we have the same bug :|

>- The raw vis output from /sys/kernel/debug/batman_adv/bat0/vis_data

root@OpenWrt:~# cat /sys/kernel/debug/batman_adv/bat0/vis_data
06:15:6d:fc:71:ce,TQ 00:15:6d:7a:97:45 80, TQ 00:15:6d:7c:09:9e 236,
00:15:6d:7a:97:33,TQ 00:15:6d:7a:97:45 172, TQ 00:15:6d:fc:72:0b 172,
TQ 06:15:6d:fc:71:f6 158, HNA 0a:ee:bf:7f:e8:fd, PRIMARY,
00:15:6d:7a:97:45,TQ 00:15:6d:7a:97:33 92, TQ 00:15:6d:72:48:0d 99, TQ
00:15:6d:7c:09:9e 153, HNA f2:f8:44:0f:93:65, HNA 00:15:6d:7b:97:45,
PRIMARY,
00:15:6d:fc:72:0b,TQ 00:15:6d:7a:97:33 74,
00:15:6d:7a:97:08,TQ 06:15:6d:fc:71:f6 145, TQ 00:15:6d:7c:09:e8 207,
HNA 00:18:84:1d:fc:78, HNA 1c:65:9d:cc:5a:7e, HNA 12:da:53:a1:68:55,
HNA 00:15:6d:7b:97:08, PRIMARY,
00:15:6d:72:48:0d,TQ 00:15:6d:7a:97:45 108,
06:15:6d:fc:71:f6,TQ 00:15:6d:7a:97:33 172, TQ 00:15:6d:7a:97:08 193,
00:15:6d:7c:09:e8,TQ 00:15:6d:7a:97:08 100,
00:15:6d:7c:09:9e,TQ 06:15:6d:fc:71:ce 245, HNA 78:e4:00:83:91:f4, HNA
00:14:0b:04:32:d1, HNA 00:0c:6e:34:5a:c9, HNA 00:50:fc:f0:62:f6, HNA
00:18:84:1e:94:dd, HNA 00:1d:92:db:de:de, HNA 00:1d:92:db:de:ba, HNA
00:26:9e:13:36:d4, HNA 00:1d:7e:a1:da:5c, HNA 00:16:d3:9a:38:13, HNA
08:10:74:a2:74:68, HNA 90:27:e4:a2:86:3a, HNA 00:0c:46:db:d2:bf, HNA
00:20:1a:22:ee:8f, HNA 1c:4b:d6:b7:58:8f, HNA 00:26:5e:21:6f:73, HNA
00:1e:8c:1c:d4:89, HNA 00:15:6d:73:48:0d, HNA 00:1d:92:db:df:70, HNA
00:30:84:1d:55:27, HNA c4:17:fe:c1:dd:a8, HNA 00:1a:4b:76:72:64, HNA
58:b0:35:fd:65:b4, HNA 00:e0:4c:39:2b:0a, HNA 00:0c:46:b8:cc:2c, HNA
00:0a:5e:65:71:ff, HNA 00:1d:92:db:df:8a, HNA 00:1d:92:db:de:91, HNA
16:be:18:57:d3:24, HNA 1c:4b:d6:5c:05:f2, HNA 00:50:fc:cd:fa:c1, HNA
00:15:6d:7d:09:9e, PRIMARY,

- The originator table of the two nodes from
/sys/kernel/debug/batman_adv/bat0/originators

mmm for all nodes now is quite complex :| here is the one from the
node I use to get vis data

root@OpenWrt:~# cat /sys/kernel/debug/batman_adv/bat0/originators
[B.A.T.M.A.N. adv 2011.0.0, MainIF/MAC: wlan0/00:15:6d:7c:09:9e (bat0)]
  Originator      last-seen (#/255)           Nexthop [outgoingIF]:
Potential nexthops ...
00:15:6d:7a:97:45    0.710s   ( 84) 06:15:6d:fc:71:ce [     wlan0]:
00:15:6d:7a:97:45 ( 69) 06:15:6d:fc:71:ce ( 84)
00:15:6d:7d:09:e8    1.450s   ( 11) 06:15:6d:fc:71:ce [     wlan0]:
00:15:6d:7a:97:45 (  9) 06:15:6d:fc:71:ce ( 11)
00:15:6d:fc:72:0b    2.790s   ( 15) 00:15:6d:7a:97:45 [     wlan0]:
00:15:6d:7a:97:45 ( 15)
06:15:6d:fc:71:ce    0.240s   (245) 06:15:6d:fc:71:ce [     wlan0]:
06:15:6d:fc:71:ce (245) 00:15:6d:7a:97:45 ( 41)
00:15:6d:73:48:0d    0.310s   ( 49) 06:15:6d:fc:71:ce [     wlan0]:
00:15:6d:7a:97:45 ( 38) 06:15:6d:fc:71:ce ( 49)
06:15:6d:fc:71:f6    0.410s   ( 18) 00:15:6d:7a:97:45 [     wlan0]:
00:15:6d:7a:97:45 ( 18)
00:15:6d:fd:71:f6    0.260s   ( 24) 06:15:6d:fc:71:ce [     wlan0]:
00:15:6d:7a:97:45 ( 19) 06:15:6d:fc:71:ce ( 24)
00:15:6d:fd:71:ce    0.310s   (245) 06:15:6d:fc:71:ce [     wlan0]:
06:15:6d:fc:71:ce (245)
00:15:6d:7a:97:33    1.330s   ( 35) 06:15:6d:fc:71:ce [     wlan0]:
00:15:6d:7a:97:33 (  0) 00:15:6d:7a:97:45 ( 29) 06:15:6d:fc:71:ce (
35)
00:15:6d:72:48:0d    0.080s   ( 45) 06:15:6d:fc:71:ce [     wlan0]:
00:15:6d:72:48:0d (  0) 00:15:6d:7a:97:45 ( 37) 06:15:6d:fc:71:ce (
45)
00:15:6d:fd:72:0b    1.330s   ( 19) 06:15:6d:fc:71:ce [     wlan0]:
00:15:6d:7a:97:45 ( 14) 06:15:6d:fc:71:ce ( 19)
00:15:6d:7a:97:08    0.970s   ( 14) 06:15:6d:fc:71:ce [     wlan0]:
00:15:6d:7a:97:45 ( 11) 06:15:6d:fc:71:ce ( 14)


root@OpenWrt:~# batctl o
[B.A.T.M.A.N. adv 2011.0.0, MainIF/MAC: wlan0/00:15:6d:7c:09:9e (bat0)]
  Originator      last-seen (#/255)           Nexthop [outgoingIF]:
Potential nexthops ...
00:15:6d:7a:97:45    0.270s   (120) 06:15:6d:fc:71:ce [     wlan0]:
00:15:6d:7a:97:45 (102) 06:15:6d:fc:71:ce (120)
00:15:6d:7d:09:e8    6.960s   ( 19) 00:15:6d:7a:97:45 [     wlan0]:
00:15:6d:7a:97:45 ( 19) 06:15:6d:fc:71:ce ( 18)
00:15:6d:fc:72:0b    6.690s   ( 38) 00:15:6d:7a:97:45 [     wlan0]:
00:15:6d:7a:97:45 ( 38)
06:15:6d:fc:71:ce    0.130s   (255) 06:15:6d:fc:71:ce [     wlan0]:
06:15:6d:fc:71:ce (255) 00:15:6d:7a:97:45 ( 82)
06:15:6d:fc:71:f6    0.400s   ( 45) 00:15:6d:7a:97:45 [     wlan0]:
00:15:6d:7a:97:45 ( 45)
00:15:6d:fd:71:f6    0.370s   ( 41) 06:15:6d:fc:71:ce [     wlan0]:
00:15:6d:7a:97:45 ( 38) 06:15:6d:fc:71:ce ( 41)
00:15:6d:fd:71:ce    0.370s   (255) 06:15:6d:fc:71:ce [     wlan0]:
06:15:6d:fc:71:ce (255)
00:15:6d:7a:97:33    0.890s   ( 84) 06:15:6d:fc:71:ce [     wlan0]:
00:15:6d:7a:97:33 (  0) 00:15:6d:7a:97:45 ( 74) 06:15:6d:fc:71:ce (
84)
00:15:6d:fd:72:0b    1.160s   ( 61) 06:15:6d:fc:71:ce [     wlan0]:
00:15:6d:7a:97:45 ( 56) 06:15:6d:fc:71:ce ( 61)
00:15:6d:7a:97:08    1.560s   ( 31) 06:15:6d:fc:71:ce [     wlan0]:
00:15:6d:7a:97:45 ( 28) 06:15:6d:fc:71:ce ( 31)



2011/4/19 Linus Lüssing <linus.luessing@web.de>:
> On Tue, Apr 19, 2011 at 09:46:10AM +0200, Gioacchino Mazzurco wrote:
>> moreover the two node have two interfaces used by batman-adv but only
>> one is displayed!
>>
>> 2011/4/19 Gioacchino Mazzurco <gmazzurco89@gmail.com>:
>> > Hi!
>> >
>> > In Pisa we are switching to batman-adv for our mesh, we use the
>> > version packaged in openwrt.
>> >
>> > But it seems that the output of vd is not conform to specification in
>> > this page  http://www.open-mesh.org/wiki/batman-adv/VisAdv
>> >
>> > especially the box representing a node is painted only for the node
>> > where you call 'batctl vd dot'
>> >
>> > here you can see what is happening
>> > http://eigenlab.org/batman-adv_status.php to simplify visualization i
>> > am generating it with 'batctl vd dot -H'
>> >
>>
>
> Hi Gioacchino,
>
> As far as I know the format for the batman-adv vis output has not
> been changed on purpose and the wiki page should reflect the current
> specification. So you might possibly have found a bug.
>
> So guessing from the link, you are testing this with two nodes
> (with two interfaces as you said) with perfect link qualities and
> the issue already comes up, correct?
>
> It would be great if you could provide the following additional
> data from this two node setup:
> - The raw vis output from /sys/kernel/debug/batman_adv/bat0/vis_data
> - The originator table of the two nodes from
>  /sys/kernel/debug/batman_adv/bat0/originators
>
> Cheers, Linus
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [B.A.T.M.A.N.] batman-adv vis_data
  2011-04-19 17:44     ` Gioacchino Mazzurco
@ 2011-04-20 22:45       ` Gioacchino Mazzurco
  2011-04-21 17:43         ` Linus Lüssing
  0 siblings, 1 reply; 8+ messages in thread
From: Gioacchino Mazzurco @ 2011-04-20 22:45 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

Hi!

It seems the problem was a misconfiguration!

The problem was that batman was activated on eth0 but eth0 was already
participating on the bat0 bridge telling batman to use the bridge
instead of eth0 fixed everything :D

2011/4/19 Gioacchino Mazzurco <gmazzurco89@gmail.com>:
> ok the node number now is increased but we have the same bug :|
>
>>- The raw vis output from /sys/kernel/debug/batman_adv/bat0/vis_data
>
> root@OpenWrt:~# cat /sys/kernel/debug/batman_adv/bat0/vis_data
> 06:15:6d:fc:71:ce,TQ 00:15:6d:7a:97:45 80, TQ 00:15:6d:7c:09:9e 236,
> 00:15:6d:7a:97:33,TQ 00:15:6d:7a:97:45 172, TQ 00:15:6d:fc:72:0b 172,
> TQ 06:15:6d:fc:71:f6 158, HNA 0a:ee:bf:7f:e8:fd, PRIMARY,
> 00:15:6d:7a:97:45,TQ 00:15:6d:7a:97:33 92, TQ 00:15:6d:72:48:0d 99, TQ
> 00:15:6d:7c:09:9e 153, HNA f2:f8:44:0f:93:65, HNA 00:15:6d:7b:97:45,
> PRIMARY,
> 00:15:6d:fc:72:0b,TQ 00:15:6d:7a:97:33 74,
> 00:15:6d:7a:97:08,TQ 06:15:6d:fc:71:f6 145, TQ 00:15:6d:7c:09:e8 207,
> HNA 00:18:84:1d:fc:78, HNA 1c:65:9d:cc:5a:7e, HNA 12:da:53:a1:68:55,
> HNA 00:15:6d:7b:97:08, PRIMARY,
> 00:15:6d:72:48:0d,TQ 00:15:6d:7a:97:45 108,
> 06:15:6d:fc:71:f6,TQ 00:15:6d:7a:97:33 172, TQ 00:15:6d:7a:97:08 193,
> 00:15:6d:7c:09:e8,TQ 00:15:6d:7a:97:08 100,
> 00:15:6d:7c:09:9e,TQ 06:15:6d:fc:71:ce 245, HNA 78:e4:00:83:91:f4, HNA
> 00:14:0b:04:32:d1, HNA 00:0c:6e:34:5a:c9, HNA 00:50:fc:f0:62:f6, HNA
> 00:18:84:1e:94:dd, HNA 00:1d:92:db:de:de, HNA 00:1d:92:db:de:ba, HNA
> 00:26:9e:13:36:d4, HNA 00:1d:7e:a1:da:5c, HNA 00:16:d3:9a:38:13, HNA
> 08:10:74:a2:74:68, HNA 90:27:e4:a2:86:3a, HNA 00:0c:46:db:d2:bf, HNA
> 00:20:1a:22:ee:8f, HNA 1c:4b:d6:b7:58:8f, HNA 00:26:5e:21:6f:73, HNA
> 00:1e:8c:1c:d4:89, HNA 00:15:6d:73:48:0d, HNA 00:1d:92:db:df:70, HNA
> 00:30:84:1d:55:27, HNA c4:17:fe:c1:dd:a8, HNA 00:1a:4b:76:72:64, HNA
> 58:b0:35:fd:65:b4, HNA 00:e0:4c:39:2b:0a, HNA 00:0c:46:b8:cc:2c, HNA
> 00:0a:5e:65:71:ff, HNA 00:1d:92:db:df:8a, HNA 00:1d:92:db:de:91, HNA
> 16:be:18:57:d3:24, HNA 1c:4b:d6:5c:05:f2, HNA 00:50:fc:cd:fa:c1, HNA
> 00:15:6d:7d:09:9e, PRIMARY,
>
> - The originator table of the two nodes from
> /sys/kernel/debug/batman_adv/bat0/originators
>
> mmm for all nodes now is quite complex :| here is the one from the
> node I use to get vis data
>
> root@OpenWrt:~# cat /sys/kernel/debug/batman_adv/bat0/originators
> [B.A.T.M.A.N. adv 2011.0.0, MainIF/MAC: wlan0/00:15:6d:7c:09:9e (bat0)]
>  Originator      last-seen (#/255)           Nexthop [outgoingIF]:
> Potential nexthops ...
> 00:15:6d:7a:97:45    0.710s   ( 84) 06:15:6d:fc:71:ce [     wlan0]:
> 00:15:6d:7a:97:45 ( 69) 06:15:6d:fc:71:ce ( 84)
> 00:15:6d:7d:09:e8    1.450s   ( 11) 06:15:6d:fc:71:ce [     wlan0]:
> 00:15:6d:7a:97:45 (  9) 06:15:6d:fc:71:ce ( 11)
> 00:15:6d:fc:72:0b    2.790s   ( 15) 00:15:6d:7a:97:45 [     wlan0]:
> 00:15:6d:7a:97:45 ( 15)
> 06:15:6d:fc:71:ce    0.240s   (245) 06:15:6d:fc:71:ce [     wlan0]:
> 06:15:6d:fc:71:ce (245) 00:15:6d:7a:97:45 ( 41)
> 00:15:6d:73:48:0d    0.310s   ( 49) 06:15:6d:fc:71:ce [     wlan0]:
> 00:15:6d:7a:97:45 ( 38) 06:15:6d:fc:71:ce ( 49)
> 06:15:6d:fc:71:f6    0.410s   ( 18) 00:15:6d:7a:97:45 [     wlan0]:
> 00:15:6d:7a:97:45 ( 18)
> 00:15:6d:fd:71:f6    0.260s   ( 24) 06:15:6d:fc:71:ce [     wlan0]:
> 00:15:6d:7a:97:45 ( 19) 06:15:6d:fc:71:ce ( 24)
> 00:15:6d:fd:71:ce    0.310s   (245) 06:15:6d:fc:71:ce [     wlan0]:
> 06:15:6d:fc:71:ce (245)
> 00:15:6d:7a:97:33    1.330s   ( 35) 06:15:6d:fc:71:ce [     wlan0]:
> 00:15:6d:7a:97:33 (  0) 00:15:6d:7a:97:45 ( 29) 06:15:6d:fc:71:ce (
> 35)
> 00:15:6d:72:48:0d    0.080s   ( 45) 06:15:6d:fc:71:ce [     wlan0]:
> 00:15:6d:72:48:0d (  0) 00:15:6d:7a:97:45 ( 37) 06:15:6d:fc:71:ce (
> 45)
> 00:15:6d:fd:72:0b    1.330s   ( 19) 06:15:6d:fc:71:ce [     wlan0]:
> 00:15:6d:7a:97:45 ( 14) 06:15:6d:fc:71:ce ( 19)
> 00:15:6d:7a:97:08    0.970s   ( 14) 06:15:6d:fc:71:ce [     wlan0]:
> 00:15:6d:7a:97:45 ( 11) 06:15:6d:fc:71:ce ( 14)
>
>
> root@OpenWrt:~# batctl o
> [B.A.T.M.A.N. adv 2011.0.0, MainIF/MAC: wlan0/00:15:6d:7c:09:9e (bat0)]
>  Originator      last-seen (#/255)           Nexthop [outgoingIF]:
> Potential nexthops ...
> 00:15:6d:7a:97:45    0.270s   (120) 06:15:6d:fc:71:ce [     wlan0]:
> 00:15:6d:7a:97:45 (102) 06:15:6d:fc:71:ce (120)
> 00:15:6d:7d:09:e8    6.960s   ( 19) 00:15:6d:7a:97:45 [     wlan0]:
> 00:15:6d:7a:97:45 ( 19) 06:15:6d:fc:71:ce ( 18)
> 00:15:6d:fc:72:0b    6.690s   ( 38) 00:15:6d:7a:97:45 [     wlan0]:
> 00:15:6d:7a:97:45 ( 38)
> 06:15:6d:fc:71:ce    0.130s   (255) 06:15:6d:fc:71:ce [     wlan0]:
> 06:15:6d:fc:71:ce (255) 00:15:6d:7a:97:45 ( 82)
> 06:15:6d:fc:71:f6    0.400s   ( 45) 00:15:6d:7a:97:45 [     wlan0]:
> 00:15:6d:7a:97:45 ( 45)
> 00:15:6d:fd:71:f6    0.370s   ( 41) 06:15:6d:fc:71:ce [     wlan0]:
> 00:15:6d:7a:97:45 ( 38) 06:15:6d:fc:71:ce ( 41)
> 00:15:6d:fd:71:ce    0.370s   (255) 06:15:6d:fc:71:ce [     wlan0]:
> 06:15:6d:fc:71:ce (255)
> 00:15:6d:7a:97:33    0.890s   ( 84) 06:15:6d:fc:71:ce [     wlan0]:
> 00:15:6d:7a:97:33 (  0) 00:15:6d:7a:97:45 ( 74) 06:15:6d:fc:71:ce (
> 84)
> 00:15:6d:fd:72:0b    1.160s   ( 61) 06:15:6d:fc:71:ce [     wlan0]:
> 00:15:6d:7a:97:45 ( 56) 06:15:6d:fc:71:ce ( 61)
> 00:15:6d:7a:97:08    1.560s   ( 31) 06:15:6d:fc:71:ce [     wlan0]:
> 00:15:6d:7a:97:45 ( 28) 06:15:6d:fc:71:ce ( 31)
>
>
>
> 2011/4/19 Linus Lüssing <linus.luessing@web.de>:
>> On Tue, Apr 19, 2011 at 09:46:10AM +0200, Gioacchino Mazzurco wrote:
>>> moreover the two node have two interfaces used by batman-adv but only
>>> one is displayed!
>>>
>>> 2011/4/19 Gioacchino Mazzurco <gmazzurco89@gmail.com>:
>>> > Hi!
>>> >
>>> > In Pisa we are switching to batman-adv for our mesh, we use the
>>> > version packaged in openwrt.
>>> >
>>> > But it seems that the output of vd is not conform to specification in
>>> > this page  http://www.open-mesh.org/wiki/batman-adv/VisAdv
>>> >
>>> > especially the box representing a node is painted only for the node
>>> > where you call 'batctl vd dot'
>>> >
>>> > here you can see what is happening
>>> > http://eigenlab.org/batman-adv_status.php to simplify visualization i
>>> > am generating it with 'batctl vd dot -H'
>>> >
>>>
>>
>> Hi Gioacchino,
>>
>> As far as I know the format for the batman-adv vis output has not
>> been changed on purpose and the wiki page should reflect the current
>> specification. So you might possibly have found a bug.
>>
>> So guessing from the link, you are testing this with two nodes
>> (with two interfaces as you said) with perfect link qualities and
>> the issue already comes up, correct?
>>
>> It would be great if you could provide the following additional
>> data from this two node setup:
>> - The raw vis output from /sys/kernel/debug/batman_adv/bat0/vis_data
>> - The originator table of the two nodes from
>>  /sys/kernel/debug/batman_adv/bat0/originators
>>
>> Cheers, Linus
>>
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [B.A.T.M.A.N.] batman-adv vis_data
  2011-04-20 22:45       ` Gioacchino Mazzurco
@ 2011-04-21 17:43         ` Linus Lüssing
  2011-04-21 17:47           ` Gioacchino Mazzurco
  0 siblings, 1 reply; 8+ messages in thread
From: Linus Lüssing @ 2011-04-21 17:43 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

On Thu, Apr 21, 2011 at 12:45:45AM +0200, Gioacchino Mazzurco wrote:
> Hi!
> 
> It seems the problem was a misconfiguration!
> 
> The problem was that batman was activated on eth0 but eth0 was already
> participating on the bat0 bridge telling batman to use the bridge
> instead of eth0 fixed everything :D

Hey, nice :)!

Glad that it works now for you. Just one more question, you're
saying that you "[told] batman to use the bridge" - you didn't add
your bridge interface to batman, did you?

Cheers, Linus
> 
> 2011/4/19 Gioacchino Mazzurco <gmazzurco89@gmail.com>:
> > ok the node number now is increased but we have the same bug :|
> >
> >>- The raw vis output from /sys/kernel/debug/batman_adv/bat0/vis_data
> >
> > root@OpenWrt:~# cat /sys/kernel/debug/batman_adv/bat0/vis_data
> > 06:15:6d:fc:71:ce,TQ 00:15:6d:7a:97:45 80, TQ 00:15:6d:7c:09:9e 236,
> > 00:15:6d:7a:97:33,TQ 00:15:6d:7a:97:45 172, TQ 00:15:6d:fc:72:0b 172,
> > TQ 06:15:6d:fc:71:f6 158, HNA 0a:ee:bf:7f:e8:fd, PRIMARY,
> > 00:15:6d:7a:97:45,TQ 00:15:6d:7a:97:33 92, TQ 00:15:6d:72:48:0d 99, TQ
> > 00:15:6d:7c:09:9e 153, HNA f2:f8:44:0f:93:65, HNA 00:15:6d:7b:97:45,
> > PRIMARY,
> > 00:15:6d:fc:72:0b,TQ 00:15:6d:7a:97:33 74,
> > 00:15:6d:7a:97:08,TQ 06:15:6d:fc:71:f6 145, TQ 00:15:6d:7c:09:e8 207,
> > HNA 00:18:84:1d:fc:78, HNA 1c:65:9d:cc:5a:7e, HNA 12:da:53:a1:68:55,
> > HNA 00:15:6d:7b:97:08, PRIMARY,
> > 00:15:6d:72:48:0d,TQ 00:15:6d:7a:97:45 108,
> > 06:15:6d:fc:71:f6,TQ 00:15:6d:7a:97:33 172, TQ 00:15:6d:7a:97:08 193,
> > 00:15:6d:7c:09:e8,TQ 00:15:6d:7a:97:08 100,
> > 00:15:6d:7c:09:9e,TQ 06:15:6d:fc:71:ce 245, HNA 78:e4:00:83:91:f4, HNA
> > 00:14:0b:04:32:d1, HNA 00:0c:6e:34:5a:c9, HNA 00:50:fc:f0:62:f6, HNA
> > 00:18:84:1e:94:dd, HNA 00:1d:92:db:de:de, HNA 00:1d:92:db:de:ba, HNA
> > 00:26:9e:13:36:d4, HNA 00:1d:7e:a1:da:5c, HNA 00:16:d3:9a:38:13, HNA
> > 08:10:74:a2:74:68, HNA 90:27:e4:a2:86:3a, HNA 00:0c:46:db:d2:bf, HNA
> > 00:20:1a:22:ee:8f, HNA 1c:4b:d6:b7:58:8f, HNA 00:26:5e:21:6f:73, HNA
> > 00:1e:8c:1c:d4:89, HNA 00:15:6d:73:48:0d, HNA 00:1d:92:db:df:70, HNA
> > 00:30:84:1d:55:27, HNA c4:17:fe:c1:dd:a8, HNA 00:1a:4b:76:72:64, HNA
> > 58:b0:35:fd:65:b4, HNA 00:e0:4c:39:2b:0a, HNA 00:0c:46:b8:cc:2c, HNA
> > 00:0a:5e:65:71:ff, HNA 00:1d:92:db:df:8a, HNA 00:1d:92:db:de:91, HNA
> > 16:be:18:57:d3:24, HNA 1c:4b:d6:5c:05:f2, HNA 00:50:fc:cd:fa:c1, HNA
> > 00:15:6d:7d:09:9e, PRIMARY,
> >
> > - The originator table of the two nodes from
> > /sys/kernel/debug/batman_adv/bat0/originators
> >
> > mmm for all nodes now is quite complex :| here is the one from the
> > node I use to get vis data
> >
> > root@OpenWrt:~# cat /sys/kernel/debug/batman_adv/bat0/originators
> > [B.A.T.M.A.N. adv 2011.0.0, MainIF/MAC: wlan0/00:15:6d:7c:09:9e (bat0)]
> >  Originator      last-seen (#/255)           Nexthop [outgoingIF]:
> > Potential nexthops ...
> > 00:15:6d:7a:97:45    0.710s   ( 84) 06:15:6d:fc:71:ce [     wlan0]:
> > 00:15:6d:7a:97:45 ( 69) 06:15:6d:fc:71:ce ( 84)
> > 00:15:6d:7d:09:e8    1.450s   ( 11) 06:15:6d:fc:71:ce [     wlan0]:
> > 00:15:6d:7a:97:45 (  9) 06:15:6d:fc:71:ce ( 11)
> > 00:15:6d:fc:72:0b    2.790s   ( 15) 00:15:6d:7a:97:45 [     wlan0]:
> > 00:15:6d:7a:97:45 ( 15)
> > 06:15:6d:fc:71:ce    0.240s   (245) 06:15:6d:fc:71:ce [     wlan0]:
> > 06:15:6d:fc:71:ce (245) 00:15:6d:7a:97:45 ( 41)
> > 00:15:6d:73:48:0d    0.310s   ( 49) 06:15:6d:fc:71:ce [     wlan0]:
> > 00:15:6d:7a:97:45 ( 38) 06:15:6d:fc:71:ce ( 49)
> > 06:15:6d:fc:71:f6    0.410s   ( 18) 00:15:6d:7a:97:45 [     wlan0]:
> > 00:15:6d:7a:97:45 ( 18)
> > 00:15:6d:fd:71:f6    0.260s   ( 24) 06:15:6d:fc:71:ce [     wlan0]:
> > 00:15:6d:7a:97:45 ( 19) 06:15:6d:fc:71:ce ( 24)
> > 00:15:6d:fd:71:ce    0.310s   (245) 06:15:6d:fc:71:ce [     wlan0]:
> > 06:15:6d:fc:71:ce (245)
> > 00:15:6d:7a:97:33    1.330s   ( 35) 06:15:6d:fc:71:ce [     wlan0]:
> > 00:15:6d:7a:97:33 (  0) 00:15:6d:7a:97:45 ( 29) 06:15:6d:fc:71:ce (
> > 35)
> > 00:15:6d:72:48:0d    0.080s   ( 45) 06:15:6d:fc:71:ce [     wlan0]:
> > 00:15:6d:72:48:0d (  0) 00:15:6d:7a:97:45 ( 37) 06:15:6d:fc:71:ce (
> > 45)
> > 00:15:6d:fd:72:0b    1.330s   ( 19) 06:15:6d:fc:71:ce [     wlan0]:
> > 00:15:6d:7a:97:45 ( 14) 06:15:6d:fc:71:ce ( 19)
> > 00:15:6d:7a:97:08    0.970s   ( 14) 06:15:6d:fc:71:ce [     wlan0]:
> > 00:15:6d:7a:97:45 ( 11) 06:15:6d:fc:71:ce ( 14)
> >
> >
> > root@OpenWrt:~# batctl o
> > [B.A.T.M.A.N. adv 2011.0.0, MainIF/MAC: wlan0/00:15:6d:7c:09:9e (bat0)]
> >  Originator      last-seen (#/255)           Nexthop [outgoingIF]:
> > Potential nexthops ...
> > 00:15:6d:7a:97:45    0.270s   (120) 06:15:6d:fc:71:ce [     wlan0]:
> > 00:15:6d:7a:97:45 (102) 06:15:6d:fc:71:ce (120)
> > 00:15:6d:7d:09:e8    6.960s   ( 19) 00:15:6d:7a:97:45 [     wlan0]:
> > 00:15:6d:7a:97:45 ( 19) 06:15:6d:fc:71:ce ( 18)
> > 00:15:6d:fc:72:0b    6.690s   ( 38) 00:15:6d:7a:97:45 [     wlan0]:
> > 00:15:6d:7a:97:45 ( 38)
> > 06:15:6d:fc:71:ce    0.130s   (255) 06:15:6d:fc:71:ce [     wlan0]:
> > 06:15:6d:fc:71:ce (255) 00:15:6d:7a:97:45 ( 82)
> > 06:15:6d:fc:71:f6    0.400s   ( 45) 00:15:6d:7a:97:45 [     wlan0]:
> > 00:15:6d:7a:97:45 ( 45)
> > 00:15:6d:fd:71:f6    0.370s   ( 41) 06:15:6d:fc:71:ce [     wlan0]:
> > 00:15:6d:7a:97:45 ( 38) 06:15:6d:fc:71:ce ( 41)
> > 00:15:6d:fd:71:ce    0.370s   (255) 06:15:6d:fc:71:ce [     wlan0]:
> > 06:15:6d:fc:71:ce (255)
> > 00:15:6d:7a:97:33    0.890s   ( 84) 06:15:6d:fc:71:ce [     wlan0]:
> > 00:15:6d:7a:97:33 (  0) 00:15:6d:7a:97:45 ( 74) 06:15:6d:fc:71:ce (
> > 84)
> > 00:15:6d:fd:72:0b    1.160s   ( 61) 06:15:6d:fc:71:ce [     wlan0]:
> > 00:15:6d:7a:97:45 ( 56) 06:15:6d:fc:71:ce ( 61)
> > 00:15:6d:7a:97:08    1.560s   ( 31) 06:15:6d:fc:71:ce [     wlan0]:
> > 00:15:6d:7a:97:45 ( 28) 06:15:6d:fc:71:ce ( 31)
> >
> >
> >
> > 2011/4/19 Linus Lüssing <linus.luessing@web.de>:
> >> On Tue, Apr 19, 2011 at 09:46:10AM +0200, Gioacchino Mazzurco wrote:
> >>> moreover the two node have two interfaces used by batman-adv but only
> >>> one is displayed!
> >>>
> >>> 2011/4/19 Gioacchino Mazzurco <gmazzurco89@gmail.com>:
> >>> > Hi!
> >>> >
> >>> > In Pisa we are switching to batman-adv for our mesh, we use the
> >>> > version packaged in openwrt.
> >>> >
> >>> > But it seems that the output of vd is not conform to specification in
> >>> > this page  http://www.open-mesh.org/wiki/batman-adv/VisAdv
> >>> >
> >>> > especially the box representing a node is painted only for the node
> >>> > where you call 'batctl vd dot'
> >>> >
> >>> > here you can see what is happening
> >>> > http://eigenlab.org/batman-adv_status.php to simplify visualization i
> >>> > am generating it with 'batctl vd dot -H'
> >>> >
> >>>
> >>
> >> Hi Gioacchino,
> >>
> >> As far as I know the format for the batman-adv vis output has not
> >> been changed on purpose and the wiki page should reflect the current
> >> specification. So you might possibly have found a bug.
> >>
> >> So guessing from the link, you are testing this with two nodes
> >> (with two interfaces as you said) with perfect link qualities and
> >> the issue already comes up, correct?
> >>
> >> It would be great if you could provide the following additional
> >> data from this two node setup:
> >> - The raw vis output from /sys/kernel/debug/batman_adv/bat0/vis_data
> >> - The originator table of the two nodes from
> >>  /sys/kernel/debug/batman_adv/bat0/originators
> >>
> >> Cheers, Linus
> >>
> >
> 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [B.A.T.M.A.N.] batman-adv vis_data
  2011-04-21 17:43         ` Linus Lüssing
@ 2011-04-21 17:47           ` Gioacchino Mazzurco
  2011-04-22 12:53             ` wayne
  0 siblings, 1 reply; 8+ messages in thread
From: Gioacchino Mazzurco @ 2011-04-21 17:47 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

>you didn't add
>your bridge interface to batman, did you?

Yes on Marek suggestion i done
batctl if add br-clients

instead of
batctl if add eth0

br-clients = bat0 + eth0 [ + ath0 eventually ]

2011/4/21 Linus Lüssing <linus.luessing@web.de>:
> On Thu, Apr 21, 2011 at 12:45:45AM +0200, Gioacchino Mazzurco wrote:
>> Hi!
>>
>> It seems the problem was a misconfiguration!
>>
>> The problem was that batman was activated on eth0 but eth0 was already
>> participating on the bat0 bridge telling batman to use the bridge
>> instead of eth0 fixed everything :D
>
> Hey, nice :)!
>
> Glad that it works now for you. Just one more question, you're
> saying that you "[told] batman to use the bridge" - you didn't add
> your bridge interface to batman, did you?
>
> Cheers, Linus
>>
>> 2011/4/19 Gioacchino Mazzurco <gmazzurco89@gmail.com>:
>> > ok the node number now is increased but we have the same bug :|
>> >
>> >>- The raw vis output from /sys/kernel/debug/batman_adv/bat0/vis_data
>> >
>> > root@OpenWrt:~# cat /sys/kernel/debug/batman_adv/bat0/vis_data
>> > 06:15:6d:fc:71:ce,TQ 00:15:6d:7a:97:45 80, TQ 00:15:6d:7c:09:9e 236,
>> > 00:15:6d:7a:97:33,TQ 00:15:6d:7a:97:45 172, TQ 00:15:6d:fc:72:0b 172,
>> > TQ 06:15:6d:fc:71:f6 158, HNA 0a:ee:bf:7f:e8:fd, PRIMARY,
>> > 00:15:6d:7a:97:45,TQ 00:15:6d:7a:97:33 92, TQ 00:15:6d:72:48:0d 99, TQ
>> > 00:15:6d:7c:09:9e 153, HNA f2:f8:44:0f:93:65, HNA 00:15:6d:7b:97:45,
>> > PRIMARY,
>> > 00:15:6d:fc:72:0b,TQ 00:15:6d:7a:97:33 74,
>> > 00:15:6d:7a:97:08,TQ 06:15:6d:fc:71:f6 145, TQ 00:15:6d:7c:09:e8 207,
>> > HNA 00:18:84:1d:fc:78, HNA 1c:65:9d:cc:5a:7e, HNA 12:da:53:a1:68:55,
>> > HNA 00:15:6d:7b:97:08, PRIMARY,
>> > 00:15:6d:72:48:0d,TQ 00:15:6d:7a:97:45 108,
>> > 06:15:6d:fc:71:f6,TQ 00:15:6d:7a:97:33 172, TQ 00:15:6d:7a:97:08 193,
>> > 00:15:6d:7c:09:e8,TQ 00:15:6d:7a:97:08 100,
>> > 00:15:6d:7c:09:9e,TQ 06:15:6d:fc:71:ce 245, HNA 78:e4:00:83:91:f4, HNA
>> > 00:14:0b:04:32:d1, HNA 00:0c:6e:34:5a:c9, HNA 00:50:fc:f0:62:f6, HNA
>> > 00:18:84:1e:94:dd, HNA 00:1d:92:db:de:de, HNA 00:1d:92:db:de:ba, HNA
>> > 00:26:9e:13:36:d4, HNA 00:1d:7e:a1:da:5c, HNA 00:16:d3:9a:38:13, HNA
>> > 08:10:74:a2:74:68, HNA 90:27:e4:a2:86:3a, HNA 00:0c:46:db:d2:bf, HNA
>> > 00:20:1a:22:ee:8f, HNA 1c:4b:d6:b7:58:8f, HNA 00:26:5e:21:6f:73, HNA
>> > 00:1e:8c:1c:d4:89, HNA 00:15:6d:73:48:0d, HNA 00:1d:92:db:df:70, HNA
>> > 00:30:84:1d:55:27, HNA c4:17:fe:c1:dd:a8, HNA 00:1a:4b:76:72:64, HNA
>> > 58:b0:35:fd:65:b4, HNA 00:e0:4c:39:2b:0a, HNA 00:0c:46:b8:cc:2c, HNA
>> > 00:0a:5e:65:71:ff, HNA 00:1d:92:db:df:8a, HNA 00:1d:92:db:de:91, HNA
>> > 16:be:18:57:d3:24, HNA 1c:4b:d6:5c:05:f2, HNA 00:50:fc:cd:fa:c1, HNA
>> > 00:15:6d:7d:09:9e, PRIMARY,
>> >
>> > - The originator table of the two nodes from
>> > /sys/kernel/debug/batman_adv/bat0/originators
>> >
>> > mmm for all nodes now is quite complex :| here is the one from the
>> > node I use to get vis data
>> >
>> > root@OpenWrt:~# cat /sys/kernel/debug/batman_adv/bat0/originators
>> > [B.A.T.M.A.N. adv 2011.0.0, MainIF/MAC: wlan0/00:15:6d:7c:09:9e (bat0)]
>> >  Originator      last-seen (#/255)           Nexthop [outgoingIF]:
>> > Potential nexthops ...
>> > 00:15:6d:7a:97:45    0.710s   ( 84) 06:15:6d:fc:71:ce [     wlan0]:
>> > 00:15:6d:7a:97:45 ( 69) 06:15:6d:fc:71:ce ( 84)
>> > 00:15:6d:7d:09:e8    1.450s   ( 11) 06:15:6d:fc:71:ce [     wlan0]:
>> > 00:15:6d:7a:97:45 (  9) 06:15:6d:fc:71:ce ( 11)
>> > 00:15:6d:fc:72:0b    2.790s   ( 15) 00:15:6d:7a:97:45 [     wlan0]:
>> > 00:15:6d:7a:97:45 ( 15)
>> > 06:15:6d:fc:71:ce    0.240s   (245) 06:15:6d:fc:71:ce [     wlan0]:
>> > 06:15:6d:fc:71:ce (245) 00:15:6d:7a:97:45 ( 41)
>> > 00:15:6d:73:48:0d    0.310s   ( 49) 06:15:6d:fc:71:ce [     wlan0]:
>> > 00:15:6d:7a:97:45 ( 38) 06:15:6d:fc:71:ce ( 49)
>> > 06:15:6d:fc:71:f6    0.410s   ( 18) 00:15:6d:7a:97:45 [     wlan0]:
>> > 00:15:6d:7a:97:45 ( 18)
>> > 00:15:6d:fd:71:f6    0.260s   ( 24) 06:15:6d:fc:71:ce [     wlan0]:
>> > 00:15:6d:7a:97:45 ( 19) 06:15:6d:fc:71:ce ( 24)
>> > 00:15:6d:fd:71:ce    0.310s   (245) 06:15:6d:fc:71:ce [     wlan0]:
>> > 06:15:6d:fc:71:ce (245)
>> > 00:15:6d:7a:97:33    1.330s   ( 35) 06:15:6d:fc:71:ce [     wlan0]:
>> > 00:15:6d:7a:97:33 (  0) 00:15:6d:7a:97:45 ( 29) 06:15:6d:fc:71:ce (
>> > 35)
>> > 00:15:6d:72:48:0d    0.080s   ( 45) 06:15:6d:fc:71:ce [     wlan0]:
>> > 00:15:6d:72:48:0d (  0) 00:15:6d:7a:97:45 ( 37) 06:15:6d:fc:71:ce (
>> > 45)
>> > 00:15:6d:fd:72:0b    1.330s   ( 19) 06:15:6d:fc:71:ce [     wlan0]:
>> > 00:15:6d:7a:97:45 ( 14) 06:15:6d:fc:71:ce ( 19)
>> > 00:15:6d:7a:97:08    0.970s   ( 14) 06:15:6d:fc:71:ce [     wlan0]:
>> > 00:15:6d:7a:97:45 ( 11) 06:15:6d:fc:71:ce ( 14)
>> >
>> >
>> > root@OpenWrt:~# batctl o
>> > [B.A.T.M.A.N. adv 2011.0.0, MainIF/MAC: wlan0/00:15:6d:7c:09:9e (bat0)]
>> >  Originator      last-seen (#/255)           Nexthop [outgoingIF]:
>> > Potential nexthops ...
>> > 00:15:6d:7a:97:45    0.270s   (120) 06:15:6d:fc:71:ce [     wlan0]:
>> > 00:15:6d:7a:97:45 (102) 06:15:6d:fc:71:ce (120)
>> > 00:15:6d:7d:09:e8    6.960s   ( 19) 00:15:6d:7a:97:45 [     wlan0]:
>> > 00:15:6d:7a:97:45 ( 19) 06:15:6d:fc:71:ce ( 18)
>> > 00:15:6d:fc:72:0b    6.690s   ( 38) 00:15:6d:7a:97:45 [     wlan0]:
>> > 00:15:6d:7a:97:45 ( 38)
>> > 06:15:6d:fc:71:ce    0.130s   (255) 06:15:6d:fc:71:ce [     wlan0]:
>> > 06:15:6d:fc:71:ce (255) 00:15:6d:7a:97:45 ( 82)
>> > 06:15:6d:fc:71:f6    0.400s   ( 45) 00:15:6d:7a:97:45 [     wlan0]:
>> > 00:15:6d:7a:97:45 ( 45)
>> > 00:15:6d:fd:71:f6    0.370s   ( 41) 06:15:6d:fc:71:ce [     wlan0]:
>> > 00:15:6d:7a:97:45 ( 38) 06:15:6d:fc:71:ce ( 41)
>> > 00:15:6d:fd:71:ce    0.370s   (255) 06:15:6d:fc:71:ce [     wlan0]:
>> > 06:15:6d:fc:71:ce (255)
>> > 00:15:6d:7a:97:33    0.890s   ( 84) 06:15:6d:fc:71:ce [     wlan0]:
>> > 00:15:6d:7a:97:33 (  0) 00:15:6d:7a:97:45 ( 74) 06:15:6d:fc:71:ce (
>> > 84)
>> > 00:15:6d:fd:72:0b    1.160s   ( 61) 06:15:6d:fc:71:ce [     wlan0]:
>> > 00:15:6d:7a:97:45 ( 56) 06:15:6d:fc:71:ce ( 61)
>> > 00:15:6d:7a:97:08    1.560s   ( 31) 06:15:6d:fc:71:ce [     wlan0]:
>> > 00:15:6d:7a:97:45 ( 28) 06:15:6d:fc:71:ce ( 31)
>> >
>> >
>> >
>> > 2011/4/19 Linus Lüssing <linus.luessing@web.de>:
>> >> On Tue, Apr 19, 2011 at 09:46:10AM +0200, Gioacchino Mazzurco wrote:
>> >>> moreover the two node have two interfaces used by batman-adv but only
>> >>> one is displayed!
>> >>>
>> >>> 2011/4/19 Gioacchino Mazzurco <gmazzurco89@gmail.com>:
>> >>> > Hi!
>> >>> >
>> >>> > In Pisa we are switching to batman-adv for our mesh, we use the
>> >>> > version packaged in openwrt.
>> >>> >
>> >>> > But it seems that the output of vd is not conform to specification in
>> >>> > this page  http://www.open-mesh.org/wiki/batman-adv/VisAdv
>> >>> >
>> >>> > especially the box representing a node is painted only for the node
>> >>> > where you call 'batctl vd dot'
>> >>> >
>> >>> > here you can see what is happening
>> >>> > http://eigenlab.org/batman-adv_status.php to simplify visualization i
>> >>> > am generating it with 'batctl vd dot -H'
>> >>> >
>> >>>
>> >>
>> >> Hi Gioacchino,
>> >>
>> >> As far as I know the format for the batman-adv vis output has not
>> >> been changed on purpose and the wiki page should reflect the current
>> >> specification. So you might possibly have found a bug.
>> >>
>> >> So guessing from the link, you are testing this with two nodes
>> >> (with two interfaces as you said) with perfect link qualities and
>> >> the issue already comes up, correct?
>> >>
>> >> It would be great if you could provide the following additional
>> >> data from this two node setup:
>> >> - The raw vis output from /sys/kernel/debug/batman_adv/bat0/vis_data
>> >> - The originator table of the two nodes from
>> >>  /sys/kernel/debug/batman_adv/bat0/originators
>> >>
>> >> Cheers, Linus
>> >>
>> >
>>
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [B.A.T.M.A.N.] batman-adv vis_data
  2011-04-21 17:47           ` Gioacchino Mazzurco
@ 2011-04-22 12:53             ` wayne
  0 siblings, 0 replies; 8+ messages in thread
From: wayne @ 2011-04-22 12:53 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

On 21/04/2011 19:47, Gioacchino Mazzurco wrote:
>> you didn't add
>> your bridge interface to batman, did you?
>
> Yes on Marek suggestion i done
> batctl if add br-clients
>
> instead of
> batctl if add eth0
>
> br-clients = bat0 + eth0 [ + ath0 eventually ]
>

Hi All

Firstly I want to thank all the devs here for the excellent work! I have 
recently upgraded all my Nodes here in Rural S.Africa as per VT project 
to B-ADV and it just works.

To Reply on setup question.

here is mine!
interfaces: eth0, wifi0( ath0,ath1)  UBNT unit.

root@MP-20:/etc/config# brctl show
bridge name	bridge id		STP enabled	interfaces
br-lan		8000.00094557a8e5	yes		eth0
							bat0
							ath1

root@MP-20:/etc/config# batctl if
ath0: active

As bat0 is already bridged with the other interfaces, it's only required 
to run Bat-adv on the mesh interface i.e ath0.
VAP: ath1 is used as a AP also link-local,with pppoe server all 
clients,node bridge ip's all static.

Wayne A






^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-04-22 12:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-19  7:39 [B.A.T.M.A.N.] batman-adv vis_data Gioacchino Mazzurco
2011-04-19  7:46 ` Gioacchino Mazzurco
2011-04-19 13:29   ` Linus Lüssing
2011-04-19 17:44     ` Gioacchino Mazzurco
2011-04-20 22:45       ` Gioacchino Mazzurco
2011-04-21 17:43         ` Linus Lüssing
2011-04-21 17:47           ` Gioacchino Mazzurco
2011-04-22 12:53             ` wayne

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.