public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* Re: [B.A.T.M.A.N.] batman-adv on different archs
@ 2010-01-19 14:58 "Juha Ylönen"
  2010-01-20  2:15 ` Marek Lindner
  0 siblings, 1 reply; 33+ messages in thread
From: "Juha Ylönen" @ 2010-01-19 14:58 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

[-- Attachment #1: Type: text/plain, Size: 242 bytes --]

And a new try to send the log, previous was rather big and didn't get sent. This one is shorter and missing all the multicast traffic.

-Juha
-- 
Preisknaller: GMX DSL Flatrate für nur 16,99 Euro/mtl.!
http://portal.gmx.net/de/go/dsl02

[-- Attachment #2: ARM-batman-wireshark.log --]
[-- Type: application/octet-stream, Size: 1982 bytes --]

^ permalink raw reply	[flat|nested] 33+ messages in thread
* Re: [B.A.T.M.A.N.] batman-adv on different archs
@ 2010-01-24 21:17 "Juha Ylönen"
  2010-01-24 22:03 ` Sven Eckelmann
  0 siblings, 1 reply; 33+ messages in thread
From: "Juha Ylönen" @ 2010-01-24 21:17 UTC (permalink / raw)
  To: b.a.t.m.a.n

[-- Attachment #1: Type: text/plain, Size: 1330 bytes --]

-------- Original-Nachricht --------
> Datum: Fri, 22 Jan 2010 13:16:09 +0100
> Von: Sven Eckelmann <sven.eckelmann@gmx.de>
>
> Cannot find the driver at http://www.csr.com/products/UF1050_over.htm

They have files at csrsupport.com, but I can't actually find the driver sources there either. But the LICENSE file included says they're GPLv2. I'll check from the guy who I got the sources from, since this is a bit confusing.

> So please test and capture 
>  * rawsend from ARM
>  * ping between laptop and arm 
>  * a "ping -s 1" between laptop and arm
> 
> I hope that tests help to see were the problem really is. If the ping -s 1
> works, can you please also capture a some packets of batman-adv 0.2?

Logs for all cases attached. I pinged from arm to laptop, would you have liked it in the other direction too? 

Rawsend from arm->laptop didn't work, the packets end up in the laptop as llc packets, so apparently they were mangled by the driver. rawsend from laptop->arm worked fine, which is included in the rawsend.log file.

I'll try out with a later driver version (it has bad stability issues, which is why we use older version in the device).

-Juha

-- 
Haiti-Nothilfe! Helfen Sie per SMS: Sende UIHAITI an die Nummer 81190.
Von 5 Euro je SMS (zzgl. SMS-Gebühr) gehen 4,83 Euro an UNICEF.

[-- Attachment #2: rawsend2.log --]
[-- Type: application/octet-stream, Size: 1494 bytes --]

[-- Attachment #3: rawsend.log --]
[-- Type: application/octet-stream, Size: 604 bytes --]

[-- Attachment #4: ping-s1.log --]
[-- Type: application/octet-stream, Size: 3796 bytes --]

[-- Attachment #5: ping.log --]
[-- Type: application/octet-stream, Size: 3900 bytes --]

[-- Attachment #6: batman-lvl3-traffic.log --]
[-- Type: application/octet-stream, Size: 4356 bytes --]

^ permalink raw reply	[flat|nested] 33+ messages in thread
* Re: [B.A.T.M.A.N.] batman-adv on different archs
@ 2010-01-21 19:02 "Juha Ylönen"
  2010-01-22 12:16 ` Sven Eckelmann
  0 siblings, 1 reply; 33+ messages in thread
From: "Juha Ylönen" @ 2010-01-21 19:02 UTC (permalink / raw)
  To: b.a.t.m.a.n



-------- Original-Nachricht --------
> Datum: Thu, 21 Jan 2010 18:57:52 +0100
> Von: Sven Eckelmann <sven.eckelmann@gmx.de>
> Yes, but doesn't explain why there is no batman-adv packet from ARM
> reaching 
> the laptop and the other way around. batman-adv is a layer bellow and has 
> nearly nothing to do with the stuff which runs over it (the only thing
> which 
> accesses the layer over it should be the gateway stuff).
> 
> @Juha, I found time and looked a little bit at the stuff which came from
> the 
> ARM in the last log. Wireshark means that it is a Raw ethernet packet. And
> thinks that the stuff attached is a IPX packet.... but reading the raw
> data 
> reveals that it should be the batman-packet.... with extra data between
> the 
> ethernet header and the actual batman-adv packet. So the problem looks to
> me a 
> little bit like hardware of the arm does something very stupid to our
> packets.
> 
> I've attach a small picture to explain what I mean. The green part it the 
> normal receiver and sender stuff for ethernet. The orange part is not 
> explainable for me... Have we forgot some alignment stuff? Is your card
> adding 
> some extra data? I am not sure what that could mean right now.
> The red thing is the ethernet type for batman-adv, pink the type of
> batman-adv 
> packet, yellow the protocol version and light blue the flags for that
> packet. 
> I don't know more color - so just marked the rest of the packet blue. The 
> amount of bytes are correct and it looks fine to me.
> 
> As anyone a good idea? Maybe a small capture of a normal ping test and a 
> rawsend test between the both could help to understand the problem better.
> And 
> can you maybe tell us what kind of hardware is used inside the arm for the
> eth1 device?

Hi,

This looks interesting, I've had problems with the wlan driver before but it has been quite stable for a while. Wlan chip in use is CSR UniFi 1050, with driver compiled from CSR supplied sources. 

I'll try your rawsend and ping capturing during the weekend. Sorry for the bother in advance if this turns out to be due the crappy wlan driver (as said, it has been giving problems earlier, though I haven't seen any packet mangling before).

-Juha

-- 
Haiti-Nothilfe! Helfen Sie per SMS: Sende UIHAITI an die Nummer 81190.
Von 5 Euro je SMS (zzgl. SMS-Gebühr) gehen 4,83 Euro an UNICEF.

^ permalink raw reply	[flat|nested] 33+ messages in thread
* [B.A.T.M.A.N.] batman-adv on different archs
@ 2010-01-18 11:27 "Juha Ylönen"
  2010-01-18 11:39 ` Andrew Lunn
  2010-01-18 11:42 ` Marek Lindner
  0 siblings, 2 replies; 33+ messages in thread
From: "Juha Ylönen" @ 2010-01-18 11:27 UTC (permalink / raw)
  To: b.a.t.m.a.n

Hi,

I've been trying to get my embedded project included in my mesh, but no success yet. Could anyone give a pointers what is going wrong?

I have batman-adv compiled on my laptop, and also for testing purposes on another laptop, they see each other and everything is fine. I used the same sources and compiled it cleanly on each.

The problem comes when I try to add my little ARM based linux box onto the group. Again same sources used (latest stable from the wiki), crosscompiles fine and I can load the module as normal on the box. Setup goes as it should on both the device and the laptop, and both systems seems to be running smoothly. But my laptop can only see the other laptop, and the device doesn't see anyone. The wireless net is working and I can ping each device directly if I assign IP's to the 'real' interfaces, but through bat0 nothing is found. Any idea what is going wrong?

---

I've also played with the batman daemon on the device, with it I the laptop and device can see each other just fine. The problem there is that apparently it doesn't really support multicast forwarding? i.e. If I have 3 devices A-B-C, where A does not have direct link to C (batman routes through B), sending a multicast from A can be received in B and vice versa, also same for C-B, but no messages from A to C. Will I have the same problem with batman-adv? Or can this be fixed on the daemon?

Best Regards
   Juha
-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2010-01-24 22:03 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-19 14:58 [B.A.T.M.A.N.] batman-adv on different archs "Juha Ylönen"
2010-01-20  2:15 ` Marek Lindner
2010-01-20  9:29   ` "Juha Ylönen"
2010-01-20  9:42     ` Marek Lindner
2010-01-20  9:49     ` Andrew Lunn
2010-01-20  9:51     ` Sven Eckelmann
2010-01-20 13:12   ` "Juha Ylönen"
2010-01-20 22:32     ` Marek Lindner
2010-01-21 14:12       ` "Juha Ylönen"
2010-01-21 15:29         ` Sven Eckelmann
2010-01-21 17:17         ` Gus Wirth
2010-01-21 18:32           ` Sven Eckelmann
2010-01-22 18:26             ` Simon Wunderlich
2010-01-24 21:19               ` "Juha Ylönen"
  -- strict thread matches above, loose matches on Subject: below --
2010-01-24 21:17 "Juha Ylönen"
2010-01-24 22:03 ` Sven Eckelmann
2010-01-21 19:02 "Juha Ylönen"
2010-01-22 12:16 ` Sven Eckelmann
2010-01-18 11:27 "Juha Ylönen"
2010-01-18 11:39 ` Andrew Lunn
2010-01-18 13:29   ` "Juha Ylönen"
2010-01-18 13:38     ` Marek Lindner
2010-01-18 13:51       ` Andrew Lunn
2010-01-19  7:46         ` "Juha Ylönen"
2010-01-19  7:43       ` "Juha Ylönen"
2010-01-19 12:07         ` Marek Lindner
2010-01-19 14:51           ` "Juha Ylönen"
2010-01-19 15:11             ` Sven Eckelmann
     [not found]               ` <20100119153233.319500@gmx.net>
2010-01-19 17:12                 ` Sven Eckelmann
2010-01-19 19:37             ` Simon Wunderlich
2010-01-20 14:05               ` "Juha Ylönen"
2010-01-20 21:58                 ` Marek Lindner
2010-01-18 11:42 ` Marek Lindner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox