MIME-Version: 1.0 Date: Fri, 20 Mar 2009 13:08:22 +0100 Message-ID: <3ebdcf0a0903200508w1bdb03b8me7da995c0a31931e@mail.gmail.com> From: Max Content-Type: multipart/alternative; boundary=000e0cd1e906ec5ed504658bc539 Subject: [B.A.T.M.A.N.] Why in my configuration batmand works only in debug mode? Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking --000e0cd1e906ec5ed504658bc539 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 --000e0cd1e906ec5ed504658bc539 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thank you Marek and Marco for your suggestions.

I have solved the fo= llowing problem:

>2) When launched in debug mode (u= sing the command batmand -d 3 ath0 &), the
> daemon starts to generate OGMs and to fill up its routing tables in a<= br> > correct way. The problem occurs when I tries to ping an host in the ne= twork
> because the routing process uses the default routing table (that has n= ot
> 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 -Fiptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
ip= tables -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) batm= and works properly.

On the other hand, when I launch the daemon in normal mode, using the c= ommand "batmand ath0", no error is displayed but no OGMs is observed to be travelling in the network using Wireshark. The only message displayed is:
"Int= erface 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 no= t produce any output.

This morning I've installed the last versi= on named B.A.T.M.A.N. 0.3.2-beta rv1235 (compatibility version 5) but I fac= e 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 d= aemon only once?


Thank you in advance!

Best regards,
Massimo --000e0cd1e906ec5ed504658bc539--