Android Development - Samsung Galaxy
2011-05-05 15:15:59 GMT
Hello,
-- -- Olsr-users mailing list Olsr-users <at> lists.olsr.org http://lists.olsr.org/mailman/listinfo/olsr-users
Hello,
-- -- Olsr-users mailing list Olsr-users <at> lists.olsr.org http://lists.olsr.org/mailman/listinfo/olsr-users
Hello,My name is Fábio Almeida and I'm trying to implement and ad-hoc network in android and I want to use OLSR protocol. I'm new in this area so I have some doubts that I think that should be very simple to you.I want to create this network in order to create a real time network between some Android devices and share information. I'm using Samsung Galaxy GT-i5500 devices to do this.I already found a custom wpa_supplicant in xda-developers (link to the thread) that ables this device to find ad-hoc networks. I already tested it creating an ad-hoc network with my laptop and it seems to work ok.I already downloaded the pre compiled samsung android version of olsrd and put it on the device.Now i want to know how can I test if this is working fine. It would be very helpful if you can give me a simple tutorial of how to download and change the source code and compile it to make it run on Samsung galaxy. What are the main changes?After all this is working, there is any way that I create and ad-hoc network with all the devices (5) and then just exchange some kind of data through the network?Thanks for the help.Regards,Fábio Almeida
--
Olsr-users mailing list
Olsr-users <at> lists.olsr.org
http://lists.olsr.org/mailman/listinfo/olsr-users
-- -- Olsr-users mailing list Olsr-users <at> lists.olsr.org http://lists.olsr.org/mailman/listinfo/olsr-users
Hi all,
I am currently busy with experimenting MANET routing, and especially olsrd.
Except for some quality wireless link problem, it performs quite good for
my tests.
Now I would like to connect my MANET to a fixed network running OSPF.
As I understood, the route redistribution between OLSR and OSPF is possible
via the combination of quagga and the corresponding plugin for olsrd.
After patching and recompiling quagga and loading the quagga plugin into
olsrd, I can see the olsrd routes in quagga ("show ip route").
I have some problems however:
- a specific "show ip route olsr" makes the zebra daemon crash (connection
closed for the telnet, and the daemon is stopped);
- the olsr routes are marked as "inactive" in quagga;
- these routes are not redistributed to the kernel;
- these routes are not redistributed to other OSPF nodes.
I don't see however where is the problem. Has anyone of you experimented
such problems or in the contrary no problem while experimenting the same
setup?
The olsrd version I am using is 0.6.0 and the quagga version is 0.99.18.
I am using the default config files for quagga, with just the following
added to the ospfd.conf files:
router ospf
redistribute olsr
network 192.168.20.0/24 area 0.0.0.0
For olsrd, the quagga plugin is loaded with the following parameters:
LoadPlugin "olsrd_quagga.so.0.2.2"
{
PlParam "Redistribute" "ospf"
PlParam "ExportRoutes" "only"
PlParam "Distance" "125"
PlParam "LocalPref" "false"
PlParam "SockPath" "/var/run/zserv.api"
PlParam "Version" "1"
}
Thanks in advance for your help.
Best regards,
--
Damien Miliche
--
--
Olsr-users mailing list
Olsr-users <at> lists.olsr.org
http://lists.olsr.org/mailman/listinfo/olsr-users
Hi,
I have 3 MacBook Pro running OLSRD 0.6.0 with their IP addresses as shown below:
10.10.10.13/24 10.10.10.12/24 10.10.10.15/24
(macbook13) (macbook12) (macbook15)
When I placed all the 3 MacBooks close together, all of them can PING to each other.
When I placed macbook13 far away from macbook15 such that the routing table of macbook13 did not have the DIRECT route to macbook15 but only had the route to macbook12. The PING started to fail.
Below are 2 questions:
1) When I did a PING from macbook13 to macbook15, I did not received a response from macbook15. Why?
2) When I brought all the 3 MacBooks back to close together, they still cannot PING to each other. Why?
Anything that I configured wrongly?
Any advise is appreciated.
Thanks in advance.
Rdgs,
Paul
-- -- Olsr-users mailing list Olsr-users <at> lists.olsr.org http://lists.olsr.org/mailman/listinfo/olsr-users
On Tue May 10 2011 06:08:48 RC Loh wrote: > Hi, > > I have 3 MacBook Pro running OLSRD 0.6.0 with their IP addresses as shown > below: > > 10.10.10.13/24 10.10.10.12/24 10.10.10.15/24 > (macbook13) (macbook12) (macbook15) > > > When I placed all the 3 MacBooks close together, all of them can PING to > each other. > > When I placed macbook13 far away from macbook15 such that the routing table > of macbook13 did not have the DIRECT route to macbook15 but only had the > route to macbook12. The PING started to fail. > > Below are 2 questions: > > 1) When I did a PING from macbook13 to macbook15, I did not received a > response from macbook15. Why? > > 2) When I brought all the 3 MacBooks back to close together, they still > cannot PING to each other. Why? > > Anything that I configured wrongly? > > Any advise is appreciated. A few standard questions first... *G* 1.) what version of olsrd did you use ? (run "olsrd -v") 2.) what was the routing table when mac 13 and mac 15 could not hear each other ? 3) did you receive OLSR packets on all three nodes (check with "tcpdump -i <interface> -s 0 -vv port 698") Henning Rogge -- Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für Kommunikation, Informationsverarbeitung und Ergonomie FKIE Kommunikationssysteme (KOM) Neuenahrer Straße 20, 53343 Wachtberg, Germany Telefon +49 228 9435-961, Fax +49 228 9435 685 mailto:henning.rogge <at> fkie.fraunhofer.de http://www.fkie.fraunhofer.de GPG: E1C6 0914 490B 3909 D944 F80D 4487 C67C 55EC CFE0
-- -- Olsr-users mailing list Olsr-users <at> lists.olsr.org http://lists.olsr.org/mailman/listinfo/olsr-users
Hi,
I have 3 MacBook Pro running OLSRD 0.6.0 with their IP addresses as shown below:
10.10.10.13/24 10.10.10.12/24 10.10.10.15/24
(macbook13) (macbook12) (macbook15)
When I placed all the 3 MacBooks close together, all of them can PING to each other.
When I placed macbook13 far away from macbook15 such that the routing table of macbook13 did not have the DIRECT route to macbook15 but only had the route to macbook12. The PING started to fail.
Below are 2 questions:
1) When I did a PING from macbook13 to macbook15, I did not received a response from macbook15. Why?
2) When I brought all the 3 MacBooks back to close together, they still cannot PING to each other. Why?
Anything that I configured wrongly?
Any advise is appreciated.
Thanks in advance.
Rdgs,
Paul
--
Olsr-users mailing list
Olsr-users <at> lists.olsr.org
http://lists.olsr.org/mailman/listinfo/olsr-users
-- -- Olsr-users mailing list Olsr-users <at> lists.olsr.org http://lists.olsr.org/mailman/listinfo/olsr-users
-- -- Olsr-users mailing list Olsr-users <at> lists.olsr.org http://lists.olsr.org/mailman/listinfo/olsr-users
Attached is the screen capture for "olsrd -v" and "tcpdump" taken from 10.10.10.15.
Hi Markus,
From what I checked from the OLRDS web site,
the version 0.6.0 is the latest stable version.
Rdgs,Paul
From: Henning Rogge <henning.rogge <at> fkie.fraunhofer.de>
To: olsr-users <at> lists.olsr.org
Cc: RC Loh <rc_loh <at> yahoo.com.sg>
Sent: Tuesday, 10 May 2011 13:57:07
Subject: Re: [Olsr-users] Cannot communicate 2 hops away
On Tue May 10 2011 06:08:48 RC Loh wrote:
> Hi,
>
> I have 3 MacBook Pro running OLSRD 0.6.0 with their IP addresses as shown
> below:
>
> 10.10.10.13/24 10.10.10.12/24 10.10.10.15/24
> (macbook13) (macbook12) (macbook15)
>
>
> When I placed all the 3 MacBooks close together, all of them can PING to
> each other.
>
> When I placed macbook13 far away from macbook15 such that the routing table
> of macbook13 did not have the DIRECT route to macbook15 but only had the
> route to macbook12. The PING started to fail.
>
> Below are 2 questions:
>
> 1) When I did a PING from macbook13 to macbook15, I did not received a
> response from macbook15. Why?
>
> 2) When I brought all the 3 MacBooks back to close together, they still
> cannot PING to each other. Why?
>
> Anything that I configured wrongly?
>
> Any advise is appreciated.
A few standard questions first... *G*
1.) what version of olsrd did you use ? (run "olsrd -v")
2.) what was the routing table when mac 13 and mac 15 could not hear each
other ?
3) did you receive OLSR packets on all three nodes (check with "tcpdump -i
<interface> -s 0 -vv port 698")
Henning Rogge
--
Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
Kommunikation, Informationsverarbeitung und Ergonomie FKIE
Kommunikationssysteme (KOM)
Neuenahrer Straße 20, 53343 Wachtberg, Germany
Telefon +49 228 9435-961, Fax +49 228 9435 685
mailto:henning.rogge <at> fkie.fraunhofer.de http://www.fkie.fraunhofer.de
GPG: E1C6 0914 490B 3909 D944 F80D 4487 C67C 55EC CFE0
-- -- Olsr-users mailing list Olsr-users <at> lists.olsr.org http://lists.olsr.org/mailman/listinfo/olsr-users
Hi, I kept on with my investigations: > - a specific "show ip route olsr" makes the zebra daemon crash > (connection closed for the telnet, and the daemon is stopped); The crash also occurs for other protocols/codes (ospf, connected, ...); it seems it happens only when zebra contains routes for the corresponding protocol/code. However, this is then not related to the quagga plugin. So forget about this problem. Anyway: > - the olsr routes are marked as "inactive" in quagga; > - these routes are not redistributed to the kernel; > - these routes are not redistributed to other OSPF nodes. It seems that these problems are linked and have a common cause. As I realized, while reading the post on http://www.gossamer-threads.com/lists/quagga/dev/17522, the olsr routes that are marked as inactive actually miss a valid route for the "via field" (gateway/nexthop): "When the nexthop is not reachable (from zebra point of view), the route stays inactive". In my case, the missing routes should be directly reachable olsr nodes, that is to say that in the kernel routing table, they would appear as host entries with a /32-mask, without the G-flag and with a gateway (normally not used) of 0.0.0.0. However, the httpinfo or txtinfo plugins of olrd show these entries with a gateway IP corresponding to the /32-IP of the node. Though, while searching a bit, I found out that there would be a "bug" in Quagga, which would not accept the routes where the destination is the same than the gateway. This bug is obvioulsy known, as we can read somewhere in the source code of the quagga plugin (quagga.c): /* Quagga BUG workaround: don't add routes with destination = gateway see http://lists.olsr.org/pipermail/olsr-users/2006-June/001726.html */ The workaround is indeed to return from the function before adding the corresponding route. A question, then: as the problem comes from the fact that destination = gateway, and that in the case of a host-entry the gateway should not be used, why does olsrd use the destination IP as gateway, and not 0.0.0.0 as the kernel does for the /32 entries? I don't know if this gateway field is used somewhere else by olsrd, but it could solve the problem and replace the workaround. Given all that, I was wondering: has anyone ever had a successful experience with this quagga plugin? because as olsrd always creates /32 entries, the problem should have appear everytime, at any try of the plugin. Have I missed/misunderstood something? Thanks in advance for your reactions and for your help. Best regards, -- Damien Miliche -- -- Olsr-users mailing list Olsr-users <at> lists.olsr.org http://lists.olsr.org/mailman/listinfo/olsr-users
Hi, I kept on with my investigations: > - a specific "show ip route olsr" makes the zebra daemon crash > (connection closed for the telnet, and the daemon is stopped); The crash also occurs for other protocols/codes (ospf, connected, ...); it seems it happens only when zebra contains routes for the corresponding protocol/code. However, this is then not related to the quagga plugin. So forget about this problem. Anyway: > - the olsr routes are marked as "inactive" in quagga; > - these routes are not redistributed to the kernel; > - these routes are not redistributed to other OSPF nodes. It seems that these problems are linked and have a common cause. As I realized, while reading the post on http://www.gossamer-threads.com/lists/quagga/dev/17522, the olsr routes that are marked as inactive actually miss a valid route for the "via field" (gateway/nexthop): "When the nexthop is not reachable (from zebra point of view), the route stays inactive". In my case, the missing routes should be directly reachable olsr nodes, that is to say that in the kernel routing table, they would appear as host entries with a /32-mask, without the G-flag and with a gateway (normally not used) of 0.0.0.0. However, the httpinfo or txtinfo plugins of olrd show these entries with a gateway IP corresponding to the /32-IP of the node. Though, while searching a bit, I found out that there would be a "bug" in Quagga, which would not accept the routes where the destination is the same than the gateway. This bug is obvioulsy known, as we can read somewhere in the source code of the quagga plugin (quagga.c): /* Quagga BUG workaround: don't add routes with destination = gateway see http://lists.olsr.org/pipermail/olsr-users/2006-June/001726.html */ The workaround is indeed to return from the function before adding the corresponding route. A question, then: as the problem comes from the fact that destination = gateway, and that in the case of a host-entry the gateway should not be used, why does olsrd use the destination IP as gateway, and not 0.0.0.0 as the kernel does for the /32 entries? I don't know if this gateway field is used somewhere else by olsrd, but it could solve the problem and replace the workaround. Given all that, I was wondering: has anyone ever had a successful experience with this quagga plugin? because as olsrd always creates /32 entries, the problem should have appear everytime, at any try of the plugin. Have I missed/misunderstood something? Thanks in advance for your reactions and for your help. Best regards, -- Damien Miliche -- -- Olsr-users mailing list Olsr-users <at> lists.olsr.org http://lists.olsr.org/mailman/listinfo/olsr-users
RSS Feed38 | |
|---|---|
42 | |
32 | |
19 | |
52 | |
12 | |
62 | |
37 | |
23 | |
45 | |
31 | |
25 | |
17 | |
17 | |
7 | |
35 | |
67 | |
23 | |
16 | |
56 | |
10 | |
63 | |
9 | |
45 | |
101 | |
75 | |
98 | |
21 | |
93 | |
44 | |
67 | |
61 | |
87 | |
22 | |
49 | |
51 | |
43 | |
17 | |
40 | |
25 | |
107 | |
63 | |
58 | |
39 | |
63 | |
38 | |
18 | |
35 | |
43 | |
86 | |
27 | |
56 | |
141 | |
56 | |
51 | |
57 | |
126 | |
126 | |
53 | |
82 | |
88 | |
7 | |
45 | |
47 | |
24 | |
26 | |
82 | |
27 | |
17 | |
21 | |
23 | |
15 | |
39 | |
47 | |
21 | |
67 | |
65 | |
21 | |
15 | |
23 | |
23 | |
15 | |
62 | |
75 | |
41 | |
57 | |
78 | |
85 | |
28 | |
28 | |
48 | |
28 | |
3 | |
76 | |
80 | |
104 | |
67 | |
188 | |
54 | |
132 | |
93 | |
81 | |
58 | |
72 | |
25 |