I have partial success on running it. But not yet.
Here is some of the config files:
etc/config/network:
# Network configuration file
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 proto static
option ipaddr 10.96.2.1
option netmask 255.255.255.192
config interface wifi0
option ifname ath0
option proto static
option ipaddr 5.0.4.1
option netmask 255.255.0.0
config interface wifi1
option ifname ath1
option proto static
option ipaddr 5.0.4.2
option netmask 255.255.0.0
config interface wan
option ifname eth1
option proto static
option ipaddr 192.168.10.2
option netmask 255.255.255.0
option gateway 192.168.10.1
/etc/config/batman
config batman general
option interface ath0
option announce 10.96.2.1/32
option gateway_class 2
option originator_interval
option preferred_gateway
option routing_class
option visualisation_srv
Other client node can ping 10.96.2.1; (and I can see 10.96.2.1 255.255.255.255 is on the routing table) but if I change announce network to 10.96.2.1/24 which is supposed to connect whole 10.96.2.x network while 10.96.2.1/32 only connect one node. But it does not work. (10.96.2.1 or 10.96.2.0 255.255.255.xxx is NOT on the routing table).
Any comments on it?
Many thanks. Have a nice holidays.
reference pdf file is here: https://www.open-mesh.net/batman/doc/batmand_howto.pdf page 7-8.
phuang wrote:Hi All,
Is there anybody have a real working configuration files with B.A.T.M.A.N on Kamikaze?
I have few IXP4xx boards running Kamikaze 7.07, and ipkg install batman from openwrt.org server.
Don't know how to configure them and enable them to work.
Some files like :
/etc/config/network;
/etc/config/wireless;
/etc/config/batman.
and many others.
Anybody can help? Please.