Re: [B.A.T.M.A.N.] 2012.2 OGMs over ethernet issue?

2012-07-23 Thread Gui Iribarren
On Sun, Jul 8, 2012 at 7:09 AM, Simon Wunderlich simon.wunderl...@s2003.tu-chemnitz.de wrote: Hey Guido, On Sat, Jul 07, 2012 at 12:37:24AM -0300, Guido Iribarren wrote: Hello again nice folks, I updated today another segment of the network with just 4 nodes, to batman-adv 2012.2 (the one i

Re: [B.A.T.M.A.N.] 2012.2 OGMs over ethernet issue?

2012-07-28 Thread Gui Iribarren
On Wed, Jul 25, 2012 at 5:34 PM, Simon Wunderlich simon.wunderl...@s2003.tu-chemnitz.de wrote: Hey Gui, Funny thing is, the only workaround i found for the bug is to *include* the interface in a bridge, and add that bridge to bat0 as in: brctl delif br-lan eth0 batctl if add eth0 # doesn't

Re: [B.A.T.M.A.N.] batman majareta? I can batctl ping but not ping

2012-08-04 Thread Gui Iribarren
On Mon, Jul 23, 2012 at 2:28 PM, Antonio Quartulli or...@autistici.org wrote: On Sun, Jul 22, 2012 at 08:20:21AM -0300, Guido Iribarren wrote: On Sun, Jul 22, 2012 at 7:57 AM, Guido Iribarren guidoiribar...@buenosaireslibre.org wrote: This time it solved itself after some brief time (a

[B.A.T.M.A.N.] propagate gw_mode over two mesh linked by ethernet with bla2

2012-08-05 Thread Gui Iribarren
Here i am again, the involuntary stress-tester of gw_mode + bla2 and mailing-list readers' headache ;) Given the setup described here http://www.open-mesh.org/attachments/download/128 let's say one node in mesh1 sets gw_mode=server any node in mesh1 will list it in batctl gwl but nodes in mesh2

Re: [B.A.T.M.A.N.] propagate gw_mode over two mesh linked by ethernet with bla2

2012-08-10 Thread Gui Iribarren
On Tue, Aug 7, 2012 at 7:46 AM, Simon Wunderlich simon.wunderl...@s2003.tu-chemnitz.de wrote: Hello Guido, OGMs flood the ethernet backbone again as expected; running batctl o in mesh1 nodes show nodes from mesh2, and viceversa; i smiled! unfortunately, trying to get a DHCP lease while

Re: [B.A.T.M.A.N.] How to force a specific network topology

2012-09-10 Thread Gui Iribarren
On Mon, Sep 10, 2012 at 12:18 PM, Esteban Municio emuni...@gmail.com wrote: Hi Sven I don't understand very well what are you meaning. Now I have 1 bridge over with batman-adv: batctl if add wlan0 brctl addbr mesh-bridge brctl addif mesh-bridge eth0 brctl addif mesh-bridge bat0 Then,

Re: [B.A.T.M.A.N.] 2012.2 OGMs over ethernet issue?

2012-09-13 Thread Gui Iribarren
On Mon, Jul 30, 2012 at 7:31 AM, Simon Wunderlich simon.wunderl...@s2003.tu-chemnitz.de wrote: Hello Guido, Thanks for working that out. I've just tried out VLANs on Ethernet with BATMAN myself, and it worked well here - so I can't reproduce it by simply using VLANs. Another cause of the

[B.A.T.M.A.N.] Fwd: mac address from packet

2012-10-04 Thread Gui Iribarren
-- Forwarded message -- From: Gui Iribarren g...@altermundi.net Date: Thu, 4 Oct 2012 16:46:30 -0300 Subject: Re: [B.A.T.M.A.N.] mac address from packet To: Dominic Follett-Smith dominicfoll...@gmail.com Add a wireless interface in monitor mode, and start a wireshark/tcpdump

Re: [B.A.T.M.A.N.] How to detect gateway mode in openwrt?

2012-10-15 Thread Gui Iribarren
On Mon, Oct 15, 2012 at 12:33 PM, Gui Iribarren g...@altermundi.net wrote: Given that it's all posix ash (no binaries), you can probably grab our precompiled packages as well. Ooops.. broken link. Sorry, here's the current one: http://openwrt.altermundi.net/snapshots/current/ar71xx/packages

Re: [B.A.T.M.A.N.] How to detect gateway mode in openwrt?

2012-10-18 Thread Gui Iribarren
On Wed, Oct 17, 2012 at 6:14 PM, Sophana K sophan...@gmail.com wrote: I may have found a possible solution by parsing the output of batctl transglobal, and look for the gateway mac address. If the gateway is in the transglobal table, it is accessed through the mesh, and it is probably not

Re: [B.A.T.M.A.N.] [PATCH] batman-adv: Fix broadcast packet CRC calculation

2012-10-19 Thread Gui Iribarren
[resending as plaintext since maillist refused to accept apparently a Content-Type: text/html] On Wed, Oct 17, 2012 at 9:42 AM, Gui Iribarren g...@altermundi.net wrote: Ah, interesting! Does this affect multi-hop broadcasts as well? Maybe this could be somehow related to the misteriously dropped

Re: [B.A.T.M.A.N.] Web-based Visualisation Tool

2012-10-22 Thread Gui Iribarren
A few weeks ago, after reviewing nodeshot, nodewatcher, and others, NicoEchaniz decided to start AlterMap, which literally means yet another map the idea, though, is to make it as flexible as possible, so that it can be adopted / backported to existing networks. Very much like the interop-dev

[B.A.T.M.A.N.] A batman-adv success story

2012-11-02 Thread Gui Iribarren
Hey folks, Marek once asked on the IRC channel about our project, Mitar also asked for a proper introduction [0] And i get the feeling it would be nice to describe a small real world batman-adv implementation i've seen many times mails from people doing simulations or whatnot, to decide if

[B.A.T.M.A.N.] [RFC] batman-adv boot setup scheme on OpenWRT

2012-11-23 Thread Gui Iribarren
Hello Marek and folks, chasing a race condition, I might have delved a little too deep into openwrt boot sequence :( AFAICU, currently there's a /etc/hotplug.d/net/99-batman-adv script which tries to configure both bat0 , and any interfaces coming up that might have to be included there. Problem

Re: [B.A.T.M.A.N.] [RFC] batman-adv boot setup scheme on OpenWRT

2012-11-23 Thread Gui Iribarren
Boring bootlog at http://pastebin.com/59FEPttY Proposed patch follows (against current batman-adv in openwrt 'packages' feed) Signed-off-by: Gui Iribarren g...@altermundi.net --- diff --git a/Makefile b/Makefile index d12665e..e37467f 100644 --- a/Makefile +++ b/Makefile @@ -113,9 +113,10

Re: [B.A.T.M.A.N.] trigger events

2012-11-25 Thread Gui Iribarren
The gateway server dis/appearance is handled by /etc/hotplug.d/net/ framework, i'm currently working on a general script to handle that using uci config, In the meanwhile, you can find more info in batman-adv wiki page http://www.open-mesh.org/wiki/batman-adv/Uevent or if you are in a hurry,

Re: [B.A.T.M.A.N.] [RFC] batman-adv boot setup scheme on OpenWRT

2012-12-09 Thread Gui Iribarren
Didn't test it but gave a quick glance, looks good to me :) I'd also add 'netifd' as a dependency in the makefile (and, well, increase the pkg revision, but that's marek job) Thanks a lot! On Sun, Dec 9, 2012 at 1:03 PM, Moritz Warning moritzwarn...@web.de wrote: Here you go. :) It would be

Re: [B.A.T.M.A.N.] [OpenWrt-Devel] Batman-adv 2012.4.0 into attitude adjustment

2013-01-11 Thread Gui Iribarren
IIRC the openwrt package uses the out-of-kernel-tree batman release, i.e. it doesn't depend on a particular kernel version. So manually updating the package version in the makefile of your openwrt AA build environment should work. You don't need to add batman-adv feed in this case - having the

Re: [B.A.T.M.A.N.] dns/routing/ issue (batman-adv mesh)

2013-01-17 Thread Gui Iribarren
like to have the mesh working even if a gateway dies. http://dpaste.com/hold/879202/ cable connected clients on the client routers can access the wan just not wirelessly connected. On 01/16/13 12:31, Gui Iribarren wrote: You posted only one set of configurations, but it's not clear to me

Re: [B.A.T.M.A.N.] netifd batman-adv proto

2013-02-26 Thread Gui Iribarren
On 02/01/13 10:11, Filippo Sallemi wrote: Hi all, I've writed a batman-adv proto in according on new netifd system of attitude adjustement release. With this script the batman-adv configuration could be moved on /etc/config/network file istead of /etc/config/batman-adv and the

Re: [B.A.T.M.A.N.] Batman-adv and Uevent (gateway/client modes)

2013-04-26 Thread Gui Iribarren
On 04/26/2013 09:30 PM, cmsv wrote: I have reached a point where i need to start using the uevent functionality to work around some network scenarios when the gateways lose internet access but i am having a bit of a difficult time understanding how to do it since making use of uevents which is

[B.A.T.M.A.N.] Possible bad interaction between BLA2 and TT?

2013-06-23 Thread Gui Iribarren
Hey everyone! fiiinally got back home, a week ago, and got time to debug a strange issue here. The report i had from a few users was intermittent connectivity, with waves of traffic, with random pauses lasting from a few seconds to a minute or so. I initially dismissed as interference, or

Re: [B.A.T.M.A.N.] Possible bad interaction between BLA2 and TT?

2013-06-23 Thread Gui Iribarren
On 06/23/2013 06:51 PM, Gui Iribarren wrote: Hey everyone! fiiinally got back home, a week ago, and got time to debug a strange issue here. The report i had from a few users was intermittent connectivity, with waves of traffic, with random pauses lasting from a few seconds to a minute or so. I

Re: [B.A.T.M.A.N.] Possible bad interaction between BLA2 and TT?

2013-06-24 Thread Gui Iribarren
On 06/24/2013 04:02 AM, Antonio Quartulli wrote: On Sun, Jun 23, 2013 at 07:28:08PM -0300, Gui Iribarren wrote: On 06/23/2013 06:51 PM, Gui Iribarren wrote: the gap in labanda-oeste is between seq=73 and seq=89 in labanda-oeste there were no messages or traffic for 25secs, and then the TT

Re: [B.A.T.M.A.N.] single radio routers and ap/adhoc interfaces

2013-06-26 Thread Gui Iribarren
On 06/26/2013 07:39 PM, jonsm...@gmail.com wrote: It looks like OpenWRT trunk is broken. I just sent this out on the OpenWRT list but I haven't received a response yet. When I loaded Steve image the hardware worked as expected. Bleeding edge often hurts :-/ (Thanks for sending that report to

Re: [B.A.T.M.A.N.] Alfred Open Beta

2013-07-19 Thread Gui Iribarren
On 05/19/2013 07:50 AM, Simon Wunderlich wrote: To those of you who actively follow the recent discussions it may come to no big surprise that it was decided to remove the vis functionality from the batman-adv kernel module in a not so distant future (with the next compatibility bump). There

[B.A.T.M.A.N.] Complete netifd integration in openwrt

2013-07-28 Thread Gui Iribarren
Hello folks, i finally took the time to finish the netifd integration in openwrt. since 2013.0.0, the slave interfaces moved from batman-adv.bat0.interfaces to network.meshblah.proto=batadv, so that netifd could properly manage the setup and teardown, avoiding some race conditions i faced at

Re: [B.A.T.M.A.N.] Complete netifd integration in openwrt

2013-07-28 Thread Gui Iribarren
On 07/28/2013 09:39 PM, cmsv wrote: Is this change going to be in efect with current openwrt AA and batman-adv 2013.3.0 or still optional ? Aw, sorry for the confusion, bad timing :( batman-adv 2013.3.0 is already released, and this particular patch is still a pull request , so: no, this is

Re: [B.A.T.M.A.N.] [OpenWrt-Devel] Kernel panic Process batadv.sh - Fatal

2013-08-12 Thread Gui Iribarren
On 08/12/2013 09:43 PM, cmsv wrote: OpenWrt version: Attitude Adjustment (r37747) Recently there was someone (Lucaspost) on #batman with a problem caused by mixing the latest AA and Batman-adv 2013.3.0 and while i can't be sure the problem is exactly this one; here goes my testing with a D-link

Re: [B.A.T.M.A.N.] [PATCH] alfred: output valid JSON

2013-09-08 Thread Gui Iribarren
I'm already turning your output into proper json, but inside my lua script. So getting json out of alfred would simplify things :) I.e.: +1 and thanks for the patch! Simon Wunderlich simon.wunderl...@s2003.tu-chemnitz.de wrote: Hey Nils, thanks for your patch! On Sun, Sep 08, 2013 at

[B.A.T.M.A.N.] [PATCH 1/2] alfred: Add a lightweight framework for running facter scripts that feed data into alfred every 5 minutes

2013-10-13 Thread Gui Iribarren
is started by the init.d script. Signed-off-by: Gui Iribarren g...@altermundi.net --- alfred/files/alfred.config |1 + alfred/files/alfred.init | 26 +++--- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/alfred/files/alfred.config b/alfred/files

[B.A.T.M.A.N.] [PATCH 2/2] alfred: Bundle a lua script for autogenerating bat-hosts file

2013-10-13 Thread Gui Iribarren
Provide a lua script that uses alfred to propagate and collect all interface mac + names, then generate a /tmp/bat-hosts file. If there's already a (probably hand-made) /etc/bat-hosts it won't overwrite it but if there's none, it will symlink /etc/bat-hosts - /tmp/bat-hosts Signed-off-by: Gui

Re: [B.A.T.M.A.N.] [PATCH 2/2] alfred: Bundle a lua script for autogenerating bat-hosts file

2013-10-17 Thread Gui Iribarren
/etc/bat-hosts - /tmp/bat-hosts Signed-off-by: Gui Iribarren g...@altermundi.net Thanks-to: Joshua Head joshua.h...@outlook.com Thanks a lot, this sounds like a really good idea! As this will be part of the openwrt package, I'd like to ask to make the bat-hosts.lua script optional and selectable

[B.A.T.M.A.N.] alfred hook to run when new information is received?

2013-11-02 Thread Gui Iribarren
Hey Simon, until sarcasmarec ideas come true... ;) [(2013/10/14) marec: d0tslash: we should release some more daemons] we're doing our best to convince current daemons to turn *more* evil, in the meanwhile turns out, we're trying to propagate dnsmasq dhcp leases over the network with alfred

Re: [B.A.T.M.A.N.] lost connection to a client / Q: transglobal-table

2013-11-03 Thread Gui Iribarren
On 11/03/2013 10:18 AM, Bastian Bittorf wrote: * Gui Iribarren g...@altermundi.net [03.11.2013 09:52]: Each node has a macvlan called 'gateway0' which has the IP 192.168.0.1/32 This is just an IP which every DHCP-Client gets for default-gateway. (so the gateway is the node itself

[B.A.T.M.A.N.] [PATCHv2] alfred: optionally bundle a lua script for generating a bat-hosts

2013-11-12 Thread Gui Iribarren
Provide a lua script that uses alfred to propagate and collect all interface mac + names, then generate a /tmp/bat-hosts file. If there's already a (probably hand-made) /etc/bat-hosts it won't overwrite it, but if there's none, it will symlink /etc/bat-hosts - /tmp/bat-hosts Signed-off-by: Gui

Re: [B.A.T.M.A.N.] Loss of connection to remote nodes, from clients only.

2013-11-29 Thread Gui Iribarren
On 11/24/2013 08:36 PM, tjhowse wrote: In my test system I have 11 dual-channel nodes. The 5GHz link is used for interconnect between the nodes and the 2.4GHz link is for clients. One of the nodes is distant. My laptop is connected to a common-SSID AP link from one of the local nodes. I can

[B.A.T.M.A.N.] alfred init.d bugs

2013-12-13 Thread Gui Iribarren
alfred will refuse to start if bat0 doesn't exist yet root@48cfeb:~# alfred -i br-lan -m -b bat0 Could not find transtable_global for interface bat0. Make sure it is a valid batman-adv soft-interface at boot time this can create a race condition, since wifi interfaces can take longer to be

[B.A.T.M.A.N.] [PATCH 1/2] alfred: fix batadv-vis invocation in init.d script

2013-12-13 Thread Gui Iribarren
broken (wouldn't start, failing silently) since the following commit: * renamed vis to batadv-vis to avoid collisions with other vis binaries which renamed only some instances of the vis command Signed-off-by: Gui Iribarren g...@altermundi.net --- alfred/Makefile | 2 +- alfred/files

[B.A.T.M.A.N.] [PATCH 2/2] alfred: workaround race condition when batmanif is not ready at boot time

2013-12-13 Thread Gui Iribarren
as soon as batmanif appears, if that happens during the 30-second window. Signed-off-by: Gui Iribarren g...@altermundi.net --- alfred/Makefile | 2 +- alfred/files/alfred.init | 18 +- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/alfred/Makefile b

[B.A.T.M.A.N.] can batctl ping but not ping in 2014.1.0

2014-04-08 Thread Gui Iribarren
Hello again friendly devs, here we are, after a long running stable hiatus, back into the bleeding edge for a ride \o/ running a small cloud of recent openwrt trunk (r40361) (OT: kmod-ath9k is running suprisingly smooth! yay!!) with kmod-batman-adv - 3.10.34+2014.1.0-2 and, well... i have bat

Re: [B.A.T.M.A.N.] I need some help with BATMAN configuration

2014-05-30 Thread Gui Iribarren
On 30/05/14 11:22, Lucy Coya wrote: Hi everyone, My name is Lucy Coya, I´m a telecommunications engineer and I need some help with my BATMAN configuration. I´m using batman-adv-2014-2.0 and batctl-2014-2.0 I´m trying to use BATMAN protocol in a very very simple routing scenario at first to

Re: [B.A.T.M.A.N.] Bridge changing source mac address prevents batman-adv from connecting

2014-06-20 Thread Gui Iribarren
On 20/06/14 10:58, Ilario Gelmetti wrote: Hi all! I'm using batman-adv (2014.2.0) on two devices running OpenWrt (LibreMesh) connected using a third device running a proprietary firmware in bridge mode (AirOS), this is the topology: http://i.imgur.com/ELMi5RC.png mac3E80 OpenWrt

Re: [B.A.T.M.A.N.] non DHCP batman-adv gateway

2014-07-23 Thread Gui Iribarren
On 18/07/14 10:06, Gabriel Tolón wrote: Hi, I'd like to use a configuration in a batman-adv openwrt mesh network in which the batman gateway relays the DHCP messages to and from a non batman-adv router. I think that's not a typical configuration right? Should it work? Do I need some

Re: [B.A.T.M.A.N.] alfred - one gateway - multiple interfaces

2014-07-23 Thread Gui Iribarren
On 23/07/14 16:23, Tobias Hachmer wrote: Hello list, running here 3 gateways serving two communities. Nearly everything is duplicated/separated logically: fastd, bridges, routing tables, batman domains, etc. Operating System is currently Ubuntu 14.04. alfred: Installed: 2014.1.0-1

Re: [B.A.T.M.A.N.] non DHCP batman-adv gateway

2014-07-29 Thread Gui Iribarren
On 24/07/14 09:38, Gabriel Tolón wrote: Hi Gui, thanks for your answer! El 23/07/14 12:58, Gui Iribarren escribió: On 18/07/14 10:06, Gabriel Tolón wrote: Hi, I'd like to use a configuration in a batman-adv openwrt mesh network in which the batman gateway relays the DHCP messages

Re: [B.A.T.M.A.N.] good dual radio node?

2014-10-15 Thread Gui Iribarren
Tplink wdr3500, we've deployed more than 100, running nice with barrierbreaker tplink wdr3600 is identical, but with gigabit ethernet in some places, one or the other will be easier to find (availability) and cheaper. Tplink wdr4300 is like wdr3600 but with 3x3 on one of the bands (5ghz IIRC) so

Re: [B.A.T.M.A.N.] good dual radio node?

2014-10-15 Thread Gui Iribarren
pretty interesting! Also has USB, might take an additional radio. Are you mounting these outdoors or indoor? These are cheap enough, I could do a 3 radio mesh +2.4Ghz hotspot On Wed, Oct 15, 2014 at 1:55 AM, Gui Iribarren g...@altermundi.net wrote: Tplink wdr3500, we've deployed more

[B.A.T.M.A.N.] wireshark-batman-adv dissector for v15

2015-02-06 Thread Gui Iribarren
On 06/02/15 09:38, Sven Eckelmann wrote: I can only talk about the simple two node installation I had when I was forced to write the wireshark-batman-adv dissector for v15. last week i lurked the internet for this, without success. Is it published in a place so obvious i couldn't imagine? Is

Re: [B.A.T.M.A.N.] batman-adv: Force line topology

2015-06-14 Thread Gui Iribarren
On 13/06/15 15:15, Carlos Meralto wrote: Thanks for the answer Sven. You can patch the driver to allow this (it is just a simple check which disallows it in most drivers... or actually in wireless core [1]). But you should make sure that you still use the same mac addresses for vif + bridge

Re: [B.A.T.M.A.N.] bridge and batman-adv over ethernet

2016-07-25 Thread Gui Iribarren
On 25/07/16 19:52, Daniel Golle wrote: > Hi! > > We are currently trying to use the Libre-Mesh.org firmware with > batman-adv enabled on wired Ethernet interfaces alongside with a VLAN > which is a member of the bridge the batX interface also resides in. > -- > E

[B.A.T.M.A.N.] weird alfred problem

2017-12-16 Thread Gui Iribarren
found this situation today, on a node that otherwise works normal ("alfred -r 64" normally returns around ~50 lines of output) https://pastebin.com/7xkXUnsr any idea what could lead to this state? (after a reboot, everything was fine again) (copypaste follows for reference) root@giordano:~#

Re: [B.A.T.M.A.N.] [RFC openwrt-routing] batman-adv: Split batadv proto in meshif and hardif part

2019-02-24 Thread Gui Iribarren via B.A.T.M.A.N
t; option mtu '1536' > > # configure IP on bat0 > config interface 'bat0_lan' > option ifname 'bat0' > option proto 'static' > option ipaddr '192.168.1.1' > option netmask '255.255.255.0' > option ip6assign '60' > >Signed-off-by: Sven Eckelman