I just tried the last openwrt-kamikaze trunk with the svn v1109 of batman on ubnt NS2. Batmand die as follows:
 
 root@OpenWrt:~# batmand -d 4 -g 5000 ath2
WARNING: You are using the unstable batman branch. If you are interested in *using* batman get the latest stable release !
Interface activated: ath2
Using interface ath2 with address 5.0.0.1 and broadcast address 5.255.255.255
B.A.T.M.A.N. 0.3-beta (compatibility version 5)
[        80] Error - can't set IFFLAGS for gate0: Cannot assign requested address
[        80] Error - can't set IFFLAGS for gate0: Cannot assign requested address
 
 
dmesg output:
 
Atheros HAL provided by OpenWrt, DD-WRT and MakSat Technologies
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
ath_ahb: wifi0: Atheros 2315 WiSoC: mem=0xb0000000, irq=3
gpio-buttons driver version 0.1.1
batgat: [batgat_ioctl:224] name gate0 index 7
batgat: [batgat_ioctl:244] disconnect daemon
batgat: [packet_recv_thread:508] thread stop
batgat: [batgat_ioctl:256] thread shutdown
batgat: [batgat_ioctl:263] gate shutdown
batgat: [batgat_ioctl:277] device unregistered successfully
batgat: [batgat_ioctl:224] name gate0 index 8
batgat: [batgat_ioctl:244] disconnect daemon
batgat: [packet_recv_thread:508] thread stop
batgat: [batgat_ioctl:256] thread shutdown
batgat: [batgat_ioctl:263] gate shutdown
batgat: [batgat_ioctl:277] device unregistered successfully
batgat: [batgat_ioctl:224] name gate0 index 9
batgat: [batgat_ioctl:244] disconnect daemon
batgat: [packet_recv_thread:508] thread stop
batgat: [batgat_ioctl:256] thread shutdown
batgat: [batgat_ioctl:263] gate shutdown
batgat: [batgat_ioctl:277] device unregistered successfully
batgat: [batgat_ioctl:224] name gate0 index 10
batgat: [batgat_ioctl:244] disconnect daemon
batgat: [packet_recv_thread:508] thread stop
batgat: [batgat_ioctl:256] thread shutdown
batgat: [batgat_ioctl:263] gate shutdown
batgat: [batgat_ioctl:277] device unregistered successfully
root@OpenWrt:~#  

No iptables rules at all. All policy ACCEPT.
 
BATGAT dont crash anymore, 
 
 
 
Greetings.
Gustavo.