[B.A.T.M.A.N.] faulty dev-batman-adv.ipk
by Bastian Bittorf
The data.tar.gz in the archive is
not build correct. All file-paths must
be relative, not absolute:
./usr/sbin/batmand-adv (at the moment)
usr/sbin/batmand-adv (correct)
At the first look that doesn't seem to be
a problem, but the packet-manager does
not accept that. The files are on the box,
but the manager thinks "not fully installed"
and an "ipkg files batman-adv" leads to
zero output.
Thanks in advance for fixing that 8-)
bye, Bastian Bittorf
12 years, 10 months
[B.A.T.M.A.N.] Memory Leak-batmand-exp rev1003
by Freifunk Dresden
Hi,
I have found that the batmand-experimental (rev1003) still consumes more
and more memory if you have specified the -r1 or -r2 options. I haven't tried
-r3.
If I turn off gateway with option -r0 the memory consumtion is constant.
It seems that the memory increase is in steps of 16kbyte but the time
when this
happens is different.
the syslog does not show any hint despite of several tries to name the bat0
interface (about ever two minutes):
Mar 16 14:50:49 (none) kern.err bmxd[2133]: Startup parameters:
/sbin/batmand -s 10.12.0.1 -a 10.12.10.16/28 -r 1 --t 63
--no-unreachable-rule --no-throw-rules --no-prio-rules
--one-way-tunnel 1 --two-way-tunnel 0 eth1 tbb /t 1 /i /A
Mar 16 14:52:27 (none) kern.err bmxd[2398]: Trying to name tunnel to bat0 ...
Mar 16 14:52:27 (none) kern.err bmxd[2398]: success!
Mar 16 14:54:04 (none) kern.err bmxd[2601]: Trying to name tunnel to bat0 ...
Mar 16 14:54:04 (none) kern.err bmxd[2601]: success!
Both interfaces eth1 and tbb are active and conntected.
The WRT54 that has the option -r0 set, has a constant memory consumtion.
During this test I got a very strange message on the wrt that only has
the eth1
interface. There is no other router with the same ip address.
Mar 16 14:52:21 (none) kern.err bmxd[21119]: Drop packet: DAD alert!
OGM from 10.12.10.17 via NB 10.12.10.17 with out of range seqno! rcvd
sqno 28347, last valid seqno: 23290 at 6096067! Maybe
two nodes are using this IP!? Waiting 0 more seconds before r
Mar 16 14:52:22 (none) kern.err bmxd[21119]: Drop packet: DAD alert!
OGM from 10.12.10.17 via NB 10.12.10.17 with out of range seqno! rcvd
sqno 28348, last valid seqno: 23290 at 6096067! Maybe
two nodes are using this IP!? Waiting 0 more seconds before r
Setup:
laptop-tbb-----------tbb[10.12.0.17]eth1--------eth1[10.12.10.1]
| | |
+------------tbb[10.12.10.17]eth1---------+
/stephan
12 years, 10 months
[B.A.T.M.A.N.] batman@gmane?
by Lorenz Schori
Hi All
I'd like to read the b.a.t.m.a.n-list over at gmane.org, e.g. in
gmane.org.freifunk.batman. I'll care about registering and stuff if
nobody speaks up.
Lorenz
12 years, 10 months
[B.A.T.M.A.N.] batman-adv / mac-addresses without leading zeros
by Bastian Bittorf
during batch/debug-mode the output of all
mac-adresses is without leading zeros, e.g.
01:02:03:04:05:06 = 1:2:3:4:5:6
we would like to replace mac-addresses with
hostnames [1] for better understanding of
the debug-output. Would it be a great problem
to strictly output full mac-addresses?
bye, Bastian Bittorf
[1]
each router 8-) has a list with
mac = ip = hostname
12 years, 10 months
[B.A.T.M.A.N.] Gateway routing / finding
by dondavis@reglue.org
Yesterday, I thought I had a basic understanding of what was going on and
how to do it.
So this morning I woke up and decided to improve it with the individual
ip's for each interface.
killall batmand
iwconfig wl0 channel 10 essid project mode Ad-Hoc
ifconfig eth0 103.0.0.81 netmask 255.0.0.0 broadcast 103.255.255.255
ifconfig eth0.0 103.0.0.82 netmask 255.0.0.0 broadcast 103.255.255.255
#ifconfig eth0.1 103.0.0.83 netmask 255.0.0.0 broadcast 103.255.255.255
ifconfig wl0 103.0.0.84 netmask 255.0.0.0 broadcast 103.255.255.255
ifconfig br-lan 103.0.0.85 netmask 255.0.0.0 broadcast 103.255.255.255
iptables -t filter -I INPUT 2 -p udp --dport 4305 --sport 4305 -j ACCEPT
iptables -t filter -I INPUT 2 -p udp --dport 4306 --sport 4306 -j ACCEPT
iptables -t filter -I INPUT 2 -p udp --dport 4307 --sport 4307 -j ACCEPT
iptables -t filter -I OUTPUT 2 -p udp --dport 4305 --sport 4305 -j ACCEPT
iptables -t filter -I OUTPUT 2 -p udp --dport 4306 --sport 4306 -j ACCEPT
iptables -t filter -I OUTPUT 2 -p udp --dport 4307 --sport 4307 -j ACCEPT
batmand eth0 eth0.0 wl0 br-lan &
Yesterday I had all the batmannodes with internet connectivity. I did
notice though that if changed gateways they weren't picking up on it; so I
was going to try out batman III once I clarified for myself what was going
on. So I tried the aforementioned script. It didn't work. So I thought
"ah ha, it might help the interfaces to share ip addresses because some
piece is not being found." So I went back to what I thought was a working
script.
killall batmand
iwconfig wl0 channel 10 essid project mode Ad-Hoc
ifconfig eth0 103.0.0.8 netmask 255.0.0.0 broadcast 103.255.255.255
ifconfig eth0.0 103.0.0.8 netmask 255.0.0.0 broadcast 103.255.255.255
# ifconfig eth0.1 103.0.0.8 netmask 255.0.0.0 broadcast 103.255.255.255
ifconfig wl0 103.0.0.8 netmask 255.0.0.0 broadcast 103.255.255.255
iptables -t filter -I INPUT 2 -p udp --dport 4305 --sport 4305 -j ACCEPT
iptables -t filter -I INPUT 2 -p udp --dport 4306 --sport 4306 -j ACCEPT
iptables -t filter -I INPUT 2 -p udp --dport 4307 --sport 4307 -j ACCEPT
iptables -t filter -I OUTPUT 2 -p udp --dport 4305 --sport 4305 -j ACCEPT
iptables -t filter -I OUTPUT 2 -p udp --dport 4306 --sport 4306 -j ACCEPT
iptables -t filter -I OUTPUT 2 -p udp --dport 4307 --sport 4307 -j ACCEPT
batmand br-lan &
that didn't work so I killalled batmand and then
batmand -d 3 -r 3 -p 103.0.0.3 wl0 br-lan
I was wrong.
Even though I see:
Using interface wl0 with address 103.0.0.8 and broadcast address
103.255.255.255
Using interface br-lan with address 103.0.0.8 and broadcast address
103.0.0.255
debug level: 3
routing class: 3
preferred gateway: 103.0.0.3
Adding route to 103.0.0.3 via 0.0.0.0 (br-lan)
Adding route to 10.0.2.122/32 via 103.0.0.3 (br-lan)
It has found the internet gateway 10.0.2.122; it can't reach the internet.
now, I'm going to:
remove the x-wrt webif-batman stuff (just in case)
look for batman config files
reread the openmesh.net stuff
reinstall batman with the pkg's from openmesh.net
possible try out batman III
thoughts? suggestions?
cheers,
D Davis
12 years, 10 months