[Olsr-users] Testing DLEP plugin without WiFi

Anderson Huang (spam-protected)
Mon Aug 29 21:24:26 CEST 2016


Hi,

I am not using OpenWRT, but I executed the commands that I found relevant
under this section. They make no difference. layer2info still does not
output anything in the telnet interface.

Regards,

Anderson Huang

On Sun, Aug 28, 2016 at 4:28 AM, Henning Rogge <(spam-protected)> wrote:

> Hi,
>
> did you use the iptables/ebtables settings proposed on the olsr.org
> webpage (or something equivalent)?
>
> http://www.olsr.org/mediawiki/index.php/DLEP#DLEP-radio_on_
> an_embedded_router_with_OpenWRT
>
> Henning
>
> On Thu, Aug 25, 2016 at 11:55 PM, Anderson Huang <
> (spam-protected)> wrote:
>
>> Hi everyone,
>>
>> If you could, disregard the last email I sent as I have made some
>> progress in establishing a working mesh network with dlep capabilities. I
>> feel like I am very close, and am just missing a very small detail. Below
>> is a summary of my setup and the error I run into.
>>
>> Router 1 --(ethernet adapter)-- Radio 1 ---- (802.11s mesh network) ----
>> Radio 2 ----(ethernet adapter) ---- Router 2
>>
>> Each of these nodes is running Linux, but not all versions of OONF are
>> the same on each (if this is the problem, I can easily fix this). I have
>> created a mesh network using open80211s tutorials. Radios 1 and 2 can
>> successfully see each other through the mesh network.
>>
>> Next, I have bridged the ethernet interface on each radio with the mesh
>> point interface. Let's call the mesh interface mesh0 and the bridge br0. My
>> configuration files, then, for the router looks like so.
>>
>> [dlep_router=<ethernet enterface>]
>>
>> and for the radio
>>
>> [dlep_radio=mesh0]
>>     datapath_if    br0(also tried using <ethernet interface>)
>>
>> In the terminal, I run on the router side,
>>
>> ./olsrd2_dlep_static <ethernet interface> lo --load=router.cfg
>>
>> and on the radio side,
>>
>> ./dlep_radio_static --load=radio.cfg
>>
>> Routers 1 and 2 are able to see each other across the mesh network,
>> through routing tables using route -n. When I use br0 as the item to feed
>> into datapath_if, the telnet interface gives me nothing when I query with
>> the layer2info commands. In fact, when I try to do this on the router side,
>> an unusual error pops up on the radio side, specifically of the kind as
>> shown below. However, the correct neighbor shows up (e.g. the correct
>> router on the other side of the mesh network).
>>
>> 14:25:12.946 WARN(stream_socket) src-plugins/subsystems/oonf_stream_socket.c
>> 812: Error while writing to communication stream with
>> fe80::a2ce:c8ff:fe07:d669: Broken pipe (32)
>>
>> When I use an ethernet interface as the argument to datapath_if, the
>> telnet interface gives me no response when I query with layer2info
>> commands.
>>
>> Let me know if there is any fix. Thank you for your help.
>>
>> On Wed, Aug 24, 2016 at 3:01 PM, Anderson Huang <
>> (spam-protected)> wrote:
>>
>>> Hi all,
>>>
>>> So I am testing your plugins, specifically layer2, layer2info, and
>>> layer2_config. I am secondly confused on what the result of running such
>>> plugins should do - should I see test data in the OONF telnet plugin? May i
>>> have some clarification on which executable I should be running this plugin
>>> on top of (./olsrd2_dlep_static or ./dlep_radio_static)? For reference, my
>>> setup still looks as such (you can disregard the wifi).
>>>
>>> Router 1 --(ethernet adapter)-- Radio 1 ---- (wifi & ethernet adapter)
>>> ---- Radio 2 ----(ethernet adapter) ---- Router 2
>>>
>>> The problem is that I cannot seem to achieve Router 1 *to see *Router 2
>>> through the telnet interface. Through bridging ethernet interfaces, I am
>>> able to see the logical IP addresses I assign through the end nodes'
>>> routing tables, but I do not think this is what I wanted.
>>> 802.11s is not supported on all my nodes unfortunately. If anyone has
>>> successfully created a mesh network with Linksys WRT54GL routers, I would
>>> appreciate any help with that as well.
>>>
>>> Anderson Huang
>>>
>>>
>>> On Wed, Aug 24, 2016 at 1:24 AM, Anderson Huang <
>>> (spam-protected)> wrote:
>>>
>>>> I am using a normal PC. I am able to compile and generate all
>>>> executables as you have stated; however, the problem occurs because i am
>>>> unable to follow through on the 802.11s mesh set-up (only one of my nodes
>>>> has the network card capabilities to do this). Therefore, I was resorted to
>>>> using OpenWRT to alleviate this problem. However, I bricked one of my
>>>> routers today trying... I will most likely stick with a normal PC, but it
>>>> seems like I will not be able to test the capabilities of the dlep_radio
>>>> plugin using normal bridging. I will try using the layer 2 generator plugin
>>>> and the layer 2 config plugins and report back to you on those results.
>>>> Thank you for your help, and I will keep you updated.
>>>>
>>>>
>>>> On Tue, Aug 23, 2016 at 11:01 PM, Henning Rogge <(spam-protected)>
>>>> wrote:
>>>>
>>>>> On Tue, Aug 23, 2016 at 11:13 PM, Anderson Huang <
>>>>> (spam-protected)> wrote:
>>>>>
>>>>>> I am unsure how to run the binaries with the layer-2 generator
>>>>>> plugin, however. I try to run it with the --plugin= option to no avail.
>>>>>>
>>>>>
>>>>> You could add the plugin name to the OpenWRT build file...
>>>>>
>>>>> yes, I know its not perfect but the build system of OpenWRT is a
>>>>> headache... so I only have a list of "usual plugins" to be optionally added
>>>>> to OpenWRT by default.
>>>>>
>>>>>
>>>>>>
>>>>>> I am trying to experiment with OpenWRT now and am confused as to how
>>>>>> OONF ties in. Am I correct in assuming that the OpenWRT must be running on
>>>>>> a PC, not per se a Linksys WRT54GL router?
>>>>>>
>>>>>
>>>>> OONF = Olsr.org Network Framework.
>>>>>
>>>>> Both my Olsrd2 and DLEP implementation are part of OONF.
>>>>>
>>>>> If you are using a normal PC, just forget about OpenWRT and compile
>>>>> the executables yourself, you will find a description how to do this in the
>>>>> wiki.
>>>>>
>>>>> Henning
>>>>>
>>>>
>>>>
>>>
>>
>> --
>> 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/20160829/d97b4a98/attachment-0001.html>


More information about the Olsr-users mailing list