public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] some basic questions
@ 2012-02-02 10:45 Perazim
  2012-02-02 10:52 ` Jo-Philipp Wich
  0 siblings, 1 reply; 4+ messages in thread
From: Perazim @ 2012-02-02 10:45 UTC (permalink / raw)
  To: b.a.t.m.a.n

I am trying batman-adv on trunk openwrt for ubiquiti bullet2. I am using
trunk because I want 2011.4.0.

In menuconfig I select Kernel Modules/Network Support/Kmod-batgat +
kmod-batman-adv + enable batctl.

Now I see that in Network/Routing and redirection/Batmand is auto
selected (I cannot deselect it)

Is this normal behavior? I see that besides the kmods, I also have
batmand installed on the router. I thought that this would have not been
included after the introduction of batman-adv.

Is this normal behavior or is there something wrong with menuconfig that
is causing batmand to be included?

Thanks,

Perazim





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

* Re: [B.A.T.M.A.N.] some basic questions
  2012-02-02 10:45 [B.A.T.M.A.N.] some basic questions Perazim
@ 2012-02-02 10:52 ` Jo-Philipp Wich
  2012-02-03 13:07   ` Perazim
  0 siblings, 1 reply; 4+ messages in thread
From: Jo-Philipp Wich @ 2012-02-02 10:52 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

Hi.

> Is this normal behavior or is there something wrong with menuconfig that
> is causing batmand to be included?

kmod-batgat belongs to the Layer 3 batman, do not select it.


~ Jow

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

* Re: [B.A.T.M.A.N.] some basic questions
  2012-02-02 10:52 ` Jo-Philipp Wich
@ 2012-02-03 13:07   ` Perazim
  2012-02-04 10:16     ` Marek Lindner
  0 siblings, 1 reply; 4+ messages in thread
From: Perazim @ 2012-02-03 13:07 UTC (permalink / raw)
  To: b.a.t.m.a.n

Thanks, that took care of the problem.

A followup question: I would rather use branch but it only has
batman-adv-2011.2.0 whereas the current version is 2011.4.0.

Followed the instructions here:

http://www.open-mesh.org/wiki/batman-adv/Building-with-openwrt



...
Changing the batman-adv / batctl version¶

It is also possible to modify the batman-adv version if you ever wanted
to build an older/newer version than configured in the package:

stable version:

Adjust the PKG_VERSION variable to download & build the stable release
you are interested in.

cat openwrt/feeds/packages/net/batman-adv/Makefile
[..]
PKG_VERSION:=2010.0.0
[..]



In doing this, I had to also update the md5sums for the sources.

I now receive this error while building:




make[3]: Leaving directory
`/home/yossi/router/backfire-bullet2/feeds/luci/luci'
make[3]: Entering directory
`/home/yossi/router/backfire-bullet2/feeds/packages/net/batman-adv'
cp /home/yossi/router/backfire-bullet2/build_dir/target-mips_uClibc-0.9.30.1/batman-adv/batman-adv-2011.4.0/Makefile.kbuild /home/yossi/router/backfire-bullet2/build_dir/target-mips_uClibc-0.9.30.1/batman-adv/batman-adv-2011.4.0/Makefile
make -C
"/home/yossi/router/backfire-bullet2/build_dir/linux-atheros/linux-2.6.30.10" CROSS_COMPILE="mips-openwrt-linux-uclibc-" ARCH="mips" PATH="/home/yossi/router/backfire-bullet2/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/bin:/home/yossi/router/backfire-bullet2/staging_dir/host/bin:/home/yossi/router/backfire-bullet2/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/bin:/home/yossi/router/backfire-bullet2/staging_dir/host/bin:/home/yossi/router/backfire-bullet2/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/bin:/home/yossi/router/backfire-bullet2/staging_dir/host/bin:/usr/lib/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/yossi/bin"  SUBDIRS="/home/yossi/router/backfire-bullet2/build_dir/target-mips_uClibc-0.9.30.1/batman-adv/batman-adv-2011.4.0" LINUX_VERSION="2.6.30.10" REVISION="" modules
make[4]: Entering directory
`/home/yossi/router/backfire-bullet2/build_dir/linux-atheros/linux-2.6.30.10'
  Building modules, stage 2.
  MODPOST 1 modules
make[4]: Leaving directory
`/home/yossi/router/backfire-bullet2/build_dir/linux-atheros/linux-2.6.30.10'
make
-C /home/yossi/router/backfire-bullet2/build_dir/target-mips_uClibc-0.9.30.1/batman-adv/batctl-2011.4.0 CFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float" CCFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float" OFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float" REVISION="" CC="mips-openwrt-linux-uclibc-gcc" NODEBUG=1 UNAME="Linux" INSTALL_PREFIX="/home/yossi/router/backfire-bullet2/build_dir/target-mips_uClibc-0.9.30.1/batman-adv/batman-adv-2011.4.0/ipkg-install" STRIP="/bin/true" batctl install
make[4]: Entering directory
`/home/yossi/router/backfire-bullet2/build_dir/target-mips_uClibc-0.9.30.1/batman-adv/batctl-2011.4.0'
make[4]: `batctl' is up to date.
mkdir -p /usr/local/sbin
mkdir -p /usr/local/share/man/man8
install -m 0755 batctl /usr/local/sbin
install: cannot create regular file `/usr/local/sbin/batctl': Permission
denied
make[4]: *** [install] Error 1
make[4]: Leaving directory
`/home/yossi/router/backfire-bullet2/build_dir/target-mips_uClibc-0.9.30.1/batman-adv/batctl-2011.4.0'
make[3]: ***
[/home/yossi/router/backfire-bullet2/build_dir/target-mips_uClibc-0.9.30.1/batman-adv/batman-adv-2011.4.0/.built] Error 2
make[3]: Leaving directory
`/home/yossi/router/backfire-bullet2/feeds/packages/net/batman-adv'
make[2]: *** [package/feeds/packages/batman-adv/compile] Error 2
make[2]: Leaving directory `/home/yossi/router/backfire-bullet2'
make[1]: ***
[/home/yossi/router/backfire-bullet2/staging_dir/target-mips_uClibc-0.9.30.1/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/yossi/router/backfire-bullet2'
make: *** [world] Error 2
[yossi@maps backfire-bullet2]$ make j=6


Did something change between 2011.2.0 and 2011.4.0?

Thanks,


Perazim

On Thu, 2012-02-02 at 11:52 +0100, Jo-Philipp Wich wrote:
> Hi.
> 
> > Is this normal behavior or is there something wrong with menuconfig that
> > is causing batmand to be included?
> 
> kmod-batgat belongs to the Layer 3 batman, do not select it.
> 
> 
> ~ Jow



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

* Re: [B.A.T.M.A.N.] some basic questions
  2012-02-03 13:07   ` Perazim
@ 2012-02-04 10:16     ` Marek Lindner
  0 siblings, 0 replies; 4+ messages in thread
From: Marek Lindner @ 2012-02-04 10:16 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

On Friday, February 03, 2012 21:07:14 Perazim wrote:
> Thanks, that took care of the problem.
> 
> A followup question: I would rather use branch but it only has
> batman-adv-2011.2.0 whereas the current version is 2011.4.0.
> 
> Followed the instructions here:
> 
> http://www.open-mesh.org/wiki/batman-adv/Building-with-openwrt
>
> [..]
>
> Did something change between 2011.2.0 and 2011.4.0?

Yes, there were changes. You can check the svn history of the batman-adv 
package in OpenWrt or search through the mailing list archives. This question 
was asked & answered before.

Regards,
Marek

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

end of thread, other threads:[~2012-02-04 10:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-02 10:45 [B.A.T.M.A.N.] some basic questions Perazim
2012-02-02 10:52 ` Jo-Philipp Wich
2012-02-03 13:07   ` Perazim
2012-02-04 10:16     ` Marek Lindner

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