Re: [OpenWrt-Devel] openwrt backfire 10.03.2 + batman-adv

2012-05-24 Thread Marek Lindner
On Thursday, May 24, 2012 05:53:51 Pedro Nuno Costa Rodrigues wrote:
 I really must done a job and i really need some light in this issue.
 I'm having a good openwrt+batman-adv experience and i'm enjoying a lot.
 
 It seems there is a bug... i must wait a new release, thats right?

No release is necessary. The OpenWrt stable maintainer(s) need to backport 
that fix to stable or you do it yourself or you use trunk. 

Regards,
Marek
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] openwrt backfire 10.03.2 + batman-adv

2012-05-24 Thread ZioPRoTo (Saverio Proto)
 No release is necessary. The OpenWrt stable maintainer(s) need to backport
 that fix to stable or you do it yourself or you use trunk.

Hello,

this conversation come out to be very interesting to me. I finally
realize why Ninux Pisa uses OpenWRT trunk and not a stable realease.

Marek may I ask if the matter is just this bug with the start/stop
scripts not working correctly at boot, or if there are more issues in
using the batman-adv package with the backfire branch ?

The one million dollar question is if we identify all this problems
can we make sure the OpenWRT developers backport all the necessary
stuff from trunk in the next stable release ?

thanks

Saverio
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] openwrt backfire 10.03.2 + batman-adv

2012-05-24 Thread Gioacchino Mazzurco
Yes we use TRUNK in ninux pisa for that bug of backfire and also because
of Ethernet driver crash on backfire that seems not affect the new
kernel in trunk ( but to be sure we have to do some more testing )


On 05/24/12 10:20, ZioPRoTo (Saverio Proto) wrote:
 No release is necessary. The OpenWrt stable maintainer(s) need to backport
 that fix to stable or you do it yourself or you use trunk.
 
 Hello,
 
 this conversation come out to be very interesting to me. I finally
 realize why Ninux Pisa uses OpenWRT trunk and not a stable realease.
 
 Marek may I ask if the matter is just this bug with the start/stop
 scripts not working correctly at boot, or if there are more issues in
 using the batman-adv package with the backfire branch ?
 
 The one million dollar question is if we identify all this problems
 can we make sure the OpenWRT developers backport all the necessary
 stuff from trunk in the next stable release ?
 
 thanks
 
 Saverio
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] openwrt backfire 10.03.2 + batman-adv

2012-05-24 Thread Marek Lindner
On Thursday, May 24, 2012 16:20:47 ZioPRoTo (Saverio Proto) wrote:
 Marek may I ask if the matter is just this bug with the start/stop
 scripts not working correctly at boot, or if there are more issues in
 using the batman-adv package with the backfire branch ?

The problem arises only if you have network devices which are loaded before 
the batman-adv kernel module has been loaded. Jow suggested to simply load the 
batman-adv module manually inside the hotplug handler. That works fine. 

Since I don't use / test the backfire branch I can't tell if the backfire 
package works as good as the one in trunk. But this is the only bug report I 
know of and both packages are almost identical.


 The one million dollar question is if we identify all this problems
 can we make sure the OpenWRT developers backport all the necessary
 stuff from trunk in the next stable release ?

It's hard to comment because the OpenWrt stable branch policies / timelines / 
etc are still a mystery to me. However, Jow is well aware of the problem, so 
that I feel confident it will be resolved at some point. 

Regards,
Marek
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] openwrt backfire 10.03.2 + batman-adv

2012-05-24 Thread Pedro Nuno Costa Rodrigues

Hello.

Could you please say the feeds that you use in the trunk build. I mean  
the feeds located in /trunk/feeds.conf.default?


I already tryed to build, but i'm not getting it right...
Or it gives me error in the build, or i can make the build, but don't  
work the batman-adv...


Thank's!!



Citando Gioacchino Mazzurco gmazzurc...@gmail.com:


Yes we use TRUNK in ninux pisa for that bug of backfire and also because
of Ethernet driver crash on backfire that seems not affect the new
kernel in trunk ( but to be sure we have to do some more testing )


On 05/24/12 10:20, ZioPRoTo (Saverio Proto) wrote:

No release is necessary. The OpenWrt stable maintainer(s) need to backport
that fix to stable or you do it yourself or you use trunk.


Hello,

this conversation come out to be very interesting to me. I finally
realize why Ninux Pisa uses OpenWRT trunk and not a stable realease.

Marek may I ask if the matter is just this bug with the start/stop
scripts not working correctly at boot, or if there are more issues in
using the batman-adv package with the backfire branch ?

The one million dollar question is if we identify all this problems
can we make sure the OpenWRT developers backport all the necessary
stuff from trunk in the next stable release ?

thanks

Saverio
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] openwrt backfire 10.03.2 + batman-adv

2012-05-24 Thread Gioacchino Mazzurco
Everything is there http://eigenlab.org/~gioacchino/openwrt/

you will find feed.conf and .config inside the meta folder

On 05/24/12 22:41, Pedro Nuno Costa Rodrigues wrote:
 Hello.
 
 Could you please say the feeds that you use in the trunk build. I mean
 the feeds located in /trunk/feeds.conf.default?
 
 I already tryed to build, but i'm not getting it right...
 Or it gives me error in the build, or i can make the build, but don't
 work the batman-adv...
 
 Thank's!!
 
 
 
 Citando Gioacchino Mazzurco gmazzurc...@gmail.com:
 
 Yes we use TRUNK in ninux pisa for that bug of backfire and also because
 of Ethernet driver crash on backfire that seems not affect the new
 kernel in trunk ( but to be sure we have to do some more testing )


 On 05/24/12 10:20, ZioPRoTo (Saverio Proto) wrote:
 No release is necessary. The OpenWrt stable maintainer(s) need to
 backport
 that fix to stable or you do it yourself or you use trunk.

 Hello,

 this conversation come out to be very interesting to me. I finally
 realize why Ninux Pisa uses OpenWRT trunk and not a stable realease.

 Marek may I ask if the matter is just this bug with the start/stop
 scripts not working correctly at boot, or if there are more issues in
 using the batman-adv package with the backfire branch ?

 The one million dollar question is if we identify all this problems
 can we make sure the OpenWRT developers backport all the necessary
 stuff from trunk in the next stable release ?

 thanks

 Saverio
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel
 
 
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] openwrt backfire 10.03.2 + batman-adv

2012-05-23 Thread Pedro Nuno Costa Rodrigues


Hello, my name is Pedro, and I'm writing from Portugal.

I would like to ask some questions about batman-adv in openwrt backfire
10.03.2.

I already wrote to http://www.open-mesh.org/wiki/open-mesh/MailingList  
(the mailing list of batman-adv routing protocol) but the developers  
of the batman-adv said to me, after some chat and replies, that this  
issue could be solved asking in the openwrt forum, because they didn't  
know how to solve the problem.


The problem happens when i build the openwrt image to use in my  
routers (i'm trying to build a batman-adv mesh network), the  
definitions of batman-adv protocol don't start when the routers boot,  
as i wish.


In /etc/config/ there are some configuration files, like dhcp,  
network, wireless, etc... and the file that i'm talking about is the  
batman-adv file configuration.
In that batman-adv file we can define if this specific router is a  
gateway server or client... if the visualization mode is server or  
client... etc...


After my definitions are saved and after rebooting the routers, the  
definitions don't start as i defined, but starts as defined by  
default...


It is necessary to do batman-adv restart to the changes take place...
All i want is the definitions start on boot and permanently...
Why after saving the parameters and rebooting the router, the  
batman-adv changes don't take effect?



This is the batman-adv configuration example for 1 of the routers:

config 'mesh' 'bat0'
option 'interfaces' 'wifi'
option 'aggregated_ogms' '1'
option 'ap_isolation' '0'
option 'bonding' '0'
option 'fragmentation' '1'
option 'gw_bandwidth' '5mbit/1024kbit'
option 'gw_mode' 'server'
#option 'gw_sel_class'
option 'log_level' 'all'
option 'orig_interval' '1000'
option 'vis_mode' 'server'


When the router boots the definitions don't take effect, but after  
doing batman-adv, everything works fine.


I know the issue batman-adv is not a issue to be discussed here, but  
i was thinking if the problem could be solved by changing something in  
the build process... (?)




Thank you very much.

I'm a portuguese student in telecomunications eletrotecnical  
engineering, in ISEP school-Oporto.

This about my final work for my master thesis.
I need some help.

Best regards.
Pedro Rodrigues
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] openwrt backfire 10.03.2 + batman-adv

2012-05-23 Thread ZioPRoTo (Saverio Proto)
Looks like the committer for the OpenWRT package is Marek:
https://dev.openwrt.org/browser/packages/net/batman-adv

did you report this problem to him ?

bye :)

Saverio

2012/5/23 Pedro Nuno Costa Rodrigues pedro...@sapo.pt:

 Hello, my name is Pedro, and I'm writing from Portugal.

 I would like to ask some questions about batman-adv in openwrt backfire
 10.03.2.

 I already wrote to http://www.open-mesh.org/wiki/open-mesh/MailingList (the
 mailing list of batman-adv routing protocol) but the developers of the
 batman-adv said to me, after some chat and replies, that this issue could be
 solved asking in the openwrt forum, because they didn't know how to solve
 the problem.

 The problem happens when i build the openwrt image to use in my routers (i'm
 trying to build a batman-adv mesh network), the definitions of batman-adv
 protocol don't start when the routers boot, as i wish.

 In /etc/config/ there are some configuration files, like dhcp, network,
 wireless, etc... and the file that i'm talking about is the batman-adv
 file configuration.
 In that batman-adv file we can define if this specific router is a gateway
 server or client... if the visualization mode is server or client... etc...

 After my definitions are saved and after rebooting the routers, the
 definitions don't start as i defined, but starts as defined by default...

 It is necessary to do batman-adv restart to the changes take place...
 All i want is the definitions start on boot and permanently...
 Why after saving the parameters and rebooting the router, the batman-adv
 changes don't take effect?


 This is the batman-adv configuration example for 1 of the routers:

 config 'mesh' 'bat0'
            option 'interfaces' 'wifi'
            option 'aggregated_ogms' '1'
            option 'ap_isolation' '0'
            option 'bonding' '0'
            option 'fragmentation' '1'
            option 'gw_bandwidth' '5mbit/1024kbit'
            option 'gw_mode' 'server'
            #option 'gw_sel_class'
            option 'log_level' 'all'
            option 'orig_interval' '1000'
            option 'vis_mode' 'server'


 When the router boots the definitions don't take effect, but after doing
 batman-adv, everything works fine.

 I know the issue batman-adv is not a issue to be discussed here, but i was
 thinking if the problem could be solved by changing something in the build
 process... (?)



 Thank you very much.

 I'm a portuguese student in telecomunications eletrotecnical engineering, in
 ISEP school-Oporto.
 This about my final work for my master thesis.
 I need some help.

 Best regards.
 Pedro Rodrigues
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] openwrt backfire 10.03.2 + batman-adv

2012-05-23 Thread Marek Lindner
On Thursday, May 24, 2012 03:28:43 ZioPRoTo (Saverio Proto) wrote:
 Looks like the committer for the OpenWRT package is Marek:
 https://dev.openwrt.org/browser/packages/net/batman-adv
 
 did you report this problem to him ?

Yes, he did and I told him that mixing trunk packages with stable is not 
supported.

Cheers,
Marek
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] openwrt backfire 10.03.2 + batman-adv

2012-05-23 Thread Marek Lindner

Hi,

 I already wrote to http://www.open-mesh.org/wiki/open-mesh/MailingList
 (the mailing list of batman-adv routing protocol) but the developers
 of the batman-adv said to me, after some chat and replies, that this
 issue could be solved asking in the openwrt forum, because they didn't
 know how to solve the problem.

just for completeness, I'd like to mention that your questions[1][2] on the 
batman list were not the same you are asking here. I also don't see anyone 
sending you the OpenWrt forums ...


 The problem happens when i build the openwrt image to use in my
 routers (i'm trying to build a batman-adv mesh network), the
 definitions of batman-adv protocol don't start when the routers boot,
 as i wish.
 
 In /etc/config/ there are some configuration files, like dhcp,
 network, wireless, etc... and the file that i'm talking about is the
 batman-adv file configuration.
 In that batman-adv file we can define if this specific router is a
 gateway server or client... if the visualization mode is server or
 client... etc...

This sounds like a known bug fixed in revision 31317 which appears to be still 
existing in the current stable (10.03.2).

Regards,
Marek


[1] https://lists.open-mesh.org/pipermail/b.a.t.m.a.n/2012-May/007029.html
[2] https://lists.open-mesh.org/pipermail/b.a.t.m.a.n/2012-May/007032.html
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] openwrt backfire 10.03.2 + batman-adv

2012-05-23 Thread Pedro Nuno Costa Rodrigues


Citando Marek Lindner lindner_ma...@yahoo.de:


On Thursday, May 24, 2012 03:28:43 ZioPRoTo (Saverio Proto) wrote:

Looks like the committer for the OpenWRT package is Marek:
https://dev.openwrt.org/browser/packages/net/batman-adv

did you report this problem to him ?


Yes, he did and I told him that mixing trunk packages with stable is not
supported.

Cheers,
Marek
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel







Hello!

Thank you very much for your reply.

I really need help.
We already talked about this issue as i quote the previous message  
posted in lists.open-mesh.org:





Citando Marek Lindner lindner_marek at yahoo.de:


On Friday, May 11, 2012 05:48:54 Pedro Nuno Costa Rodrigues wrote:

I'm using backfire (openwrt build):
cat /home/pedro/backfire/feeds/packages/net/batman-adv/Makefile | grep
2012# Copyright (C) 2010-2012
OpenWrt.orgPKG_VERSION:=2012.0.0BATCTL_VERSION:=2012.0.0


You are trying to mix 2 different branches: backfire + trunk batman-adv
 * the batman-adv package coming with backfire is working fine with backfire
 * the batman-adv package from trunk works fine with trunk

Mixing the package with another branch is officially unsupported   
because there

are some OpenWrt incompatibilities we can't not automatically handle. It
certainly is doable but requires deeper knowledge of OpenWrt.

Cheers,
Marek





hello!

I didn't tryed to mix 2 different branches...
Perhaps i wasn't very clear.

I build the backfire branch and i tested the batman-adv and it worked fine...
I also build (another build completely independent) of the trunk
bruch, but it didn't worked...

I used the same configurations files on both... exactly the same, but
the trunk build gave the error:


root at OpenWrt:/lib/batman-adv# batman-adv start
/usr/sbin/batman-adv: eval: line 1: can't
create/sys/class/net/bat0/mesh/orig_interval: nonexistent directory

/usr/sbin/batman-adv: eval: line 1: can't create
/sys/class/net/bat0/mesh/log_level: nonexistent directory

/usr/sbin/batman-adv: eval: line 1: can't create
/sys/class/net/bat0/mesh/bonding: nonexistent
directory/usr/sbin/batman-adv: eval: line 1: can't create
/sys/class/net/bat0/mesh/fragmentation: nonexistent directory

/usr/sbin/batman-adv: eval: line 1: can't create
/sys/class/net/bat0/mesh/gw_bandwidth: nonexistent directory

/usr/sbin/batman-adv: eval: line 1: can't create
/sys/class/net/bat0/mesh/gw_mode: nonexistent
directory/usr/sbin/batman-adv: eval: line 1: can't create
/sys/class/net/bat0/mesh/vis_mode: nonexistent directory

/usr/sbin/batman-adv: eval: line 1: can't create
/sys/class/net/bat0/mesh/ap_isolation: nonexistent directory


and i checked if it was the crc-16 problem livrary, but it wasn't.

I know that's an openwrt problem. Or something that missed me...

I will try to analyze and if it is necessary i will try to contact
openwrt developers...

Thank you!!
best regards
Pedro Rodrigues
---
End of citation



Well, i didn't mix up the branches...
The trunk didin't work, and the backfire worked. And worked well. Very nice.

Thank you very much.
Best regards.
Pedro Rodrigues




___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] openwrt backfire 10.03.2 + batman-adv

2012-05-23 Thread Pedro Nuno Costa Rodrigues


Citando Marek Lindner lindner_ma...@yahoo.de:


Hi,


I already wrote to http://www.open-mesh.org/wiki/open-mesh/MailingList
(the mailing list of batman-adv routing protocol) but the developers
of the batman-adv said to me, after some chat and replies, that this
issue could be solved asking in the openwrt forum, because they didn't
know how to solve the problem.


just for completeness, I'd like to mention that your questions[1][2] on the
batman list were not the same you are asking here. I also don't see anyone
sending you the OpenWrt forums ...



The problem happens when i build the openwrt image to use in my
routers (i'm trying to build a batman-adv mesh network), the
definitions of batman-adv protocol don't start when the routers boot,
as i wish.

In /etc/config/ there are some configuration files, like dhcp,
network, wireless, etc... and the file that i'm talking about is the
batman-adv file configuration.
In that batman-adv file we can define if this specific router is a
gateway server or client... if the visualization mode is server or
client... etc...


This sounds like a known bug fixed in revision 31317 which appears  
to be still

existing in the current stable (10.03.2).

Regards,
Marek


[1] https://lists.open-mesh.org/pipermail/b.a.t.m.a.n/2012-May/007029.html
[2] https://lists.open-mesh.org/pipermail/b.a.t.m.a.n/2012-May/007032.html
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel




Hello again.

About this issue, once Mr. Sven Eckelmann, who was very kind and  
helped me a lot,to whom i really say thanks and i really appreciate  
his patient, when i asked about this booting problem, said that  
couldn't tell me nothing about the startup problem, because he wasn't  
a openwrt developer. I supposed that if i make this question here,  
perhaps could get some help.


I try to explain the best i can, if sometimes i'm not very expressive,  
because i don't dominate very well the english writing and expression,  
i will try do my best and i hope you don't mind.


I really must done a job and i really need some light in this issue.
I'm having a good openwrt+batman-adv experience and i'm enjoying a lot.

It seems there is a bug... i must wait a new release, thats right?

Thank you very much, for yout time.
Best regards.

Pedro Rodrigues






___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel