public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Simon Wunderlich <sw@simonwunderlich.de>
To: The list for a Better Approach To Mobile Ad-hoc Networking
	<b.a.t.m.a.n@lists.open-mesh.org>
Subject: Re: [B.A.T.M.A.N.] Question about batman adv
Date: Thu, 27 Feb 2014 14:12:15 +0100	[thread overview]
Message-ID: <201402271412.15916.sw@simonwunderlich.de> (raw)
In-Reply-To: <1770254702.309936059.1393503657979.JavaMail.root@spooler5n-g27.priv.proxad.net>

Hi,

> Hello,
> 1) I can't creat the 2 files:
>  cat /sys/kernel/debug/batman_adv/bat0/log
> echo 2 > /sys/class/net/bat0/mesh/log_level
> 
> then when i write this line, i have the result:
> sudo batctl log
> Error - can't open file '/sys/kernel/debug//batman_adv/bat0/log': No such
> file or directory To read the debug log you need to compile the module
> with debugging enabled (see the README)
> 
> WWW@ubuntu:~$ sudo batctl ll
> Error - can't open file '/sys/class/net/bat0/mesh/log_level': No such file
> or directory To increase the log level you need to compile the module with
> debugging enabled (see the README)
> 
> How can i compile it ?

Read the README, it's documented there.

> 
> 2) The MTU = 1528 is not need to be set on the computer ?

No, batman-adv can also fragment the packets for you. But it's a good idea to 
set this MTU value to the hard interface used by batman-adv.
> 
> 3) How can i lauch batman-adv in debug mode to see all node ?

There is no such thing as debug mode. Compile batman-adv with debug turned on 
(either set CONFIG_BATMAN_ADV_DEBUG=y in the Makefile if you compile the module 
externally or select debug in "make menuconfig" when using the module from the 
in-kernel tree).

You can "see" other nodes e.g. by using "batctl o", which will print the local 
originator table.

The quick-start guide might also point you to a view interesting things:

http://www.open-mesh.org/projects/batman-adv/wiki/Quick-start-guide

Cheers,
     Simon

      reply	other threads:[~2014-02-27 13:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <625466031.231607000.1391591065485.JavaMail.root@spooler5n-g27.priv.proxad.net>
2014-02-05  9:06 ` [B.A.T.M.A.N.] question about VIS servera michael.holcman1
2014-02-06 15:52   ` Simon Wunderlich
2014-02-08 15:34     ` Elektra
2014-02-27 12:20   ` [B.A.T.M.A.N.] Question about batman adv michael.holcman1
2014-02-27 13:12     ` Simon Wunderlich [this message]

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=201402271412.15916.sw@simonwunderlich.de \
    --to=sw@simonwunderlich.de \
    --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