Seems like the gateway still crashes with clients connected  as -r 2 but after a long time.I dont see a log message nither do i know when it crashed but the non gateway node have been running for almost 48+ hrs without any down time on lan.

Regards,

On Tue, Apr 15, 2008 at 4:04 AM, Vinay Menon <vinaymenon@gmail.com> wrote:
Hello,

I too am stuck at a similar case would where in my remote node keeps jumping on and off the gateway even tho it has better signal strength form node1 .
i have node running as -r 2 atm when i had them on -r 3 the batman gateway crashed (batmand exited ungracefully leaving routes in table 66). now with -r2 it does not crash but keeps jumping at time.

I am using batman (r 963) on kamikaze 7.09 with kernel 2.6.21 and tun on gateway .i only have batman as routing daemon and have masqueraded output interfaces (referring to a previous solution for the -r 3 crash) .

Regards,
Vinay



On Mon, Apr 14, 2008 at 11:12 AM, Philippe April <isf_lists@philippeapril.com> wrote:
Hi!

I setup 3 nodes on OpenWRT Kamikaze and B.A.T.M.A.N 0.3, using atheros chipset.

My gateway is started this way: batmand -g 5Mbit/1Mbit -a some_subnet... ath0
My nodes: batmand -r 2 -a other_subnets... ath0

Let's call them "gateway", "node1", "node2".

"gateway" is in my basement.

"node1" is upstairs.

"node2" is in the shed.

node1's connection to gateway is strong.
node2's connection to gateway is very weak, about 50% packet loss.
node2's connection to node1 is strong.

Knowing this: does anybody have a clue to why my node2 keeps switching from node1 to gateway? I connect to node2 and ping on the internet constantly, I see the node switching back and forth from node1 to gateway, sending some of my packets to one, or the other... basically the user experience is horrible.

I was missing FW masquerading rules until yesterday, things were not working at all when I was not going through the gateway directly, but that "seems" to be resolved, now packets go by "sometimes". If node2 could stick to using node1, it would be easier to troubleshoot.

I'm trying to move my nodes as far as I can so it can't connect to the gateway directly at all from node2 but the shed does not seem to be far enough :)

Thanks for any enlightenment...

Philippe April
_______________________________________________
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



--
Vinay Menon



--
Vinay Menon