* [B.A.T.M.A.N.] BATGAT
@ 2008-09-10 16:41 Gustavo Lindberg
2008-09-10 19:38 ` Simon Wunderlich
0 siblings, 1 reply; 9+ messages in thread
From: Gustavo Lindberg @ 2008-09-10 16:41 UTC (permalink / raw)
To: B.A.T.M.A.N
[-- Attachment #1: Type: text/plain, Size: 198 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 239 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [B.A.T.M.A.N.] BATGAT
2008-09-10 16:41 [B.A.T.M.A.N.] BATGAT Gustavo Lindberg
@ 2008-09-10 19:38 ` Simon Wunderlich
2008-09-10 21:00 ` Gustavo Lindberg
0 siblings, 1 reply; 9+ messages in thread
From: Simon Wunderlich @ 2008-09-10 19:38 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
[-- Attachment #1: Type: text/plain, Size: 837 bytes --]
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
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [B.A.T.M.A.N.] BATGAT
2008-09-10 19:38 ` Simon Wunderlich
@ 2008-09-10 21:00 ` Gustavo Lindberg
2008-09-11 3:01 ` Marek Lindner
0 siblings, 1 reply; 9+ messages in thread
From: Gustavo Lindberg @ 2008-09-10 21:00 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
[-- Attachment #1: Type: text/plain, Size: 1614 bytes --]
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
>
>
[-- Attachment #2: Type: text/html, Size: 2381 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [B.A.T.M.A.N.] BATGAT
2008-09-10 21:00 ` Gustavo Lindberg
@ 2008-09-11 3:01 ` Marek Lindner
2008-09-11 4:22 ` Outback Dingo
2008-09-11 22:18 ` Gustavo Lindberg
0 siblings, 2 replies; 9+ messages in thread
From: Marek Lindner @ 2008-09-11 3:01 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [B.A.T.M.A.N.] BATGAT
2008-09-11 3:01 ` Marek Lindner
@ 2008-09-11 4:22 ` Outback Dingo
2008-09-11 5:47 ` Marek Lindner
2008-09-11 22:18 ` Gustavo Lindberg
1 sibling, 1 reply; 9+ messages in thread
From: Outback Dingo @ 2008-09-11 4:22 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
[-- Attachment #1: Type: text/plain, Size: 1018 bytes --]
http://pastebin.com/m1677070a
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.de>wrote:
> 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
>
[-- Attachment #2: Type: text/html, Size: 1654 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [B.A.T.M.A.N.] BATGAT
2008-09-11 4:22 ` Outback Dingo
@ 2008-09-11 5:47 ` Marek Lindner
0 siblings, 0 replies; 9+ messages in thread
From: Marek Lindner @ 2008-09-11 5:47 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
On Thursday, 11. September 2008 12:22:42 Outback Dingo wrote:
> http://pastebin.com/m1677070a
>
> 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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [B.A.T.M.A.N.] BATGAT
2008-09-11 3:01 ` Marek Lindner
2008-09-11 4:22 ` Outback Dingo
@ 2008-09-11 22:18 ` Gustavo Lindberg
2008-09-12 2:41 ` Marek Lindner
1 sibling, 1 reply; 9+ messages in thread
From: Gustavo Lindberg @ 2008-09-11 22:18 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
[-- Attachment #1: Type: text/plain, Size: 3043 bytes --]
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
>
[-- Attachment #2: Type: text/html, Size: 4151 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [B.A.T.M.A.N.] BATGAT
2008-09-11 22:18 ` Gustavo Lindberg
@ 2008-09-12 2:41 ` Marek Lindner
2008-09-12 14:49 ` Sven Eckelmann
0 siblings, 1 reply; 9+ messages in thread
From: Marek Lindner @ 2008-09-12 2:41 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
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
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2008-09-12 14:49 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-10 16:41 [B.A.T.M.A.N.] BATGAT Gustavo Lindberg
2008-09-10 19:38 ` Simon Wunderlich
2008-09-10 21:00 ` Gustavo Lindberg
2008-09-11 3:01 ` Marek Lindner
2008-09-11 4:22 ` Outback Dingo
2008-09-11 5:47 ` Marek Lindner
2008-09-11 22:18 ` Gustavo Lindberg
2008-09-12 2:41 ` Marek Lindner
2008-09-12 14:49 ` Sven Eckelmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox