All of lore.kernel.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
@ 2011-08-30 22:53 Tobias
  2011-08-30 23:07 ` clownix
                   ` (3 more replies)
  0 siblings, 4 replies; 35+ messages in thread
From: Tobias @ 2011-08-30 22:53 UTC (permalink / raw)
  To: b.a.t.m.a.n

Hi all,

i have setup a mesh-network with batman-adv running on about 10 Foneras 
and 4 TP-Link on OpenWRT.

At first everything seemed to work. A node on the one end could ping a 
node on the other end over the mesh-network. The ping was hopping from 
node to node as expected.

But sometimes some paths do not work anymore.

Some nodes can only reach their direct neighbors via a "normal ping". A 
ping to a node via one hop does not work. A "batctl ping" does work!

This only happens to parts of the network and is not permanent. If i 
wait it will recover, but then the problem appears at another node.

dmesg or the syslog does not report any errors.

Can anyone give me a hint where to look?

Tobias





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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
  2011-08-30 22:53 [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work Tobias
@ 2011-08-30 23:07 ` clownix
  2011-08-31  9:55 ` Marek Lindner
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 35+ messages in thread
From: clownix @ 2011-08-30 23:07 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

Es-tu Tobias de tai?

> Hi all,
>
> i have setup a mesh-network with batman-adv running on about 10 Foneras
> and 4 TP-Link on OpenWRT.
>
> At first everything seemed to work. A node on the one end could ping a
> node on the other end over the mesh-network. The ping was hopping from
> node to node as expected.
>
> But sometimes some paths do not work anymore.
>
> Some nodes can only reach their direct neighbors via a "normal ping". A
> ping to a node via one hop does not work. A "batctl ping" does work!
>
> This only happens to parts of the network and is not permanent. If i
> wait it will recover, but then the problem appears at another node.
>
> dmesg or the syslog does not report any errors.
>
> Can anyone give me a hint where to look?
>
> Tobias
>
>
>
>
>


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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
  2011-08-30 22:53 [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work Tobias
  2011-08-30 23:07 ` clownix
@ 2011-08-31  9:55 ` Marek Lindner
  2011-08-31 15:57   ` wayne abroue
  2011-08-31 16:36 ` Tobias
  2011-10-19 13:36 ` Antonio Quartulli
  3 siblings, 1 reply; 35+ messages in thread
From: Marek Lindner @ 2011-08-31  9:55 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking


Hi,

> At first everything seemed to work. A node on the one end could ping a
> node on the other end over the mesh-network. The ping was hopping from
> node to node as expected.
> 
> But sometimes some paths do not work anymore.
> 
> Some nodes can only reach their direct neighbors via a "normal ping". A
> ping to a node via one hop does not work. A "batctl ping" does work!
> 
> This only happens to parts of the network and is not permanent. If i
> wait it will recover, but then the problem appears at another node.

since "batctl ping" works I'd say your mesh works fine - you have a problem in 
your higher layers. Maybe a mac address collision or an ARP timeout ?

Can you provide specific examples we can go through ? For instance, provide 
the batctl ping output to the neighbor in question, the ping error message 
(does it say timeout / host could not be found / etc), a batctl traceroute to 
the neighbor in question and the output of the global translation table.

Are you trying to ping a 'fixed' node or a node that is roaming ?

Regards,
Marek
 

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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
  2011-08-31  9:55 ` Marek Lindner
@ 2011-08-31 15:57   ` wayne abroue
  2011-08-31 16:07     ` Antonio Quartulli
  2011-08-31 16:44     ` [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work Tobias
  0 siblings, 2 replies; 35+ messages in thread
From: wayne abroue @ 2011-08-31 15:57 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

On Wed, Aug 31, 2011 at 11:55 AM, Marek Lindner <lindner_marek@yahoo.de> wrote:
>
> Hi,
>
>> At first everything seemed to work. A node on the one end could ping a
>> node on the other end over the mesh-network. The ping was hopping from
>> node to node as expected.
>>
>> But sometimes some paths do not work anymore.
>>
>> Some nodes can only reach their direct neighbors via a "normal ping". A
>> ping to a node via one hop does not work. A "batctl ping" does work!
>>
>> This only happens to parts of the network and is not permanent. If i
>> wait it will recover, but then the problem appears at another node.
>
> since "batctl ping" works I'd say your mesh works fine - you have a problem in
> your higher layers. Maybe a mac address collision or an ARP timeout ?
>
> Can you provide specific examples we can go through ? For instance, provide
> the batctl ping output to the neighbor in question, the ping error message
> (does it say timeout / host could not be found / etc), a batctl traceroute to
> the neighbor in question and the output of the global translation table.
>
> Are you trying to ping a 'fixed' node or a node that is roaming ?
>
> Regards,
> Marek
>
>

I'd also check signal strength,, have experienced this  when levels
are fluctuating, ie: batctl ping works, ip not. then comes back.

Wayne A

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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
  2011-08-31 15:57   ` wayne abroue
@ 2011-08-31 16:07     ` Antonio Quartulli
  2011-08-31 16:16       ` Marek Lindner
  2011-08-31 16:44     ` [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work Tobias
  1 sibling, 1 reply; 35+ messages in thread
From: Antonio Quartulli @ 2011-08-31 16:07 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

On Wed, Aug 31, 2011 at 05:57:44PM +0200, wayne abroue wrote:
> On Wed, Aug 31, 2011 at 11:55 AM, Marek Lindner <lindner_marek@yahoo.de> wrote:
> >
> > Hi,
> >
> >> At first everything seemed to work. A node on the one end could ping a
> >> node on the other end over the mesh-network. The ping was hopping from
> >> node to node as expected.
> >>
> >> But sometimes some paths do not work anymore.
> >>
> >> Some nodes can only reach their direct neighbors via a "normal ping". A
> >> ping to a node via one hop does not work. A "batctl ping" does work!
> >>
> >> This only happens to parts of the network and is not permanent. If i
> >> wait it will recover, but then the problem appears at another node.
> >
> > since "batctl ping" works I'd say your mesh works fine - you have a problem in
> > your higher layers. Maybe a mac address collision or an ARP timeout ?
> >
> > Can you provide specific examples we can go through ? For instance, provide
> > the batctl ping output to the neighbor in question, the ping error message
> > (does it say timeout / host could not be found / etc), a batctl traceroute to
> > the neighbor in question and the output of the global translation table.
> >
> > Are you trying to ping a 'fixed' node or a node that is roaming ?
> >
> > Regards,
> > Marek
> >
> >
> 
> I'd also check signal strength,, have experienced this  when levels
> are fluctuating, ie: batctl ping works, ip not. then comes back.

Could it be a TT problem? Please, try to enable TT related log only (using
"batctl ll x", I can't remember the correct x value) and copy/paste the output
of "batctl l" during the blackout time to
the moment when everything restart to work.


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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
  2011-08-31 16:07     ` Antonio Quartulli
@ 2011-08-31 16:16       ` Marek Lindner
  2011-08-31 16:18         ` Antonio Quartulli
  0 siblings, 1 reply; 35+ messages in thread
From: Marek Lindner @ 2011-08-31 16:16 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

On Wednesday, August 31, 2011 18:07:13 Antonio Quartulli wrote:
> Could it be a TT problem? Please, try to enable TT related log only (using
> "batctl ll x", I can't remember the correct x value) and copy/paste the
> output of "batctl l" during the blackout time to
> the moment when everything restart to work.

It is honorable that you want to take the blame but 2011.2.0 does not have the 
tt patches yet.  ;-)

Cheers,
Marek

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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
  2011-08-31 16:16       ` Marek Lindner
@ 2011-08-31 16:18         ` Antonio Quartulli
  2011-08-31 17:05           ` Tobias
  0 siblings, 1 reply; 35+ messages in thread
From: Antonio Quartulli @ 2011-08-31 16:18 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

On Wed, Aug 31, 2011 at 06:16:22PM +0200, Marek Lindner wrote:
> On Wednesday, August 31, 2011 18:07:13 Antonio Quartulli wrote:
> > Could it be a TT problem? Please, try to enable TT related log only (using
> > "batctl ll x", I can't remember the correct x value) and copy/paste the
> > output of "batctl l" during the blackout time to
> > the moment when everything restart to work.
> 
> It is honorable that you want to take the blame but 2011.2.0 does not have the 
> tt patches yet.  ;-)

Ops, sorry! I always confuse the release numbers :-)
(phew)

cheers,
Antonio

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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
  2011-08-30 22:53 [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work Tobias
  2011-08-30 23:07 ` clownix
  2011-08-31  9:55 ` Marek Lindner
@ 2011-08-31 16:36 ` Tobias
  2011-10-19 13:36 ` Antonio Quartulli
  3 siblings, 0 replies; 35+ messages in thread
From: Tobias @ 2011-08-31 16:36 UTC (permalink / raw)
  To: b.a.t.m.a.n

> Hi,
>
> >  At first everything seemed to work. A node on the one end could ping a
> >  node on the other end over the mesh-network. The ping was hopping from
> >  node to node as expected.
> >
> >  But sometimes some paths do not work anymore.
> >
> >  Some nodes can only reach their direct neighbors via a "normal ping". A
> >  ping to a node via one hop does not work. A "batctl ping" does work!
> >
> >  This only happens to parts of the network and is not permanent. If i
> >  wait it will recover, but then the problem appears at another node.
>
> since "batctl ping" works I'd say your mesh works fine - you have a problem in
> your higher layers. Maybe a mac address collision or an ARP timeout ?
>
> Can you provide specific examples we can go through ? For instance, provide
> the batctl ping output to the neighbor in question, the ping error message
> (does it say timeout / host could not be found / etc), a batctl traceroute to
> the neighbor in question and the output of the global translation table.
>
> Are you trying to ping a 'fixed' node or a node that is roaming ?
>
> Regards,
> Marek
>
Hello Marek,

thanks for you response. I'll try to give you an example - i'll cut out 
the parts that are not relevant (i hope).

First i have to correct the version - it seems to be 2011.3 - not 2011.2 
as the subject says.

root@fon-58:~# dmesg | grep "batman_adv"
batman_adv: B.A.T.M.A.N. advanced 2011.3.0 (compatibility version 14) loaded

The route from bat49 to bat58 is not working. It should hop via bat59.

root@1043-49:~# batctl o
[B.A.T.M.A.N. adv 2011.3.0, MainIF/MAC: wlan2/9e:0c:6d:ee:7c:ba (bat0)]
   Originator      last-seen (#/255)           Nexthop [outgoingIF]:   
Potential nexthops ...
             bat58    3.080s   (168)             bat59 [     
wlan2]:             bat59 (168)             bat51 (  0)             
bat60 (127)
             bat59    3.130s   (202)             bat59 [     
wlan2]:             bat60 (155)             bat51 (134)             
bat59 (202)

root@fon-59:~# batctl o
[B.A.T.M.A.N. adv 2011.3.0, MainIF/MAC: wlan2/0a:18:84:80:87:9d (bat0)]
   Originator      last-seen (#/255)           Nexthop [outgoingIF]:   
Potential nexthops ...
             bat58    4.740s   (210)             bat58 [     
wlan2]:             bat55 (  0)             bat51 (  0)             
bat49 (  0)             bat52 (  0)             bat67 (148)             
bat53 (120)             bat54 (191)             bat60 (170)             
bat58 (210)
             bat49    0.040s   (192)             bat49 [     
wlan2]:             bat52 ( 36)             bat55 (  0)             
bat67 (106)             bat58 (148)             bat54 (129)             
bat53 ( 80)             bat60 (152)             bat49 (192)             
bat51 (112)

root@fon-58:~# batctl o
[B.A.T.M.A.N. adv 2011.3.0, MainIF/MAC: wlan2/0a:18:84:81:a1:0d (bat0)]
   Originator      last-seen (#/255)           Nexthop [outgoingIF]:   
Potential nexthops ...
             bat49    0.570s   (174)             bat59 [     
wlan2]:             bat51 (  4)             bat52 (  9)             
bat55 (  5)             bat54 (149)             bat53 (140)             
bat67 (156)             bat60 ( 95)             bat59 (174)             
bat49 (  0)
             bat59    0.990s   (245)             bat59 [     
wlan2]:             bat55 (  8)             bat51 (  3)             
bat52 (  8)             bat60 (137)             bat53 (186)             
bat67 (217)             bat54 (206)             bat59 (245)

ifconfigs:
root@1043-49:~# ifconfig bat0
bat0      Link encap:Ethernet  HWaddr 9E:90:FC:DC:99:09
           inet addr:192.168.111.49  Bcast:192.168.111.255  
Mask:255.255.255.0
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:9410 errors:0 dropped:0 overruns:0 frame:0
           TX packets:64693 errors:0 dropped:2560 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:1622914 (1.5 MiB)  TX bytes:13322553 (12.7 MiB)
root@1043-49:~# ifconfig wlan2
wlan2     Link encap:Ethernet  HWaddr 9E:0C:6D:EE:7C:BA
           UP BROADCAST RUNNING MULTICAST  MTU:1528  Metric:1
           RX packets:84071 errors:0 dropped:78 overruns:0 frame:0
           TX packets:112446 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:6693056 (6.3 MiB)  TX bytes:20633620 (19.6 MiB)

root@fon-59:~# ifconfig bat0
bat0      Link encap:Ethernet  HWaddr D6:0F:24:F1:43:3C
           inet addr:192.168.111.59  Bcast:192.168.111.255  
Mask:255.255.255.0
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:23493 errors:0 dropped:0 overruns:0 frame:0
           TX packets:5078 errors:0 dropped:8 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:4006301 (3.8 MiB)  TX bytes:726585 (709.5 KiB)
root@fon-59:~# ifconfig wlan2
wlan2     Link encap:Ethernet  HWaddr 0A:18:84:80:87:9D
           UP BROADCAST RUNNING MULTICAST  MTU:1528  Metric:1
           RX packets:298487 errors:0 dropped:748 overruns:0 frame:0
           TX packets:176654 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:18665398 (17.7 MiB)  TX bytes:14335354 (13.6 MiB)

root@fon-58:~# ifconfig bat0
bat0      Link encap:Ethernet  HWaddr C2:90:A3:3B:4E:C9
           inet addr:192.168.111.58  Bcast:192.168.111.255  
Mask:255.255.255.0
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:23159 errors:0 dropped:0 overruns:0 frame:0
           TX packets:7759 errors:0 dropped:2298 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:1115758 (1.0 MiB)  TX bytes:737874 (720.5 KiB)
root@fon-58:~# ifconfig wlan2
wlan2     Link encap:Ethernet  HWaddr 0A:18:84:81:A1:0D
           UP BROADCAST RUNNING MULTICAST  MTU:1528  Metric:1
           RX packets:3475063 errors:0 dropped:1422 overruns:0 frame:0
           TX packets:1601622 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:154462355 (147.3 MiB)  TX bytes:100565468 (95.9 MiB)

this is working:
root@1043-49:~# batctl p bat59
PING bat59 (0a:18:84:80:87:9d) 20(48) bytes of data
20 bytes from bat59 icmp_seq=1 ttl=49 time=6.12 ms

and this:
root@1043-49:~# batctl p bat58
PING bat58 (0a:18:84:81:a1:0d) 20(48) bytes of data
20 bytes from bat58 icmp_seq=1 ttl=48 time=17.61 ms

and this too:
root@1043-49:~# ping 192.168.111.59
PING 192.168.111.59 (192.168.111.59): 56 data bytes
64 bytes from 192.168.111.59: seq=0 ttl=64 time=7.621 ms

this NOT:
root@1043-49:~# ping 192.168.111.58
PING 192.168.111.58 (192.168.111.58): 56 data bytes

the route seems ok:
root@1043-49:~# batctl tr bat58
traceroute to bat58 (0a:18:84:81:a1:0d), 50 hops max, 20 byte packets
  1: bat59 (0a:18:84:80:87:9d)  4.297 ms  31.777 ms  0.938 ms
  2: bat58 (0a:18:84:81:a1:0d)  7.868 ms  4.153 ms  3.352 ms

I see the pings going out on bat49
root@1043-49:~# batctl td wlan2 | grep "ICMP"
13:16:39.026715 BAT bat49 > bat58: UCAST, ttvn 1, ttl 50, IP 
192.168.111.49 > 192.168.111.58: ICMP echo request, id 9467, seq 16, 
length 64

i even see the packet come into bat58:
root@fon-58:~# batctl td wlan2 | grep "ICMP"
13:18:39.715935 BAT bat59 > bat58: UCAST, ttvn 1, ttl 48, IP 
192.168.111.49 > 192.168.111.58: ICMP echo request, id 9467, seq 159, 
length 64

but no reply.

in the bat0-interface i can see the reply:
root@fon-58:~# batctl td bat0 | grep "ICMP"
13:19:15.730081 IP 192.168.111.49 > 192.168.111.58: ICMP echo request, 
id 9467, seq 195, length 64
13:19:15.732864 IP 192.168.111.58 > 192.168.111.49: ICMP echo reply, id 
9467, seq 195, length 64

the arp-table of bat58 looks good:
root@fon-58:~# arp -a
IP address       HW type     Flags       HW address            Mask     
Device
192.168.111.49   0x1         0x2         9e:90:fc:dc:99:09     *        bat0

the other direction does not work either:
root@fon-58:~# ping 192.168.111.49
PING 192.168.111.49 (192.168.111.49): 56 data bytes

the packet go out on bat58 on the bat0 interface
root@fon-58:~# batctl td bat0 | grep "ICMP"
13:54:15.727222 IP 192.168.111.58 > 192.168.111.49: ICMP echo request, 
id 1961, seq 112, length 64

but it its *NOT* visible in the wlan-interface:
root@fon-58:~# batctl td wlan2 | grep "ICMP"

A ping from bat58 to bat59 works:
root@fon-58:~# ping 192.168.111.59
PING 192.168.111.59 (192.168.111.59): 56 data bytes
64 bytes from 192.168.111.59: seq=0 ttl=64 time=15.729 ms

and appears in both dumps:
root@fon-58:~# batctl td wlan2 | grep "ICMP"
14:00:50.522992 BAT bat58 > bat59: UCAST, ttvn 1, ttl 50, IP 
192.168.111.58 > 192.168.111.59: ICMP echo request, id 1997, seq 3, 
length 64
14:00:50.530158 BAT bat59 > bat58: UCAST, ttvn 1, ttl 50, IP 
192.168.111.59 > 192.168.111.58: ICMP echo reply, id 1997, seq 3, length 64

root@fon-58:~# batctl td bat0 | grep "ICMP"
14:01:05.563243 IP 192.168.111.58 > 192.168.111.59: ICMP echo request, 
id 1997, seq 18, length 64
14:01:05.567195 IP 192.168.111.59 > 192.168.111.58: ICMP echo reply, id 
1997, seq 18, length 64

Why is the ICMP-Ping from 58 to 49 not send on the wlan?

Does the "TX-dropped" count in ifconfig mean anything?

I dont't understand the "batctl tg". If i repeat the command it gives me 
different results:

root@fon-58:~# batctl tg |grep "49"
  * 04:11:80:f4:40:c8  (  1) via             bat49     (  1)
root@fon-58:~# batctl tg |grep "49"
  * 0c:6d:ee:7c:ba:01  (  1) via             bat49     (  1)
root@fon-58:~# batctl tg |grep "49"
  * 04:11:80:f4:40:c8  (  1) via             bat49     (  1)
root@fon-58:~# batctl tg |grep "49"
  * 18:84:80:34:51:01  (  1) via             bat49     (  1)
root@fon-58:~# batctl tg |grep "49"
  * 04:30:48:60:6c:dd  (  1) via             bat49     (  1)
root@fon-58:~# batctl tg |grep "49"
  * 04:11:80:f4:40:c8  (  1) via             bat49     (  1)

i have not yet found a device with the mac "04:11:80:f4:40:c8"

if i look in the logs on bat49 it keeps creating and deleting an enrty 
with this address:
root@1043-49:~# batctl l | grep "40:c8"
[      9726] Creating new global tt entry: 04:11:80:f4:40:c8 (via 
0a:18:84:1e:f6:05)
[      9726] Deleting global tt entry 04:11:80:f4:40:c8 (via 
0a:18:84:1e:f6:05): originator time out

The nodes are fixed an not moving. Do i have to specify them as 
non-roaming somehow?

We have problems with the correct / same time on all devices. Is that a 
problem for batman?

Tobias


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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
  2011-08-31 15:57   ` wayne abroue
  2011-08-31 16:07     ` Antonio Quartulli
@ 2011-08-31 16:44     ` Tobias
  2011-08-31 16:54       ` wayne abroue
  1 sibling, 1 reply; 35+ messages in thread
From: Tobias @ 2011-08-31 16:44 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

Am 31.08.2011 17:57, schrieb wayne abroue:
> On Wed, Aug 31, 2011 at 11:55 AM, Marek Lindner<lindner_marek@yahoo.de>  wrote:
>> Hi,
>>
>>> At first everything seemed to work. A node on the one end could ping a
>>> node on the other end over the mesh-network. The ping was hopping from
>>> node to node as expected.
>>>
>>> But sometimes some paths do not work anymore.
>>>
>>> Some nodes can only reach their direct neighbors via a "normal ping". A
>>> ping to a node via one hop does not work. A "batctl ping" does work!
>>>
>>> This only happens to parts of the network and is not permanent. If i
>>> wait it will recover, but then the problem appears at another node.
>> since "batctl ping" works I'd say your mesh works fine - you have a problem in
>> your higher layers. Maybe a mac address collision or an ARP timeout ?
>>
>> Can you provide specific examples we can go through ? For instance, provide
>> the batctl ping output to the neighbor in question, the ping error message
>> (does it say timeout / host could not be found / etc), a batctl traceroute to
>> the neighbor in question and the output of the global translation table.
>>
>> Are you trying to ping a 'fixed' node or a node that is roaming ?
>>
>> Regards,
>> Marek
>>
>>
> I'd also check signal strength,, have experienced this  when levels
> are fluctuating, ie: batctl ping works, ip not. then comes back.
>
> Wayne A
Hi Wayne,

the signal level is not very good - but it should be sufficient. (around 
40-60%)

Even when i keep both pings running at the same time, only the "batctl 
p" works.

Tobias

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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
  2011-08-31 16:44     ` [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work Tobias
@ 2011-08-31 16:54       ` wayne abroue
  0 siblings, 0 replies; 35+ messages in thread
From: wayne abroue @ 2011-08-31 16:54 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

On Wed, Aug 31, 2011 at 6:44 PM, Tobias <tracer@robotech.de> wrote:
> Am 31.08.2011 17:57, schrieb wayne abroue:
>>
>> On Wed, Aug 31, 2011 at 11:55 AM, Marek Lindner<lindner_marek@yahoo.de>
>>  wrote:
>>>
>>> Hi,
>>>
>>>> At first everything seemed to work. A node on the one end could ping a
>>>> node on the other end over the mesh-network. The ping was hopping from
>>>> node to node as expected.
>>>>
>>>> But sometimes some paths do not work anymore.
>>>>
>>>> Some nodes can only reach their direct neighbors via a "normal ping". A
>>>> ping to a node via one hop does not work. A "batctl ping" does work!
>>>>
>>>> This only happens to parts of the network and is not permanent. If i
>>>> wait it will recover, but then the problem appears at another node.
>>>
>>> since "batctl ping" works I'd say your mesh works fine - you have a
>>> problem in
>>> your higher layers. Maybe a mac address collision or an ARP timeout ?
>>>
>>> Can you provide specific examples we can go through ? For instance,
>>> provide
>>> the batctl ping output to the neighbor in question, the ping error
>>> message
>>> (does it say timeout / host could not be found / etc), a batctl
>>> traceroute to
>>> the neighbor in question and the output of the global translation table.
>>>
>>> Are you trying to ping a 'fixed' node or a node that is roaming ?
>>>
>>> Regards,
>>> Marek
>>>
>>>
>> I'd also check signal strength,, have experienced this  when levels
>> are fluctuating, ie: batctl ping works, ip not. then comes back.
>>
>> Wayne A
>
> Hi Wayne,
>
> the signal level is not very good - but it should be sufficient. (around
> 40-60%)
>
> Even when i keep both pings running at the same time, only the "batctl p"
> works.
>
> Tobias
>

Thats your problem,, I have experienced the same in the past,, You
will find access very erratic,, upgrade your antenna if you can.

Wayne A

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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
  2011-08-31 16:18         ` Antonio Quartulli
@ 2011-08-31 17:05           ` Tobias
  2011-08-31 21:55             ` Antonio Quartulli
  0 siblings, 1 reply; 35+ messages in thread
From: Tobias @ 2011-08-31 17:05 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

Am 31.08.2011 18:18, schrieb Antonio Quartulli:
> On Wed, Aug 31, 2011 at 06:16:22PM +0200, Marek Lindner wrote:
>> On Wednesday, August 31, 2011 18:07:13 Antonio Quartulli wrote:
>>> Could it be a TT problem? Please, try to enable TT related log only (using
>>> "batctl ll x", I can't remember the correct x value) and copy/paste the
>>> output of "batctl l" during the blackout time to
>>> the moment when everything restart to work.
>> It is honorable that you want to take the blame but 2011.2.0 does not have the
>> tt patches yet.  ;-)
> Ops, sorry! I always confuse the release numbers :-)
> (phew)
>
> cheers,
> Antonio

Sorry, I mixed the versions i installed. I have the problems with 
2011.3.0. Before - I tried with 2011.2.0 but when i flashed the nodes i 
took 2011.3.0.

So i tried activating the log (batctl ll 4) but it its way too much to 
keep that running for more than a few seconds. If you relly need the 
complete log i have to setup a syslog-server to store that.

A short snippet:
[     25706] Received TT_RESPONSE from bat53 for ttvn 1 t_size: 1 [F]
[     25706] Deleting global tt entry 04:11:80:db:48:c8 (via 
0a:18:84:1e:f6:05): originator time out
[     25706] Creating new global tt entry: 00:02:81:b9:4c:c8 (via 
0a:18:84:1e:f6:05)
[     25707] TT inconsistency for 0a:18:84:1e:f6:05. Need to retrieve 
the correct information (ttvn: 1 last_ttvn: 1 crc: 51609 last_crc: 20405 
num_changes: 0)
[     25707] Sending TT_REQUEST to bat53 via bat51 [F]
[     25707] Received TT_RESPONSE from bat53 for ttvn 1 t_size: 1 [F]
[     25707] Deleting global tt entry 00:02:81:b9:4c:c8 (via 
0a:18:84:1e:f6:05): originator time out
[     25707] Creating new global tt entry: 18:84:1e:f6:05:01 (via 
0a:18:84:1e:f6:05)
[     25707] TT inconsistency for 0a:18:84:1e:f6:05. Need to retrieve 
the correct information (ttvn: 1 last_ttvn: 1 crc: 51609 last_crc: 19671 
num_changes: 0)
[     25707] Sending TT_REQUEST to bat53 via bat51 [F]
[     25707] Received TT_RESPONSE from bat53 for ttvn 1 t_size: 1 [F]
[     25707] Deleting global tt entry 18:84:1e:f6:05:01 (via 
0a:18:84:1e:f6:05): originator time out
[     25707] Creating new global tt entry: 04:11:80:e4:a8:c8 (via 
0a:18:84:1e:f6:05)
[     25708] TT inconsistency for 0a:18:84:26:35:9d. Need to retrieve 
the correct information (ttvn: 1 last_ttvn: 1 crc: 40594 last_crc: 53273 
num_changes: 0)

Tobias


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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
  2011-08-31 17:05           ` Tobias
@ 2011-08-31 21:55             ` Antonio Quartulli
  2011-08-31 22:14               ` Javier Cardona
  2011-09-01  8:15               ` Tobias
  0 siblings, 2 replies; 35+ messages in thread
From: Antonio Quartulli @ 2011-08-31 21:55 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

On Wed, Aug 31, 2011 at 07:05:31 +0200, Tobias wrote:
> Sorry, I mixed the versions i installed. I have the problems with 
> 2011.3.0. Before - I tried with 2011.2.0 but when i flashed the nodes i 
> took 2011.3.0.

Ok :-)

> [     25706] Creating new global tt entry: 00:02:81:b9:4c:c8 (via 
> 0a:18:84:1e:f6:05)
> [     25707] Creating new global tt entry: 18:84:1e:f6:05:01 (via 
> 0a:18:84:1e:f6:05)
> [     25707] Creating new global tt entry: 04:11:80:e4:a8:c8 (via 
> 0a:18:84:1e:f6:05)

Here there is something strange..Do you know where do these macs belong
(00:02:81:b9:4c:c8, 04:11:80:db:48:c8, 18:84:1e:f6:05:01)? Do you have clients
connected to the mesh through the batman-adv nodes?

Cheers,
Antonio

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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
  2011-08-31 21:55             ` Antonio Quartulli
@ 2011-08-31 22:14               ` Javier Cardona
  2011-09-01  8:15               ` Tobias
  1 sibling, 0 replies; 35+ messages in thread
From: Javier Cardona @ 2011-08-31 22:14 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

On Wed, Aug 31, 2011 at 2:55 PM, Antonio Quartulli <ordex@autistici.org> wrote:
> On Wed, Aug 31, 2011 at 07:05:31 +0200, Tobias wrote:
>> [     25706] Creating new global tt entry: 00:02:81:b9:4c:c8 (via
>> 0a:18:84:1e:f6:05)
>> [     25707] Creating new global tt entry: 18:84:1e:f6:05:01 (via
>> 0a:18:84:1e:f6:05)
>> [     25707] Creating new global tt entry: 04:11:80:e4:a8:c8 (via
>> 0a:18:84:1e:f6:05)
>
> Here there is something strange..Do you know where do these macs belong
> (00:02:81:b9:4c:c8, 04:11:80:db:48:c8, 18:84:1e:f6:05:01)? Do you have clients
> connected to the mesh through the batman-adv nodes?

Couldn't help noticing that one mac is a one-byte right shift of the other:

(...)   (via 0a:18:84:1e:f6:05)
Creating (...) 18:84:1e:f6:05:01
---------------------^----------------^

Javier

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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
  2011-08-31 21:55             ` Antonio Quartulli
  2011-08-31 22:14               ` Javier Cardona
@ 2011-09-01  8:15               ` Tobias
  2011-09-01 15:55                 ` Antonio Quartulli
  1 sibling, 1 reply; 35+ messages in thread
From: Tobias @ 2011-09-01  8:15 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

Am 31.08.2011 23:55, schrieb Antonio Quartulli:
>> [     25706] Creating new global tt entry: 00:02:81:b9:4c:c8 (via
>> 0a:18:84:1e:f6:05)
>> [     25707] Creating new global tt entry: 18:84:1e:f6:05:01 (via
>> 0a:18:84:1e:f6:05)
>> [     25707] Creating new global tt entry: 04:11:80:e4:a8:c8 (via
>> 0a:18:84:1e:f6:05)
> Here there is something strange..Do you know where do these macs belong
> (00:02:81:b9:4c:c8, 04:11:80:db:48:c8, 18:84:1e:f6:05:01)? Do you have clients
> connected to the mesh through the batman-adv nodes?
>
> Cheers,
> Antonio
I just looked on every node in the network and can't find any nodes with 
these macs.
ifconfig | grep -i "4c:c8\|05:01\|48:c8" ; arp  | grep -i 
"4c:c8\|05:01\|48:c8"

ATM there are only the mesh-nodes, one internet-router and a camera 
connected. The router is in the middle and the camera on one end. (3-4 
hops from the internet-router)

Well, i can't reach the camera right now - i have to reset the node maybe...

When everything is working i get a HD-picture from the camera every 
second. So the connection is good (when it's working...)

I notices another mac 04:11:81:b9:42:c8 and looked in the log of node bat54:
root@fon-53:~# batctl l | grep "42:c8"
[     87390] Creating new global tt entry: 00:02:81:b9:42:c8 (via 
5e:e6:fc:ae:55:a8)
[     87390] Deleting global tt entry 00:02:81:b9:42:c8 (via 
5e:e6:fc:ae:55:a8): originator time out

the via is from bat51 - unfortunately i dont have loggin on that node - 
i'll install a different image later

funny thing is bat49 which is directly connected to bat51...
root@1043-49:~# batctl o
[B.A.T.M.A.N. adv 2011.3.0, MainIF/MAC: wlan2/9e:0c:6d:ee:7c:ba (bat0)]
   Originator      last-seen (#/255)           Nexthop [outgoingIF]:   
Potential nexthops ...
             bat60    7.640s   ( 79)             bat51 [     
wlan2]:             bat59 (  7)             bat51 ( 79)
             bat58    0.160s   ( 75)             bat51 [     
wlan2]:             bat60 (  0)             bat59 ( 10)             
bat51 ( 75)
             bat51    0.190s   (230)             bat51 [     
wlan2]:             bat59 (  0)             bat51 (230)
             bat67    4.750s   ( 83)             bat51 [     
wlan2]:             bat59 (  0)             bat51 ( 83)
             bat53    0.330s   ( 86)             bat51 [     
wlan2]:             bat60 (  0)             bat59 ( 12)             
bat51 ( 86)
             bat52    4.070s   (137)             bat51 [     
wlan2]:             bat59 (  4)             bat51 (137)
             bat54    0.610s   ( 83)             bat51 [     
wlan2]:             bat59 (  7)             bat51 ( 83)
             bat59    9.220s   ( 93)             bat51 [     
wlan2]:             bat59 ( 10)             bat51 ( 93)
             bat55   14.470s   ( 81)             bat51 [     
wlan2]:             bat59 (  6)             bat51 ( 81)

...does hear different broadcasts:
root@1043-49:~# batctl l | grep "42:c8"
[     80123] Creating new global tt entry: 04:11:81:b9:42:c8 (via 
0a:18:84:1e:f6:05)
[     80124] Deleting global tt entry 04:11:81:b9:42:c8 (via 
0a:18:84:1e:f6:05): originator time out
[     80168] Creating new global tt entry: 00:02:81:b9:42:c8 (via 
0a:18:84:1e:f6:05)
[     80168] Deleting global tt entry 00:02:81:b9:42:c8 (via 
0a:18:84:1e:f6:05): originator time out
[     80182] Creating new global tt entry: 00:02:81:b9:42:c8 (via 
0a:18:84:1e:f6:05)
[     80183] Deleting global tt entry 00:02:81:b9:42:c8 (via 
0a:18:84:1e:f6:05): originator time out
[     80197] Creating new global tt entry: 00:02:81:b9:42:c8 (via 
0a:18:84:1e:f6:05)
[     80198] Deleting global tt entry 00:02:81:b9:42:c8 (via 
0a:18:84:1e:f6:05): originator time out

These "via"-mac points back to bat53 but in the log of bat53 i only see 
that they are comming "via" bat51.

There is nothing connected to bat51 or bat53 - both are wifi-only and 
nobody can connect to them atm (except the mesh)

Why does it create a global tt entry and delete it a second later?

Tobias



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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
  2011-09-01  8:15               ` Tobias
@ 2011-09-01 15:55                 ` Antonio Quartulli
  2011-09-01 21:11                   ` Tobias
  0 siblings, 1 reply; 35+ messages in thread
From: Antonio Quartulli @ 2011-09-01 15:55 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

Hello,

On Thu, Sep 01, 2011 at 10:15:45 +0200, Tobias wrote:
> I just looked on every node in the network and can't find any nodes with 
> these macs.
> ifconfig | grep -i "4c:c8\|05:01\|48:c8" ; arp  | grep -i 
> "4c:c8\|05:01\|48:c8"
> 
> ATM there are only the mesh-nodes, one internet-router and a camera 
> connected. The router is in the middle and the camera on one end. (3-4 
> hops from the internet-router)

ok. It seems there is a bug somewhere :-)
Can you again copy/paste this creating/deleting part of the node log and tell me
which is the correct bat0 MAC address of the node announcing the change?

E.g:
on fon-53 you have this log:
 > [     87390] Creating new global tt entry: 00:02:81:b9:42:c8 (via 
 > 5e:e6:fc:ae:55:a8)
 > [     87390] Deleting global tt entry 00:02:81:b9:42:c8 (via 
 > 5e:e6:fc:ae:55:a8): originator time out

then go on node 5e:e6:fc:ae:55:a8 and write down its bat0 MAC address, please.
Moreover, is bat0 bridged with any other interface (e.g. bat0 + eth0 within br0?)

> Why does it create a global tt entry and delete it a second later?

1 second is the OGM interval. It seems there is some inconsistency in the CRC
check which is done on OGM receive (1 per sec). In case of inconsistency the
node asks for an update. When receiving the response the node deletes the whole
table (in this case) and refill it with the information contained in the
response message.

Cheers, 
Antonio

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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
  2011-09-01 15:55                 ` Antonio Quartulli
@ 2011-09-01 21:11                   ` Tobias
  2011-09-01 21:35                     ` Antonio Quartulli
  0 siblings, 1 reply; 35+ messages in thread
From: Tobias @ 2011-09-01 21:11 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

Am 01.09.2011 17:55, schrieb Antonio Quartulli:
>
> ok. It seems there is a bug somewhere :-)
> Can you again copy/paste this creating/deleting part of the node log and tell me
> which is the correct bat0 MAC address of the node announcing the change?
>
> E.g:
> on fon-53 you have this log:
>   >  [     87390] Creating new global tt entry: 00:02:81:b9:42:c8 (via
>   >  5e:e6:fc:ae:55:a8)
>   >  [     87390] Deleting global tt entry 00:02:81:b9:42:c8 (via
>   >  5e:e6:fc:ae:55:a8): originator time out
>
> then go on node 5e:e6:fc:ae:55:a8 and write down its bat0 MAC address, please.
> Moreover, is bat0 bridged with any other interface (e.g. bat0 + eth0 within br0?)

sure:
root@1043-49:~# batctl l | grep "0a:18:84:1e:f6:05"
[    125592] TT inconsistency for 0a:18:84:1e:f6:05. Need to retrieve 
the correct information (ttvn: 1 last_ttvn: 1 crc: 51609 last_crc: 20443 
num_changes: 0)
[    125592] Deleting global tt entry 04:11:80:ca:6a:c8 (via 
0a:18:84:1e:f6:05): originator time out
[    125592] Creating new global tt entry: 04:11:80:df:ce:c8 (via 
0a:18:84:1e:f6:05)
[    125593] TT inconsistency for 0a:18:84:1e:f6:05. Need to retrieve 
the correct information (ttvn: 1 last_ttvn: 1 crc: 51609 last_crc: 19376 
num_changes: 0)
[    125593] Deleting global tt entry 04:11:80:df:ce:c8 (via 
0a:18:84:1e:f6:05): originator time out
[    125593] Creating new global tt entry: 04:11:80:2f:c6:c8 (via 
0a:18:84:1e:f6:05)
[    125595] TT inconsistency for 0a:18:84:1e:f6:05. Need to retrieve 
the correct information (ttvn: 1 last_ttvn: 1 crc: 51609 last_crc: 47287 
num_changes: 0)
[    125595] Deleting global tt entry 04:11:80:2f:c6:c8 (via 
0a:18:84:1e:f6:05): originator time out
[    125595] Creating new global tt entry: 04:11:80:50:3a:c8 (via 
0a:18:84:1e:f6:05)
[    125597] TT inconsistency for 0a:18:84:1e:f6:05. Need to retrieve 
the correct information (ttvn: 1 last_ttvn: 1 crc: 51609 last_crc: 24775 
num_changes: 0)
[    125597] Creating new global tt entry: 04:11:80:2f:c6:c8 (via 
0a:18:84:1e:f6:05)


root@fon-53:~# brctl show
bridge name     bridge id               STP enabled     interfaces
br-lan          8000.0018841ef604       no              eth0
                                                         edge1
                                                         wlan1
mesh            8000.0018841ef605       no              wlan0
                                                         edge0

root@fon-53:~# ifconfig
bat0      Link encap:Ethernet  HWaddr DA:54:2C:E4:B9:1E
           inet addr:192.168.111.53  Bcast:192.168.111.255  
Mask:255.255.255.0
br-lan    Link encap:Ethernet  HWaddr 00:18:84:1E:F6:04
           inet addr:192.168.1.53  Bcast:192.168.1.255  Mask:255.255.255.0
edge0     Link encap:Ethernet  HWaddr 0A:EA:66:19:D8:72
           inet addr:10.0.2.53  Bcast:10.0.2.255  Mask:255.255.255.0
edge1     Link encap:Ethernet  HWaddr 6A:D6:C4:C0:D6:76
           inet addr:10.0.1.53  Bcast:10.0.1.255  Mask:255.255.255.0
eth0      Link encap:Ethernet  HWaddr 00:18:84:1E:F6:04
mesh      Link encap:Ethernet  HWaddr 00:18:84:1E:F6:05
           inet addr:10.0.0.53  Bcast:10.255.255.255  Mask:255.0.0.0
mon.wlan0 Link encap:UNSPEC  HWaddr 
00-18-84-1E-F6-05-00-47-00-00-00-00-00-00-00-00
wlan0     Link encap:Ethernet  HWaddr 00:18:84:1E:F6:05
wlan1     Link encap:Ethernet  HWaddr 06:18:84:1E:F6:05
wlan2     Link encap:Ethernet  HWaddr 0A:18:84:1E:F6:05

As you can see we have a bridging to an n2n-tunnel but the tunnel is 
down ATM.
And the other wlan-interfaces (0 and 1) are secured and no one can 
connect. (no RX-traffic)

I even removed the n2n-tunnel but the bat53 is still causing these 
inconsistencies.

root@1043-49:~#  batctl l | grep "inconsis"
[    126479] TT inconsistency for 0a:18:84:1e:f6:05. Need to retrieve 
the correct information (ttvn: 1 last_ttvn: 1 crc: 51609 last_crc: 47287 
num_changes: 0)
[    126480] TT inconsistency for 0a:18:84:26:35:9d. Need to retrieve 
the correct information (ttvn: 1 last_ttvn: 1 crc: 40594 last_crc: 26555 
num_changes: 0)
[    126480] TT inconsistency for 0a:18:84:1e:f6:05. Need to retrieve 
the correct information (ttvn: 1 last_ttvn: 1 crc: 51609 last_crc: 26555 
num_changes: 0)
[    126481] TT inconsistency for 0a:18:84:1e:f6:05. Need to retrieve 
the correct information (ttvn: 1 last_ttvn: 1 crc: 51609 last_crc: 11185 
num_changes: 0)
[    126481] TT inconsistency for 0a:18:84:1e:f6:05. Need to retrieve 
the correct information (ttvn: 1 last_ttvn: 1 crc: 51609 last_crc: 24775 
num_changes: 0)
[    126482] TT inconsistency for 0a:18:84:1e:f6:05. Need to retrieve 
the correct information (ttvn: 1 last_ttvn: 1 crc: 51609 last_crc: 19671 
num_changes: 0)
[    126483] TT inconsistency for 0a:18:84:1e:f6:05. Need to retrieve 
the correct information (ttvn: 1 last_ttvn: 1 crc: 51609 last_crc: 16977 
num_changes: 0)
[    126484] TT inconsistency for 0a:18:84:1e:f6:05. Need to retrieve 
the correct information (ttvn: 1 last_ttvn: 1 crc: 51609 last_crc: 26555 
num_changes: 0)
[    126485] TT inconsistency for 0a:18:84:26:35:9d. Need to retrieve 
the correct information (ttvn: 1 last_ttvn: 1 crc: 40594 last_crc: 47287 
num_changes: 0)

On some nodes i get a bunch of those inconsistencies within seconds on 
other nodes i don't get any within minutes.

Let me know if i can provide you any further infos that might help.

Tobias


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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
  2011-09-01 21:11                   ` Tobias
@ 2011-09-01 21:35                     ` Antonio Quartulli
  2011-09-01 22:45                       ` Tobias
  0 siblings, 1 reply; 35+ messages in thread
From: Antonio Quartulli @ 2011-09-01 21:35 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

On Thu, Sep 01, 2011 at 11:11:14 +0200, Tobias wrote:
> root@1043-49:~# batctl l | grep "0a:18:84:1e:f6:05"

Can you give me the output of batctl tg and batctl tl on this node (1043-49)?

> root@fon-53:~# brctl show

and ouput of batctl tl of this other node (fon-53)?

Because it seems that we are dealing with more than one bug, so I would like to
distinguish the possible causes.

@Andrew: operation on mac addresses should be bytewise than the architecture
should now be implied in these problems, no?

Thanks,
Antonio

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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
  2011-09-01 21:35                     ` Antonio Quartulli
@ 2011-09-01 22:45                       ` Tobias
  2011-09-05  8:06                         ` Marek Lindner
  0 siblings, 1 reply; 35+ messages in thread
From: Tobias @ 2011-09-01 22:45 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

Am 01.09.2011 23:35, schrieb Antonio Quartulli:
> On Thu, Sep 01, 2011 at 11:11:14 +0200, Tobias wrote:
>> root@1043-49:~# batctl l | grep "0a:18:84:1e:f6:05"
> Can you give me the output of batctl tg and batctl tl on this node (1043-49)?

uncut output:

root@1043-49:~# batctl tg
Globally announced TT entries received via the mesh bat0
        Client        (TTVN)       Originator      (Curr TTVN)
  * 42:c9:62:7e:91:f2  (  1) via             bat57     (  1)
  * d6:0f:24:f1:43:3c  (  1) via             bat59     (  1)
  * 04:11:80:50:38:c8  (  1) via             bat53     (  1)
  * 7a:7b:f4:ed:5c:24  (  1) via             bat52     (  1)
  * 04:11:80:2f:c4:c8  (  1) via             bat67     (  1)
  * be:57:9e:5b:e0:3e  (  1) via             bat60     (  1)
  * fa:45:8f:a5:2c:75  (  1) via             bat55     (  1)
  * c2:90:a3:3b:4e:c9  (  1) via             bat58     (  1)
  * ea:4b:dd:55:f3:1f  (  1) via             bat54     (  1)
  * 76:18:e9:ab:f9:40  (  1) via             bat51     (  1)

root@1043-49:~# batctl tl
Locally retrieved addresses (from bat0) announced via TT (TTVN: 1):
  * 9e:90:fc:dc:99:09

> and ouput of batctl tl of this other node (fon-53)?

root@fon-53:~# batctl tl
Locally retrieved addresses (from bat0) announced via TT (TTVN: 1):
  * da:54:2c:e4:b9:1e

Tobias


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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
  2011-09-01 22:45                       ` Tobias
@ 2011-09-05  8:06                         ` Marek Lindner
  2011-09-06  9:06                           ` Tobias
  0 siblings, 1 reply; 35+ messages in thread
From: Marek Lindner @ 2011-09-05  8:06 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking


Tobias,

> root@1043-49:~# batctl tg
> Globally announced TT entries received via the mesh bat0
>         Client        (TTVN)       Originator      (Curr TTVN)
>   * 42:c9:62:7e:91:f2  (  1) via             bat57     (  1)
>   * d6:0f:24:f1:43:3c  (  1) via             bat59     (  1)
>   * 04:11:80:50:38:c8  (  1) via             bat53     (  1)
>   * 7a:7b:f4:ed:5c:24  (  1) via             bat52     (  1)
>   * 04:11:80:2f:c4:c8  (  1) via             bat67     (  1)
>   * be:57:9e:5b:e0:3e  (  1) via             bat60     (  1)
>   * fa:45:8f:a5:2c:75  (  1) via             bat55     (  1)
>   * c2:90:a3:3b:4e:c9  (  1) via             bat58     (  1)
>   * ea:4b:dd:55:f3:1f  (  1) via             bat54     (  1)
>   * 76:18:e9:ab:f9:40  (  1) via             bat51     (  1)
> 
> root@1043-49:~# batctl tl
> Locally retrieved addresses (from bat0) announced via TT (TTVN: 1):
>   * 9e:90:fc:dc:99:09
> 
> > and ouput of batctl tl of this other node (fon-53)?
> 
> root@fon-53:~# batctl tl
> Locally retrieved addresses (from bat0) announced via TT (TTVN: 1):
>   * da:54:2c:e4:b9:1e

I have tried to reproduce your issue but was unsuccessful. Could you help 
narrowing down the cause by providing some more information ? 
For instance:
* What is the simpliest setup that can provoke the issue ? Does it also happen 
if you only involve 2 nodes ? Or 3 / 4 / 5 ? Does the problem go away if you 
reduce the number of interfaces on each node ?
* You provided some logs showing additions / deletions of a non-existing mac 
address and you said this would go away after a while. What do the logs say 
when the problem is about to disappear ?
* Are the nodes that often exhibit this flakiness far apart or direct 
neighbors ? What does the topology look like ? Again, the simplier the setup 
the better.

Regards,
Marek

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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
  2011-09-05  8:06                         ` Marek Lindner
@ 2011-09-06  9:06                           ` Tobias
  2011-09-06 18:33                             ` Marek Lindner
  0 siblings, 1 reply; 35+ messages in thread
From: Tobias @ 2011-09-06  9:06 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

Am 05.09.2011 10:06, schrieb Marek Lindner:
>
> I have tried to reproduce your issue but was unsuccessful. Could you help
> narrowing down the cause by providing some more information ?
> For instance:
> * What is the simpliest setup that can provoke the issue ? Does it also happen
> if you only involve 2 nodes ? Or 3 / 4 / 5 ? Does the problem go away if you
> reduce the number of interfaces on each node ?
> * You provided some logs showing additions / deletions of a non-existing mac
> address and you said this would go away after a while. What do the logs say
> when the problem is about to disappear ?
> * Are the nodes that often exhibit this flakiness far apart or direct
> neighbors ? What does the topology look like ? Again, the simplier the setup
> the better.
>
> Regards,
> Marek

Hello Marek,

i needed to get this working so i switched to 2011.2 last weekend and 
the problems are gone.

So it seems it's a bug introduced in 2011.3.

The network on which i had the problems is live and in use, so i can't 
make any further tests on it right now.

I have some similar devices as spare parts. I'll try to set them up and 
reproduce the problems - but that can take a while.

What i can tell you is:
- every node has only one wlan-network on which batman runs and only the 
node itself uses the bat0 interface - no bridging, no routing
- at the end, most of the time only the directly connected nodes were 
reachable via a normal ping - the "hopping" was not working
- i had the *feeling* that the problems got bigger the more nodes we added
- also i *think* the problems began when we mixed Fonera- and 
TP-Link-devices (sightly different architecture i think)
- the log was always spammed with messages - because of the tiny devices 
i use it's not easy to save the log and inspect it when the connection 
is working again - which can take an hour...

Thank you for your help. I'm sorry, that i can't provide you more infos 
to track down the bug.

Tobias

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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
  2011-09-06  9:06                           ` Tobias
@ 2011-09-06 18:33                             ` Marek Lindner
  2011-09-07  8:00                               ` Tobias
  0 siblings, 1 reply; 35+ messages in thread
From: Marek Lindner @ 2011-09-06 18:33 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking


Hi,

> i needed to get this working so i switched to 2011.2 last weekend and
> the problems are gone.

ok.


> I have some similar devices as spare parts. I'll try to set them up and
> reproduce the problems - but that can take a while.

Understood. We hopefully come up with a patch soon that will need to be 
tested.


> - every node has only one wlan-network on which batman runs and only the
> node itself uses the bat0 interface - no bridging, no routing
> - at the end, most of the time only the directly connected nodes were
> reachable via a normal ping - the "hopping" was not working
> - i had the *feeling* that the problems got bigger the more nodes we added
> - also i *think* the problems began when we mixed Fonera- and
> TP-Link-devices (sightly different architecture i think)

Can you tell us what TP-Link model you are using (name, hardware revision, 
etc). Or post the output of /proc/cpuinfo ?


> - the log was always spammed with messages - because of the tiny devices
> i use it's not easy to save the log and inspect it when the connection
> is working again - which can take an hour...

It is somewhat troublesome that the problem went away after a while. If we 
have a bug in the architecture handling you would expect it to be a permanent 
problem. But who knows ...

Regards,
Marek

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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
  2011-09-06 18:33                             ` Marek Lindner
@ 2011-09-07  8:00                               ` Tobias
  2011-09-13 11:18                                 ` Marek Lindner
  0 siblings, 1 reply; 35+ messages in thread
From: Tobias @ 2011-09-07  8:00 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

Am 06.09.2011 20:33, schrieb Marek Lindner:
>
> Can you tell us what TP-Link model you are using (name, hardware revision,
> etc). Or post the output of /proc/cpuinfo ?

Hi Marek,

the TP-Links are 1043:
root@1043-50:~# cat /proc/cpuinfo
system type             : Atheros AR9132 rev 2
machine                 : TP-LINK TL-WR1043ND
processor               : 0
cpu model               : MIPS 24Kc V7.4
BogoMIPS                : 265.42
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 16
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0000, 
0x0ff8, 0x0ff8, 0x0ff8]
ASEs implemented        : mips16
shadow register sets    : 1
kscratch registers      : 0
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

and 841:
root@841-52:~# cat /proc/cpuinfo
system type             : Atheros AR7241 rev 1
machine                 : TP-LINK TL-WR741ND
processor               : 0
cpu model               : MIPS 24Kc V7.4
BogoMIPS                : 265.42
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 16
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0000, 
0x08f8, 0x07c0, 0x0ba8]
ASEs implemented        : mips16
shadow register sets    : 1
kscratch registers      : 0
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

the others are Fonera2100:
root@fon-53:~# cat /proc/cpuinfo
system type             : Atheros AR2315
processor               : 0
cpu model               : MIPS 4KEc V6.4
BogoMIPS                : 183.50
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 16
extra interrupt vector  : yes
hardware watchpoint     : no
ASEs implemented        :
shadow register sets    : 1
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

Tobias


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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
  2011-09-07  8:00                               ` Tobias
@ 2011-09-13 11:18                                 ` Marek Lindner
  2011-09-13 12:09                                   ` Andrew Lunn
  2011-09-14 20:54                                   ` Tobias
  0 siblings, 2 replies; 35+ messages in thread
From: Marek Lindner @ 2011-09-13 11:18 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking


Hi,

> the TP-Links are 1043:
> root@1043-50:~# cat /proc/cpuinfo
> system type             : Atheros AR9132 rev 2
> machine                 : TP-LINK TL-WR1043ND
> processor               : 0
> cpu model               : MIPS 24Kc V7.4
> BogoMIPS                : 265.42
> wait instruction        : yes
> microsecond timers      : yes
> tlb_entries             : 16
> extra interrupt vector  : yes
> hardware watchpoint     : yes, count: 4, address/irw mask: [0x0000,
> 0x0ff8, 0x0ff8, 0x0ff8]
> ASEs implemented        : mips16
> shadow register sets    : 1
> kscratch registers      : 0
> core                    : 0
> VCED exceptions         : not available
> VCEI exceptions         : not available

thanks for providing the info. So far, we can't spot the issue no matter how 
long we stare at the code. I'd like to make some patches that will spit out 
additional debug info to isolate the cause. As we can't reproduce the problem 
at our end we depend on you to test these patches. Will it be possible for you 
to have a mix of your nodes running in debug mode ?

Cheers,
Marek

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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
  2011-09-13 11:18                                 ` Marek Lindner
@ 2011-09-13 12:09                                   ` Andrew Lunn
  2011-09-14 20:54                                   ` Tobias
  1 sibling, 0 replies; 35+ messages in thread
From: Andrew Lunn @ 2011-09-13 12:09 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

On Tue, Sep 13, 2011 at 01:18:03PM +0200, Marek Lindner wrote:
> 
> Hi,
> 
> > the TP-Links are 1043:
> > root@1043-50:~# cat /proc/cpuinfo
> > system type             : Atheros AR9132 rev 2
> > machine                 : TP-LINK TL-WR1043ND
> > processor               : 0
> > cpu model               : MIPS 24Kc V7.4
> > BogoMIPS                : 265.42
> > wait instruction        : yes
> > microsecond timers      : yes
> > tlb_entries             : 16
> > extra interrupt vector  : yes
> > hardware watchpoint     : yes, count: 4, address/irw mask: [0x0000,
> > 0x0ff8, 0x0ff8, 0x0ff8]
> > ASEs implemented        : mips16
> > shadow register sets    : 1
> > kscratch registers      : 0
> > core                    : 0
> > VCED exceptions         : not available
> > VCEI exceptions         : not available
> 
> thanks for providing the info. So far, we can't spot the issue no matter how 
> long we stare at the code. 

My gut feeling is its either a compiler issue, a caching issue, or
maybe packing of structures is somehow different between different
architectures. However, you seems to only have MIPs based systems and
i guess you use the same compiler on all platforms, so i lean towards
a compiler problem....

  Andrew

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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
  2011-09-13 11:18                                 ` Marek Lindner
  2011-09-13 12:09                                   ` Andrew Lunn
@ 2011-09-14 20:54                                   ` Tobias
  2011-09-19 22:45                                     ` Antonio Quartulli
  1 sibling, 1 reply; 35+ messages in thread
From: Tobias @ 2011-09-14 20:54 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

Am 13.09.2011 13:18, schrieb Marek Lindner:
> thanks for providing the info. So far, we can't spot the issue no matter how
> long we stare at the code. I'd like to make some patches that will spit out
> additional debug info to isolate the cause. As we can't reproduce the problem
> at our end we depend on you to test these patches. Will it be possible for you
> to have a mix of your nodes running in debug mode ?
>

Hello Marek,

i flashed 5 Foneras and a TP-Link yesterday and today i tried to 
reproduce the problem on a separate network.

It's not easy to reproduce the problem here but if i try, reboot and 
"move" some devices, the "wrong MACs" also appear and some hops do not work.

So, when your patches are ready i can test with them.

Its no problem anymore to capture big logs here.

Tobias














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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
  2011-09-14 20:54                                   ` Tobias
@ 2011-09-19 22:45                                     ` Antonio Quartulli
       [not found]                                       ` <4E7ED5D3.2000600@wifibot.com>
  0 siblings, 1 reply; 35+ messages in thread
From: Antonio Quartulli @ 2011-09-19 22:45 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

On Wed, Sep 14, 2011 at 10:54:08PM +0200, Tobias wrote:
> Hello Marek,
> 
> i flashed 5 Foneras and a TP-Link yesterday and today i tried to 
> reproduce the problem on a separate network.
> 
> It's not easy to reproduce the problem here but if i try, reboot and 
> "move" some devices, the "wrong MACs" also appear and some hops do not work.
> 
> So, when your patches are ready i can test with them.
> 
> Its no problem anymore to capture big logs here.
> 
> Tobias

Ok, little update:

I sent a little patch to Tobias in order to get a verbose log of the TT
updating dialogue (sorry for sending it privately, but I thought it was not
interesting for the list..I won't do it again :-) )

Now I'm going to further investigate on the issue..hoping the new log can help!

Cheers,

-- 
Antonio Quartulli

..each of us alone is worth nothing..
Ernesto "Che" Guevara

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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
       [not found]                                           ` <4E7EE7A9.7010309@wifibot.com>
@ 2011-09-25 16:05                                             ` Antonio Quartulli
  2011-09-25 16:06                                               ` [B.A.T.M.A.N.] [PATCH] batman-adv: Chichek hunt started! Verbose patch Antonio Quartulli
  0 siblings, 1 reply; 35+ messages in thread
From: Antonio Quartulli @ 2011-09-25 16:05 UTC (permalink / raw)
  To: b.a.t.m.a.n

Hi Laurent,

On Sun, Sep 25, 2011 at 10:34:49 +0200, laurent wrote:
> Hello,
> 
> thank you for your fast reply.
> Some precision I use openwrt backfire and each node have eth0 bridged to
> bat0.
> 
> <What about the TT log? does it say something?
> 
> I do not have debug on this version, but I can re flash a new firmware.
> Do I need to  flash all the nodes ?
> 

wel..it would be better to have the log (yes you have to enable the debug and
reflash the nodes for this...), so that we can try to understand what it is
going on in that period of time.

I'm going to send to the ml a patch that will enable a more verbose log so that
we can obtain more information in one shot.

Please apply that patch on top of
the master branch (it should be easy with openwrt. Ask here if you have
problems).

Then, it would be nice if you could copy & paste here the log obtained from two
not working nodes. Once you will post the logs we will decide how to further
inspect the problem. Unluckily it seems to be a arch (or what else) related problem
which makes it unreproducible with my (our) routers.

Cheers,


1) the patch will follow in this thread.
2) I think it is easier to read the log than inspect the graph data
3) I just noticed this was a private mail. Please keep the conversation public
so that all the other people can contribute to solve the issue ;);)



-- 
Antonio Quartulli

..each of us alone is worth nothing..
Ernesto "Che" Guevara

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

* [B.A.T.M.A.N.] [PATCH] batman-adv: Chichek hunt started! Verbose patch
  2011-09-25 16:05                                             ` Antonio Quartulli
@ 2011-09-25 16:06                                               ` Antonio Quartulli
  0 siblings, 0 replies; 35+ messages in thread
From: Antonio Quartulli @ 2011-09-25 16:06 UTC (permalink / raw)
  To: b.a.t.m.a.n

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
---
 translation-table.c |   19 +++++++++++++++++--
 1 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/translation-table.c b/translation-table.c
index 7de9960..e7bac85 100644
--- a/translation-table.c
+++ b/translation-table.c
@@ -258,9 +258,14 @@ int tt_changes_fill_buffer(struct bat_priv *bat_priv,
 	spin_lock_bh(&bat_priv->tt_changes_list_lock);
 	atomic_set(&bat_priv->tt_local_changes, 0);
 
+	printk("TT_BUG Preparing OGM buffer\n");
+
 	list_for_each_entry_safe(entry, safe, &bat_priv->tt_changes_list,
 			list) {
 		if (count < tot_changes) {
+			printk("TT_BUG Copying flags: 0x%x addr: %pM\n",
+					entry->change.flags,
+					entry->change.addr);
 			memcpy(buff + tt_len(count),
 			       &entry->change, sizeof(struct tt_change));
 			count++;
@@ -270,6 +275,8 @@ int tt_changes_fill_buffer(struct bat_priv *bat_priv,
 	}
 	spin_unlock_bh(&bat_priv->tt_changes_list_lock);
 
+	printk("TT_BUG Copied %d addresses\n", count);
+
 	/* Keep the buffer for possible tt_request */
 	spin_lock_bh(&bat_priv->tt_buff_lock);
 	kfree(bat_priv->tt_buff);
@@ -1407,7 +1414,11 @@ static void _tt_update_changes(struct bat_priv *bat_priv,
 {
 	int i;
 
+	printk("TT_BUG Received %d changes\n", tt_num_changes);
+
 	for (i = 0; i < tt_num_changes; i++) {
+		printk("TT_BUG flags: 0x%x %pM\n", (tt_change + i)->flags,
+				(tt_change + i)->addr);
 		if ((tt_change + i)->flags & TT_CLIENT_DEL)
 			tt_global_del(bat_priv, orig_node,
 				      (tt_change + i)->addr,
@@ -1505,12 +1516,16 @@ void handle_tt_response(struct bat_priv *bat_priv,
 	if (!orig_node)
 		goto out;
 
-	if (tt_response->flags & TT_FULL_TABLE)
+	if (tt_response->flags & TT_FULL_TABLE) {
+		printk("TT_BUG Got full table on response\n");
 		tt_fill_gtable(bat_priv, tt_response);
-	else
+	}
+	else{
+		printk("TT_BUG Got diff\n");
 		tt_update_changes(bat_priv, orig_node, tt_response->tt_data,
 				  tt_response->ttvn,
 				  (struct tt_change *)(tt_response + 1));
+	}
 
 	/* Delete the tt_req_node from pending tt_requests list */
 	spin_lock_bh(&bat_priv->tt_req_list_lock);
-- 
1.7.3.4


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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
  2011-08-30 22:53 [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work Tobias
                   ` (2 preceding siblings ...)
  2011-08-31 16:36 ` Tobias
@ 2011-10-19 13:36 ` Antonio Quartulli
  3 siblings, 0 replies; 35+ messages in thread
From: Antonio Quartulli @ 2011-10-19 13:36 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

Hi all, Hi Tobias,

On Wed, Aug 31, 2011 at 12:53:23AM +0200, Tobias wrote:
> Hi all,
> 
> i have setup a mesh-network with batman-adv running on about 10 Foneras 
> and 4 TP-Link on OpenWRT.
> 
> At first everything seemed to work. A node on the one end could ping a 
> node on the other end over the mesh-network. The ping was hopping from 
> node to node as expected.
> 
> But sometimes some paths do not work anymore.
> 
> Some nodes can only reach their direct neighbors via a "normal ping". A 
> ping to a node via one hop does not work. A "batctl ping" does work!
> 
> This only happens to parts of the network and is not permanent. If i 
> wait it will recover, but then the problem appears at another node.
> 
> dmesg or the syslog does not report any errors.
> 
> Can anyone give me a hint where to look?
> 
> Tobias


Yesterday batman-adv-2011.3.1 has been released. As I verified with Laurent
(tests are still going on), this version should fix the bug reported into this
thread. 

It would be appreciated if any of the people affected by this bug could
test the new release and give us any feedback!

Cheers,

-- 
Antonio Quartulli

..each of us alone is worth nothing..
Ernesto "Che" Guevara

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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
  2011-09-26 22:48   ` Antonio Quartulli
@ 2011-10-10 12:08     ` Antonio Quartulli
  0 siblings, 0 replies; 35+ messages in thread
From: Antonio Quartulli @ 2011-10-10 12:08 UTC (permalink / raw)
  To: b.a.t.m.a.n

Hello everybody,

after further investigations we have become able to reproduce the bug, to
find it and most likely to fix it :-).

Please, give this patch a try and send us your feedback! (the patch will follow
in this thread)

Cheers,

-- 
Antonio Quartulli

..each of us alone is worth nothing..
Ernesto "Che" Guevara

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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
  2011-09-27  6:01 ` Andrew Lunn
@ 2011-09-27  6:39   ` laurent
  0 siblings, 0 replies; 35+ messages in thread
From: laurent @ 2011-09-27  6:39 UTC (permalink / raw)
  To: b.a.t.m.a.n

On 27/09/2011 08:01, Andrew Lunn wrote:
> On Mon, Sep 26, 2011 at 11:07:03PM +0200, laurent wrote:
>> Hello,
>>
>> I hope this time my email goes public ? just in case I put your email.
>>
>> So I compiled all my node in debug with your patch:
> Hi Laurent
>
> Do you still have the object files for the kernel module? Could you
> create a tarball and send it to me? It is probably quite large, so
> just end it to me, not the list.
>
>        Thanks
> 	Andrew
>
hello,

ok , I wil try to put that on my ftp.

Laurent

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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
  2011-09-26 21:07 laurent
  2011-09-26 21:14 ` laurent
@ 2011-09-27  6:01 ` Andrew Lunn
  2011-09-27  6:39   ` laurent
  1 sibling, 1 reply; 35+ messages in thread
From: Andrew Lunn @ 2011-09-27  6:01 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

On Mon, Sep 26, 2011 at 11:07:03PM +0200, laurent wrote:
> Hello,
> 
> I hope this time my email goes public ? just in case I put your email.
> 
> So I compiled all my node in debug with your patch:

Hi Laurent

Do you still have the object files for the kernel module? Could you
create a tarball and send it to me? It is probably quite large, so
just end it to me, not the list.

       Thanks
	Andrew

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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
  2011-09-26 21:14 ` laurent
@ 2011-09-26 22:48   ` Antonio Quartulli
  2011-10-10 12:08     ` Antonio Quartulli
  0 siblings, 1 reply; 35+ messages in thread
From: Antonio Quartulli @ 2011-09-26 22:48 UTC (permalink / raw)
  To: laurent; +Cc: b.a.t.m.a.n

Ok, I made a stupid mistake. The patch I gave you added some printk, not bat_dbg
instructions. Therefore the messages the patch wanted to print are not in that
log.....my fault. I had to tell you.

Anyway the converted patch will follow in the thread. Can you redo the same
operations with the new patch (please, try to apply it on top of the master
branch).

I apologise for the inconvenient..

Anyway, here the bug is showing us another face. Needs further investigation.

Thanks.
Cheers,

-- 
Antonio Quartulli

..each of us alone is worth nothing..
Ernesto "Che" Guevara

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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
  2011-09-26 21:07 laurent
@ 2011-09-26 21:14 ` laurent
  2011-09-26 22:48   ` Antonio Quartulli
  2011-09-27  6:01 ` Andrew Lunn
  1 sibling, 1 reply; 35+ messages in thread
From: laurent @ 2011-09-26 21:14 UTC (permalink / raw)
  To: b.a.t.m.a.n, Antonio Quartulli

in fact I made a mistake:

ping from 192.168.1.105 for 192.168.1.103 not working
ping from 192.168.1.105 for 192.168.1.102 not working
ping from 192.168.1.102 for 192.168.1.103 not working

but ping from 192.168.1.101 for 192.168.1.103 working
and ping from 192.168.1.101 for 192.168.1.102  working

192.168.1.101 is another that is not involved on the traceroute to reach  00:15:6d:a3:15:2e (192.168.1.103)

 traceroute to 00:15:6d:a3:15:2e (00:15:6d:a3:15:2e), 50 hops max, 20 byte packets

 1: 00:15:6d:ad:d3:2b  0.563 ms  1.045 ms  1.115 ms
 2: 00:15:6d:a3:15:2e  2.522 ms  2.142 ms  2.153 ms
 

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

* Re: [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work
@ 2011-09-26 21:07 laurent
  2011-09-26 21:14 ` laurent
  2011-09-27  6:01 ` Andrew Lunn
  0 siblings, 2 replies; 35+ messages in thread
From: laurent @ 2011-09-26 21:07 UTC (permalink / raw)
  To: b.a.t.m.a.n, Antonio Quartulli

Hello,

I hope this time my email goes public ? just in case I put your email.

So I compiled all my node in debug with your patch:

ping from 192.168.1.105 for 192.168.1.103 not working
ping from 192.168.1.105 for 192.168.1.102 working
ping from 192.168.1.102 for 192.168.1.103 working

my test nodes are like this now: 192.168.1.105 -> 192.168.1.102 ->
192.168.1.103

00:15:6D:AB:59:E0 -> 00:15:6d:ad:d3:2b -> 00:15:6d:a3:15:2e

There is the log of the first node (192.168.1.105) , the log for
192.168.1.103 is in the end of the email

root@OpenWrt:~# batctl ll 4
root@OpenWrt:~# batctl log
[       526] Received TT_RESPONSE from 00:15:6d:a3:15:2e for ttvn 2
t_size: 2 [F]
[       526] Deleting global tt entry 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[       526] Deleting global tt entry 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[       526] Creating new global tt entry: 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e)
[       526] Creating new global tt entry: 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e)
[       528] TT inconsistency for 00:15:6d:a3:15:2e. Need to retrieve
the correct information (ttvn: 2 last_ttvn: 2 crc: 12524 last_crc: 49213
num_changes: 0)
[       528] Sending TT_REQUEST to 00:15:6d:a3:15:2e via
00:15:6d:ad:d3:2b [F]
[       528] Received TT_RESPONSE from 00:15:6d:a3:15:2e for ttvn 2
t_size: 2 [F]
[       528] Deleting global tt entry 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[       528] Deleting global tt entry 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[       528] Creating new global tt entry: 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e)
[       528] Creating new global tt entry: 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e)
[       528] TT inconsistency for 00:15:6d:a3:15:2e. Need to retrieve
the correct information (ttvn: 2 last_ttvn: 2 crc: 12524 last_crc: 49213
num_changes: 0)
[       528] Sending TT_REQUEST to 00:15:6d:a3:15:2e via
00:15:6d:ad:d3:2b [F]
[       528] Received TT_RESPONSE from 00:15:6d:a3:15:2e for ttvn 2
t_size: 2 [F]
[       528] Deleting global tt entry 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[       528] Deleting global tt entry 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[       528] Creating new global tt entry: 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e)
[       528] Creating new global tt entry: 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e)
[       529] Received TT_RESPONSE from 00:15:6d:a3:15:2e for ttvn 2
t_size: 2 [F]
[       529] Deleting global tt entry 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[       529] Deleting global tt entry 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[       529] Creating new global tt entry: 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e)
[       529] Creating new global tt entry: 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e)
[       530] TT inconsistency for 00:15:6d:a3:15:2e. Need to retrieve
the correct information (ttvn: 2 last_ttvn: 2 crc: 12524 last_crc: 49213
num_changes: 0)
[       530] Sending TT_REQUEST to 00:15:6d:a3:15:2e via
00:15:6d:ad:d3:2b [F]
[       530] Received TT_RESPONSE from 00:15:6d:a3:15:2e for ttvn 2
t_size: 2 [F]
[       530] Deleting global tt entry 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[       530] Deleting global tt entry 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[       530] Creating new global tt entry: 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e)
[       530] Creating new global tt entry: 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e)
[       530] TT inconsistency for 00:15:6d:a3:15:2e. Need to retrieve
the correct information (ttvn: 2 last_ttvn: 2 crc: 12524 last_crc: 49213
num_changes: 0)
[       530] Sending TT_REQUEST to 00:15:6d:a3:15:2e via
00:15:6d:ad:d3:2b [F]
[       530] Received TT_RESPONSE from 00:15:6d:a3:15:2e for ttvn 2
t_size: 2 [F]
[       530] Deleting global tt entry 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[       530] Deleting global tt entry 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[       530] Creating new global tt entry: 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e)
[       530] Creating new global tt entry: 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e)
[       531] TT inconsistency for 00:15:6d:a3:15:2e. Need to retrieve
the correct information (ttvn: 2 last_ttvn: 2 crc: 12524 last_crc: 49213
num_changes: 0)
[       531] Sending TT_REQUEST to 00:15:6d:a3:15:2e via
00:15:6d:ad:d3:2b [F]
[       531] Received TT_RESPONSE from 00:15:6d:a3:15:2e for ttvn 2
t_size: 2 [F]
[       531] Deleting global tt entry 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[       531] Deleting global tt entry 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[       531] Creating new global tt entry: 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e)
[       531] Creating new global tt entry: 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e)
[       531] TT inconsistency for 00:15:6d:a3:15:2e. Need to retrieve
the correct information (ttvn: 2 last_ttvn: 2 crc: 12524 last_crc: 49213
num_changes: 0)
[       531] Sending TT_REQUEST to 00:15:6d:a3:15:2e via
00:15:6d:ad:d3:2b [F]
[       531] Received TT_RESPONSE from 00:15:6d:a3:15:2e for ttvn 2
t_size: 2 [F]
[       531] Deleting global tt entry 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[       531] Deleting global tt entry 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[       531] Creating new global tt entry: 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e)
[       531] Creating new global tt entry: 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e)
[       532] TT inconsistency for 00:15:6d:a3:15:2e. Need to retrieve
the correct information (ttvn: 2 last_ttvn: 2 crc: 12524 last_crc: 49213
num_changes: 0)
[       532] Sending TT_REQUEST to 00:15:6d:a3:15:2e via
00:15:6d:ad:d3:2b [F]
[       532] Received TT_RESPONSE from 00:15:6d:a3:15:2e for ttvn 2
t_size: 2 [F]
[       532] Deleting global tt entry 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[       532] Deleting global tt entry 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[       532] Creating new global tt entry: 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e)
[       532] Creating new global tt entry: 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e)
[       533] TT inconsistency for 00:15:6d:a3:15:2e. Need to retrieve
the correct information (ttvn: 2 last_ttvn: 2 crc: 12524 last_crc: 49213
num_changes: 0)
[       533] Sending TT_REQUEST to 00:15:6d:a3:15:2e via
00:15:6d:ad:d3:2b [F]
[       534] TT inconsistency for 00:15:6d:a3:15:2e. Need to retrieve
the correct information (ttvn: 2 last_ttvn: 2 crc: 12524 last_crc: 49213
num_changes: 0)
[       534] Sending TT_REQUEST to 00:15:6d:a3:15:2e via
00:15:6d:ad:d3:2b [F]
[       535] TT inconsistency for 00:15:6d:a3:15:2e. Need to retrieve
the correct information (ttvn: 2 last_ttvn: 2 crc: 12524 last_crc: 49213
num_changes: 0)
[       535] Sending TT_REQUEST to 00:15:6d:a3:15:2e via
00:15:6d:ad:d3:2b [F]
[       535] Received TT_RESPONSE from 00:15:6d:a3:15:2e for ttvn 2
t_size: 2 [F]
[       535] Deleting global tt entry 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[       535] Deleting global tt entry 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[       535] Creating new global tt entry: 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e)
[       535] Creating new global tt entry: 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e)
[       535] TT inconsistency for 00:15:6d:a3:15:2e. Need to retrieve
the correct information (ttvn: 2 last_ttvn: 2 crc: 12524 last_crc: 49213
num_changes: 0)
[       535] Sending TT_REQUEST to 00:15:6d:a3:15:2e via
00:15:6d:ad:d3:2b [F]
[       535] Received TT_RESPONSE from 00:15:6d:a3:15:2e for ttvn 2
t_size: 2 [F]
[       535] Deleting global tt entry 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[       535] Deleting global tt entry 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e): originator time out
[       535] Creating new global tt entry: 00:01:00:00:00:00 (via
00:15:6d:a3:15:2e)
[       535] Creating new global tt entry: 00:00:00:00:00:00 (via
00:15:6d:a3:15:2e)
[       536] TT inconsistency for 00:15:6d:a3:15:2e. Need to retrieve
the correct information (ttvn: 2 last_ttvn: 2 crc: 12524 last_crc: 49213
num_changes: 0)
[       536] Sending TT_REQUEST to 00:15:6d:a3:15:2e via
00:15:6d:ad:d3:2b [F]
[       537] TT inconsistency for 00:15:6d:a3:15:2e. Need to retrieve
the correct information (ttvn: 2 last_ttvn: 2 crc: 12524 last_crc: 49213
num_changes: 0)
[       538] TT inconsistency for 00:15:6d:a3:15:2e. Need to retrieve
the correct information (ttvn: 2 last_ttvn: 2 crc: 12524 last_crc: 49213
num_changes: 0)















batctl ll 1


q: 202, asym_penalty: 255, total tq: 190
[       643] update_originator(): Searching and updating originator
entry of received packet
[       643] Updating existing last-hop neighbor of originator
[       643] Drop packet: duplicate packet received
[       643] Forwarding packet (originator 00:15:6d:a3:15:2e, seqno
1569, TQ 182, TTL 48, IDF off, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[       643] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 3663, ttvn 2, crc 15204, changes 0, td 241, TTL
49, V 14, IDF 1)
[       643] updating last_seqno: old 3662, new 3663
[       643] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:ad:d3:2b => own_bcast = 50, real recv = 63, local tq: 202,
asym_penalty: 255, total tq: 190
[       643] update_originator(): Searching and updating originator
entry of received packet
[       643] Updating existing last-hop neighbor of originator
[       643] Forwarding packet: rebroadcast originator packet
[       643] Forwarding packet: tq_orig: 190, tq_avg: 190, tq_forw: 182,
ttl_orig: 48, ttl_forw: 48
[       643] Forwarding packet (originator 00:15:6d:a3:0f:32, seqno
3663, TQ 182, TTL 48, IDF off, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[       643] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 780, ttvn 2, crc 36959, changes 0, td 255, TTL
50, V 14, IDF 0)
[       643] updating last_seqno: old 779, new 780
[       643] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:ad:d3:2b => own_bcast = 50, real recv = 63, local tq: 202,
asym_penalty: 255, total tq: 202
[       643] update_originator(): Searching and updating originator
entry of received packet
[       643] Updating existing last-hop neighbor of originator
[       643] Forwarding packet: tq_orig: 202, tq_avg: 198, tq_forw: 194,
ttl_orig: 49, ttl_forw: 49
[       643] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[       643] Sending own packet (originator 00:15:6d:ab:59:e0, seqno
899, TQ 255, TTL 50, IDF off, hvn 6) on interface ath0 [00:15:6d:ab:59:e0]
[       644] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 780, ttvn 2, crc 36959, changes 0, td 237, TTL
49, V 14, IDF 1)
[       644] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:a3:0f:32 => own_bcast = 21, real recv = 29, local tq: 184,
asym_penalty: 214, total tq: 143
[       644] update_originator(): Searching and updating originator
entry of received packet
[       644] Updating existing last-hop neighbor of originator
[       644] Drop packet: duplicate packet received
[       644] Forwarding packet (originator 00:15:6d:ad:d3:2b, seqno 780,
TQ 194, TTL 49, IDF on, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[       644] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 899, ttvn 6, crc 36550, changes 0, td 229, TTL
49, V 14, IDF 1)
[       644] Drop packet: originator packet from myself (via neighbor)
[       644] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:15:2e, seqno 1570, ttvn 2, crc 12524, changes 0, td 245, TTL
49, V 14, IDF 1)
[       644] updating last_seqno: old 1569, new 1570
[       644] bidirectional: orig = 00:15:6d:a3:15:2e neigh =
00:15:6d:a3:0f:32 => own_bcast = 21, real recv = 29, local tq: 184,
asym_penalty: 214, total tq: 148
[       644] update_originator(): Searching and updating originator
entry of received packet
[       644] Updating existing last-hop neighbor of originator
[       644] Forwarding packet: rebroadcast originator packet
[       644] Forwarding packet: tq_orig: 148, tq_avg: 190, tq_forw: 182,
ttl_orig: 48, ttl_forw: 48
[       644] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:15:2e, seqno 1570, ttvn 2, crc 12524, changes 0, td 241, TTL
49, V 14, IDF 1)
[       644] bidirectional: orig = 00:15:6d:a3:15:2e neigh =
00:15:6d:ad:d3:2b => own_bcast = 50, real recv = 63, local tq: 202,
asym_penalty: 255, total tq: 190
[       644] update_originator(): Searching and updating originator
entry of received packet
[       644] Updating existing last-hop neighbor of originator
[       644] Drop packet: duplicate packet received
[       644] Forwarding packet (originator 00:15:6d:a3:15:2e, seqno
1570, TQ 182, TTL 48, IDF off, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[       644] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 3664, ttvn 2, crc 15204, changes 0, td 245, TTL
49, V 14, IDF 1)
[       644] updating last_seqno: old 3663, new 3664
[       644] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:ad:d3:2b => own_bcast = 50, real recv = 63, local tq: 202,
asym_penalty: 255, total tq: 194
[       644] update_originator(): Searching and updating originator
entry of received packet
[       644] Updating existing last-hop neighbor of originator
[       644] Forwarding packet: rebroadcast originator packet
[       644] Forwarding packet: tq_orig: 194, tq_avg: 191, tq_forw: 186,
ttl_orig: 48, ttl_forw: 48
[       644] Forwarding packet (originator 00:15:6d:a3:0f:32, seqno
3664, TQ 186, TTL 48, IDF off, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[       644] Sending own packet (originator 00:15:6d:ab:59:e0, seqno
900, TQ 255, TTL 50, IDF off, hvn 6) on interface ath0 [00:15:6d:ab:59:e0]
[       644] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 781, ttvn 2, crc 36959, changes 0, td 255, TTL
50, V 14, IDF 0)
[       644] updating last_seqno: old 780, new 781
[       644] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:ad:d3:2b => own_bcast = 49, real recv = 63, local tq: 198,
asym_penalty: 255, total tq: 198
[       644] update_originator(): Searching and updating originator
entry of received packet
[       644] Updating existing last-hop neighbor of originator
[       644] Forwarding packet: tq_orig: 198, tq_avg: 198, tq_forw: 190,
ttl_orig: 49, ttl_forw: 49
[       644] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[       645] Forwarding packet (originator 00:15:6d:ad:d3:2b, seqno 781,
TQ 190, TTL 49, IDF on, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[       645] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:15:2e, seqno 1571, ttvn 2, crc 12524, changes 0, td 245, TTL
49, V 14, IDF 1)
[       645] updating last_seqno: old 1570, new 1571
[       645] bidirectional: orig = 00:15:6d:a3:15:2e neigh =
00:15:6d:a3:0f:32 => own_bcast = 21, real recv = 28, local tq: 191,
asym_penalty: 210, total tq: 151
[       645] update_originator(): Searching and updating originator
entry of received packet
[       645] Updating existing last-hop neighbor of originator
[       645] Forwarding packet: rebroadcast originator packet
[       645] Forwarding packet: tq_orig: 151, tq_avg: 190, tq_forw: 182,
ttl_orig: 48, ttl_forw: 48
[       645] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:15:2e, seqno 1571, ttvn 2, crc 12524, changes 0, td 241, TTL
49, V 14, IDF 1)
[       645] bidirectional: orig = 00:15:6d:a3:15:2e neigh =
00:15:6d:ad:d3:2b => own_bcast = 49, real recv = 63, local tq: 198,
asym_penalty: 255, total tq: 187
[       645] update_originator(): Searching and updating originator
entry of received packet
[       645] Updating existing last-hop neighbor of originator
[       645] Drop packet: duplicate packet received
[       645] Forwarding packet (originator 00:15:6d:a3:15:2e, seqno
1571, TQ 182, TTL 48, IDF off, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[       645] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 3665, ttvn 2, crc 15204, changes 0, td 245, TTL
49, V 14, IDF 1)
[       645] updating last_seqno: old 3664, new 3665
[       645] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:ad:d3:2b => own_bcast = 49, real recv = 63, local tq: 198,
asym_penalty: 255, total tq: 190
[       645] update_originator(): Searching and updating originator
entry of received packet
[       645] Updating existing last-hop neighbor of originator
[       645] Forwarding packet: rebroadcast originator packet
[       645] Forwarding packet: tq_orig: 190, tq_avg: 190, tq_forw: 182,
ttl_orig: 48, ttl_forw: 48
[       645] Forwarding packet (originator 00:15:6d:a3:0f:32, seqno
3665, TQ 182, TTL 48, IDF off, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[       645] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 782, ttvn 2, crc 36959, changes 0, td 255, TTL
50, V 14, IDF 0)
[       645] updating last_seqno: old 781, new 782
[       645] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:ad:d3:2b => own_bcast = 49, real recv = 63, local tq: 198,
asym_penalty: 255, total tq: 198
[       645] update_originator(): Searching and updating originator
entry of received packet
[       645] Updating existing last-hop neighbor of originator
[       645] Forwarding packet: tq_orig: 198, tq_avg: 198, tq_forw: 190,
ttl_orig: 49, ttl_forw: 49
[       645] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[       645] Sending own packet (originator 00:15:6d:ab:59:e0, seqno
901, TQ 255, TTL 50, IDF off, hvn 6) on interface ath0 [00:15:6d:ab:59:e0]
[       646] Forwarding packet (originator 00:15:6d:ad:d3:2b, seqno 782,
TQ 190, TTL 49, IDF on, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[       646] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 901, ttvn 6, crc 36550, changes 0, td 234, TTL
49, V 14, IDF 1)
[       646] Drop packet: originator packet from myself (via neighbor)
[       646] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:15:2e, seqno 1572, ttvn 2, crc 12524, changes 0, td 245, TTL
49, V 14, IDF 1)
[       646] updating last_seqno: old 1571, new 1572
[       646] bidirectional: orig = 00:15:6d:a3:15:2e neigh =
00:15:6d:a3:0f:32 => own_bcast = 20, real recv = 28, local tq: 182,
asym_penalty: 210, total tq: 144
[       646] update_originator(): Searching and updating originator
entry of received packet
[       646] Updating existing last-hop neighbor of originator
[       646] Forwarding packet: rebroadcast originator packet
[       646] Forwarding packet: tq_orig: 144, tq_avg: 188, tq_forw: 180,
ttl_orig: 48, ttl_forw: 48
[       646] Forwarding packet (originator 00:15:6d:a3:15:2e, seqno
1572, TQ 180, TTL 48, IDF off, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[       646] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 3666, ttvn 2, crc 15204, changes 0, td 245, TTL
49, V 14, IDF 1)
[       646] updating last_seqno: old 3665, new 3666
[       646] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:ad:d3:2b => own_bcast = 49, real recv = 63, local tq: 198,
asym_penalty: 255, total tq: 190
[       646] update_originator(): Searching and updating originator
entry of received packet
[       646] Updating existing last-hop neighbor of originator
[       646] Forwarding packet: rebroadcast originator packet
[       646] Forwarding packet: tq_orig: 190, tq_avg: 190, tq_forw: 182,
ttl_orig: 48, ttl_forw: 48
[       646] Forwarding packet (originator 00:15:6d:a3:0f:32, seqno
3666, TQ 182, TTL 48, IDF off, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[       646] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 783, ttvn 2, crc 36959, changes 0, td 255, TTL
50, V 14, IDF 0)






batctl ll 2


root@OpenWrt:~# batctl ll 2
root@OpenWrt:~# batctl log
:0f:32, seqno 3742, ttvn 2, crc 15204, changes 0, td 245, TTL 49, V 14,
IDF 1)
[       721] updating last_seqno: old 3741, new 3742
[       721] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:ad:d3:2b => own_bcast = 53, real recv = 64, local tq: 211,
asym_penalty: 255, total tq: 202
[       721] update_originator(): Searching and updating originator
entry of received packet
[       721] Updating existing last-hop neighbor of originator
[       721] Forwarding packet: rebroadcast originator packet
[       721] Forwarding packet: tq_orig: 202, tq_avg: 202, tq_forw: 194,
ttl_orig: 48, ttl_forw: 48
[       721] Forwarding packet (originator 00:15:6d:a3:0f:32, seqno
3742, TQ 194, TTL 48, IDF off, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[       722] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 859, ttvn 2, crc 36959, changes 0, td 255, TTL
50, V 14, IDF 0)
[       722] updating last_seqno: old 858, new 859
[       722] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:ad:d3:2b => own_bcast = 53, real recv = 64, local tq: 211,
asym_penalty: 255, total tq: 211
[       722] update_originator(): Searching and updating originator
entry of received packet
[       722] Updating existing last-hop neighbor of originator
[       722] Forwarding packet: tq_orig: 211, tq_avg: 211, tq_forw: 202,
ttl_orig: 49, ttl_forw: 49
[       722] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[       722] Sending own packet (originator 00:15:6d:ab:59:e0, seqno
978, TQ 255, TTL 50, IDF off, hvn 6) on interface ath0 [00:15:6d:ab:59:e0]
[       722] Forwarding packet (originator 00:15:6d:ad:d3:2b, seqno 859,
TQ 202, TTL 49, IDF on, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[       722] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 978, ttvn 6, crc 36550, changes 0, td 245, TTL
49, V 14, IDF 1)
[       722] Drop packet: originator packet from myself (via neighbor)
[       722] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 978, ttvn 6, crc 36550, changes 0, td 231, TTL
48, V 14, IDF 1)
[       722] Drop packet: originator packet from myself (via neighbor)
[       722] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:15:2e, seqno 1649, ttvn 2, crc 12524, changes 0, td 245, TTL
49, V 14, IDF 1)
[       722] updating last_seqno: old 1648, new 1649
[       722] bidirectional: orig = 00:15:6d:a3:15:2e neigh =
00:15:6d:ad:d3:2b => own_bcast = 53, real recv = 64, local tq: 211,
asym_penalty: 255, total tq: 202
[       722] update_originator(): Searching and updating originator
entry of received packet
[       722] Updating existing last-hop neighbor of originator
[       722] Forwarding packet: rebroadcast originator packet
[       722] Forwarding packet: tq_orig: 202, tq_avg: 202, tq_forw: 194,
ttl_orig: 48, ttl_forw: 48
[       722] Forwarding packet (originator 00:15:6d:a3:15:2e, seqno
1649, TQ 194, TTL 48, IDF off, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[       722] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 3743, ttvn 2, crc 15204, changes 0, td 255, TTL
50, V 14, IDF 0)
[       722] updating last_seqno: old 3742, new 3743
[       722] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:a3:0f:32 => own_bcast = 21, real recv = 31, local tq: 172,
asym_penalty: 221, total tq: 149
[       722] update_originator(): Searching and updating originator
entry of received packet
[       722] Updating existing last-hop neighbor of originator
[       722] Forwarding packet: tq_orig: 149, tq_avg: 202, tq_forw: 194,
ttl_orig: 49, ttl_forw: 48
[       722] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[       722] Forwarding packet (originator 00:15:6d:a3:0f:32, seqno
3743, TQ 194, TTL 48, IDF on, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[       722] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 3743, ttvn 2, crc 15204, changes 0, td 245, TTL
49, V 14, IDF 1)
[       722] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:ad:d3:2b => own_bcast = 53, real recv = 64, local tq: 211,
asym_penalty: 255, total tq: 202
[       722] update_originator(): Searching and updating originator
entry of received packet
[       722] Updating existing last-hop neighbor of originator
[       722] Drop packet: duplicate packet received
[       723] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 860, ttvn 2, crc 36959, changes 0, td 255, TTL
50, V 14, IDF 0)
[       723] updating last_seqno: old 859, new 860
[       723] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:ad:d3:2b => own_bcast = 53, real recv = 64, local tq: 211,
asym_penalty: 255, total tq: 211
[       723] update_originator(): Searching and updating originator
entry of received packet
[       723] Updating existing last-hop neighbor of originator
[       723] Forwarding packet: tq_orig: 211, tq_avg: 211, tq_forw: 202,
ttl_orig: 49, ttl_forw: 49
[       723] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[       723] Sending own packet (originator 00:15:6d:ab:59:e0, seqno
979, TQ 255, TTL 50, IDF off, hvn 6) on interface ath0 [00:15:6d:ab:59:e0]
[       723] Forwarding packet (originator 00:15:6d:ad:d3:2b, seqno 860,
TQ 202, TTL 49, IDF on, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[       723] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 979, ttvn 6, crc 36550, changes 0, td 245, TTL
49, V 14, IDF 1)
[       723] Drop packet: originator packet from myself (via neighbor)
[       723] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 979, ttvn 6, crc 36550, changes 0, td 233, TTL
48, V 14, IDF 1)
[       723] Drop packet: originator packet from myself (via neighbor)
[       723] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:15:2e, seqno 1650, ttvn 2, crc 12524, changes 0, td 245, TTL
49, V 14, IDF 1)
[       723] updating last_seqno: old 1649, new 1650
[       723] bidirectional: orig = 00:15:6d:a3:15:2e neigh =
00:15:6d:ad:d3:2b => own_bcast = 53, real recv = 64, local tq: 211,
asym_penalty: 255, total tq: 202
[       723] update_originator(): Searching and updating originator
entry of received packet
[       723] Updating existing last-hop neighbor of originator
[       723] Forwarding packet: rebroadcast originator packet
[       723] Forwarding packet: tq_orig: 202, tq_avg: 202, tq_forw: 194,
ttl_orig: 48, ttl_forw: 48
[       723] Forwarding packet (originator 00:15:6d:a3:15:2e, seqno
1650, TQ 194, TTL 48, IDF off, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[       723] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 3744, ttvn 2, crc 15204, changes 0, td 255, TTL
50, V 14, IDF 0)
[       723] updating last_seqno: old 3743, new 3744
[       723] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:a3:0f:32 => own_bcast = 21, real recv = 32, local tq: 167,
asym_penalty: 224, total tq: 146
[       723] update_originator(): Searching and updating originator
entry of received packet
[       723] Updating existing last-hop neighbor of originator
[       723] Forwarding packet: tq_orig: 146, tq_avg: 202, tq_forw: 194,
ttl_orig: 49, ttl_forw: 48
[       723] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[       723] log_level: Changing from: 1 to: 2


batctl ll 3


[       825] update_originator(): Searching and updating originator
entry of received packet
[       825] Updating existing last-hop neighbor of originator
[       825] Drop packet: duplicate packet received
[       826] Sending own packet (originator 00:15:6d:ab:59:e0, seqno
1083, TQ 255, TTL 50, IDF off, hvn 6) on interface ath0 [00:15:6d:ab:59:e0]
[       826] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 1083, ttvn 6, crc 36550, changes 0, td 206, TTL
49, V 14, IDF 1)
[       826] Drop packet: originator packet from myself (via neighbor)
[       826] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 1083, ttvn 6, crc 36550, changes 0, td 201, TTL
48, V 14, IDF 1)
[       826] Drop packet: originator packet from myself (via neighbor)
[       826] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:0f:32, seqno 1754, ttvn 2, crc 12524, changes 0, td 245, TTL
49, V 14, IDF 0)
[       826] updating last_seqno: old 1753, new 1754
[       826] bidirectional: orig = 00:15:6d:a3:15:2e neigh =
00:15:6d:ad:d3:2b => own_bcast = 58, real recv = 64, local tq: 231,
asym_penalty: 255, total tq: 221
[       826] update_originator(): Searching and updating originator
entry of received packet
[       826] Updating existing last-hop neighbor of originator
[       826] Forwarding packet: rebroadcast originator packet
[       826] Forwarding packet: tq_orig: 221, tq_avg: 221, tq_forw: 212,
ttl_orig: 48, ttl_forw: 48
[       827] Forwarding packet (originator 00:15:6d:ad:d3:2b, seqno 965,
TQ 224, TTL 49, IDF on, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[       827] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 965, ttvn 2, crc 36959, changes 0, td 245, TTL
49, V 14, IDF 1)
[       827] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:a3:0f:32 => own_bcast = 24, real recv = 28, local tq: 218,
asym_penalty: 210, total tq: 172
[       827] update_originator(): Searching and updating originator
entry of received packet
[       827] Updating existing last-hop neighbor of originator
[       827] Drop packet: duplicate packet received
[       827] Forwarding packet (originator 00:15:6d:a3:15:2e, seqno
1755, TQ 212, TTL 48, IDF off, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[       827] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 3849, ttvn 2, crc 15204, changes 0, td 241, TTL
49, V 14, IDF 1)
[       827] updating last_seqno: old 3848, new 3849
[       827] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:ad:d3:2b => own_bcast = 58, real recv = 63, local tq: 234,
asym_penalty: 255, total tq: 221
[       827] update_originator(): Searching and updating originator
entry of received packet
[       827] Updating existing last-hop neighbor of originator
[       827] Forwarding packet: rebroadcast originator packet
[       827] Forwarding packet: tq_orig: 221, tq_avg: 219, tq_forw: 212,
ttl_orig: 48, ttl_forw: 48
[       827] Forwarding packet (originator 00:15:6d:a3:0f:32, seqno
3849, TQ 212, TTL 48, IDF off, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[       827] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 966, ttvn 2, crc 36959, changes 0, td 255, TTL
50, V 14, IDF 0)
[       827] updating last_seqno: old 965, new 966
[       827] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:ad:d3:2b => own_bcast = 58, real recv = 63, local tq: 234,
asym_penalty: 255, total tq: 234
[       827] update_originator(): Searching and updating originator
entry of received packet
[       827] Updating existing last-hop neighbor of originator
[       827] Forwarding packet: tq_orig: 234, tq_avg: 232, tq_forw: 224,
ttl_orig: 49, ttl_forw: 49
[       827] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[       828] Forwarding packet (originator 00:15:6d:ad:d3:2b, seqno 966,
TQ 224, TTL 49, IDF on, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[       828] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 966, ttvn 2, crc 36959, changes 0, td 245, TTL
49, V 14, IDF 1)
[       828] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:a3:0f:32 => own_bcast = 23, real recv = 27, local tq: 217,
asym_penalty: 206, total tq: 168
[       828] update_originator(): Searching and updating originator
entry of received packet
[       828] Updating existing last-hop neighbor of originator
[       828] Drop packet: duplicate packet received
[       828] Sending own packet (originator 00:15:6d:ab:59:e0, seqno
1085, TQ 255, TTL 50, IDF off, hvn 6) on interface ath0 [00:15:6d:ab:59:e0]
[       828] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 1085, ttvn 6, crc 36550, changes 0, td 206, TTL
49, V 14, IDF 1)
[       828] Drop packet: originator packet from myself (via neighbor)
[       828] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:15:2e, seqno 1756, ttvn 2, crc 12524, changes 0, td 245, TTL
49, V 14, IDF 1)
[       828] updating last_seqno: old 1755, new 1756
[       828] bidirectional: orig = 00:15:6d:a3:15:2e neigh =
00:15:6d:a3:0f:32 => own_bcast = 22, real recv = 27, local tq: 207,
asym_penalty: 206, total tq: 160
[       828] update_originator(): Searching and updating originator
entry of received packet
[       828] Updating existing last-hop neighbor of originator
[       828] Forwarding packet: rebroadcast originator packet
[       828] Forwarding packet: tq_orig: 160, tq_avg: 222, tq_forw: 213,
ttl_orig: 48, ttl_forw: 48
[       828] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:0f:32, seqno 1756, ttvn 2, crc 12524, changes 0, td 245, TTL
49, V 14, IDF 0)
[       828] bidirectional: orig = 00:15:6d:a3:15:2e neigh =
00:15:6d:ad:d3:2b => own_bcast = 58, real recv = 63, local tq: 234,
asym_penalty: 255, total tq: 224
[       828] update_originator(): Searching and updating originator
entry of received packet
[       828] Updating existing last-hop neighbor of originator
[       828] Drop packet: duplicate packet received
[       828] Forwarding packet (originator 00:15:6d:a3:15:2e, seqno
1756, TQ 213, TTL 48, IDF off, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[       828] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 3850, ttvn 2, crc 15204, changes 0, td 241, TTL
49, V 14, IDF 1)
[       828] updating last_seqno: old 3849, new 3850
[       828] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:ad:d3:2b => own_bcast = 58, real recv = 63, local tq: 234,
asym_penalty: 255, total tq: 221
[       828] update_originator(): Searching and updating originator
entry of received packet
[       828] Updating existing last-hop neighbor of originator
[       828] Forwarding packet: rebroadcast originator packet
[       828] Forwarding packet: tq_orig: 221, tq_avg: 219, tq_forw: 212,
ttl_orig: 48, ttl_forw: 48
[       828] Forwarding packet (originator 00:15:6d:a3:0f:32, seqno
3850, TQ 212, TTL 48, IDF off, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[       828] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 967, ttvn 2, crc 36959, changes 0, td 255, TTL
50, V 14, IDF 0)
[       828] updating last_seqno: old 966, new 967
[       828] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:ad:d3:2b => own_bcast = 58, real recv = 63, local tq: 234,
asym_penalty: 255, total tq: 234
[       828] update_originator(): Searching and updating originator
entry of received packet
[       828] Updating existing last-hop neighbor of originator
[       828] Forwarding packet: tq_orig: 234, tq_avg: 232, tq_forw: 224,
ttl_orig: 49, ttl_forw: 49
[       828] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[       829] Forwarding packet (originator 00:15:6d:ad:d3:2b, seqno 967,
TQ 224, TTL 49, IDF on, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[       829] Sending own packet (originator 00:15:6d:ab:59:e0, seqno
1086, TQ 255, TTL 50, IDF off, hvn 6) on interface ath0 [00:15:6d:ab:59:e0]
[       829] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 1086, ttvn 6, crc 36550, changes 0, td 206, TTL
49, V 14, IDF 1)
[       829] Drop packet: originator packet from myself (via neighbor)
[       829] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 1086, ttvn 6, crc 36550, changes 0, td 197, TTL
48, V 14, IDF 1)
[       829] Drop packet: originator packet from myself (via neighbor)
[       829] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:15:2e, seqno 1757, ttvn 2, crc 12524, changes 0, td 245, TTL
49, V 14, IDF 1)
[       829] updating last_seqno: old 1756, new 1757
[       829] bidirectional: orig = 00:15:6d:a3:15:2e neigh =
00:15:6d:ad:d3:2b => own_bcast = 58, real recv = 63, local tq: 234,
asym_penalty: 255, total tq: 224
[       829] update_originator(): Searching and updating originator
entry of received packet
[       829] Updating existing last-hop neighbor of originator
[       829] Forwarding packet: rebroadcast originator packet
[       829] Forwarding packet: tq_orig: 224, tq_avg: 224, tq_forw: 215,
ttl_orig: 48, ttl_forw: 48
[       829] Forwarding packet (originator 00:15:6d:a3:15:2e, seqno
1757, TQ 215, TTL 48, IDF off, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[       829] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 3851, ttvn 2, crc 15204, changes 0, td 255, TTL
50, V 14, IDF 0)
[       829] updating last_seqno: old 3850, new 3851
[       829] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:a3:0f:32 => own_bcast = 23, real recv = 28, local tq: 209,
asym_penalty: 210, total tq: 172
[       829] update_originator(): Searching and updating originator
entry of received packet
[       829] Updating existing last-hop neighbor of originator
[       829] Forwarding packet: tq_orig: 172, tq_avg: 220, tq_forw: 211,
ttl_orig: 49, ttl_forw: 48
[       829] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[       829] Forwarding packet (originator 00:15:6d:a3:0f:32, seqno
3851, TQ 211, TTL 48, IDF on, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[       829] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 3851, ttvn 2, crc 15204, changes 0, td 241, TTL
49, V 14, IDF 1)
[       829] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:ad:d3:2b => own_bcast = 58, real recv = 63, local tq: 234,
asym_penalty: 255, total tq: 221
[       829] update_originator(): Searching and updating originator
entry of received packet
[       829] Updating existing last-hop neighbor of originator
[       829] Drop packet: duplicate packet received
[       829] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 968, ttvn 2, crc 36959, changes 0, td 255, TTL
50, V 14, IDF 0)
[       829] updating last_seqno: old 967, new 968
[       829] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:ad:d3:2b => own_bcast = 58, real recv = 63, local tq: 234,
asym_penalty: 255, total tq: 234
[       829] update_originator(): Searching and updating originator
entry of received packet
[       829] Updating existing last-hop neighbor of originator
[       829] Forwarding packet: tq_orig: 234, tq_avg: 233, tq_forw: 224,
ttl_orig: 49, ttl_forw: 49
[       829] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[       830] Forwarding packet (originator 00:15:6d:ad:d3:2b, seqno 968,
TQ 224, TTL 49, IDF on, hvn 2) on interface ath0 [00:15:6d:ab:59:e0]
[       830] Sending own packet (originator 00:15:6d:ab:59:e0, seqno
1087, TQ 255, TTL 50, IDF off, hvn 6) on interface ath0 [00:15:6d:ab:59:e0]
[       830] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:ab:59:e0] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 1087, ttvn 6, crc 36550, changes 0, td 206, TTL
49, V 14, IDF 1)
[       830] Drop packet: originator packet from myself (via neighbor)

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////


log batctl ll 4 from 192.168.1.103

[      3588] Creating new global tt entry: 15:6d:a3:15:2e:00 (via
00:15:6d:ab:59
[      3588] Creating new global tt entry: 00:00:59:e0:09:00 (via
00:15:6d:ab:59
[      3588] TT inconsistency for 00:15:6d:ab:59:e0. Need to retrieve
the correc
[      3588] Sending TT_REQUEST to 00:15:6d:ab:59:e0 via
00:15:6d:a3:0f:32 [F]
[      3588] Received TT_RESPONSE from 00:15:6d:ab:59:e0 for ttvn 9
t_size: 9 [F
[      3588] Deleting global tt entry 00:00:00:00:00:00 (via
00:15:6d:ab:59:e0):
[      3588] Deleting global tt entry 00:00:59:e0:09:00 (via
00:15:6d:ab:59:e0):
[      3588] Deleting global tt entry 00:01:00:00:00:00 (via
00:15:6d:ab:59:e0):
[      3588] Deleting global tt entry 15:6d:a3:15:2e:00 (via
00:15:6d:ab:59:e0):
[      3588] Deleting global tt entry 00:00:00:00:00:05 (via
00:15:6d:ab:59:e0):
[      3588] Creating new global tt entry: 00:01:00:00:00:00 (via
00:15:6d:ab:59
[      3588] Creating new global tt entry: 00:00:00:00:00:00 (via
00:15:6d:ab:59
[      3588] Creating new global tt entry: 00:00:00:00:00:00 (via
00:15:6d:ab:59
[      3588] Creating new global tt entry: 00:00:00:00:00:00 (via
00:15:6d:ab:59
[      3588] Creating new global tt entry: 00:00:00:00:00:00 (via
00:15:6d:ab:59
[      3588] Creating new global tt entry: 00:00:00:00:00:00 (via
00:15:6d:ab:59
[      3588] Creating new global tt entry: 00:00:00:00:00:05 (via
00:15:6d:ab:59
[      3588] Creating new global tt entry: 15:6d:a3:15:2e:00 (via
00:15:6d:ab:59
[      3588] Creating new global tt entry: 00:00:59:e0:09:00 (via
00:15:6d:ab:59
[      3589] TT inconsistency for 00:15:6d:ab:59:e0. Need to retrieve
the correc
[      3589] Sending TT_REQUEST to 00:15:6d:ab:59:e0 via
00:15:6d:a3:0f:32 [F]
[      3589] Received TT_RESPONSE from 00:15:6d:ab:59:e0 for ttvn 9
t_size: 9 [F



batctl ll 3

[      3738] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6
[      3738] Drop packet: originator packet from myself (via neighbor)
[      3738] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6
[      3738] Drop packet: originator packet from myself (via neighbor)
[      3738] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6
[      3738] updating last_seqno: old 3237, new 3238
[      3738] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:ad:d3:2b =
[      3738] update_originator(): Searching and updating originator
entry of rec
[      3738] Updating existing last-hop neighbor of originator
[      3738] Forwarding packet: tq_orig: 247, tq_avg: 247, tq_forw: 237,
ttl_ori
[      3738] Forwarding packet: rebroadcast neighbor packet with direct
link fla
[      3739] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6
[      3739] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:a3:0f:32 =
[      3739] update_originator(): Searching and updating originator
entry of rec
[      3739] Updating existing last-hop neighbor of originator
[      3739] Drop packet: duplicate packet received
[      3739] Forwarding packet (originator 00:15:6d:ad:d3:2b, seqno
3238, TQ 237
[      3739] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6
[      3739] updating last_seqno: old 6121, new 6122
[      3739] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:a3:0f:32 =
[      3739] update_originator(): Searching and updating originator
entry of rec
[      3739] Updating existing last-hop neighbor of originator
[      3739] Forwarding packet: tq_orig: 255, tq_avg: 255, tq_forw: 245,
ttl_ori
- log3 46/580 7%
0 [00:15:6d:a3:15:2e] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 6121, ttvn 2, crc 15204, changes 0, td 255, TTL
50, V 14, IDF 0)
[      3738] updating last_seqno: old 6120, new 6121
[      3738] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:a3:0f:32 => own_bcast = 64, real recv = 64, local tq: 255,
asym_penalty: 255, total tq: 255
[      3738] update_originator(): Searching and updating originator
entry of received packet
[      3738] Updating existing last-hop neighbor of originator
[      3738] Forwarding packet: tq_orig: 255, tq_avg: 255, tq_forw: 245,
ttl_orig: 49, ttl_forw: 49
[      3738] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[      3738] Forwarding packet (originator 00:15:6d:a3:0f:32, seqno
6121, TQ 245, TTL 49, IDF on, hvn 2) on interface ath0 [00:15:6d:a3:15:2e]
[      3738] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 6121, ttv
[      3738] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:ad:d3:2b => own_bcast = 62, real recv = 64, local tq: 247,
asym_penalty: 255, total tq: 237
[      3738] update_originator(): Searching and updating originator
entry of received packet
[      3738] Updating existing last-hop neighbor of originator
[      3738] Drop packet: duplicate packet received
[      3738] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 3356, ttv
[      3738] updating last_seqno: old 3355, new 3356
[      3738] bidirectional: orig = 00:15:6d:ab:59:e0 neigh =
00:15:6d:a3:0f:32 => own_bcast = 64, real recv = 64, local tq: 255,
asym_penalty: 255, total tq: 186
[      3738] update_originator(): Searching and updating originator
entry of received packet
[      3738] Updating existing last-hop neighbor of originator
[      3738] Forwarding packet: rebroadcast originator packet
[      3738] Forwarding packet: tq_orig: 186, tq_avg: 191, tq_forw: 178,
ttl_orig: 47, ttl_forw: 47
[      3738] Forwarding packet (originator 00:15:6d:ab:59:e0, seqno
3356, TQ 178, TTL 47, IDF off, hvn 9) on interface ath0 [00:15:6d:a3:15:2e]
[      3738] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:a3:0f:32, seqno 3356, ttv
[      3738] Drop packet: ignoring all rebroadcast packets that may make
me loop (sender: 00:15:6d:ad:d3:2b)
[      3738] Sending own packet (originator 00:15:6d:a3:15:2e, seqno
4027, TQ 255, TTL 50, IDF off, hvn 2) on interface ath0 [00:15:6d:a3:15:2e]
[      3738] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:15:2e, seqno 4027, ttv
[      3738] Drop packet: originator packet from myself (via neighbor)
[      3738] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:15:2e, seqno 4027, ttv
[      3738] Drop packet: originator packet from myself (via neighbor)
[      3738] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 3238, ttv
[      3738] updating last_seqno: old 3237, new 3238
[      3738] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:ad:d3:2b => own_bcast = 62, real recv = 64, local tq: 247,
asym_penalty: 255, total tq: 247
[      3738] update_originator(): Searching and updating originator
entry of received packet
[      3738] Updating existing last-hop neighbor of originator
[      3738] Forwarding packet: tq_orig: 247, tq_avg: 247, tq_forw: 237,
ttl_orig: 49, ttl_forw: 49
[      3738] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[      3739] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 3238, ttv
[      3739] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:a3:0f:32 => own_bcast = 64, real recv = 64, local tq: 255,
asym_penalty: 255, total tq: 241
[      3739] update_originator(): Searching and updating originator
entry of received packet
[      3739] Updating existing last-hop neighbor of originator
[      3739] Drop packet: duplicate packet received
[      3739] Forwarding packet (originator 00:15:6d:ad:d3:2b, seqno
3238, TQ 237, TTL 49, IDF on, hvn 2) on interface ath0 [00:15:6d:a3:15:2e]
[      3739] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 6122, ttv
[      3739] updating last_seqno: old 6121, new 6122
[      3739] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:a3:0f:32 => own_bcast = 64, real recv = 64, local tq: 255,
asym_penalty: 255, total tq: 255
[      3739] update_originator(): Searching and updating originator
entry of received packet
- log3 1/580 0%


batctl ll 2

-
root@OpenWrt:/tmp# clear
root@OpenWrt:/tmp# vi log2
  3938] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:15:2e, seqno 4229, ttvn 2,
[      3938] Drop packet: originator packet from myself (via neighbor)
[      3938] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:15:2e, seqno 4229, ttv
[      3938] Drop packet: originator packet from myself (via neighbor)
[      3939] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 6324, ttv
[      3939] updating last_seqno: old 6323, new 6324
[      3939] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:a3:0f:32 => own_bcast = 63, real recv = 63, local tq: 255,
asym_penalty: 255, total tq: 255
[      3939] update_originator(): Searching and updating originator
entry of received packet
[      3939] Updating existing last-hop neighbor of originator
[      3939] Forwarding packet: tq_orig: 255, tq_avg: 255, tq_forw: 245,
ttl_orig: 49, ttl_forw: 49
[      3939] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[      3939] Forwarding packet (originator 00:15:6d:a3:0f:32, seqno
6324, TQ 245, TTL 49, IDF on, hvn 2) on interface ath0 [00:15:6d:a3:15:2e]
[      3939] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 6324, ttv
[      3939] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:ad:d3:2b => own_bcast = 63, real recv = 64, local tq: 251,
asym_penalty: 255, total tq: 241
[      3939] update_originator(): Searching and updating originator
entry of received packet
[      3939] Updating existing last-hop neighbor of originator
[      3939] Drop packet: duplicate packet received
[      3939] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 3441, ttv
[      3939] updating last_seqno: old 3440, new 3441
[      3939] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:ad:d3:2b => own_bcast = 63, real recv = 64, local tq: 251,
asym_penalty: 255, total tq: 251
[      3939] update_originator(): Searching and updating originator
entry of received packet
[      3939] Updating existing last-hop neighbor of originator
[      3939] Forwarding packet: tq_orig: 251, tq_avg: 251, tq_forw: 241,
ttl_orig: 49, ttl_forw: 49
[      3939] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[      3939] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 3441, ttv
[      3939] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:a3:0f:32 => own_bcast = 63, real recv = 63, local tq: 255,
asym_penalty: 255, total tq: 245
[      3939] update_originator(): Searching and updating originator
entry of received packet
[      3939] Updating existing last-hop neighbor of originator
[      3939] Drop packet: duplicate packet received
[      3939] Forwarding packet (originator 00:15:6d:ad:d3:2b, seqno
3441, TQ 241, TTL 49, IDF on, hvn 2) on interface ath0 [00:15:6d:a3:15:2e]
[      3939] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 3559, ttv
[      3939] updating last_seqno: old 3558, new 3559
[      3939] bidirectional: orig = 00:15:6d:ab:59:e0 neigh =
00:15:6d:ad:d3:2b => own_bcast = 63, real recv = 64, local tq: 251,
asym_penalty: 255, total tq: 241
[      3939] update_originator(): Searching and


batctl ll 1

root@OpenWrt:/tmp# clear
root@OpenWrt:/tmp# vi log1
riginator 00:15:6d:ad:d3:2b, seqno 3515, TQ 235, TTL 48, IDF on, hvn 2)
on interface ath0 [00:15:6d:a3:15:2e]
[      4012] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 3515, ttv
[      4012] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:a3:0f:32 => own_bcast = 64, real recv = 64, local tq: 255,
asym_penalty: 255, total tq: 245
[      4012] update_originator(): Searching and updating originator
entry of received packet
[      4012] Updating existing last-hop neighbor of originator
[      4012] Drop packet: duplicate packet received
[      4012] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 3633, ttv
[      4012] updating last_seqno: old 3632, new 3633
[      4012] bidirectional: orig = 00:15:6d:ab:59:e0 neigh =
00:15:6d:ad:d3:2b => own_bcast = 60, real recv = 64, local tq: 239,
asym_penalty: 255, total tq: 196
[      4012] update_originator(): Searching and updating originator
entry of received packet
[      4012] Updating existing last-hop neighbor of originator
[      4012] Forwarding packet: rebroadcast originator packet
[      4012] Forwarding packet: tq_orig: 196, tq_avg: 206, tq_forw: 197,
ttl_orig: 48, ttl_forw: 47
[      4012] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 3633, ttv
[      4012] bidirectional: orig = 00:15:6d:ab:59:e0 neigh =
00:15:6d:a3:0f:32 => own_bcast = 64, real recv = 64, local tq: 255,
asym_penalty: 255, total tq: 206
[      4012] update_originator(): Searching and updating originator
entry of received packet
[      4012] Updating existing last-hop neighbor of originator
[      4012] Drop packet: duplicate packet received
[      4013] Forwarding packet (originator 00:15:6d:ab:59:e0, seqno
3633, TQ 197, TTL 47, IDF off, hvn 9) on interface ath0 [00:15:6d:a3:15:2e]
[      4013] Sending own packet (originator 00:15:6d:a3:15:2e, seqno
4304, TQ 255, TTL 50, IDF off, hvn 2) on interface ath0 [00:15:6d:a3:15:2e]
[      4013] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:15:2e, seqno 4304, ttv
[      4013] Drop packet: originator packet from myself (via neighbor)
[      4013] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:a3:15:2e, via prev OG:
00:15:6d:a3:15:2e, seqno 4304, ttv
[      4013] Drop packet: originator packet from myself (via neighbor)
[      4013] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 6399, ttv
[      4013] updating last_seqno: old 6398, new 6399
[      4013] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:a3:0f:32 => own_bcast = 64, real recv = 64, local tq: 255,
asym_penalty: 255, total tq: 255
[      4013] update_originator(): Searching and updating originator
entry of received packet
[      4013] Updating existing last-hop neighbor of originator
[      4013] Forwarding packet: tq_orig: 255, tq_avg: 255, tq_forw: 245,
ttl_orig: 49, ttl_forw: 49
[      4013] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[      4013] Forwarding packet (originator 00:15:6d:a3:0f:32, seqno
6399, TQ 245, TTL 49, IDF on, hvn 2) on interface ath0 [00:15:6d:a3:15:2e]
[      4013] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:a3:0f:32, via prev OG:
00:15:6d:a3:0f:32, seqno 6399, ttv
[      4013] bidirectional: orig = 00:15:6d:a3:0f:32 neigh =
00:15:6d:ad:d3:2b => own_bcast = 60, real recv = 64, local tq: 239,
asym_penalty: 255, total tq: 229
[      4013] update_originator(): Searching and updating originator
entry of received packet
[      4013] Updating existing last-hop neighbor of originator
[      4013] Drop packet: duplicate packet received
[      4013] Received BATMAN packet via NB: 00:15:6d:ad:d3:2b, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:ad:d3:2b, via prev OG:
00:15:6d:ad:d3:2b, seqno 3516, ttv
[      4013] updating last_seqno: old 3515, new 3516
[      4013] bidirectional: orig = 00:15:6d:ad:d3:2b neigh =
00:15:6d:ad:d3:2b => own_bcast = 60, real recv = 64, local tq: 239,
asym_penalty: 255, total tq: 239
[      4013] update_originator(): Searching and updating originator
entry of received packet
[      4013] Updating existing last-hop neighbor of originator
[      4013] Forwarding packet: tq_orig: 239, tq_avg: 245, tq_forw: 235,
ttl_orig: 49, ttl_forw: 48
[      4013] Forwarding packet: rebroadcast neighbor packet with direct
link flag
[      4013] Received BATMAN packet via NB: 00:15:6d:a3:0f:32, IF: ath0
[00:15:6d:a3:15:2e] (from OG: 00:15:6d:ab:59:e0, via prev OG:
00:15:6d:ab:59:e0, seqno 3634, ttv
- log1 15/479 3%





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

end of thread, other threads:[~2011-10-19 13:36 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-30 22:53 [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work Tobias
2011-08-30 23:07 ` clownix
2011-08-31  9:55 ` Marek Lindner
2011-08-31 15:57   ` wayne abroue
2011-08-31 16:07     ` Antonio Quartulli
2011-08-31 16:16       ` Marek Lindner
2011-08-31 16:18         ` Antonio Quartulli
2011-08-31 17:05           ` Tobias
2011-08-31 21:55             ` Antonio Quartulli
2011-08-31 22:14               ` Javier Cardona
2011-09-01  8:15               ` Tobias
2011-09-01 15:55                 ` Antonio Quartulli
2011-09-01 21:11                   ` Tobias
2011-09-01 21:35                     ` Antonio Quartulli
2011-09-01 22:45                       ` Tobias
2011-09-05  8:06                         ` Marek Lindner
2011-09-06  9:06                           ` Tobias
2011-09-06 18:33                             ` Marek Lindner
2011-09-07  8:00                               ` Tobias
2011-09-13 11:18                                 ` Marek Lindner
2011-09-13 12:09                                   ` Andrew Lunn
2011-09-14 20:54                                   ` Tobias
2011-09-19 22:45                                     ` Antonio Quartulli
     [not found]                                       ` <4E7ED5D3.2000600@wifibot.com>
     [not found]                                         ` <20110925073942.GA2993@ritirata.org>
     [not found]                                           ` <4E7EE7A9.7010309@wifibot.com>
2011-09-25 16:05                                             ` Antonio Quartulli
2011-09-25 16:06                                               ` [B.A.T.M.A.N.] [PATCH] batman-adv: Chichek hunt started! Verbose patch Antonio Quartulli
2011-08-31 16:44     ` [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work Tobias
2011-08-31 16:54       ` wayne abroue
2011-08-31 16:36 ` Tobias
2011-10-19 13:36 ` Antonio Quartulli
2011-09-26 21:07 laurent
2011-09-26 21:14 ` laurent
2011-09-26 22:48   ` Antonio Quartulli
2011-10-10 12:08     ` Antonio Quartulli
2011-09-27  6:01 ` Andrew Lunn
2011-09-27  6:39   ` laurent

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.