public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* Re: [B.A.T.M.A.N.] Routing help?
@ 2009-08-05  7:33 Marek Lindner
  2009-08-05  8:30 ` nick farrow
  0 siblings, 1 reply; 16+ messages in thread
From: Marek Lindner @ 2009-08-05  7:33 UTC (permalink / raw)
  To: b.a.t.m.a.n


Hi,

>I have 3 linksys wrt54 flashed with openwrt 7.09, webif'ed and installed
> BATMAN 0.2-rv478.1, all OK I think.

not sure what web interface you installed but are you aware of the fact that 
revision 478 is more than 2 years old ? Your current problem seems unrelated 
to batman but if you experience trouble / bugs with batman it might be wise to 
upgrade to the latest stable release.


From the ssh prompt on .3 I can ping .2 with no loss and ping .1 with  ~ 6%
> loss. However, if I try to ping .1 from the pc connected on the ethernet
> port of .3 I get no route to host. Putting wireshark on the ethernet ifc
> shows the arp going out but nothing coming back. Interestingly enough if I
> ssh into .3 and ping .1, with wireshark running on the ethernet of .3 Is
> see the outgoing ICMP but not the reply (which is there because the ping
> succeeds) . It seems as if the local host traffic is not truly bridged.

You bridged the LAN & WLAN on every device but the devices are not bridged 
with each other, hence you mix bridges & routing. 

What IP address did you assign to your PC ? Does your PC have a route towards 
the .1 (probably not) ? You also have make sure that all nodes have a route 
towards your PC. You can achieve that using HNA. See:
http://www.open-mesh.net/wiki/AnnouncingNetworks for a detailed explanation.

Regards,
Marek



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [B.A.T.M.A.N.] Routing help?
  2009-08-05  7:33 [B.A.T.M.A.N.] Routing help? Marek Lindner
@ 2009-08-05  8:30 ` nick farrow
  2009-08-05 11:31   ` Marek Lindner
  0 siblings, 1 reply; 16+ messages in thread
From: nick farrow @ 2009-08-05  8:30 UTC (permalink / raw)
  To: b.a.t.m.a.n

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


Hi Marek,

 

Thanks for the reply.

 

All the mesh nodes and test PC are in the same subnet 172.16.1.1,2,3, with the PC on 172.16.1.4 attached to the ethernet on .3


I had thought that as they all on the same subnet and bridged that this would be sufficient just relying on standard arps across the entire network as there is no routing. On this basis I assumed there is no need to announce any networks/hosts. Is this a correct understanding?

 

Regards

 

nick

 
> From: lindner_marek@yahoo.de
> To: b.a.t.m.a.n@lists.open-mesh.net
> Date: Wed, 5 Aug 2009 15:33:25 +0800
> Subject: Re: [B.A.T.M.A.N.] Routing help?
> 
> 
> Hi,
> 
> >I have 3 linksys wrt54 flashed with openwrt 7.09, webif'ed and installed
> > BATMAN 0.2-rv478.1, all OK I think.
> 
> not sure what web interface you installed but are you aware of the fact that 
> revision 478 is more than 2 years old ? Your current problem seems unrelated 
> to batman but if you experience trouble / bugs with batman it might be wise to 
> upgrade to the latest stable release.
> 
> 
> >From the ssh prompt on .3 I can ping .2 with no loss and ping .1 with ~ 6%
> > loss. However, if I try to ping .1 from the pc connected on the ethernet
> > port of .3 I get no route to host. Putting wireshark on the ethernet ifc
> > shows the arp going out but nothing coming back. Interestingly enough if I
> > ssh into .3 and ping .1, with wireshark running on the ethernet of .3 Is
> > see the outgoing ICMP but not the reply (which is there because the ping
> > succeeds) . It seems as if the local host traffic is not truly bridged.
> 
> You bridged the LAN & WLAN on every device but the devices are not bridged 
> with each other, hence you mix bridges & routing. 
> 
> What IP address did you assign to your PC ? Does your PC have a route towards 
> the .1 (probably not) ? You also have make sure that all nodes have a route 
> towards your PC. You can achieve that using HNA. See:
> http://www.open-mesh.net/wiki/AnnouncingNetworks for a detailed explanation.
> 
> Regards,
> Marek
> 
> 
> _______________________________________________
> B.A.T.M.A.N mailing list
> B.A.T.M.A.N@lists.open-mesh.net
> https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n

_________________________________________________________________
Windows Live Messenger: Celebrate 10 amazing years with free winks and emoticons.
http://clk.atdmt.com/UKM/go/157562755/direct/01/

[-- Attachment #2: Type: text/html, Size: 2954 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [B.A.T.M.A.N.] Routing help?
  2009-08-05  8:30 ` nick farrow
@ 2009-08-05 11:31   ` Marek Lindner
  2009-08-05 11:35     ` nick farrow
  0 siblings, 1 reply; 16+ messages in thread
From: Marek Lindner @ 2009-08-05 11:31 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking


Hi,

> I had thought that as they all on the same subnet and bridged that this
> would be sufficient just relying on standard arps across the entire network
> as there is no routing. On this basis I assumed there is no need to
> announce any networks/hosts. Is this a correct understanding?

for this to work .1, .2 and .3 would need to rebroadcast the ARP requests. In 
a normal wifi ad-hoc network this will not happen. Also, in a ordinary ethernet 
network no router will rebroadcast ARP requests.

Basically, you can solve this in two different ways:
* You use routing and flood the network with IP addresses using the batman 
daemon.
* You create a bridge over the whole setup using batman advanced (batman-adv 
will handle the ARP rebroadcast).

Regards,
Marek


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [B.A.T.M.A.N.] Routing help?
  2009-08-05 11:31   ` Marek Lindner
@ 2009-08-05 11:35     ` nick farrow
  2009-08-05 11:53       ` Marek Lindner
  0 siblings, 1 reply; 16+ messages in thread
From: nick farrow @ 2009-08-05 11:35 UTC (permalink / raw)
  To: b.a.t.m.a.n

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


Marek,

Thanks very much - so advance sounds like the solution, I'll try this. Does the whole bridge work be default with this install or is there some special configuration?

My ipkg does list batman adv but its an alpha, is this the still the best current version to use?

Regards

nick

> From: lindner_marek@yahoo.de
> To: b.a.t.m.a.n@lists.open-mesh.net
> Date: Wed, 5 Aug 2009 19:31:06 +0800
> Subject: Re: [B.A.T.M.A.N.] Routing help?
> 
> 
> Hi,
> 
> > I had thought that as they all on the same subnet and bridged that this
> > would be sufficient just relying on standard arps across the entire network
> > as there is no routing. On this basis I assumed there is no need to
> > announce any networks/hosts. Is this a correct understanding?
> 
> for this to work .1, .2 and .3 would need to rebroadcast the ARP requests. In 
> a normal wifi ad-hoc network this will not happen. Also, in a ordinary ethernet 
> network no router will rebroadcast ARP requests.
> 
> Basically, you can solve this in two different ways:
> * You use routing and flood the network with IP addresses using the batman 
> daemon.
> * You create a bridge over the whole setup using batman advanced (batman-adv 
> will handle the ARP rebroadcast).
> 
> Regards,
> Marek
> 
> _______________________________________________
> B.A.T.M.A.N mailing list
> B.A.T.M.A.N@lists.open-mesh.net
> https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n

_________________________________________________________________
Celebrate a decade of Messenger with free winks, emoticons, display pics, and more.
http://clk.atdmt.com/UKM/go/157562755/direct/01/

[-- Attachment #2: Type: text/html, Size: 2019 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [B.A.T.M.A.N.] Routing help?
  2009-08-05 11:35     ` nick farrow
@ 2009-08-05 11:53       ` Marek Lindner
  2009-08-05 12:33         ` nick farrow
  0 siblings, 1 reply; 16+ messages in thread
From: Marek Lindner @ 2009-08-05 11:53 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

On Wednesday 05 August 2009 19:35:48 nick farrow wrote:
> Thanks very much - so advance sounds like the solution, I'll try this. Does
> the whole bridge work be default with this install or is there some special
> configuration?

For your setup I suggest you kill the bridge between ethernet and wifi since 
batman-adv will create a new brdige interface you should work with: bat0 You 
should bridge your ethernet with that device and the rest should work as you 
want to have it.


> My ipkg does list batman adv but its an alpha, is this the still the best
> current version to use?

You are using an old version of OpenWRT (7.09). There are updated batman 
packages in 8.09.

Regards,
Marek


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [B.A.T.M.A.N.] Routing help?
  2009-08-05 11:53       ` Marek Lindner
@ 2009-08-05 12:33         ` nick farrow
  2009-08-05 16:09           ` Marek Lindner
  2009-08-05 16:39           ` Outback Dingo
  0 siblings, 2 replies; 16+ messages in thread
From: nick farrow @ 2009-08-05 12:33 UTC (permalink / raw)
  To: b.a.t.m.a.n

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


Hi Marek,

Thanks for the update.

I'm using 7.09 as last time I looked there was no support for the broadcom 802.11 in 8.09.

nick

> From: lindner_marek@yahoo.de
> To: b.a.t.m.a.n@lists.open-mesh.net
> Date: Wed, 5 Aug 2009 19:53:56 +0800
> Subject: Re: [B.A.T.M.A.N.] Routing help?
> 
> On Wednesday 05 August 2009 19:35:48 nick farrow wrote:
> > Thanks very much - so advance sounds like the solution, I'll try this. Does
> > the whole bridge work be default with this install or is there some special
> > configuration?
> 
> For your setup I suggest you kill the bridge between ethernet and wifi since 
> batman-adv will create a new brdige interface you should work with: bat0 You 
> should bridge your ethernet with that device and the rest should work as you 
> want to have it.
> 
> 
> > My ipkg does list batman adv but its an alpha, is this the still the best
> > current version to use?
> 
> You are using an old version of OpenWRT (7.09). There are updated batman 
> packages in 8.09.
> 
> Regards,
> Marek
> 
> _______________________________________________
> B.A.T.M.A.N mailing list
> B.A.T.M.A.N@lists.open-mesh.net
> https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n

_________________________________________________________________

Upgrade to Internet Explorer 8 Optimised for MSN.  

http://extras.uk.msn.com/internet-explorer-8/?ocid=T010MSN07A0716U

[-- Attachment #2: Type: text/html, Size: 1779 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [B.A.T.M.A.N.] Routing help?
  2009-08-05 12:33         ` nick farrow
@ 2009-08-05 16:09           ` Marek Lindner
  2009-08-05 16:39           ` Outback Dingo
  1 sibling, 0 replies; 16+ messages in thread
From: Marek Lindner @ 2009-08-05 16:09 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

On Wednesday 05 August 2009 20:33:29 nick farrow wrote:
> I'm using 7.09 as last time I looked there was no support for the broadcom
> 802.11 in 8.09.

I'm surprised to hear that. OpenWRT 8.09 is the standard build environment for 
a large variety of free wireless groups and the WRT is the most popular piece 
of hardware in the field. It might make sense to contact the OpenWRT developers 
if you experience problems with the driver.

Regards,
Marek


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [B.A.T.M.A.N.] Routing help?
  2009-08-05 12:33         ` nick farrow
  2009-08-05 16:09           ` Marek Lindner
@ 2009-08-05 16:39           ` Outback Dingo
  2009-08-06  8:41             ` nick farrow
  1 sibling, 1 reply; 16+ messages in thread
From: Outback Dingo @ 2009-08-05 16:39 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

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

thats based on a 2.6 kernel build, OpenWRT still supports this board on 2.4
kernel
under 8.09 or 8.09.1, your so legacy is kinda funny. im sure you can find a
8.09.1 build for that unit

On 8/5/09, nick farrow <nickthefarrow@hotmail.com> wrote:
>
>  Hi Marek,
>
> Thanks for the update.
>
> I'm using 7.09 as last time I looked there was no support for the broadcom
> 802.11 in 8.09.
>
> nick
>
> > From: lindner_marek@yahoo.de
> > To: b.a.t.m.a.n@lists.open-mesh.net
> > Date: Wed, 5 Aug 2009 19:53:56 +0800
> > Subject: Re: [B.A.T.M.A.N.] Routing help?
> >
> > On Wednesday 05 August 2009 19:35:48 nick farrow wrote:
> > > Thanks very much - so advance sounds like the solution, I'll try this.
> Does
> > > the whole bridge work be default with this install or is there some
> special
> > > configuration?
> >
> > For your setup I suggest you kill the bridge between ethernet and wifi
> since
> > batman-adv will create a new brdige interface you should work with: bat0
> You
> > should bridge your ethernet with that device and the rest should work as
> you
> > want to have it.
> >
> >
> > > My ipkg does list batman adv but its an alpha, is this the still the
> best
> > > current version to use?
> >
> > You are using an old version of OpenWRT (7.09). There are updated batman
> > packages in 8.09.
> >
> > Regards,
> > Marek
> >
> > _______________________________________________
> > B.A.T.M.A.N mailing list
> > B.A.T.M.A.N@lists.open-mesh.net
> > https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n
>
> ------------------------------
> Celebrate a decade of Messenger with free winks, emoticons, display pics,
> and more. Get Them Now <http://clk.atdmt.com/UKM/go/157562755/direct/01/>
>
> _______________________________________________
> B.A.T.M.A.N mailing list
> B.A.T.M.A.N@lists.open-mesh.net
> https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n
>
>

[-- Attachment #2: Type: text/html, Size: 3229 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [B.A.T.M.A.N.] Routing help?
  2009-08-05 16:39           ` Outback Dingo
@ 2009-08-06  8:41             ` nick farrow
  2009-08-06 11:53               ` [B.A.T.M.A.N.] Some handholding for batman-adv nick farrow
  2009-08-06 14:07               ` [B.A.T.M.A.N.] Routing help? Outback Dingo
  0 siblings, 2 replies; 16+ messages in thread
From: nick farrow @ 2009-08-06  8:41 UTC (permalink / raw)
  To: b.a.t.m.a.n

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


Hi Thanks for that,

 

I originally wanted the 2.6 kernel for 802.11s, but then found build issues with 2.4 in K8.09 and it all got messy. So back to the trusted k7.09 with batman to the rescue. This thread I kicked off on the openwrt forum would seem to confirm no native brcm support in k8.09 https://forum.openwrt.org/viewtopic.php?id=20620

 

nick
 


Date: Wed, 5 Aug 2009 12:39:34 -0400
From: outbackdingo@gmail.com
To: b.a.t.m.a.n@lists.open-mesh.net
Subject: Re: [B.A.T.M.A.N.] Routing help?

thats based on a 2.6 kernel build, OpenWRT still supports this board on 2.4 kernel
under 8.09 or 8.09.1, your so legacy is kinda funny. im sure you can find a 8.09.1 build for that unit


On 8/5/09, nick farrow <nickthefarrow@hotmail.com> wrote:

Hi Marek,

Thanks for the update.

I'm using 7.09 as last time I looked there was no support for the broadcom 802.11 in 8.09.

nick

> From: lindner_marek@yahoo.de
> To: b.a.t.m.a.n@lists.open-mesh.net
> Date: Wed, 5 Aug 2009 19:53:56 +0800
> Subject: Re: [B.A.T.M.A.N.] Routing help?

> 
> On Wednesday 05 August 2009 19:35:48 nick farrow wrote:
> > Thanks very much - so advance sounds like the solution, I'll try this. Does
> > the whole bridge work be default with this install or is there some special
> > configuration?
> 
> For your setup I suggest you kill the bridge between ethernet and wifi since 
> batman-adv will create a new brdige interface you should work with: bat0 You 
> should bridge your ethernet with that device and the rest should work as you 
> want to have it.
> 
> 
> > My ipkg does list batman adv but its an alpha, is this the still the best
> > current version to use?
> 
> You are using an old version of OpenWRT (7.09). There are updated batman 
> packages in 8.09.
> 
> Regards,
> Marek
> 
> _______________________________________________
> B.A.T.M.A.N mailing list
> B.A.T.M.A.N@lists.open-mesh.net
> https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n



Celebrate a decade of Messenger with free winks, emoticons, display pics, and more. Get Them Now
_______________________________________________
B.A.T.M.A.N mailing list
B.A.T.M.A.N@lists.open-mesh.net
https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n



_________________________________________________________________
Windows Live Messenger: Celebrate 10 amazing years with free winks and emoticons.
http://clk.atdmt.com/UKM/go/157562755/direct/01/

[-- Attachment #2: Type: text/html, Size: 3687 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [B.A.T.M.A.N.] Some handholding for batman-adv
  2009-08-06  8:41             ` nick farrow
@ 2009-08-06 11:53               ` nick farrow
  2009-08-06 14:26                 ` Marek Lindner
  2009-08-06 14:07               ` [B.A.T.M.A.N.] Routing help? Outback Dingo
  1 sibling, 1 reply; 16+ messages in thread
From: nick farrow @ 2009-08-06 11:53 UTC (permalink / raw)
  To: b.a.t.m.a.n

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


Hi,

I nearly got close with the older version, Is could install and run it on kamikaze 7.09 with a webif to look at what was happening, but this version did not allow arping across the mesh easily.

So to run the advanced versions of batman that would support this I have installed k8.09.1 and this has the support for the broadcom wifi in my wrt54.

There seem to be 2 versions of advanced batman - batman-adv and kmod-batman-advanced, however for the k8.09.1/brcm 2.4 release there does not seem to be the kmod driver. So I have installed the batman-adv (batmand-adv_r1176-1_mipsel.ipk and battools) there is no batctl here.

After the box has rebooted there are no batmand processes, although I have the interface set to wl0 (
batmand-adv.general=batmand-adv
batmand-adv.general.originator_interval=
batmand-adv.general.visualisation_srv=
batmand-adv.general.interface=wl0

and there are no messages in the log (there were when the interface was set to ath0) so no idea. If I start them from the command line with this config they are running but have no idea how tell what and if anything is happening.

Could someone please give me some advice on
1) Do I need the kmod driver or is the batmand-adv sufficient for total mesh subnet giving arp (forwarding) success?
2) How do I tell what is going on - do I need batctl or is this for the kmod install only?

Any help you can give would be really appreciated.

Regards

nick

From: nickthefarrow@hotmail.com
To: b.a.t.m.a.n@lists.open-mesh.net
Date: Thu, 6 Aug 2009 08:41:39 +0000
Subject: Re: [B.A.T.M.A.N.] Routing help?








Hi Thanks for that,

 

I originally wanted the 2.6 kernel for 802.11s, but then found build issues with 2.4 in K8.09 and it all got messy. So back to the trusted k7.09 with batman to the rescue. This thread I kicked off on the openwrt forum would seem to confirm no native brcm support in k8.09 https://forum.openwrt.org/viewtopic.php?id=20620

 

nick
 


Date: Wed, 5 Aug 2009 12:39:34 -0400
From: outbackdingo@gmail.com
To: b.a.t.m.a.n@lists.open-mesh.net
Subject: Re: [B.A.T.M.A.N.] Routing help?

thats based on a 2.6 kernel build, OpenWRT still supports this board on 2.4 kernel
under 8.09 or 8.09.1, your so legacy is kinda funny. im sure you can find a 8.09.1 build for that unit


On 8/5/09, nick farrow <nickthefarrow@hotmail.com> wrote:

Hi Marek,

Thanks for the update.

I'm using 7.09 as last time I looked there was no support for the broadcom 802.11 in 8.09.

nick

> From: lindner_marek@yahoo.de
> To: b.a.t.m.a.n@lists.open-mesh.net
> Date: Wed, 5 Aug 2009 19:53:56 +0800
> Subject: Re: [B.A.T.M.A.N.] Routing help?

> 
> On Wednesday 05 August 2009 19:35:48 nick farrow wrote:
> > Thanks very much - so advance sounds like the solution, I'll try this. Does
> > the whole bridge work be default with this install or is there some special
> > configuration?
> 
> For your setup I suggest you kill the bridge between ethernet and wifi since 
> batman-adv will create a new brdige interface you should work with: bat0 You 
> should bridge your ethernet with that device and the rest should work as you 
> want to have it.
> 
> 
> > My ipkg does list batman adv but its an alpha, is this the still the best
> > current version to use?
> 
> You are using an old version of OpenWRT (7.09). There are updated batman 
> packages in 8.09.
> 
> Regards,
> Marek
> 
> _______________________________________________
> B.A.T.M.A.N mailing list
> B.A.T.M.A.N@lists.open-mesh.net
> https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n



Celebrate a decade of Messenger with free winks, emoticons, display pics, and more. Get Them Now
_______________________________________________
B.A.T.M.A.N mailing list
B.A.T.M.A.N@lists.open-mesh.net
https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n



Windows Live Messenger: Thanks for 10 great years-enjoy free winks and emoticons. Get Them Now
_________________________________________________________________
Windows Live Messenger: Thanks for 10 great years—enjoy free winks and emoticons.
http://clk.atdmt.com/UKM/go/157562755/direct/01/

[-- Attachment #2: Type: text/html, Size: 5819 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [B.A.T.M.A.N.] Routing help?
  2009-08-06  8:41             ` nick farrow
  2009-08-06 11:53               ` [B.A.T.M.A.N.] Some handholding for batman-adv nick farrow
@ 2009-08-06 14:07               ` Outback Dingo
  2009-08-06 15:13                 ` nick farrow
  1 sibling, 1 reply; 16+ messages in thread
From: Outback Dingo @ 2009-08-06 14:07 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

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

well im not quite sure why you want to go 802.11S othere then adhoc with
batman,according to some docs S has a limitation on nodes/hops, unless its
been overcome. just go brcm2.4 on 8.09.1 and you can move forward

On 8/6/09, nick farrow <nickthefarrow@hotmail.com> wrote:
>
>  Hi Thanks for that,
>
> I originally wanted the 2.6 kernel for 802.11s, but then found build issues
> with 2.4 in K8.09 and it all got messy. So back to the trusted k7.09 with
> batman to the rescue. This thread I kicked off on the openwrt forum would
> seem to confirm no native brcm support in k8.09
> https://forum.openwrt.org/viewtopic.php?id=20620
>
> nick
>
> ------------------------------
> Date: Wed, 5 Aug 2009 12:39:34 -0400
> From: outbackdingo@gmail.com
> To: b.a.t.m.a.n@lists.open-mesh.net
> Subject: Re: [B.A.T.M.A.N.] Routing help?
>
> thats based on a 2.6 kernel build, OpenWRT still supports this board on 2.4
> kernel
> under 8.09 or 8.09.1, your so legacy is kinda funny. im sure you can find a
> 8.09.1 build for that unit
>
> On 8/5/09, *nick farrow* <nickthefarrow@hotmail.com> wrote:
>
> Hi Marek,
>
> Thanks for the update.
>
> I'm using 7.09 as last time I looked there was no support for the broadcom
> 802.11 in 8.09.
>
> nick
>
> > From: lindner_marek@yahoo.de
> > To: b.a.t.m.a.n@lists.open-mesh.net
> > Date: Wed, 5 Aug 2009 19:53:56 +0800
> > Subject: Re: [B.A.T.M.A.N.] Routing help?
> >
> > On Wednesday 05 August 2009 19:35:48 nick farrow wrote:
> > > Thanks very much - so advance sounds like the solution, I'll try this.
> Does
> > > the whole bridge work be default with this install or is there some
> special
> > > configuration?
> >
> > For your setup I suggest you kill the bridge between ethernet and wifi
> since
> > batman-adv will create a new brdige interface you should work with: bat0
> You
> > should bridge your ethernet with that device and the rest should work as
> you
> > want to have it.
> >
> >
> > > My ipkg does list batman adv but its an alpha, is this the still the
> best
> > > current version to use?
> >
> > You are using an old version of OpenWRT (7.09). There are updated batman
> > packages in 8.09.
> >
> > Regards,
> > Marek
> >
> > _______________________________________________
> > B.A.T.M.A.N mailing list
> > B.A.T.M.A.N@lists.open-mesh.net
> > https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n
>
> ------------------------------
> Celebrate a decade of Messenger with free winks, emoticons, display pics,
> and more. Get Them Now <http://clk.atdmt.com/UKM/go/157562755/direct/01/>
>
> _______________________________________________
> B.A.T.M.A.N mailing list
> B.A.T.M.A.N@lists.open-mesh.net
> https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n
>
>
>
> ------------------------------
> Windows Live Messenger: Thanks for 10 great years-enjoy free winks and
> emoticons. Get Them Now <http://clk.atdmt.com/UKM/go/157562755/direct/01/>
>
> _______________________________________________
> B.A.T.M.A.N mailing list
> B.A.T.M.A.N@lists.open-mesh.net
> https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n
>
>

[-- Attachment #2: Type: text/html, Size: 5383 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [B.A.T.M.A.N.] Some handholding for batman-adv
  2009-08-06 11:53               ` [B.A.T.M.A.N.] Some handholding for batman-adv nick farrow
@ 2009-08-06 14:26                 ` Marek Lindner
  2009-08-06 15:47                   ` nick farrow
  0 siblings, 1 reply; 16+ messages in thread
From: Marek Lindner @ 2009-08-06 14:26 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking


Hi,

> There seem to be 2 versions of advanced batman - batman-adv and
> kmod-batman-advanced, however for the k8.09.1/brcm 2.4 release there does
> not seem to be the kmod driver. So I have installed the batman-adv
> (batmand-adv_r1176-1_mipsel.ipk and battools) there is no batctl here.

batman-adv was the first attempt to write a layer 2 routing daemon. 
Unfortunately, due to the fact that it was written as user space application 
it came with a big performance penalty. We ported the code into kernel space 
by writing the batman-adv kernel module. Since the module is stable the daemon 
is deprecated. The OpenWRT package was removed - not sure why you still can 
install it.

batctl comes with the batman-adv kernel module as it has nothing to do with 
the user space daemon.

The kernel module requires linux 2.6 (nobody backported it to 2.4 yet). Unless 
you use the open source wifi drivers for the WRT you are stuck with the binary 
only wl driver which runs on linux 2.4 only. That is why you can't select 
kmod-batman-advanced.

Regards,
Marek




^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [B.A.T.M.A.N.] Routing help?
  2009-08-06 14:07               ` [B.A.T.M.A.N.] Routing help? Outback Dingo
@ 2009-08-06 15:13                 ` nick farrow
  0 siblings, 0 replies; 16+ messages in thread
From: nick farrow @ 2009-08-06 15:13 UTC (permalink / raw)
  To: b.a.t.m.a.n

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


Hi,

 

I know its inferior - I just need to do some range throughput work comparing meshed/non meshed. So I'd like to use BATMAN but I have time pressures so the one that I can working on my wrt54 boxes first is used !!

 

Thanks
 


Date: Thu, 6 Aug 2009 10:07:10 -0400
From: outbackdingo@gmail.com
To: b.a.t.m.a.n@lists.open-mesh.net
Subject: Re: [B.A.T.M.A.N.] Routing help?

well im not quite sure why you want to go 802.11S othere then adhoc with batman,according to some docs S has a limitation on nodes/hops, unless its been overcome. just go brcm2.4 on 8.09.1 and you can move forward


On 8/6/09, nick farrow <nickthefarrow@hotmail.com> wrote:

Hi Thanks for that,
 
I originally wanted the 2.6 kernel for 802.11s, but then found build issues with 2.4 in K8.09 and it all got messy. So back to the trusted k7.09 with batman to the rescue. This thread I kicked off on the openwrt forum would seem to confirm no native brcm support in k8.09 https://forum.openwrt.org/viewtopic.php?id=20620
 
nick
 


Date: Wed, 5 Aug 2009 12:39:34 -0400
From: outbackdingo@gmail.com
To: b.a.t.m.a.n@lists.open-mesh.net

Subject: Re: [B.A.T.M.A.N.] Routing help?

thats based on a 2.6 kernel build, OpenWRT still supports this board on 2.4 kernel
under 8.09 or 8.09.1, your so legacy is kinda funny. im sure you can find a 8.09.1 build for that unit


On 8/5/09, nick farrow <nickthefarrow@hotmail.com> wrote: 

Hi Marek,

Thanks for the update.

I'm using 7.09 as last time I looked there was no support for the broadcom 802.11 in 8.09.

nick

> From: lindner_marek@yahoo.de
> To: b.a.t.m.a.n@lists.open-mesh.net
> Date: Wed, 5 Aug 2009 19:53:56 +0800
> Subject: Re: [B.A.T.M.A.N.] Routing help? 

> 
> On Wednesday 05 August 2009 19:35:48 nick farrow wrote:
> > Thanks very much - so advance sounds like the solution, I'll try this. Does
> > the whole bridge work be default with this install or is there some special
> > configuration?
> 
> For your setup I suggest you kill the bridge between ethernet and wifi since 
> batman-adv will create a new brdige interface you should work with: bat0 You 
> should bridge your ethernet with that device and the rest should work as you 
> want to have it.
> 
> 
> > My ipkg does list batman adv but its an alpha, is this the still the best
> > current version to use?
> 
> You are using an old version of OpenWRT (7.09). There are updated batman 
> packages in 8.09.
> 
> Regards,
> Marek
> 
> _______________________________________________
> B.A.T.M.A.N mailing list
> B.A.T.M.A.N@lists.open-mesh.net
> https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n



Celebrate a decade of Messenger with free winks, emoticons, display pics, and more. Get Them Now
_______________________________________________
B.A.T.M.A.N mailing list
B.A.T.M.A.N@lists.open-mesh.net
https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n





Windows Live Messenger: Thanks for 10 great years-enjoy free winks and emoticons. Get Them Now
_______________________________________________
B.A.T.M.A.N mailing list
B.A.T.M.A.N@lists.open-mesh.net
https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n



_________________________________________________________________
Windows Live Messenger: Thanks for 10 great years—enjoy free winks and emoticons.
http://clk.atdmt.com/UKM/go/157562755/direct/01/

[-- Attachment #2: Type: text/html, Size: 5172 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [B.A.T.M.A.N.] Some handholding for batman-adv
  2009-08-06 14:26                 ` Marek Lindner
@ 2009-08-06 15:47                   ` nick farrow
  2009-08-06 15:55                     ` Marek Lindner
  2009-08-06 20:51                     ` Linus Lüssing
  0 siblings, 2 replies; 16+ messages in thread
From: nick farrow @ 2009-08-06 15:47 UTC (permalink / raw)
  To: b.a.t.m.a.n

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


Hi Marek,

 

Thanks for clearing this up.

 

With no broadcom support in 2.6 then there is no kmod driver for batman.

 

It looks like its back to the earlier version of that did work (batman 0.2-rv478-1) just that it did not forward same subnet arps. I realise that performance is not going to be great with this but it will work

 

To do this do I basically setup one subnet for the batman nodes to run in, then further subnets for the hosts at each wrt batman mesh node, then just configure each batmand node to announce the host subnet?

 

So for a 3 node mesh, break the default bridge, assign a static network address to the eth0, assign a different subnet address to wl0

i.e

mesh node 1

eth0 172.16.1.1/24

wl0 192.168.1.1

run with batmand -a 172.16.1.0 wl0

 

mesh node 2

eth0 172.16.2.1/24

wl0 192.168.1.2

run with batmand -a 172.16.2.0 wl0

 

etc

 

Does this look correct to allow say 172.16.1.2 on the ethernet of mesh1 to ping 172.16.2.2 on the ethernet of mesh2?

 

Thanks again for sticking with this

 

nick

 

 

 
> From: lindner_marek@yahoo.de
> To: b.a.t.m.a.n@lists.open-mesh.net
> Date: Thu, 6 Aug 2009 22:26:21 +0800
> Subject: Re: [B.A.T.M.A.N.] Some handholding for batman-adv
> 
> 
> Hi,
> 
> > There seem to be 2 versions of advanced batman - batman-adv and
> > kmod-batman-advanced, however for the k8.09.1/brcm 2.4 release there does
> > not seem to be the kmod driver. So I have installed the batman-adv
> > (batmand-adv_r1176-1_mipsel.ipk and battools) there is no batctl here.
> 
> batman-adv was the first attempt to write a layer 2 routing daemon. 
> Unfortunately, due to the fact that it was written as user space application 
> it came with a big performance penalty. We ported the code into kernel space 
> by writing the batman-adv kernel module. Since the module is stable the daemon 
> is deprecated. The OpenWRT package was removed - not sure why you still can 
> install it.
> 
> batctl comes with the batman-adv kernel module as it has nothing to do with 
> the user space daemon.
> 
> The kernel module requires linux 2.6 (nobody backported it to 2.4 yet). Unless 
> you use the open source wifi drivers for the WRT you are stuck with the binary 
> only wl driver which runs on linux 2.4 only. That is why you can't select 
> kmod-batman-advanced.
> 
> Regards,
> Marek
> 
> 
> 
> _______________________________________________
> B.A.T.M.A.N mailing list
> B.A.T.M.A.N@lists.open-mesh.net
> https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n

_________________________________________________________________
Windows Live Messenger: Celebrate 10 amazing years with free winks and emoticons.
http://clk.atdmt.com/UKM/go/157562755/direct/01/

[-- Attachment #2: Type: text/html, Size: 3314 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [B.A.T.M.A.N.] Some handholding for batman-adv
  2009-08-06 15:47                   ` nick farrow
@ 2009-08-06 15:55                     ` Marek Lindner
  2009-08-06 20:51                     ` Linus Lüssing
  1 sibling, 0 replies; 16+ messages in thread
From: Marek Lindner @ 2009-08-06 15:55 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

On Thursday 06 August 2009 23:47:26 nick farrow wrote:
> It looks like its back to the earlier version of that did work (batman
> 0.2-rv478-1) just that it did not forward same subnet arps. I realise that
> performance is not going to be great with this but it will work

There still is some confusion - we had three branches:
- batman daemon layer 3
- batman daemon layer 2
- batman kernel module layer 2

The batman daemon layer 2 had performance issues because a mesh on layer 2 
requires that the daemon transports all the data itself. On layer 3 the daemon 
will manipulate the kernel routing table and let the kernel handle the 
transport of the data. If you go back to revision 478 you refer to the daemon 
on layer 3 which does not have performance issues but operates on layer 3 (as 
you correctly noticed).

The batman daemon on layer 2 was removed due the performance issues I 
mentioned earlier and the confusion it created.  :-)


> To do this do I basically setup one subnet for the batman nodes to run in,
> then further subnets for the hosts at each wrt batman mesh node, then just
> configure each batmand node to announce the host subnet?
>
> So for a 3 node mesh, break the default bridge, assign a static network
> address to the eth0, assign a different subnet address to wl0

Yes, that is one feasible option.


> eth0 172.16.1.1/24
> wl0 192.168.1.1
> run with batmand -a 172.16.1.0 wl0

batmand -a 172.16.1.0/24 wl0


> eth0 172.16.2.1/24
> wl0 192.168.1.2
> run with batmand -a 172.16.2.0 wl0
batmand -a 172.16.2.0/24 wl0


> Does this look correct to allow say 172.16.1.2 on the ethernet of mesh1 to
> ping 172.16.2.2 on the ethernet of mesh2?

Yes, if the clients connected to the ethernet have a default route towards 
their respective WRT.

Regards,
Marek


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [B.A.T.M.A.N.] Some handholding for batman-adv
  2009-08-06 15:47                   ` nick farrow
  2009-08-06 15:55                     ` Marek Lindner
@ 2009-08-06 20:51                     ` Linus Lüssing
  1 sibling, 0 replies; 16+ messages in thread
From: Linus Lüssing @ 2009-08-06 20:51 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

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

Hi Nick!

We've also started experimenting with batman-adv and a Linksys WRT54GL in our little project in December with Kamikaze 8.0.9. What we figured out, that with the kernel version provided in this firmware-build, it was not possible to create any useful setup as the broadcom-wifi-driver lost way too many packets in ad-hoc-mode and sometimes even crashed.

So, if you're really in a hurry, the quickest way would probably to get some Dlink DIR-300s for about 25€. We're succesfully using them here, the wifi seems way better and also more "advanced" configurations can be created because of the ability to splitting the atheros-wifi-device into several interfaces. We're currently mainting our firmware in our git-repository on http://krtek.asta.uni-luebeck.de:8080/repos/LuebeckFreifunkFirmware/. Some more additional information about our project itself can be found on http://luebeck.freifunk.net. So far, we're quite satisfied how it works so far. So we're going to add some more last-minute patches in the next couple of days, as we've scheduled a practical setup with this firmware for the weekend form the 14th to 16th of August.

If you still have your reasons for trying to setup the mesh network with Linksys routers, then you should probably plan some more time for this, as I'm not aware of anyone getting batman-adv + WRT54GL working so far. Nevertheless, I've been trying to catch up a little about the latest driver developments and according to http://linuxwireless.org the new bt43 driver sounds very useable, they're saying that adhoc should work now with the driver rewrite. From 2.6.25-kernels on, the bt43 driver has been included in the kernel-tree and has been updated frequently. Therefore I'd suggest, that you could give a self-compiled image from the OpenWRT-trunk a try. For details on how to do that, check out the OpenWRT-documentation or the ugly build-scripts in our projects repo. Furthermore, you might also wanna try the latest stable kernel release 2.6.30, the trunk is currently configured to use the 2.6.28-kernel version for broadcom firmwares. Anyway, it looks like the config-files for the 2.6.30 broadcom build have already been ported from the 2.6.28-kernel and installed, so that you'd only have to change 'LINUX_VERSION:=2.6.28.10' to 'LINUX_VERSION:=2.6.30.4' in 'trunk/target/linux/brcm47xx/Makefile' for trying the the (almost) latest 'n' greates broadcom-wifi-driver. I would also be very curious to get to know how those latest drivers work, I myself still have an unused Linksys WRT54GL here at home. So your contribution in testing that stuff would be highly appreciated :).


Thirdly you can still use an official release from OpenWRT (like the Kamikaze 8.0.9) with the 2.4-kernel, where the wifi should be working stable. Of course, as Marek already had pointed out, you wouldn't be able to use batman-adv there, you'd have to use the normal batmand which is "just" doing layer 3 routing. But as far as I know, the disadvantage of this option would be, that you'd either have to install the batmand on all machines using the mesh-network, so your laptops as well for instance, or by setting the 'entry'-routes manually on those clients, as they're otherwise not able to find the machines behind the other router on a different subnet/ip-range. Please might the experts correct me, if I'm saying anything wrong about batmand, I haven't been playing around with this one that much :).

Cheers, Linus

On Thu, Aug 06, 2009 at 03:47:26PM +0000, nick farrow wrote:
> 
> Hi Marek,
> 
>  
> 
> Thanks for clearing this up.
> 
>  
> 
> With no broadcom support in 2.6 then there is no kmod driver for batman.
> 
>  
> 
> It looks like its back to the earlier version of that did work (batman 0.2-rv478-1) just that it did not forward same subnet arps. I realise that performance is not going to be great with this but it will work
> 
>  
> 
> To do this do I basically setup one subnet for the batman nodes to run in, then further subnets for the hosts at each wrt batman mesh node, then just configure each batmand node to announce the host subnet?
> 
>  
> 
> So for a 3 node mesh, break the default bridge, assign a static network address to the eth0, assign a different subnet address to wl0
> 
> i.e
> 
> mesh node 1
> 
> eth0 172.16.1.1/24
> 
> wl0 192.168.1.1
> 
> run with batmand -a 172.16.1.0 wl0
> 
>  
> 
> mesh node 2
> 
> eth0 172.16.2.1/24
> 
> wl0 192.168.1.2
> 
> run with batmand -a 172.16.2.0 wl0
> 
>  
> 
> etc
> 
>  
> 
> Does this look correct to allow say 172.16.1.2 on the ethernet of mesh1 to ping 172.16.2.2 on the ethernet of mesh2?
> 
>  
> 
> Thanks again for sticking with this
> 
>  
> 
> nick
> 
>  
> 
>  
> 
>  
> > From: lindner_marek@yahoo.de
> > To: b.a.t.m.a.n@lists.open-mesh.net
> > Date: Thu, 6 Aug 2009 22:26:21 +0800
> > Subject: Re: [B.A.T.M.A.N.] Some handholding for batman-adv
> > 
> > 
> > Hi,
> > 
> > > There seem to be 2 versions of advanced batman - batman-adv and
> > > kmod-batman-advanced, however for the k8.09.1/brcm 2.4 release there does
> > > not seem to be the kmod driver. So I have installed the batman-adv
> > > (batmand-adv_r1176-1_mipsel.ipk and battools) there is no batctl here.
> > 
> > batman-adv was the first attempt to write a layer 2 routing daemon. 
> > Unfortunately, due to the fact that it was written as user space application 
> > it came with a big performance penalty. We ported the code into kernel space 
> > by writing the batman-adv kernel module. Since the module is stable the daemon 
> > is deprecated. The OpenWRT package was removed - not sure why you still can 
> > install it.
> > 
> > batctl comes with the batman-adv kernel module as it has nothing to do with 
> > the user space daemon.
> > 
> > The kernel module requires linux 2.6 (nobody backported it to 2.4 yet). Unless 
> > you use the open source wifi drivers for the WRT you are stuck with the binary 
> > only wl driver which runs on linux 2.4 only. That is why you can't select 
> > kmod-batman-advanced.
> > 
> > Regards,
> > Marek
> > 
> > 
> > 
> > _______________________________________________
> > B.A.T.M.A.N mailing list
> > B.A.T.M.A.N@lists.open-mesh.net
> > https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n
> 
> _________________________________________________________________
> Windows Live Messenger: Celebrate 10 amazing years with free winks and emoticons.
> http://clk.atdmt.com/UKM/go/157562755/direct/01/

> _______________________________________________
> B.A.T.M.A.N mailing list
> B.A.T.M.A.N@lists.open-mesh.net
> https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n


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

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2009-08-06 20:51 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-05  7:33 [B.A.T.M.A.N.] Routing help? Marek Lindner
2009-08-05  8:30 ` nick farrow
2009-08-05 11:31   ` Marek Lindner
2009-08-05 11:35     ` nick farrow
2009-08-05 11:53       ` Marek Lindner
2009-08-05 12:33         ` nick farrow
2009-08-05 16:09           ` Marek Lindner
2009-08-05 16:39           ` Outback Dingo
2009-08-06  8:41             ` nick farrow
2009-08-06 11:53               ` [B.A.T.M.A.N.] Some handholding for batman-adv nick farrow
2009-08-06 14:26                 ` Marek Lindner
2009-08-06 15:47                   ` nick farrow
2009-08-06 15:55                     ` Marek Lindner
2009-08-06 20:51                     ` Linus Lüssing
2009-08-06 14:07               ` [B.A.T.M.A.N.] Routing help? Outback Dingo
2009-08-06 15:13                 ` nick farrow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox