<!--/*SC*/DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"/*EC*/-->
<html><head><title></title><style type="text/css"><!-- body{padding:1ex;margin:0;font-family:sans-serif;font-size:small}a[href]{color:-moz-hyperlinktext!important;text-decoration:-moz-anchor-decoration}blockquote{margin:0;border-left:2px solid #144fae;padding-left:1em}blockquote blockquote{border-color:#006312}blockquote blockquote blockquote{border-color:#540000} --></style></head><body><div style="font-family: Arial; font-size: medium;" dir="ltr"><div>
        Hello Shyam,</div>
<div>
         </div>
<div>
        I think your primary problem here is your subnet mask.</div>
<div>
        You have assigned the mask 255.255.255.255, meaning only the indicated ip address is in the network. Both the other RPi and the broadcast address aren't, meaning your ARP broadcasts have no known network to go to.</div>
<div>
         </div>
<div>
        If you wish to use  192.168.255.255 as the broadcast address, you should set the subnet mask to 255.255.0.0.</div>
<div>
         </div>
<div>
        See http://en.wikipedia.org/wiki/Subnet_mask#IPv4_subnetting for more information on IPv4 subnets.Very short summary: in a netmask 255 means the octet is part of the network identifier, 0 means it's part of the host identifier.</div>
<div>
         </div>
<div>
        Also, in your pi1 config, you use both wireless-channel and wireless-freq. Try to use either of them (not both). Seeing as they both set the same parameter, this will keep your configuration simple and will prevent potential conflicts.</div>
<div>
         </div>
<div>
        I hope this helps.</div>
<div>
        --</div>
<div>
        Thijs van Veen</div>
<div>
        <a href="mailto:dicht@operamail.com">dicht@operamail.com</a></div>
<div class="defangedMessage">
        <div id="me33576">
                <div>
                         </div>
                <div>
                         </div>
                <div>
                        On Tue, Sep 10, 2013, at 20:14, Shyam B wrote:</div>
                <blockquote class="me33576QuoteMessage" type="cite">
                        <div dir="ltr">
                                <br />
                                <div class="me33576gmail_quote">
                                        <span style="font-family:arial,sans-serif;font-size:13px">Hi Henning, Teco,</span><br />
                                        <div dir="ltr">
                                                <div>
                                                        <div style="font-family:arial,sans-serif;font-size:13px">
                                                                <div>
                                                                         </div>
                                                                <div>
                                                                        The procedure I followed (Debian Method) for setup as in here:</div>
                                                                <blockquote class="me33576gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
                                                                        <a href="https://wiki.debian.org/WiFi/AdHoc" target="_blank">https://wiki.debian.org/WiFi/AdHoc</a></blockquote>
                                                                <div>
                                                                         </div>
                                                                <div>
                                                                        WiFi - Edimax 7811un adaptor, Raspberry PI Model B (Raspbian Wheezy OS). It has the driver installed (8192cu driver) by default in the distro.</div>
                                                                <div>
                                                                         </div>
                                                                <div>
                                                                        Yes, I do have a different IP configured on two RPi's. I can ping each other on eth0 but not on wlan0 (in Ad-hoc). wlan0's are configured on a different static addr' inside the same subnet. Do I need to use any specific protocol for Adhoc to see each other for ping (I guess, not!). I <u>cannot</u> see the wlan0 interface when I type 'route -n' in command line when in simple AdHoc (without OLSR).</div>
                                                                <div>
                                                                         </div>
                                                                <div>
                                                                        <u>Attachments:</u></div>
                                                                <div>
                                                                         </div>
                                                                <div>
                                                                        <span style="font-weight: bold">Picture</span>: The two wireless RPi's have Edimax wifi dongle (not WiPi as shown). This was an older picture but its how my simple setup looks.</div>
                                                                <div>
                                                                        <span style="font-weight: bold">Zip file</span>: /etc/network/interfaces settings for pi1 and pi2.</div>
                                                                <div>
                                                                                   iwconfig on both.</div>
                                                                <div>
                                                                         </div>
                                                                <div>
                                                                        <u>What I did:</u></div>
                                                                <div>
                                                                        - @Teco: I configured on Channel 11 because I personally love this channel :) I have tried on other channels as well between 1 to 11 (same result, but I don't think this may be of concern).</div>
                                                                <div>
                                                                        - Arp-scan is 'unable' to see the MAC address of the other device. If this works, I should have some hope!</div>
                                                                <div>
                                                                        - Arp-scan is 'able' to see the MAC address of the other Wi-FI dongle device (when I connect the two via eth0 (no wireless)).</div>
                                                        </div>
                                                        <div style="font-family:arial,sans-serif;font-size:13px">
                                                                - The question on the gateway was that if I need a router to route the individual traffic of the two RPi's, even for a single hop?</div>
                                                </div>
                                                <div style="font-family:arial,sans-serif;font-size:13px">
                                                        - @ Henning, I could not find the "iw wlan0 station dump" for Raspbian, iwconfig did not provide the dump. I can see bytes being sent/ received on wlan0 at both ends (Tx/ Rx bytes) as I see from ifconfig wlan0.</div>
                                                <div style="font-family:arial,sans-serif;font-size:13px">
                                                         </div>
                                                <div style="font-family:arial,sans-serif;font-size:13px">
                                                        <span style="font-family:arial;font-size:small">-- </span></div>
                                        </div>
                                </div>
                                <div>
                                        <span style="font-family: georgia," serif"; "><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="font-family: georgia," serif"; ">Best Regards,<br />
                                        Shyam</span></span></span></div>
                        </div>
                        <div>
                                --</div>
                        <div>
                                Olsr-users mailing list</div>
                        <div>
                                <a href="mailto:Olsr-users@lists.olsr.org">Olsr-users@lists.olsr.org</a></div>
                        <div>
                                <a href="https://lists.olsr.org/mailman/listinfo/olsr-users">https://lists.olsr.org/mailman/listinfo/olsr-users</a></div>
                        <p>
                                Email had 2 attachments:</p>
                        <ul>
                                <li>
                                        <code>configfiles.zip</code><br />
                                          158k (application/zip)</li>
                                <li>
                                        <code>rsz_two_wireless_rpis.jpg</code><br />
                                          84k (image/jpeg)</li>
                        </ul>
                </blockquote>
        </div>
</div>
<div>
         </div>
</div><pre>
-- 
http://www.fastmail.fm - The way an email service should be
</pre>
</body></html>