public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] Why in my configuration batmand works only in debug mode?
@ 2009-03-20 12:08 Max
  2009-03-20 18:22 ` marco tozzini
  0 siblings, 1 reply; 2+ messages in thread
From: Max @ 2009-03-20 12:08 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

[-- Attachment #1: Type: text/plain, Size: 2105 bytes --]

Thank you Marek and Marco for your suggestions.

I have solved the following problem:
>2) When launched in debug mode (using the command batmand -d 3 ath0 &), the
> daemon starts to generate OGMs and to fill up its routing tables in a
> correct way. The problem occurs when I tries to ping an host in the
network
> because the routing process uses the default routing table (that has not
> been modified by the batman daemon) and it is not aware on the correct
> batman routing tables.

Now I'm able to ping every originator in the network. The problem is derived
from some iptables filters that stop the ping. Executing the following
command I remove the filters solving the problem:

iptables --flush
iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT

As concern the other problem it's still present.
I'm working with meshboxes equipped with OpenWrt Kamikaze 8.09 and Atheros
WiFi Cards.
In my meshboxes, BATMAN sends OGMs only when it's launched in debug mode
using the command
"batmand -d 3 ath0 &". In this case, I see OGMs travelling in the network
using Wireshark and the command "ip route ls table 66" lists all reachable
batman nodes. Also for the other debug levels (i.e. 1,2,4,5) batmand works
properly.

On the other hand, when I launch the daemon in normal mode, using the
command "batmand ath0", no error is displayed but no OGMs is observed to be
travelling in the network using Wireshark. The only message displayed is:
"Interface activated: ath0
Using interface ath0 with address 10.0.0.1 and broadcast address
10.255.255.255"

Also the command "ip route ls table 66" does not produce any output.

This morning I've installed the last version named B.A.T.M.A.N. 0.3.2-beta
rv1235 (compatibility version 5) but I face again with the same problem.

And finally another question...
Is it normal to observe 3 different processes named batmand using the shell
command ps even if I launched the daemon only once?


Thank you in advance!

Best regards,
Massimo

[-- Attachment #2: Type: text/html, Size: 2388 bytes --]

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

* Re: [B.A.T.M.A.N.] Why in my configuration batmand works only in debug mode?
  2009-03-20 12:08 [B.A.T.M.A.N.] Why in my configuration batmand works only in debug mode? Max
@ 2009-03-20 18:22 ` marco tozzini
  0 siblings, 0 replies; 2+ messages in thread
From: marco tozzini @ 2009-03-20 18:22 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

Max wrote:
...
>
> And finally another question...
> Is it normal to observe 3 different processes named batmand using the 
> shell command ps even if I launched the daemon only once?
>
Yes it is
(I never had investigate on this but it happens with batman and also 
with some other application in my case)
>
>
> Best regards,
> Massimo

Ciao
Marco


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

end of thread, other threads:[~2009-03-20 18:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-20 12:08 [B.A.T.M.A.N.] Why in my configuration batmand works only in debug mode? Max
2009-03-20 18:22 ` marco tozzini

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