public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Marek Lindner <lindner_marek@yahoo.de>
To: The list for a Better Approach To Mobile Ad-hoc Networking
	<b.a.t.m.a.n@lists.open-mesh.net>
Subject: Re: [B.A.T.M.A.N.] basic B.A.T.M.A.N-adv setup
Date: Tue, 20 Oct 2009 23:33:53 +0800	[thread overview]
Message-ID: <200910202333.53437.lindner_marek@yahoo.de> (raw)
In-Reply-To: <45f642440910200802u6864b4cfk6b52f03bed14f8fe@mail.gmail.com>


Hi,

> From the beginning, I am using batman-adv 3.2 compiled along with batctl.

batman-adv 3.2 ? I guess you mean 0.2 ?


> $ insmod batman-adv.ko
> $ iwconfig wlan0 mode ad-hoc essid BATMAN_NET
> $ echo wlan0 > /proc/net/batman-adv/interfaces
> $ ifconfig wlan0 192.168.1.xxx up
> $ ifconfig bat0 up

The wlan0 device does not need an IP address. It needs to be up & running but 
the IP goes on the bat0 device.  


> I get a new bat0 interface, iwconfig shows nodes properly part of the
>  ad-hoc network.
> I see correct $batctl o  output but i cannot $batctl ping $mac_address

Would you mind showing us the batctl o output and the batctl ping call plus 
error message(s) ?


> There are no bridges between interfaces. I just want to run batman-adv  on
> wlan0.
> Do I need to set an IP address for wlan0, for bat0 or for both?
> Or I have to bridge bat0 and wlan0 together?

No, don't bridge bat0 and wlan0. Imagine you had another wifi interface in 
managed mode for non-batman nodes to connect to (e.g. wlan1). Then you would 
want to make the mesh accessible for the managed clients by bridging bat0 with 
wlan1.

Regards,
Marek

      parent reply	other threads:[~2009-10-20 15:33 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-20 15:02 [B.A.T.M.A.N.] basic B.A.T.M.A.N-adv setup Francesco
2009-10-20 15:17 ` Sven Eckelmann
2009-10-20 15:23   ` Sven Eckelmann
2009-10-20 16:02   ` Francesco
2009-10-20 17:10     ` Sven Eckelmann
2009-10-20 17:17       ` Sven Eckelmann
2009-10-20 19:59         ` Francesco
2009-10-20 20:22           ` Sven Eckelmann
2009-10-21  6:54             ` Francesco
2009-10-21  7:05               ` Andrew Lunn
2009-10-21  7:35                 ` Francesco
2009-10-21 10:00                   ` Sven Eckelmann
2009-10-21 12:00                     ` Sven Eckelmann
2009-10-21 15:26                       ` [B.A.T.M.A.N.] [PATCH] Start to send originator messages when interface gets active Sven Eckelmann
2009-10-21 17:21                         ` [B.A.T.M.A.N.] [batman-adv] " Marek Lindner
2009-10-21 12:11                     ` [B.A.T.M.A.N.] basic B.A.T.M.A.N-adv setup Francesco
2009-10-20 15:33 ` Marek Lindner [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=200910202333.53437.lindner_marek@yahoo.de \
    --to=lindner_marek@yahoo.de \
    --cc=b.a.t.m.a.n@lists.open-mesh.net \
    /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