From: Sven Eckelmann <sven@narfation.org>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] trouble setting up my mesh
Date: Tue, 07 Aug 2012 19:33:37 +0200 [thread overview]
Message-ID: <1625636.DQU7MN2I4b@bentobox> (raw)
In-Reply-To: <1344359893.8678.YahooMailClassic@web162701.mail.bf1.yahoo.com>
[-- Attachment #1: Type: text/plain, Size: 1342 bytes --]
On Tuesday 07 August 2012 10:18:13 adam wiz wrote:
> I am having some trouble setting up batman-adv for my mesh. I can get each
> access point to see the other using "batctl o" but I am not able to route
> messages between my client devices. I think there is something wrong with
> my bridging.
[...]
> In setting up batman-adv, I run these commands:
>
> sudo modprobe batman-adv
> sudo batctl if add eth0
> sudo batctl if add wlan1
> sudo ifconfig eth0 0.0.0.0 mtu 1528
> sudo ifconfig wlan1 0.0.0.0 mtu 1528
> sudo ifconfig bat0 10.50.0.x (x being a unique number for each access point)
> netmask 255.255.0.0 up
What brigde? I don't see a single bridge here. Only an ethernet device, wlan
device and a batman device that contains both. The bat0 device has an ip... so
I would doubt that you added it to a bridge.
I would guess that you wanted to do something like this (I just assume that
br0 is already created through hostapd and includes wlan0... you have to
ensure that this is done):
sudo modprobe batman-adv
sudo batctl if add eth0
sudo batctl if add wlan1
sudo ip addr flush dev eth0
sudo ip addr flush dev wlan1
sudo ip link set dev eth0 mtu 1528
sudo ip link set dev wlan1 mtu 1528
sudo brctl addif br0 bat0
sudo ip link set dev bat0 up
sudo ip addr add 10.50.0.x/24 dev br0
sudo ip link set dev br0 up
Kind regards,
Sven
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2012-08-07 17:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-07 17:18 [B.A.T.M.A.N.] trouble setting up my mesh adam wiz
2012-08-07 17:33 ` Sven Eckelmann [this message]
2012-08-07 19:31 ` adam wiz
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=1625636.DQU7MN2I4b@bentobox \
--to=sven@narfation.org \
--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 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.