---------- Forwarded message ---------- From: Gui Iribarren gui@altermundi.net Date: Thu, 4 Oct 2012 16:46:30 -0300 Subject: Re: [B.A.T.M.A.N.] mac address from packet To: Dominic Follett-Smith dominicfollett@gmail.com
Add a wireless interface in monitor mode, and start a wireshark/tcpdump on that.
If the driver and chipset are cooperative enough, The first header will contain the signal, noise, bssid and phy mac src/dst, etc for *each* packet. Look for ogm packets and voilĂ .
Ogms are no different from any other data packet on this layer. So this went way offtopic for this list. You should inform yourself (elsewhere :) ) about the validity of those rssi/noise numbers, for your particular chipset & driver.
On 10/4/12, Dominic Follett-Smith dominicfollett@gmail.com wrote:
Thanks,
Sven says that , "The mac is part of the ethernet mac header at the beginning of the frame." But I still don't know how to access this.
We are trying to get the received signal strength from the OGM we have received, in order to do interference calculations.
Kind Regards Dominic
On Thu, Oct 4, 2012 at 6:38 PM, Gui Iribarren gui@altermundi.net wrote:
AFAIU batman is unaware of the PHY layer mac address, so your only option is sniffing that out of a pcap dump.
Or, i misundestood your objective. Can you explain a little bit more what you're trying to do?
On 10/4/12, Dominic Follett-Smith dominicfollett@gmail.com wrote:
Hi,
is there a way to get the mac address of the station that sent the bat_packet? We want to get hold of parameters such as signal strength. We could do this by using the radiotap header, or by looking at the iw station dump of a neighbour. The second option requires the use of the mac address.
Regards Dominic UCT, SA
-- If you are going to achieve excellence in big things, you develop the habit in little matters. Excellence is not an exception, it is a prevailing attitude. Colin Powell
-- If you are going to achieve excellence in big things, you develop the habit in little matters. Excellence is not an exception, it is a prevailing attitude. Colin Powell
b.a.t.m.a.n@lists.open-mesh.org