[Olsr-users] OLSRd Runtime Issue

Ferry Huberts (spam-protected)
Fri Aug 2 19:45:27 CEST 2013


I'm for not doing anything.
On my Fedora 19 machine the running flag is correctly set by
NetworkManager, so it seems that an older version had a bug.


I looked into this before and I seem to recall that I talked to you
about it Henning.

See
http://stackoverflow.com/questions/11679514/what-is-the-difference-between-iff-up-and-iff-running
and
http://www.xml.com/ldd/chapter/book/ch14.html#t3

I think for Linux we can remove the running flag but not for bsd.

I had some patches for this a while ago but dropped them.

Commit 6f25817dd2ceb18a8bdf95166885feab8b7cf84b introduced it.
IFF_UP and IFF_RUNNING are used in these 3 files:

src/unix/ifnet.c
src/linux/kernel_routes_nl.c
src/linux/net.c


On 02/08/13 19:12, Henning Rogge wrote:
> Okay, I take this as evidence that Network Manager is at least partly
> responsible for this disaster. So what do we do?
> 
> remove the IFF_RUNNING flag or file a bugreport for Network manager?
> 
> Henning
> 
> On Fri, Aug 2, 2013 at 9:21 AM, Teco Boot <(spam-protected)> wrote:
>> Have fun with it !!
>>
>> Teco
>>
>> Op 2 aug. 2013, om 00:28 heeft Joshua McKee <(spam-protected)> het volgende geschreven:
>>
>>> I figured out what the problem is with regards to the running flag. I uninstalled network manager from non-working machine, and it worked (Ubuntu Server does not have network mananger)! Ifconfig now shows the running flag, and OLSRd runs without a problem.
>>>
>>> Thanks,
>>> Josh
>>>
>>>
>>> On Thu, Aug 1, 2013 at 10:48 AM, Joshua McKee <(spam-protected)> wrote:
>>> Sorry, by same hardware I meant same make and model. But I actually have re-imaged the same machine and gotten the same results.
>>>
>>> Also, I'm not sure that it's an issue with the IBSS, as there are other machines close by that are running OLSRd when I try this.
>>>
>>> By the way, the non-working machine has no connectivity issues in regards to the ad-hoc network. I just cannot run OLSRd.
>>>
>>> Thanks,
>>> Josh
>>>
>>>
>>> On Thu, Aug 1, 2013 at 3:45 AM, Teco Boot <(spam-protected)> wrote:
>>> Problems might have to do with IBSS, when isolated (no other node to form IBSS).
>>> Older drivers fill syslog with warnings in such cases. Maybe new driver has increased level of annoyance.
>>>
>>> Teco
>>>
>>>
>>> Op 1 aug. 2013, om 10:45 heeft Ferry Huberts <(spam-protected)> het volgende geschreven:
>>>
>>>>
>>>>
>>>> On 01/08/13 10:22, Henning Rogge wrote:
>>>>> Maybe we really have to get rid of the "running" detection, there seems
>>>>> to be a network manager out there that somehow blocks this flag.
>>>>
>>>> This was a guess and a bad one at that :-)
>>>> I just checked on my Fedora 19 laptop and it has the running flag when
>>>> I'm connect to a wlan
>>>>
>>>> --
>>>> Ferry Huberts
>>>>
>>>> --
>>>> 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
> 
> 
> 

-- 
Ferry Huberts




More information about the Olsr-users mailing list