Hi all,
a basic question for you guys...
How can I compile the stuff https://dev.open-mesh.net/svn/batman/trunk/batman-adv-kernelland/ into openwrt...I would like to try the layer 2 version on my fonera router....
I don't understand if I have to integrate it in a package inside the menuconfig or I can build everything off from the standard configuration...
>From Makefile I understand that the module is not actually integrated into the firmware but it is compiled outside of the menuconfig and then insmod on the target...
I need some hint to create a right build environment...
Thank you in advance
Ciao, Carlo.
_________________________________________________________________
Scarica GRATIS le tue emoticon preferite!
http://intrattenimento.it.msn.com/emoticon/
Hi,
I am testing out batman 0.3-beta rv963 with openwrt-trunk (r10219) .
I could get the expected results when i am using tun instead of kmod-batgat
.
but when i use kmod-batgat even tho the tunnel gate0 is established the
routing rules and firewall is same as with kmod-tun i cant get traffic thru
gate0
My Setup:
---- Wired
- - - - WiFi
192.168.111.1-----(WAN)-192.168.111.74(Gateway)10.1.125.158 - - - - - -
10-1-125-158 (Node2)
*With kmod-batgat:*
from
ping 192.168.111.1 -I gate0
##on gateway
root@10-1-125-158:~# lsmod |grep batgat
batgat 10976 1
##Ping from Node
root@Node2:~# ping 192.168.111.1 -I gate0
PING 192.168.111.1 (192.168.111.1): 56 data bytes
--- 192.168.111.1 ping statistics ---
46 packets transmitted, 0 packets received, 100% packet loss
##tcpdump on node
root@10-1-125-158:~# tcpdump -i gate0 proto \\icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on gate0, link-type EN10MB (Ethernet), capture size 96 bytes
0 packets captured
0 packets received by filter
0 packets dropped by kernel
*With kmod-tun:*
root@10-1-125-158:/# lsmod |grep tun
tun 6592 1
*##on Node*
batman -cd2
Gateway (#/255) Nexthop [outgoingIF], gw_class ... [
B.A.T.M.A.N. 0.3-beta rv963, MainIF/IP: ath0/10.1.124.248, UT: 0d 0h52m]
=> 10.1.125.158 (255 + 0) 10.1.125.158 [ ath0], gw_class 49 -
4MBit/1024KBit, reliability: 0
*##Ping from Node*
root@Node2:~# ping 192.168.111.1
PING 192.168.111.1 (192.168.111.1): 56 data bytes
64 bytes from 192.168.111.1: seq=0 ttl=63 time=8.473 ms
64 bytes from 192.168.111.1: seq=1 ttl=63 time=6.585 ms
*##tcpDump on gateway's gate0*
root@10-1-125-158:/# tcpdump -i gate0 proto \\icmp
tcpdump: WARNING: arptype 65534 not supported by libpcap - falling back to
cooked socket
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on gate0, link-type LINUX_SLL (Linux cooked), capture size 96
bytes
00:50:45.798376 IP 169.254.0.1 > 192.168.111.1: ICMP echo request, id 1004,
seq 0, length 64
00:50:46.614360 IP 192.168.111.1 > 169.254.0.1: ICMP echo reply, id 1004,
seq 0, length 64
00:50:46.805310 IP 169.254.0.1 > 192.168.111.1: ICMP echo request, id 1004,
seq 1, length 64
00:50:46.806369 IP 192.168.111.1 > 169.254.0.1: ICMP echo reply, id 1004,
seq 1, length 64
*##tcpDump on gateway's eth0*
root@10-1-125-158:/# tcpdump -i eth0 proto \\icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
00:48:29.108148 IP 192.168.111.74 > 192.168.111.1: ICMP echo request, id
1003, seq 6, length 64
00:48:29.145367 IP 192.168.111.1 > 192.168.111.74: ICMP echo reply, id 1003,
seq 6, length 64
Also at times ip rules dont appear on node and i have to restart batmand to
get the network working.
--
Vinay Menon
Hey,
I found out that the batman-exp daemon goes crazy when its internal life-time
variable overflows. This will happen after 49 days, 17 hours, 2 minutes, and
48 seconds (which corresponds to 2^32 milliseconds). Unfortunately, its
behavior afterwards can be anything between hanging around and doing nothing
and an endless loop of sending packets. The problem is fixed with revision
972.
If you are running batman-exp I strongly suggest to update.
ciao,
axel
Hi,
I have implemented a mechanism that checks for a working internet connection.
Depending on this batmand is called either with options "-c -b -r2" or
"-c -b -g 1024/1024".
Most often when batmand is called with "-c -b -g 1024/1024" batmand
terminates:
batmand -c -b -g 1024/1024
WARNING: You are using BatMan-eXp 0.3-alpha (compatibility version 10) !
Connection terminated by remote host.
I have to restart batmand, but all routes are removed and batman loses
its data. I also have to check for the internet connection again and must hope
that batmand does not terminate.
Batmand does not terminate every time.
Any ideas?
Tested rev. 966 (batman-experimental)
/Stephan
Hi,
finally I finished updating all the batman OpenWRT packages. Additionally, you
can find the tunnel kernel modul, the battools and batman advanced (layer 2)
kernel module in OpenWRT now.
You need the latest trunk to get these updates. We are already working on a
backport to 07.09 kamikaze but I'm not sure that these files are included in
the official SVN repository.
Feel free to contact me if you have any thoughts / wishes / bugs on that.
Greetings,
Marek
Hello,
I have a problem where batman (rev871 and rev908) consumes more and
more memory
until the router has no memory.
I have added the output of the "top" command and the command line
arguments of my setup.
(WRT 10-1).....wlan.......(wrt 10-2) =======tinc vpn=====(laptop debian 0-1)
kernel 2.4.32 kernel 2.4.32 kernel 2.6
I have seen that one batman thread changes the PID where the other
stay the same.
Below you will find the "top" output for batmand when it was started and after
about one hour.
The batmand running on kernal 2.6 does not increment its memory needs.
Perhaps there are some allocation of memory that is not freed because of the
arguments of the batmand.
There is no special traffic on those nodes, they just are connected.
Any Ideas?
Regards
Stephan
linux 2.6. (0-1)
/usr/bin/batmand -g 1024/200 -a 104.61.0.0/16 -a 141.56.20.5/32 -s
10.12.0.1 --no-unreachable-rule
--no-throw-rules --no-prio-rules --resist-blocked-send wifi tbb /t 1 /i /A
wifi is a unused bridge
1 batmand
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6612 root 15 0 19136 684 532 S 0.3 0.1 0:27.85 batmand
####################################################################
linux 2.4.32 (wrt GL 10-2)
/sbin/batmand -s 10.12.0.1 -a 10.12.10.16/28 -r 2 --t 63
--no-unreachable-rule --no-throw-rules --no-prio-rules
--resist-blocked-send eth1 tbb /t 1 /i /A
3 batmands
PID PPID USER STAT VSZ %MEM %CPU COMMAND
847 846 root S 1196 4% 0% /sbin/batmand -s 10.12.0.1
-a 10.12.10.16/28 -r 2 --t 63 --no-unreachable-rule
3937 847 root S 1196 4% 0% /sbin/batmand -s 10.12.0.1
-a 10.12.10.16/28 -r 2 --t 63 --no-unreachable-rule
848 847 root S 1196 4% 0% /sbin/batmand -s 10.12.0.1
-a 10.12.10.16/28 -r 2 --t 63 --no-unreachable-rule
----------
848 847 root S 2076 7% 0% /sbin/batmand -s 10.12.0.1
-a 10.12.10.16/28 -r 2 --t 63 --no-unreachable-rule
847 846 root S 2076 7% 0% /sbin/batmand -s 10.12.0.1
-a 10.12.10.16/28 -r 2 --t 63 --no-unreachable-rule
22570 847 root S 2076 7% 0% /sbin/batmand -s 10.12.0.1
-a 10.12.10.16/28 -r 2 --t 63 --no-unreachable-rule
####################################################################
linux 2.4.32 (wrt GL 10-1)
/sbin/batmand -s 10.12.0.1 -a 10.12.10.0/28 -r 2 --t 63
--no-unreachable-rule --no-throw-rules --no-prio-rules
--resist-blocked-send eth1
4 batmands
PID PPID USER STAT VSZ %MEM %CPU COMMAND
837 1 root S 1292 9% 0% /sbin/batmand -s 10.12.0.1
-a 10.12.10.0/28 -r 2 --t 63 --no-unreachable-rule -
838 837 root S 1292 9% 0% /sbin/batmand -s 10.12.0.1
-a 10.12.10.0/28 -r 2 --t 63 --no-unreachable-rule -
11854 838 root S 1292 9% 0% /sbin/batmand -s 10.12.0.1
-a 10.12.10.0/28 -r 2 --t 63 --no-unreachable-rule -
839 838 root S 1292 9% 0% /sbin/batmand -s 10.12.0.1
-a 10.12.10.0/28 -r 2 --t 63 --no-unreachable-rule -
---------
837 1 root S 2172 15% 0% /sbin/batmand -s 10.12.0.1
-a 10.12.10.0/28 -r 2 --t 63 --no-unreachable-rule -
838 837 root S 2172 15% 0% /sbin/batmand -s 10.12.0.1
-a 10.12.10.0/28 -r 2 --t 63 --no-unreachable-rule -
30544 838 root S 2172 15% 0% /sbin/batmand -s 10.12.0.1
-a 10.12.10.0/28 -r 2 --t 63 --no-unreachable-rule -
839 838 root S 2172 15% 0% /sbin/batmand -s 10.12.0.1
-a 10.12.10.0/28 -r 2 --t 63 --no-unreachable-rule -
Hi,
yesterday night I've uploaded 0.3 svn r875 packages to Debian experimental,
they are also available at http://layer-acht.org/batmand/ for etch and sid.
Feedback welcome!
regards,
Holger
Hallo,
habe Deine Mail-Addresse nirgends gefunden, habe Chaosradio gehört
und da hattest Du gesagt, daß Du keine Fonera besitzt und deswegen
Multi-Mode/adhoc damit nicht testen konntest .
Ich habe von Fon zu Weihnachten drei Foneras geschenkt bekommen (!) -
war so ne Sonderaktion.
Würde Dir gerne eine davon abgeben - falls noch Interesse besteht
setz Dich einfach mit mir in Verbindung.
Grüße,
Murphy