<div dir="ltr">Hi Brian/ Others,<br><br>Thank you for your help so far. I am closer to the problem, I believe.<br><br>To summarize, I am using 2 Raspberry PI's in simple 'Ad-hoc mode', channel 10, <b>same</b> ESSID on both nodes. Setup for one Raspberry PIs, is perfectly identical to the other one (I have crosschecked all parameters).<br>
<br>Device: Edimax EW-7811Un (One of the recommended dongle's with RPi - enables Ad-Hoc mode: Ch 01:11)<br>Device driver does NOT seem to be a problem here. I can see the gateway router of OLSR with Rpi over wlan0 but <b>NOT</b> another Rpi with same configuration over wlan0.<br>
<br>Ok, first lets<b> DISABLE OLSR,</b> just simple Ad-hoc mode on two RPi's and try to PING each other over wlan0. I am <u>able</u> to do this with RPi and a TP-Link OpenWRT based router in Ad-hoc mode <u>with OR without OLSR</u>.<br>
<br>E.g. setup:<br><br><span style="color:rgb(0,0,255)">pi1@raspberrypi ~ $ cat /etc/network/interfaces </span><br><span style="color:rgb(166,77,121)">auto lo<br>iface lo inet loopback<br>iface eth0 inet dhcp<br>auto wlan0<br>
iface wlan0 inet static<br> address 192.168.10.200<br> netmask 255.255.255.0<br> wireless-channel 10<br> wireless-essid irt-ah-inria<br> wireless-mode ad-hoc</span><br><br><span style="color:rgb(0,0,255)">pi1@raspberrypi ~ $ iwconfig wlan0</span><br>
<span style="color:rgb(166,77,121)">wlan0 IEEE 802.11bg ESSID:"irt-ah-inria" Nickname:"<RealTek@WiFi>"<br> Mode:Ad-Hoc Frequency: 2.457 GHz Cell: 0E:75:4D:3C:D9:3A Bit Rate:54 Mb/s<br>
Tx-Power=20 dBm<br> Retry long limit: 7 RTS thr:off Fragment thr:off<br> Power Management:on</span><br> <br><br><span style="color:rgb(0,0,255)">pi1@raspberrypi ~ $ sudo iwlist wlan0 scan</span><br>
<span style="color:rgb(166,77,121)">wlan0 Scan completed :<br> Cell 01 - Address: 02:11:87:FA:4A:02<br> ESSID:"irt-ah-inria"<br> Protocol:IEEE 802.11bg<br> Mode:Ad-Hoc<br>
Frequency:2.457 GHz (Channel 10)<br> Encryption key:off<br> Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s<br> 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s<br>
48 Mb/s; 54 Mb/s</span><br><br><b>Ip is 192.168.10.200</b> and <b>broadcast IP </b>is over all subnets: <b>192.168.255.255</b><br><br><b><font>Conclusion</font>:</b><br>-------------<br>Everything is fine uptil this point. For the question raised earlier, here is my observation.<br>
<br>(1) I am ABLE to ping between the two RPi via eth0 but not via wlan0 (seems like a layer two issue - hard to believe)! I have multiple RPis and dongles, tested with others - same issue!<br>(2) I am able to run OLSR on the eth0 interface - yes, this works. RPi can see each other.<br>
(3) I am NOT able to see the other RPi over wlan0. IF I am able to 'ping' the two RPi's in simple Ad-Hoc mode (no rocket science), I am sure OLSR must work then (as with eth0)..<br>(4) I ran 'arp-scan' to scan the device address over wlan0. This is not able to identify the hw-MAC address of the other RPi wlan0 device.<br>
<br><span style="color:rgb(0,0,255)">I am certainly missing something really tiny. This must work! Have spent countless hours figuring what's wrong. Maybe someone's expertise can help me or maybe can do a similar setup.</span><br>
<br>Thanks in advance,<br>Shyam<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 9, 2013 at 4:51 AM, Brian D Heaton <span dir="ltr"><<a href="mailto:ky9k-lists@ky9k.org" target="_blank">ky9k-lists@ky9k.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Shyam,<br>
<br>
Do you have the same SSID configured on both nodes? You indicate
that they are both on the same channel, both set to ad-hoc mode,
and both wireless interfaces are in the same subnet. If all those
conditions are true, and the SSIDs match, you don't need the
routing protocol to ping between the nodes.<br>
<br>
Just to be sure - you're attempting to ping the other node's
wireless interface directly from the Rpi - NOT from a PC connected
to the Rpi's Ethernet port. Have you tried setting the source
interface of the ping to the wireless interface? "ping a.b.c.d -I
wlan0" (or whatever your wireless interface is called).<span class=""><font color="#888888"><br>
<br>
-Brian</font></span><div><div class="h5"><br>
<br>
On 9/8/2013 10:14 AM, Shyam B wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>Hi Henning,<br>
<br>
</div>
Thank you for your response.<br>
<br>
</div>
I am trying to let each RPi see the other in the network
and communicate with each other.<br>
The situation right now is that both Raspberry PI's have
similar connectivity, having:<br>
</div>
ESSID, Channel 11 (2.457GHz), Ad-Hoc mode.<br>
</div>
<div>Each configured to a static IP in the same subnet. <br>
<br>
</div>
<div>I can see the other node via <u>iwlist scan</u> (that
is I can sense the other node in the network, I have
tested with different ESSID's to verify).<br>
</div>
<div><br>
</div>
To your question, I am unable to ping from one node to the
other. (Note I DO NOT have a gateway configured). This is
what I am confused on, as to if I should be able to.<br>
<br>
It can communicate with a TP-Link router (which is
configured as a router by default), and packets can go
through them.<br>
<br>
</div>
My question is:<br>
</div>
1) Is a gateway required for OLSR to route packets?<br>
<div>2) Right now, i have two (and later several) isolated nodes
in the network. No gateways. Can I not be able to communicate?
If not, why not?<br>
</div>
<div>3) I have attached the olsr.conf file for the Rpi in the
earlier mail.<br>
<br>
</div>
<div>Any details will certainly help me understand where I am
going wrong.<br>
<br>
Thanks in advance,<br>
Shyam<br>
</div>
<div>
<div>
<div>
<div>
<div>
<div><br>
<br>
<div>
<div>
<div class="gmail_extra">
<div class="gmail_quote">
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 5 Sep 2013 13:42:46 +0200<br>
From: Henning Rogge <<a href="mailto:henning.rogge@fkie.fraunhofer.de" target="_blank">henning.rogge@fkie.fraunhofer.de</a>><br>
To: <<a href="mailto:olsr-users@lists.olsr.org" target="_blank">olsr-users@lists.olsr.org</a>><br>
Subject: Re: [Olsr-users] Fwd: Configuring
two nodes directly (without<br>
a gateway) - OLSR.<br>
Message-ID: <<a href="mailto:52286E36.2020000@fkie.fraunhofer.de" target="_blank">52286E36.2020000@fkie.fraunhofer.de</a>><br>
Content-Type: text/plain;
charset="iso-8859-1"; Format="flowed"<br>
<br>
Hi,<br>
<br>
do you have already checked that you have
direct IP connectivity? Can<br>
you ping the other node over the network?<br>
<br>
If you only have two nodes, ping will work
with or without OLSR, because<br>
you can only communicate with 1-hop
neighbors without routing protocol.<br>
<br>
If you cannot ping the other node, then
you have trouble on layer-2<br>
(wifi) or with your interface
configuration.<br>
<br>
Henning Rogge<br>
<br>
On 09/05/2013 01:36 PM, Shyam B wrote:<br>
> Hi Al,<br>
><br>
> I am configuring _multiple
RaspberryPI's_ as nodes in a mesh network.
I<br>
> don't plan to use routers as gateway.
Having installed OLSR on these<br>
> nodes (currently two to begin with),
I am unable to communicate between<br>
> them.<br>
> The configuration was working with
the routers.<br>
><br>
> _What I did_<br>
><br>
> Exactly same setup on the two nodes:<br>
> Ad-Hoc mode, Channel 10 with same
ESSID.<br>
> Tried to change hna, Ip4Broadcast to
the same subnetwork as well.<br>
> Nothing works!<br>
><br>
> The iwconfig screenshot and
olsrd.conf file attached. I have spent<br>
> multiple hours trying to get it to
work!!<br>
><br>
> It would be of real help if someone
can point out if communication<br>
> between two raw nodes is selected. If
not why not, and what do I have to<br>
> do to make this setup work. Eagerly
looking forward!<br>
<br>
Henning Rogge<br>
<br>
--<br>
Diplom-Informatiker Henning Rogge ,
Fraunhofer-Institut f?r<br>
Kommunikation, Informationsverarbeitung
und Ergonomie FKIE<br>
Kommunikationssysteme (KOM)<br>
Fraunhofer Stra?e 20, 53343 Wachtberg,
Germany<br>
Telefon <a href="tel:%2B49%20228%209435-961" value="+492289435961" target="_blank">+49 228 9435-961</a>,
Fax <a href="tel:%2B49%20228%209435%20685" value="+492289435685" target="_blank">+49 228 9435 685</a><br>
mailto:<a href="mailto:henning.rogge@fkie.fraunhofer.de" target="_blank">henning.rogge@fkie.fraunhofer.de</a>
<a href="http://www.fkie.fraunhofer.de" target="_blank">http://www.fkie.fraunhofer.de</a><br>
<br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: smime.p7s<br>
Type: application/pkcs7-signature<br>
Size: 6169 bytes<br>
Desc: S/MIME Cryptographic Signature<br>
URL: <<a href="http://lists.olsr.org/pipermail/olsr-users/attachments/20130905/8719cf55/attachment-0001.bin" target="_blank">http://lists.olsr.org/pipermail/olsr-users/attachments/20130905/8719cf55/attachment-0001.bin</a>><br>
<br>
------------------------------<br>
<span><font color="#888888"><br>
--<br>
Olsr-users mailing list<br>
<a href="mailto:Olsr-users@lists.olsr.org" target="_blank">Olsr-users@lists.olsr.org</a><br>
<a href="https://lists.olsr.org/mailman/listinfo/olsr-users" target="_blank">https://lists.olsr.org/mailman/listinfo/olsr-users</a><br>
<br>
End of Olsr-users Digest, Vol 75,
Issue 2<br>
*****************************************<br>
</font></span></blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div><font face="georgia, serif"><span style="font-size:13px;font-family:arial,sans-serif"><font face="georgia, serif">Best Regards,<br>
Shyam</font></span></font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div><font face="georgia, serif"><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><font face="georgia, serif">Best Regards,<br>
Shyam</font></span></font></div>
</div></div>