Hi all !
How to disable batgat ? It necessary recompiling batmand or is enough to unload batgat module ? I do that and batmand load but the gw never more assign ip trough the tunnel iface....
TIA
Hello Gustavo,
batman works fine without the batgat kernel module. The batgat kernel module will only accelerate the gateway functionality, but batman can do without it. If you don't want it, don't insmod batgat. Batman will detect it at runtime, no need to recompile. The gateway should still work, if it doesn't then you probably found a bug.
best regards, Simon
On Wed, Sep 10, 2008 at 01:41:38PM -0300, Gustavo Lindberg wrote:
Hi all !
How to disable batgat ? It necessary recompiling batmand or is enough to unload batgat module ? I do that and batmand load but the gw never more assign ip trough the tunnel iface....
TIA
B.A.T.M.A.N mailing list B.A.T.M.A.N@open-mesh.net https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n
Thanks for your answer. I am experimenting very frustrating issues with batgat. Currently i am testing the last trunk of kamikaze on ubiquity NS2. Batmand dies quietly with batgat loaded. I will prove the last kamikaze on two NS2 without batgat and inform the bug if this error happen again. Regards. Gustavo.
2008/9/10 Simon Wunderlich simon.wunderlich@s2003.tu-chemnitz.de
Hello Gustavo,
batman works fine without the batgat kernel module. The batgat kernel module will only accelerate the gateway functionality, but batman can do without it. If you don't want it, don't insmod batgat. Batman will detect it at runtime, no need to recompile. The gateway should still work, if it doesn't then you probably found a bug.
best regards, Simon
On Wed, Sep 10, 2008 at 01:41:38PM -0300, Gustavo Lindberg wrote:
Hi all !
How to disable batgat ? It necessary recompiling batmand or is enough to unload batgat module ? I do that and batmand load but the gw never more assign ip trough the
tunnel
iface....
TIA
B.A.T.M.A.N mailing list B.A.T.M.A.N@open-mesh.net https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIyCIZrzg/fFk7axYRAmBPAJ0VqKfKf2fajACbdC5q8Vcx4OCpdwCg9Urm XyHa09aZEEq1ghIW3LceQqM= =Adqg -----END PGP SIGNATURE-----
B.A.T.M.A.N mailing list B.A.T.M.A.N@open-mesh.net https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n
On Thursday, 11. September 2008 05:00:59 Gustavo Lindberg wrote:
I am experimenting very frustrating issues with batgat. Currently i am testing the last trunk of kamikaze on ubiquity NS2. Batmand dies quietly with batgat loaded. I will prove the last kamikaze on two NS2 without batgat and inform the bug if this error happen again.
I think it would be intersting to find out why batmand dies. May be you could produce a core dump ? Indeed, we have a problem if the batman daemon dies without telling the module. What about adding a keep alive + timeout in the module ?
Greetings, Marek
batgat crashed out, and unloaded without batgat batman routes never stay
using openwrt trunk, so whats the best solution
On Thu, Sep 11, 2008 at 10:01 AM, Marek Lindner lindner_marek@yahoo.dewrote:
On Thursday, 11. September 2008 05:00:59 Gustavo Lindberg wrote:
I am experimenting very frustrating issues with batgat. Currently i am testing the last trunk of kamikaze on ubiquity NS2. Batmand dies quietly with batgat loaded. I will prove the last kamikaze on two NS2 without batgat and inform the bug if this error happen again.
I think it would be intersting to find out why batmand dies. May be you could produce a core dump ? Indeed, we have a problem if the batman daemon dies without telling the module. What about adding a keep alive + timeout in the module ?
Greetings, Marek _______________________________________________ B.A.T.M.A.N mailing list B.A.T.M.A.N@open-mesh.net https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n
On Thursday, 11. September 2008 12:22:42 Outback Dingo wrote:
batgat crashed out, and unloaded without batgat batman routes never stay
That does not look like a crash ?! Is your log related to the issue mentioned by the original reporter ? He said his batmand crashes and the kernel module is still alive.
To debug your issue a tcpdump on UDP port 4306 would help. So we can see what packages are sent forth and back.
Greetings, Marek
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, Keep live.
Greetings. Gustavo.
2008/9/11 Marek Lindner lindner_marek@yahoo.de
On Thursday, 11. September 2008 05:00:59 Gustavo Lindberg wrote:
I am experimenting very frustrating issues with batgat. Currently i am testing the last trunk of kamikaze on ubiquity NS2. Batmand dies quietly with batgat loaded. I will prove the last kamikaze on two NS2 without batgat and inform the bug if this error happen again.
I think it would be intersting to find out why batmand dies. May be you could produce a core dump ? Indeed, we have a problem if the batman daemon dies without telling the module. What about adding a keep alive + timeout in the module ?
Greetings, Marek _______________________________________________ B.A.T.M.A.N mailing list B.A.T.M.A.N@open-mesh.net https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n
On Friday, 12. September 2008 06:18:58 Gustavo Lindberg wrote:
B.A.T.M.A.N. 0.3-beta (compatibility version 5)
It seems you are using an older version of the daemon together with the kernel module. "0.3-beta" may not be compatible with the latest kernel module.
[ 80] Error - can't set IFFLAGS for gate0: Cannot assign requested address [ 80] Error - can't set IFFLAGS for gate0: Cannot assign requested address
It does not crash here but exits because it can't set the IP address.
Please update to the latest versions first.
Greetings, Marek
On Friday 12 September 2008 04:41:33 Marek Lindner wrote:
On Friday, 12. September 2008 06:18:58 Gustavo Lindberg wrote: [...]
[ 80] Error - can't set IFFLAGS for gate0: Cannot assign requested address [ 80] Error - can't set IFFLAGS for gate0: Cannot assign requested address
It does not crash here but exits because it can't set the IP address.
Please update to the latest versions first.
It is a bug "introduced" by linux v2.6.24-rc1-1-gbada339. I will send a patch after I've done some other stuff.
Best regards, Sven Eckelmann
b.a.t.m.a.n@lists.open-mesh.org