Re: [Babel-users] Questions on the new AHCP

2010-01-16 Thread Juliusz Chroboczek
Ciao Saverio, I'm trying to test (again) AHCP on OpenWRT. Great. it was only IPv6, and it was completely stateless without server/clients. That was AHCP 0. It was a very clean and very robust protocol. I later tried to generalise the AHCP 0 design to stateful configuration (AHCP 0.5), and

Re: [Babel-users] Questions on the new AHCP

2010-01-15 Thread Alex Morlang
Am 15.01.2010 um 08:18 schrieb Gabriel Kerneis: On Thu, Jan 14, 2010 at 07:20:00PM +0100, ZioPRoTo (Saverio Proto) wrote: 1) AHCP is a stand alone program, so does not depend on olsr or babel, so its configuration is autonomous, correct ? Yes. In openwrt I expect to configure

Re: [Babel-users] Questions on the new AHCP

2010-01-15 Thread Gabriel Kerneis
On Fri, Jan 15, 2010 at 11:42:00AM +0100, Alex Morlang wrote: the ahcp-config.sh should be updated to use uci states to set ip addresses, as right now, the settings will not survive any actions of luci/uci. [...] you also need to address uci sections out of the script, so something like

Re: [Babel-users] Questions on the new AHCP

2010-01-15 Thread Gabriel Kerneis
On Fri, Jan 15, 2010 at 11:42:00AM +0100, Alex Morlang wrote: the ahcp-config.sh should be updated to use uci states to set ip addresses, as right now, the settings will not survive any actions of luci/uci. On second thought, I'm not sure this is such a good idea: is the address you grab from

Re: [Babel-users] Questions on the new AHCP

2010-01-15 Thread Alex Morlang
Am 15.01.2010 um 13:34 schrieb Gabriel Kerneis: On Fri, Jan 15, 2010 at 11:42:00AM +0100, Alex Morlang wrote: the ahcp-config.sh should be updated to use uci states to set ip addresses, as right now, the settings will not survive any actions of luci/uci. On second thought, I'm not sure this

[Babel-users] Questions on the new AHCP

2010-01-14 Thread ZioPRoTo (Saverio Proto)
Hello, I'm trying to test (again) AHCP on OpenWRT. I say again because I used AHCP in a little testebed about 18 months ago. The configuration was in a .dat file living in: /usr/lib/ahcp/ahcp.dat and it was only IPv6, and it was completely stateless without server/clients. It all worked very

Re: [Babel-users] Questions on the new AHCP

2010-01-14 Thread Gabriel Kerneis
On Thu, Jan 14, 2010 at 07:20:00PM +0100, ZioPRoTo (Saverio Proto) wrote: 1) AHCP is a stand alone program, so does not depend on olsr or babel, so its configuration is autonomous, correct ? Yes. In openwrt I expect to configure everything in /etc/conf/ahcp The relevant files are