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: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] Need help bridging Regular AP to Batman
Date: Thu, 14 Jan 2016 18:05:44 +0100	[thread overview]
Message-ID: <1876702.MVf7ZKuccf@prime> (raw)
In-Reply-To: <ff54fe803c7c44eda0b860c69983c5d5@W2K1204EX.c2t3.local>

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

Hi Andre,

On Thursday 14 January 2016 16:31:08 André Pouliot wrote:
> Hi,
> 
> I'm trying to do a mesh network using the RaspberryPi and Batman.
> 
> My problem is I'm using 2 wifi card on one raspberrypi one for batman and
> the other one for connecting to my wireless access point.
> 
> I already made my mesh network I can ping on layer 2 or 3 between 2
> raspberrypi. When connecting the Ethernet cable(on the raspberry with 2
> wifi dongle) I can use the bridge to ping toward the internet. But when I
> disconnect the cable I can't ping internet anymore.
> 
> I already verified my batman interface and my bridge both seem to work

You are using your second non-mesh WiFi card (wlan 1) in client mode, right? 
You can't include client mode into a bridge, because a WiFi client (normally) 
does not support bridging. Actually your system should prevent it ...

> 
> The AP is connected on wlan1, wlan1 doesn't have an IP address assigned to
> it. The AP is configured with WPA2. When trying to assign a address using
> dhclient to the bridge interface the system can't seem to find a way and
> the command is waiting.
> 
> If I want to connected my batman network to a standard wifi AP do I need to
> use a bridge or the functionality exist with batman?

If you want to connect your Raspi to your WiFi AP, I see the following 
options:
 * Use Layer 3 Routing and keep the WiFi Client
 * Configure your Raspi as AP and your WiFi AP into client mode (if it supports 
that)
 * Connect one of your Raspis to Ethernet and don't use the WiFi AP at all.

Hope I got your question right .... :)

Cheers,
      Simon

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

      reply	other threads:[~2016-01-14 17:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-14 16:31 [B.A.T.M.A.N.] Need help bridging Regular AP to Batman André Pouliot
2016-01-14 17:05 ` 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=1876702.MVf7ZKuccf@prime \
    --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