[Olsr-users] Olsrd seems working on Samsung Galaxy S4 handsets but no neighbor is shown

Abubakr Ali (spam-protected)
Tue Feb 4 12:14:20 CET 2014


*Hi Teco, *

Thanks for your concern and sorry for the late reply
I will be happy to share my result with you and anyone else who is
interested in adhoc networks.

here is the information you asked for;

   1. I am using three Samsung Galaxy S4 (International) GT-I9505
   2. The SGS4-handsets and other Nexus-tablets are operating under
   CyanogenMod 10.2 (I've downloaded the pre-build source code and installed
   it from the ClockWorkMod recovery)
   3. The OLSRD version is 0.6.6 (downloaded from
   http://www.olsr.org/?q=download)

Regards the network issues:

   1. The Samsung that establishes the network can see and ping all the
   other Nexus-tablets that are connected the network.
   2. The other Samsung-handsets see and join the network but can't see or
   be seen by any other node in the network
   3. therefore, I'm NOT sure that the SGS4-handsets are connected (except
   for the network-establish-er)
   4. my "pinging" problem is strange, because if i create a new adhoc
   network from another SGS4-handset then again it can see and ping all the
   Nexus-tablets that are connected and can't see the other SGS4-handsets.
   5. I am NOT implementing any smart Gateway.

hence:

   1. all SGS4-handset can create an adhoc network
   2. the adhoc network is seen by all the SGS4-hansets
   3. when asked to join the adhoc network, and after couple of seconds,
   all SGS4-handset show this notification: "(IBSS Name) Ad-Hoc Connected" in
   the Wi-Fi settings) which indicates that they see the adhoc network and
   they join the network (and it doesn't matter who established it)

Note that:

   1. if the Wi-Fi feature is turned off and then again turned on, even the
   Nexus-tablets can't be seen from the adhoc SGS4-establish-er (and of course
   the other SGS4) . Besides, unlike before, the Nexus can't see ALL the
   SGS4-handset (including the adhoc establish-er )
   2. if the Wi-Fi is turned off from the SGS4 (the establish-er) , the
   Nexus-tablets can still see each other and OLSRD can run normally.
   3. OLSRD configuration file that is running in all the handset is the
   same
   4. OLSRD is running normally in all the devices that can see and ping
   each other
   5. which means it runs every time (as long as the Wi-Fi doesn't restart)
   between the SGS4 (adhoc establish-er) and the Nexus-tablets but does not
   work between the SGS4-handset themselves

Hope I've explained how my networks operates and looking forward to her
from you

best regards

Ali, Abubakr
Research and Development Engineer



On 31 January 2014 09:14, Justin Lewis <(spam-protected)> wrote:

> Hi,
>
> I'm also having the same problem with the S4. I would love to get it
> working, so I'd be very interested to hear your results.
>
> Cheers,
> Justin
>
> On 31 Jan 2014, at 08:11, Teco Boot <(spam-protected)> wrote:
>
> OK, let's try to get it running.
> I have GS4A International GT-I9295 (same WiFi chipset as S4, I think).
> I run CM 10.2 (Android 4.3.1), custom build.
> WiFi in ad hoc is work in progress.
>
> Shall we take offline detail discussions on howto get WiFi in ad hoc, and
> post results afterwards?
>
> Then, olsrd on working IP interface would be easy. Perhaps I can help you
> before I have ad hoc mode working.
>
> Teco
>
> Op 30 jan. 2014, om 16:27 heeft Abubakr Ali <(spam-protected)> het
> volgende geschreven:
>
> Hi
>
> I've checked that:
>
>    - IP-address on each Samsung-phone is static and correct.
>    - Netmask on each Samsung-phone is correct
>    - Gateway IP-address on each Samsung-phone is its interface IP-address
>    - All Samsung-phones are connected to the same adhoc network (beside
>    additional three Nexus-7 tablets)
>
> Note that:
>
>    - the adhoc network does not require a password
>    - I have three Nexus-7-tablets run an adhoc network perfectly using
>    the same ".conf" file
>
> However, I noticed that whenever I create and run an adhoc network from
> any of the Samsungs:
>
>    - each of the other two Samsungs can discover the IBSS and join it.
>    - each of the three Nexus-7 can discover the IBSS and join it.
>    - the adhoc-creator-Samsung can only see and ping the Nexus-tablets (I
>    used "Fing" android-app)
>    - any Nexus can see and ping adhoc-creator-Samsung and the other
>    Nexus-tablets only (I used "Fing" android-app)
>    - any Samsung already-joined-the-adhoc-network can't be seen
>    by adhoc-creator-Samsung or the Nexus-tablets
>
> Hence, I can assure you that the network connectivity is fine, at least
> between the Samsung and the Nexus. So, I took step forward and installed
> OLSRD on one Samsung (which I used to create an adhoc network). the OLSRD
> works perfect between the adhoc-creator-Samsung and the three Nexus-7,
> taking into account that OLSRD didn't show any neighbor in the other two
> Samsung-phones who, by the way joined the adhoc network (although they
> can't be pinged)
>
> My question is why OLSRD does't work between the Samsung-phones ? please
> help .. I am getting really confused
>
> Thanks
>
>
>
> Ali, Abubakr
> Research and Development Engineer
>
>
>
>
> On 29 January 2014 16:27, Henning Rogge <(spam-protected)> wrote:
>
>> Time to grab a notebook with wifi-card and run Wireshark to see what
>> is transmitted over the air and what is not.
>>
>> I would suggest not running the routing protocol until you have fixed
>> the link issue, because it complicated debugging the situation. Check
>> for the easy things first (ip addresses, netmasks, wifi passwords)...
>>
>> Henning Rogge
>>
>> On Wed, Jan 29, 2014 at 5:19 PM, Abubakr Ali <(spam-protected)>
>> wrote:
>> > Thanks Mr. Henning for your reply  ..
>> >
>> > I've tried pinging between two of these Samsungs but I failed, I am
>> getting
>> > "Destination Host Unreachable"...
>> > I am also unable to perform the troubleshooting in the link you have
>> send me
>> > (as the "iwconfig" doesn't exist in Android).
>> >
>> > However, from the troubleshooting link, I can see that it has nothing
>> to do
>> > with OLSRD and it is a networking issue that CyanogenMod is responsible
>> for.
>> > Something is keeping these handsets hidden from each other, but at the
>> same
>> > time allowing them to discover the IBSS and connect to it.
>> >
>> > Thank you
>> >
>> > Ali, Abubakr
>> > Research and Development Engineer
>> >
>> >
>> >
>> > On 29 January 2014 15:42, Henning Rogge <(spam-protected)> wrote:
>> >>
>> >> Hi,
>> >>
>> >> can you ping the direct neighbors of the S4 (or can they ping the S4)?
>> >> This should be possible without Olsrd running, so you should test this
>> >> first.
>> >>
>> >> See http://www.olsr.org/mediawiki/index.php/First_Mesh_Troubleshooting
>> >>
>> >> Henning Rogge
>> >>
>> >> On Wed, Jan 29, 2014 at 3:52 PM, Abubakr Ali <(spam-protected)>
>> >> wrote:
>> >> > Hi All,
>> >> >
>> >> > I am running OLSRD on three Samsung Galaxy S4 phones that are running
>> >> > CyanogenMod v.10.2.0. After installation, OLSRD seems to be working
>> fine
>> >> > (I
>> >> > have already tested the same ".conf" file on three Nexus 7 tablets
>> and
>> >> > it is
>> >> > working perfect - OLSRD over Adhoc network).
>> >> >
>> >> > Although the Samsungs are connected to the same adhoc network, they
>> >> > can't
>> >> > not ping or see each other, and the OLSRD table shows that there are
>> no
>> >> > neighbors around. what could be the issue ? (knowing that I have
>> already
>> >> > change the iptables rules)
>> >> >
>> >> > Thanks
>> >> >
>> >> > Ali, Abubakr
>> >> > Research and Development Engineer
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Olsr-users mailing list
>> >> > (spam-protected)
>> >> > https://lists.olsr.org/mailman/listinfo/olsr-users
>> >
>> >
>>
>
> --
> Olsr-users mailing list
> (spam-protected)
> https://lists.olsr.org/mailman/listinfo/olsr-users
>
>
> --
> Olsr-users mailing list
> (spam-protected)
> https://lists.olsr.org/mailman/listinfo/olsr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20140204/ad20e2f7/attachment.html>


More information about the Olsr-users mailing list