Thank you Marek and Marco for your suggestions.
I have solved the following problem:
- 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
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
b.a.t.m.a.n@lists.open-mesh.org