Good afternoon to everybody!
I have to deal with 2 big problems occurred when I run batmand 0.3.1 rv 1206
in meshboxs equipped with OpenWrt Kamikaze 8.09
I detect the following problems:
1) B.A.T.M.A.N. daemon only works whether launched in debug mode. I'm sure
about this because I'm monitoring the network with a packet sniffer.
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.
Does someone know how to solve these problems?
Thank you in advance.
Best regards,
Massimo Reineri
Hello,
i have a problem using batman-adv. At the moment i use v0.1, but i had
the same problem when trying the svn version 1241.
All the nodes send their ogm, but none does recieve any of these. What i
did on all nodes is:
iwconfig $wlaninterface essid batman mode ad-hoc
and then
echo "$wlaninterface" > /proc/net/batman-adv/interfaces
echo 15 > /proc/net/batman-adv/log_level
cat /proc/net/batman-adv/log after that shows somethink like this:
Adding interface: ath0
Can't activate module: the primary interface is not active
Sending own packet (originator 00:18:84:14:48:e5, seqno 1, TTL 50) on
interface ath0 [00:18:84:14:48:e5]
Sending own packet (originator 00:18:84:14:48:e5, seqno 2, TTL 50) on
interface ath0 [00:18:84:14:48:e5]
Sending own packet (originator 00:18:84:14:48:e5, seqno 3, TTL 50) on
interface ath0 [00:18:84:14:48:e5]
I also tried to set the channel on all nodes, but with no effect.
Maybe someone can tell me what i do wrong.
Thank you,
--
Kai Timmer
Email : email(a)kait.de
Jabber: kai(a)kait.de
Blog: http://blog.kaitimmer.de
----- Original Message Follows -----
From: "Antonio Anselmi"
> Marco
>
> can you post the 802.11 and inet configurations of the
> involved iface (I think wlan1) and a memory usage hwile
> batmand is running?
>
> Antonio
>
Hi Antonio,
Sorry I read your message after dismission of the system
I hope I can replicate the system again and post
informations you required
Thanks
Marco
Kann mir jemand folgende Fragen beantworten:
Ich fertige gerade eine Dipl. Arbeit zum Thema: "Leistungsanalyse des BATMAN Routingprotokolls für drahtlose
Sensornetze" an der FU Berlin an. (Abgabe 11.5.)
Es geht um einen Leistungsvergleich von OLSR und BATMAN. Hierfür habe ich jedes der beiden Protokolle für die Scatternet
Platform der FU Berlin implementiert und sehr aufwändige realworld Tests bis zu eine Netzgröße von 15 Sensorknoten
durchgeführt. Zusätzlich läuft eine andere Diplomarbeit, die das Ganze im Simulator untersucht, für eine größe
Knotenanzahl, um Skalierbarkeit zu testen.
Wie auch immer.. ich habe noch ein paar Fragen. Vielleicht hast du Zeit sie zu beantworten:
1.) Warum habt ihr BATMAN als Alternative zu OLSR entworfen?
Das Argument, das ich kenne sind die widersprüchlichen Topologieinformationen bei Olsr, die zu Kreisrouten führen
können. Aber was ist zum Beispiel mit dem Routing Traffic Overhead, bei großen Netzen.. wie verhält der sich. Wie stark
wirkt sich das auf den Durchsatz aus? Ende-Zu-Ende Verzögerung... etc. Was war das gravierendste Problem nach eurer
Erfahrung bei großen Netzen. Gibt es hierzu irgendwelche Dokumente.. Diagramme.. die ihr habt? Falls ja, wie wurden die
Daten darüber gewonnen.
2.) Warum ist das RFC zu Batman abgelaufen? Warum läuft sowas überhaupt ab? Wie geht es diesbezüglich weiter? Leider
kenne ich mich mit diesem Request For Comments Krempel nicht so gut aus.. Mein Betreuer meinte, dass es schlecht ist,
sich auf ein abgelaufenes RFC zu berufen.
3.) Gewinnt Batman eher an Popularität in der Meshgemeinde oder ist eher das Gegenteil der Fall. Wo wird Batman noch
eingesetzt?
4.) Wie mein Kommilitone und ich feststellen mussten, gibt es so gut wie keine offiziell veröffentlichten
wissenschaftlichen Arbeiten zu BATMAN. Das ist ein kleines Problem, da es schwierig ist, sich auf andere Arbeiten bei
bestimmten Behauptungen zu stützen. Hier dürfen nur offizielle Papers angegeben werden. Es gibt da ein Paper, wo du auch
mitgewirkt hast, wo ein Leistungsvergleich zwischen OLSR und BATMAN in eine Realtestbed gemacht wurde. Aber leider
scheint selbst dies nicht offiziell veröffentlich zu sein.
Falls du mir irgendwelche Papers schicken kannst, wäre ich dir sehr dankbar.
Vielen Dank.
Raphaela
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
----- Original Message Follows -----
From: Max <rey.web.mail(a)gmail.com>
> Good afternoon to everybody!
>
> I have to deal with 2 big problems occurred when I run
> batmand 0.3.1 rv 1206 in meshboxs equipped with OpenWrt
> Kamikaze 8.09 I detect the following problems:
> 1) B.A.T.M.A.N. daemon only works whether launched in
> debug mode. I'm sure about this because I'm monitoring the
> network with a packet sniffer
...
>
> Best regards,
> Massimo Reineri
>
Hi Massimo,
Please don't blame me for this, but ...
did you start batman this way:
batman -d 1 ath0
I my case batman remain in foreground and if you send ^C it
stops
I used
batmand ath0
and then
batman -c -d 1
to see what happens to daemon in background
Ciao
Marco
----- Original Message Follows -----
From: Sven Eckelmann
> Solution was found today on irc.
...
> Regards,
> Sven
indeed it is !
thanks you so much for your support (expecially d0tslash on
irc #batman channel)
Ciao
Marco
Hi All,
I have 2 fonera router running openwrt and batman
wireless IP are 192.168.2.200 and 192.168.2.203
Routers have separete wifi and eth interfaces
Here it is openwrt network config file:
root@OpenWrt:~# cat /etc/config/network
config 'interface' 'loopback'
option 'ifname' 'lo'
option 'proto' 'static'
option 'ipaddr' '127.0.0.1'
option 'netmask' '255.0.0.0'
config 'interface' 'lan'
option 'ifname' 'eth0'
option 'type' 'bridge'
option 'proto' 'static'
option 'ifname' 'eth0'
option 'ipaddr' '192.168.0.203'
option 'netmask' '255.255.255.0'
option 'gateway' '192.168.0.1'
option 'dns' '192.168.0.1'
config 'interface' 'wifi'
option 'ifname' 'ath0'
option 'proto' 'static'
option 'ipaddr' '192.168.2.203'
option 'netmask' '255.255.255.0'
other router has br-lan 192.168.1.200 and 192.168.0.200
router 192.168.2.203 is connected to my ADSL modem (IP 192.168.0.1)
through ethernet port (br-lan in openwrt)
I would like to connect to internet (and at least to ADSL modem) but
something doesn't work...
I used this command on node 200:
root@OpenWrt:~# batmand ath0
I used this command on node 203:
root@OpenWrt:~# batmand -a 192.168.0.1/24 ath0
Interface activated: ath0
Using interface ath0 with address 192.168.2.203 and broadcast address
192.168.2.255
Here it is result from ping command issued from node 200
root@OpenWrt:~# ping -c 3 192.168.2.203
PING 192.168.2.203 (192.168.2.203): 56 data bytes
64 bytes from 192.168.2.203: seq=0 ttl=64 time=3.539 ms
64 bytes from 192.168.2.203: seq=1 ttl=64 time=2.875 ms
64 bytes from 192.168.2.203: seq=2 ttl=64 time=6.233 ms
--- 192.168.2.203 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 2.875/4.215/6.233 ms
root@OpenWrt:~# ping -c 3 192.168.0.203
PING 192.168.0.203 (192.168.0.203): 56 data bytes
64 bytes from 192.168.0.203: seq=0 ttl=64 time=4.981 ms
64 bytes from 192.168.0.203: seq=1 ttl=64 time=2.991 ms
64 bytes from 192.168.0.203: seq=2 ttl=64 time=3.119 ms
--- 192.168.0.203 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 2.991/3.697/4.981 ms
root@OpenWrt:~# ping -c 3 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes
--- 192.168.0.1 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
root@OpenWrt:~# ssh root(a)192.168.0.203
root(a)192.168.0.203's password:
BusyBox v1.11.2 (2008-10-07 13:44:59 UTC) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (8.09, r13118) ----------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
root@OpenWrt:~# ping -c 3 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes
64 bytes from 192.168.0.1: seq=0 ttl=255 time=4.106 ms
64 bytes from 192.168.0.1: seq=1 ttl=255 time=2.193 ms
64 bytes from 192.168.0.1: seq=2 ttl=255 time=2.187 ms
--- 192.168.0.1 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 2.187/2.828/4.106 ms
root@OpenWrt:~#
As you can see from node 200 I can ping node 203 (wireless interface
192.168.2.203 and wired interface 192.168.0.203), but I'm unable to go
through adsl modem (192.168.0.1)
But I can connect to adsl modem from node 203
Any Hints?
Thanks
Ciao
Marco