Re: [Babel-users] help about babelweb : problème non résolu merci

2014-02-25 Thread michael . holcman1
Hello,
I try to make an hop with 2 wireless card but it doesn't work. Howerver, when i 
try with the prototoc OLSRD, the hop is made.
Is there a parameter to add or to suppress ?
Thank's,
Mic
PS: i have not the same version on my computer and the card.


- Mail original -
De: michael holcman1 michael.holcm...@free.fr
À: Gabriel Kerneis gabr...@kerneis.info
Cc: babel-users@lists.alioth.debian.org
Envoyé: Lundi 24 Février 2014 13:29:38
Objet: Re: help about babelweb : problème non résolu merci

Yes, i wrote this in my steps:
./bin/npm install -g babelweb
./bin/babelweb 
http://localhost:8080/

i will try what you suggest.
thank's

- Mail original -
De: Gabriel Kerneis gabr...@kerneis.info
À: michael holcman1 michael.holcm...@free.fr
Cc: babel-users@lists.alioth.debian.org
Envoyé: Lundi 24 Février 2014 12:11:39
Objet: Re: help about babelweb : problème non résolu merci

On Mon, Feb 24, 2014 at 10:33:16AM +, Gabriel Kerneis wrote:
  []:undefined - Babel socket close: reconnecting in 1 second.
 
 In particular, I don't understand at all what part of the code is
 generating the []: undefined -  characters.

Ah, you are using babelweb from github, not the release installed by npm!
Again, if you don't give me the exact steps that you followed to install and
launch babelweb, I cannot really help you.

It looks the url.parse function fails to parse the routers option to
get an IP address and a host to connect to.  You can apply the following
patch to try and debug the issue:

diff --git a/server.js b/server.js
index eb07f85..008105b 100644
--- a/server.js
+++ b/server.js
@@ -57,7 +57,9 @@ var babelNode = require('./babelNode');
 var url = require('url');
 var routers =
   config.routers.split(',').map(function(r) {
+console.log(parsing router string:  + r);
 var u = url.parse(ip: + r);
+console.log(parsed values: port= + u.port + , host=+u.hostname);
 return babelNode.connect({port: u.port, host: u.hostname});
   });
 

You can also try to start babelweb with an explicit routers option to see if 
that helps:
$ bin/babelweb routers=[::1]:33123

Best,
-- 
Gabriel

___
Babel-users mailing list
Babel-users@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/babel-users

Re: [Babel-users] help about babelweb : problème non résolu merci

2014-02-25 Thread Juliusz Chroboczek
 I try to make an hop with 2 wireless card but it doesn't
 work. Howerver, when i try with the prototoc OLSRD, the hop is made.

Michael, are you having issues with BabelWeb or with babeld?

-- Juliusz

___
Babel-users mailing list
Babel-users@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/babel-users


Re: [Babel-users] help about babelweb : problème non résolu merci

2014-02-25 Thread Matthieu Boutier
 I try to make an hop with 2 wireless card but it doesn't work. Howerver, when 
 i try with the prototoc OLSRD, the hop is made.
 Is there a parameter to add or to suppress ?

I believe babeld has installed the routes, since we can read something like

change route 192.168.2.1/32-873cc90 prefix 192.168.2.1/32 installed yes id 
aa:54:b2:ff:fe:67:31:e0 metric 256 refmetric 0 via fe80::aa54:b2ff:fe67:31e0 if 
eth0

so Juliusz is right: babeld is independent of babelweb, and it seems you only 
have issues with the later.

If you have doubt, just run babeld -d 2 eth0, if eth0 is your interface.  
Then only, when you see everything works, try to add the babeld local 
interface: babeld -d 2 -g 33123 eth0.  And only after that, try babelweb.

Matthieu


___
Babel-users mailing list
Babel-users@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/babel-users


Re: [Babel-users] help about babelweb : problème non résolu merci

2014-02-24 Thread Gabriel Kerneis
On Mon, Feb 24, 2014 at 10:47:03AM +0100, michael.holcm...@free.fr wrote:
 ~/babel/node-v0.10.25-linux-x86$ 
 WWW@ubuntu:~/babel/node-v0.10.25-linux-x86$ ./bin/babelweb
info  - socket.io started
 []:undefined - Babel socket close: reconnecting in 1 second.

I cannot reproduce the issue, and I have absolutely no clue where this
might be coming from.  In particular, I don't understand at all what
part of the code is generating the []: undefined -  characters.  They
seem to come out of nowhere.

Sorry,
-- 
Gabriel

___
Babel-users mailing list
Babel-users@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/babel-users


Re: [Babel-users] help about babelweb : problème non résolu merci

2014-02-24 Thread Gabriel Kerneis
On Mon, Feb 24, 2014 at 10:33:16AM +, Gabriel Kerneis wrote:
  []:undefined - Babel socket close: reconnecting in 1 second.
 
 In particular, I don't understand at all what part of the code is
 generating the []: undefined -  characters.

Ah, you are using babelweb from github, not the release installed by npm!
Again, if you don't give me the exact steps that you followed to install and
launch babelweb, I cannot really help you.

It looks the url.parse function fails to parse the routers option to
get an IP address and a host to connect to.  You can apply the following
patch to try and debug the issue:

diff --git a/server.js b/server.js
index eb07f85..008105b 100644
--- a/server.js
+++ b/server.js
@@ -57,7 +57,9 @@ var babelNode = require('./babelNode');
 var url = require('url');
 var routers =
   config.routers.split(',').map(function(r) {
+console.log(parsing router string:  + r);
 var u = url.parse(ip: + r);
+console.log(parsed values: port= + u.port + , host=+u.hostname);
 return babelNode.connect({port: u.port, host: u.hostname});
   });
 

You can also try to start babelweb with an explicit routers option to see if 
that helps:
$ bin/babelweb routers=[::1]:33123

Best,
-- 
Gabriel

___
Babel-users mailing list
Babel-users@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/babel-users


Re: [Babel-users] help about babelweb : problème non résolu merci

2014-02-24 Thread michael . holcman1
Yes, i wrote this in my steps:
./bin/npm install -g babelweb
./bin/babelweb 
http://localhost:8080/

i will try what you suggest.
thank's

- Mail original -
De: Gabriel Kerneis gabr...@kerneis.info
À: michael holcman1 michael.holcm...@free.fr
Cc: babel-users@lists.alioth.debian.org
Envoyé: Lundi 24 Février 2014 12:11:39
Objet: Re: help about babelweb : problème non résolu merci

On Mon, Feb 24, 2014 at 10:33:16AM +, Gabriel Kerneis wrote:
  []:undefined - Babel socket close: reconnecting in 1 second.
 
 In particular, I don't understand at all what part of the code is
 generating the []: undefined -  characters.

Ah, you are using babelweb from github, not the release installed by npm!
Again, if you don't give me the exact steps that you followed to install and
launch babelweb, I cannot really help you.

It looks the url.parse function fails to parse the routers option to
get an IP address and a host to connect to.  You can apply the following
patch to try and debug the issue:

diff --git a/server.js b/server.js
index eb07f85..008105b 100644
--- a/server.js
+++ b/server.js
@@ -57,7 +57,9 @@ var babelNode = require('./babelNode');
 var url = require('url');
 var routers =
   config.routers.split(',').map(function(r) {
+console.log(parsing router string:  + r);
 var u = url.parse(ip: + r);
+console.log(parsed values: port= + u.port + , host=+u.hostname);
 return babelNode.connect({port: u.port, host: u.hostname});
   });
 

You can also try to start babelweb with an explicit routers option to see if 
that helps:
$ bin/babelweb routers=[::1]:33123

Best,
-- 
Gabriel

___
Babel-users mailing list
Babel-users@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/babel-users

Re: [Babel-users] help about babelweb

2014-02-21 Thread Matthieu Boutier
 I would like to enhance the parameter:
 hello interval
 update interval
 resend delay
 link quality
 in commande-line (without configuring the babeld.conf file).

A config file line can be passed through the command-line, using the -C option. 
For example :

babeld -C interface eth0

(You will find some other examples at the end of the babeld manpage.)

Matthieu


___
Babel-users mailing list
Babel-users@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/babel-users


Re: [Babel-users] help about babelweb

2014-02-20 Thread michael . holcman1
Thank's, I will try tomorrow.
If you can answer or another person of the list of my second question.
Thank's a lot,


- Mail original -
De: Gabriel Kerneis gabr...@kerneis.info
À: michael holcman1 michael.holcm...@free.fr
Cc: babel-users@lists.alioth.debian.org
Envoyé: Jeudi 20 Février 2014 16:42:31
Objet: Re: help about babelweb

On Thu, Feb 20, 2014 at 04:26:32PM +0100, michael.holcm...@free.fr wrote:
 Thank's. I made all that but it doesn't work. May be i have to install
 adobe flash ?

You need to explain exactly what you need, and what you observe.  We
cannot guess what goes wrong! What do you mean specifically by it
doesn't work:
- Does the nc :: 33123 test work on the server?
- Did you install node.js successfully on the server?
- Did you install babelweb successfully on the server (what is the
  output of npm install -g babelweb)?
- Did you launch babelweb sucessfully on the server (what is the output
  of babelweb in a terminal)?
- What happens when you try to reach http://localhost:8080/ ?

 I would like to enhance the parameter: […]

This is unrelated to babelweb, so I'll skip it for now.

 What is the URL of the babel USERS ?

http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/babel-users

Best,
-- 
Gabriel

___
Babel-users mailing list
Babel-users@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/babel-users