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
signature.asc
Description: This is a digitally signed message part.
