Skip to contentSkip to conversation

batman-adv debian announcement

B.A.T.M.A.N. Marek Lindner 3 participants 13 messages Nov 16, 2008 – Nov 17, 2008

lore
Share & tools
lore
#0 lore raw

Hi,

even if the news is still some days old - its worth mentioning:
batman-advanced is now available in Debian!

The packages are available through your favorite dpkg frontend (apt-get, aptitude, ...) using the unstable repositories. To follow the package development you can visit the following pages:

http://packages.debian.org/sid/batman-adv-source
http://packages.debian.org/sid/batman-adv-battool

batman-adv-source contains the source code and can be compiled for your kernel using module-assistant [1]. batman-adv-battool contains the battool which provides ping, traceroute and other tools for the batman-adv network.

Big thanks to Sven Eckelmann, Simon Wunderlich and Holger Levsen for their work on these packages. :)

BTW, you also can find the current batman stable (0.3) in the lenny and unstable repositories. Here the respective package pages:

http://packages.debian.org/lenny/batmand
http://packages.debian.org/sid/batmand

Regards,
Marek

[1] http://packages.debian.org/sid/module-assistant

#1 lore raw

any good docs on configuring batman-adv for atheros ?

Quoted 40 lines · Marek Lindner

Hi,

even if the news is still some days old - its worth mentioning:
batman-advanced is now available in Debian!

The packages are available through your favorite dpkg frontend (apt-get, aptitude, ...) using the unstable repositories. To follow the package development you can visit the following pages:

http://packages.debian.org/sid/batman-adv-source
http://packages.debian.org/sid/batman-adv-battool

batman-adv-source contains the source code and can be compiled for your kernel
using module-assistant [1]. batman-adv-battool contains the battool which provides ping, traceroute and other tools for the batman-adv network.

Big thanks to Sven Eckelmann, Simon Wunderlich and Holger Levsen for their work on these packages. :)

BTW, you also can find the current batman stable (0.3) in the lenny and unstable repositories. Here the respective package pages:

http://packages.debian.org/lenny/batmand
http://packages.debian.org/sid/batmand

Regards,
Marek

[1] http://packages.debian.org/sid/module-assistant

_______________________________________________
B.A.T.M.A.N mailing list
[email protected]
https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n

#2 lore raw
Quoted 1 line · On Monday 17 November 2008 00:06:37 Outback Dingo wrote:

any good docs on configuring batman-adv for atheros ?

We are writing it but it takes time. :-)

Here the short intro:

Batman advanced is not aware of the Atheros driver. On every hardware it runs in the same way.

Load the module -> modprobe batman-adv-core

In /proc/net/batman-adv/ you will find the files to tweak batman. E.g. give it a device to operate on -> echo eth0 > /proc/net/batman-adv/interface

deactivate batman-adv -> echo "" > /proc/net/batman-adv/interface

The other files in that folder should be self explanatory. If not come back and ask us.

Regards,
Marek

#3 lore raw

ok lastly, it seems possible its very similiar config to bmxd which is what has been running, though layer 3, im trying to get layer 2 kernel routing going
originally i used batgat but yet it was problematic, so its safe to say i could go batman-adv and drop bmxd? as i belive one is not compatible with the
other in the mesh

Quoted 32 lines · Marek Lindner
Quoted 1 line · On Monday 17 November 2008 00:06:37 Outback Dingo wrote:

any good docs on configuring batman-adv for atheros ?

We are writing it but it takes time. :-)

Here the short intro:

Batman advanced is not aware of the Atheros driver. On every hardware it runs
in the same way.

Load the module -> modprobe batman-adv-core

In /proc/net/batman-adv/ you will find the files to tweak batman. E.g. give it a
device to operate on -> echo eth0 > /proc/net/batman-adv/interface

deactivate batman-adv -> echo "" > /proc/net/batman-adv/interface

The other files in that folder should be self explanatory. If not come back and
ask us.

Regards,
Marek

_______________________________________________
B.A.T.M.A.N mailing list
[email protected]
https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n

#4 lore raw

Hey,

yep, bmxd/batman0.3 and batman-adv are both not compatible to each other.

You should know that batman-adv does not have special gateway support like the layer 3 batman versions. It can be considered as a big switch where every node is one virtual hop away. You can therefore configure it like your home LAN: install DHCP on your router, and that's it. If you have multiple gateways, you might consider multiple DHCP servers, or something else ... depending on your scenario. :)

regards,
Simon

Quoted 47 lines · Outback Dingo

ok lastly, it seems possible its very similiar config to bmxd which is what has been running, though layer 3, im trying to get layer 2 kernel routing going
originally i used batgat but yet it was problematic, so its safe to say i could go batman-adv and drop bmxd? as i belive one is not compatible with the
other in the mesh

Quoted 24 lines · Marek Lindner
Quoted 1 line · On Monday 17 November 2008 00:06:37 Outback Dingo wrote:

any good docs on configuring batman-adv for atheros ?

We are writing it but it takes time. :-)

Here the short intro:

Batman advanced is not aware of the Atheros driver. On every hardware it runs
in the same way.

Load the module -> modprobe batman-adv-core

In /proc/net/batman-adv/ you will find the files to tweak batman. E.g. give it a
device to operate on -> echo eth0 > /proc/net/batman-adv/interface

deactivate batman-adv -> echo "" > /proc/net/batman-adv/interface

The other files in that folder should be self explanatory. If not come back and
ask us.

Quoted 8 lines

Regards,
Marek

_______________________________________________
B.A.T.M.A.N mailing list
[email protected]
https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n

_______________________________________________
B.A.T.M.A.N mailing list
[email protected]
https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n

#5 lore raw
Quoted 2 lines · On Monday 17 November 2008 00:48:31 Simon Wunderlich wrote:

yep, bmxd/batman0.3 and batman-adv are both not compatible to each other.

Let me try to be clear at this point: You can run batman and batman-adv at the same time - no problem here. But you can't expect a batman node and a batman- adv node to talk to each other. Batman is not aware of batman-adv and vice versa because they operate on different layers.

Regards,
Marek

#6 lore raw

ok, perfectly clear, one or the other

now last question, there is a batman-adv kernel module and a batman-adv userland
am i to assume i dont need the userland if running the kernel mod or are both required

Quoted 19 lines · Marek Lindner
Quoted 2 lines · On Monday 17 November 2008 00:48:31 Simon Wunderlich wrote:

yep, bmxd/batman0.3 and batman-adv are both not compatible to each other.

Let me try to be clear at this point: You can run batman and batman-adv at the
same time - no problem here. But you can't expect a batman node and a batman-
adv node to talk to each other. Batman is not aware of batman-adv and vice versa because they operate on different layers.

Regards,
Marek

_______________________________________________
B.A.T.M.A.N mailing list
[email protected]
https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n

#7 lore raw
Quoted 1 line · On Monday 17 November 2008 01:22:24 Outback Dingo wrote:

ok, perfectly clear, one or the other

Good. :-)

Quoted 4 lines

now last question, there is a batman-adv kernel module and a batman-adv userland
am i to assume i dont need the userland if running the kernel mod or are both required

Correct - you only need one of them. At the moment the kernel implementation is a bit ahead compared to user space. I hope in the coming weeks I will find the time to update the user space branch.

Regards,
Marek

#8 lore raw

whats tells batmand-advanced its actually an internet gateway ???

Quoted 25 lines · Marek Lindner
Quoted 1 line · On Monday 17 November 2008 01:22:24 Outback Dingo wrote:

ok, perfectly clear, one or the other

Good. :-)

Quoted 4 lines

now last question, there is a batman-adv kernel module and a batman-adv userland
am i to assume i dont need the userland if running the kernel mod or are both required

Correct - you only need one of them. At the moment the kernel implementation
is a bit ahead compared to user space. I hope in the coming weeks I will find
the time to update the user space branch.

Regards,
Marek

_______________________________________________
B.A.T.M.A.N mailing list
[email protected]
https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n

#9 lore raw
Quoted 1 line · On Monday 17 November 2008 04:21:22 Outback Dingo wrote:

whats tells batmand-advanced its actually an internet gateway ???

Here is what Simon wrote some mails ago: :-)

You should know that batman-adv does not have special gateway support like the layer 3 batman versions. It can be considered as a big switch where every node is one virtual hop away. You can therefore configure it like your home LAN: install DHCP on your router, and that's it. If you have multiple gateways, you might consider multiple DHCP servers, or something else ... depending on your scenario. :)

#10 lore raw
In reply to Outback Dingo

The README also applies to Atheros hardware:

https://dev.open-mesh.net/batman/file/trunk/batman-adv-kernelland/README

regards,
Simon

Quoted 49 lines · Outback Dingo

any good docs on configuring batman-adv for atheros ?

Quoted 32 lines · Marek Lindner

Hi,

even if the news is still some days old - its worth mentioning:
batman-advanced is now available in Debian!

The packages are available through your favorite dpkg frontend (apt-get, aptitude, ...) using the unstable repositories. To follow the package development you can visit the following pages:

http://packages.debian.org/sid/batman-adv-source
http://packages.debian.org/sid/batman-adv-battool

batman-adv-source contains the source code and can be compiled for your kernel
using module-assistant [1]. batman-adv-battool contains the battool which provides ping, traceroute and other tools for the batman-adv network.

Big thanks to Sven Eckelmann, Simon Wunderlich and Holger Levsen for their work on these packages. :)

BTW, you also can find the current batman stable (0.3) in the lenny and unstable repositories. Here the respective package pages:

http://packages.debian.org/lenny/batmand
http://packages.debian.org/sid/batmand

Regards,
Marek

Quoted 8 lines

[1] http://packages.debian.org/sid/module-assistant

_______________________________________________
B.A.T.M.A.N mailing list
[email protected]
https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n

_______________________________________________
B.A.T.M.A.N mailing list
[email protected]
https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n

#11 lore raw

LOL it seriously cant be this easy :)

Quoted 77 lines · Simon Wunderlich

The README also applies to Atheros hardware:

https://dev.open-mesh.net/batman/file/trunk/batman-adv-kernelland/README

regards,
Simon

Quoted 12 lines · Outback Dingo

any good docs on configuring batman-adv for atheros ?

Quoted 7 lines · On Sun, Nov 16, 2008 at 11:04 PM, Marek Lindner <[email protected] wrote:

Hi,

even if the news is still some days old - its worth mentioning:
batman-advanced is now available in Debian!

The packages are available through your favorite dpkg frontend

(apt-get,

Quoted 9 lines
Quoted 9 lines

aptitude, ...) using the unstable repositories. To follow the package development you can visit the following pages:

http://packages.debian.org/sid/batman-adv-source
http://packages.debian.org/sid/batman-adv-battool

batman-adv-source contains the source code and can be compiled for your kernel
using module-assistant [1]. batman-adv-battool contains the battool

which

Quoted 3 lines
Quoted 3 lines

provides ping, traceroute and other tools for the batman-adv network.

Big thanks to Sven Eckelmann, Simon Wunderlich and Holger Levsen for

their

Quoted 22 lines
Quoted 13 lines

work on these packages. :)

BTW, you also can find the current batman stable (0.3) in the lenny and unstable repositories. Here the respective package pages:

http://packages.debian.org/lenny/batmand
http://packages.debian.org/sid/batmand

Regards,
Marek

Quoted 8 lines

[1] http://packages.debian.org/sid/module-assistant

_______________________________________________
B.A.T.M.A.N mailing list
[email protected]
https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n

Quoted 4 lines

_______________________________________________
B.A.T.M.A.N mailing list
[email protected]
https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFJIEnurzg/fFk7axYRAk0mAJ9lNbvJJhgHtLRZqcEniHlsA7Ek7wCg06E0 k2oDvj0hf+mvjIdykS1+0C8=
=LnLX
-----END PGP SIGNATURE-----

_______________________________________________
B.A.T.M.A.N mailing list
[email protected]
https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n

#12 lore raw
Quoted 1 line · On Monday 17 November 2008 00:32:59 Outback Dingo wrote:

LOL it seriously cant be this easy :)

Not sure what you mean: :-)
- the path to the "getting started" documentation
- the difficulty level of batman advanced

Regards,
Marek