public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Simon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.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.] Problem with multi-radio, multi-channel in batman-adv
Date: Tue, 17 Apr 2012 11:25:31 +0200	[thread overview]
Message-ID: <20120417092530.GA10402@pandem0nium> (raw)
In-Reply-To: <4f8bf5df.68c5440a.5c0c.5258@mx.google.com>

[-- Attachment #1: Type: text/plain, Size: 1698 bytes --]

Hey Puyou,

On Mon, Apr 16, 2012 at 06:35:04PM +0800, puyou.lu wrote:
> Hi guys.
>   I’m trying to make a for nodes WMN using four devices with two wireless cards each. I would like to use three different channels to reduce the interference, like this:
>   [Node A]  <- channel 1 ->  [Node B]  <- channel 2 ->  [Node C]  <- channel 3 ->  [Node D]
>   First I configure eight wireless cards to the specific channel in ad-hoc mode using “iw dev wlan0 ibss join …”.
>   Then, I think I should add wlan0 and wlan1 to the same batman-adv interface (that is bat0) in every device. So I need to configure four nodes with the same commands like:
>                 echo bat0 > /sys/class/net/wlan0/batman_adv/mesh_iface
>                 echo bat0 > /sys/class/net/wlan1/batman_adv/mesh_iface
>   Last configure an IP address to each bat0. (Node A-10.0.0.1, Node B-10.0.0.2, Node C-10.0.0.3, Node D-10.0.0.4).
>   But it seem Node A can reach Node B and Node C(using ping), but can’t for Node D.
>   
>   Am I following the right procedure?
>   Sorry for my poor English. Any help would be appreciated.

The procedure looks right in general. A few questions to debug:

 * do you use different ESSIDs for the IBSS-networks? ad-hoc devices joining may override the configured channel
   and select another IBSS-network instead when it has the same ESSID.
 * have you confirmed that the WiFi connection works without batman-adv? just set up your WiFi, configure different
   IP addresses and ping for each hop to test.
 * does the output of "batctl originators" helps you? Are the other nodes displayed on node 4?

Cheers,
	Simon

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2012-04-17  9:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Ac0buyfQ0NtM/TK6R9ywgw4De+pmXAAAQxNAAAAS8FA=>
2012-04-16 10:35 ` [B.A.T.M.A.N.] Problem with multi-radio, multi-channel in batman-adv puyou.lu
2012-04-17  9:25   ` Simon Wunderlich [this message]
2012-04-18  6:15     ` puyou.lu
2012-04-18 12:25       ` Simon Wunderlich
2012-04-18 18:18   ` Guido Iribarren

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=20120417092530.GA10402@pandem0nium \
    --to=simon.wunderlich@s2003.tu-chemnitz.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