From: "\"Juha Ylönen\"" <ylonen@gmx.net>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] batman-adv on different archs
Date: Mon, 18 Jan 2010 14:29:35 +0100 [thread overview]
Message-ID: <20100118132935.91200@gmx.net> (raw)
In-Reply-To: <20100118113954.GC7844@lunn.ch>
Hi,
And thanks for quick responses. Some comments below.
-------- Original-Nachricht --------
> Datum: Mon, 18 Jan 2010 12:39:54 +0100
> Von: Andrew Lunn <andrew@lunn.ch>
>
> What do you see in /proc/net/batman-adv/originiators on the three
> devices?
Here's what I see (or not see) in the laptop:
##:~$ cat /proc/net/batman-adv/interfaces
[ active] wlan0 00:22:fa:dc:9a:ce
##:~$ cat /proc/net/batman-adv/originators
Originator (#/255) Nexthop [outgoingIF]: Potential nexthops ... [B.A.T.M.A.N. adv 0.2, MainIF/MAC: wlan0/00:22:fa:dc:9a:ce]
No batman nodes in range ...
and in the device:
##> cat /proc/net/batman-adv/interfaces
[ active] eth1 00:11:f6:83:af:1c
##> cat /proc/net/batman-adv/originators
Originator (#/255) Nexthop [outgoingIF]: Potential nexthops ... [B.A.T.M.A.N. adv 0.2, MainIF/MAC: eth1/00:11:f6:83:af:1c]
No batman nodes in range ...
> Is the ARM device running in big endian or little endian mode?
The device is liitle endian. Could it be a problem in endianness? IIRC network stuff is usually big endian?
> Any kernel messages?
>
> You may want to rebuild the modules with debugging enabled, see the
> README and then enable it as described in the README.
I couldn't find any info on debug build in the README, and some instructions I came across in the wiki didn't really work, so I went and modified log.c directly to printk everything that is passed to debug_log.
In result I got a screenfulls of messages:
---
batman-adv: Received BATMAN packet via NB: 00:22:fa:dc:9a:ce, IF: eth1 [00:11:f6:83:af:1c] (from OG: 00:22:fa:dc:9a:ce, via prev OG: 00:22:fa:dc:9a:ce, seqno 30765, tq 255, TTL 50, V 8, IDF 0)
batman-adv: updating last_seqno: old 30764, new 30765
batman-adv: bidirectional: orig = 00:22:fa:dc:9a:ce neigh = 00:22:fa:dc:9a:ce => own_bcast = 0, real recv = 63, local tq: 0, asym_penalty: 255, total tq: 0
batman-adv: Forwarding packet: tq_orig: 0, tq_avg: 0, tq_forw: 0, ttl_orig: 49, ttl_forw: 49
batman-adv: Forwarding packet: rebroadcast neighbour packet with direct link flag
batman-adv: Forwarding packet (originator 00:22:fa:dc:9a:ce, seqno 30765, TQ 0, TTL 49, IDF on) on interface eth1 [00:11:f6:83:af:1c]
batman-adv: Sending own packet (originator 00:11:f6:83:af:1c, seqno 1569, TQ 255, TTL 50, IDF off) on interface eth1 [00:11:f6:83:af:1c]
batman-adv: Received BATMAN packet via NB: 00:22:fa:dc:9a:ce, IF: eth1 [00:11:f6:83:af:1c] (from OG: 00:22:fa:dc:9a:ce, via prev OG: 00:22:fa:dc:9a:ce, seqno 30766, tq 255, TTL 50, V 8, IDF 0)
batman-adv: updating last_seqno: old 30765, new 30766
batman-adv: bidirectional: orig = 00:22:fa:dc:9a:ce neigh = 00:22:fa:dc:9a:ce => own_bcast = 0, real recv = 63, local tq: 0, asym_penalty: 255, total tq: 0
batman-adv: Forwarding packet: tq_orig: 0, tq_avg: 0, tq_forw: 0, ttl_orig: 49, ttl_forw: 49
batman-adv: Forwarding packet: rebroadcast neighbour packet with direct link flag
batman-adv: Forwarding packet (originator 00:22:fa:dc:9a:ce, seqno 30766, TQ 0, TTL 49, IDF on) on interface eth1 [00:11:f6:83:af:1c]
batman-adv: Sending own packet (originator 00:11:f6:83:af:1c, seqno 1570, TQ 255, TTL 50, IDF off) on interface eth1 [00:11:f6:83:af:1c]
batman-adv: Received BATMAN packet via NB: 00:22:fa:dc:9a:ce, IF: eth1 [00:11:f6:83:af:1c] (from OG: 00:22:fa:dc:9a:ce, via prev OG: 00:22:fa:dc:9a:ce, seqno 30767, tq 255, TTL 50, V 8, IDF 0)
batman-adv: updating last_seqno: old 30766, new 30767
batman-adv: bidirectional: orig = 00:22:fa:dc:9a:ce neigh = 00:22:fa:dc:9a:ce => own_bcast = 0, real recv = 63, local tq: 0, asym_penalty: 255, total tq: 0
batman-adv: Forwarding packet: tq_orig: 0, tq_avg: 0, tq_forw: 0, ttl_orig: 49, ttl_forw: 49
batman-adv: Forwarding packet: rebroadcast neighbour packet with direct link flag
batman-adv: Forwarding packet (originator 00:22:fa:dc:9a:ce, seqno 30767, TQ 0, TTL 49, IDF on) on interface eth1 [00:11:f6:83:af:1c]
batman-adv: Sending own packet (originator 00:11:f6:83:af:1c, seqno 1571, TQ 255, TTL 50, IDF off) on interface eth1 [00:11:f6:83:af:1c]
batman-adv: Received BATMAN packet via NB: 00:22:fa:dc:9a:ce, IF: eth1 [00:11:f6:83:af:1c] (from OG: 00:22:fa:dc:9a:ce, via prev OG: 00:22:fa:dc:9a:ce, seqno 30768, tq 255, TTL 50, V 8, IDF 0)
batman-adv: updating last_seqno: old 30767, new 30768
batman-adv: bidirectional: orig = 00:22:fa:dc:9a:ce neigh = 00:22:fa:dc:9a:ce => own_bcast = 0, real recv = 63, local tq: 0, asym_penalty: 255, total tq: 0
batman-adv: Forwarding packet: tq_orig: 0, tq_avg: 0, tq_forw: 0, ttl_orig: 49, ttl_forw: 49
batman-adv: Forwarding packet: rebroadcast neighbour packet with direct link flag
batman-adv: Forwarding packet (originator 00:22:fa:dc:9a:ce, seqno 30768, TQ 0, TTL 49, IDF on) on interface eth1 [00:11:f6:83:af:1c]
batman-adv: Sending own packet (originator 00:11:f6:83:af:1c, seqno 1572, TQ 255, TTL 50, IDF off) on interface eth1 [00:11:f6:83:af:1c]
batman-adv: Received BATMAN packet via NB: 00:22:fa:dc:9a:ce, IF: eth1 [00:11:f6:83:af:1c] (from OG: 00:22:fa:dc:9a:ce, via prev OG: 00:22:fa:dc:9a:ce, seqno 30769, tq 255, TTL 50, V 8, IDF 0)
batman-adv: updating last_seqno: old 30768, new 30769
batman-adv: bidirectional: orig = 00:22:fa:dc:9a:ce neigh = 00:22:fa:dc:9a:ce => own_bcast = 0, real recv = 63, local tq: 0, asym_penalty: 255, total tq: 0
batman-adv: Forwarding packet: tq_orig: 0, tq_avg: 0, tq_forw: 0, ttl_orig: 49, ttl_forw: 49
batman-adv: Forwarding packet: rebroadcast neighbour packet with direct link flag
batman-adv: Forwarding packet (originator 00:22:fa:dc:9a:ce, seqno 30769, TQ 0, TTL 49, IDF on) on interface eth1 [00:11:f6:83:af:1c]
batman-adv: Sending own packet (originator 00:11:f6:83:af:1c, seqno 1573, TQ 255, TTL 50, IDF off) on interface eth1 [00:11:f6:83:af:1c]
batman-adv: Received BATMAN packet via NB: 00:22:fa:dc:9a:ce, IF: eth1 [00:11:f6:83:af:1c] (from OG: 00:22:fa:dc:9a:ce, via prev OG: 00:22:fa:dc:9a:ce, seqno 30770, tq 255, TTL 50, V 8, IDF 0)
batman-adv: updating last_seqno: old 30769, new 30770
batman-adv: bidirectional: orig = 00:22:fa:dc:9a:ce neigh = 00:22:fa:dc:9a:ce => own_bcast = 0, real recv = 63, local tq: 0, asym_penalty: 255, total tq: 0
---
Interestingly there seems to be packets coming and going from my laptop?
-Juha
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
next prev parent reply other threads:[~2010-01-18 13:29 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-18 11:27 [B.A.T.M.A.N.] batman-adv on different archs "Juha Ylönen"
2010-01-18 11:39 ` Andrew Lunn
2010-01-18 13:29 ` "Juha Ylönen" [this message]
2010-01-18 13:38 ` Marek Lindner
2010-01-18 13:51 ` Andrew Lunn
2010-01-19 7:46 ` "Juha Ylönen"
2010-01-19 7:43 ` "Juha Ylönen"
2010-01-19 12:07 ` Marek Lindner
2010-01-19 14:51 ` "Juha Ylönen"
2010-01-19 15:11 ` Sven Eckelmann
[not found] ` <20100119153233.319500@gmx.net>
2010-01-19 17:12 ` Sven Eckelmann
2010-01-19 19:37 ` Simon Wunderlich
2010-01-20 14:05 ` "Juha Ylönen"
2010-01-20 21:58 ` Marek Lindner
2010-01-18 11:42 ` Marek Lindner
-- strict thread matches above, loose matches on Subject: below --
2010-01-19 14:58 "Juha Ylönen"
2010-01-20 2:15 ` Marek Lindner
2010-01-20 9:29 ` "Juha Ylönen"
2010-01-20 9:42 ` Marek Lindner
2010-01-20 9:49 ` Andrew Lunn
2010-01-20 9:51 ` Sven Eckelmann
2010-01-20 13:12 ` "Juha Ylönen"
2010-01-20 22:32 ` Marek Lindner
2010-01-21 14:12 ` "Juha Ylönen"
2010-01-21 15:29 ` Sven Eckelmann
2010-01-21 17:17 ` Gus Wirth
2010-01-21 18:32 ` Sven Eckelmann
2010-01-22 18:26 ` Simon Wunderlich
2010-01-24 21:19 ` "Juha Ylönen"
2010-01-21 19:02 "Juha Ylönen"
2010-01-22 12:16 ` Sven Eckelmann
2010-01-24 21:17 "Juha Ylönen"
2010-01-24 22:03 ` Sven Eckelmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100118132935.91200@gmx.net \
--to=ylonen@gmx.net \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox