[Olsr-dev] [Olsr-users] [SUGGESTION] Interface no up and/or running
Mon Jun 10 21:50:56 CEST 2013
You need to make it much clearer.
Your mail is rather low on details and not in a patch format.
That makes us guess, and any time we have to do that everybody loses out.
Send it as a patch, describe the use-case that needs the patch and
provide needed details, like kernel version, etc.
You're the first that reports the issue and we've been running with it
in large deployments for quite a while without any problems.
So excuse us for being a bit sceptical...
On 10/06/13 21:37, Matteo Danieletto wrote:
> No, I want say it works with ethernet, instead this if(((ifs.int_flags & IFF_U) == 0) || ((ifs.int_flags & IFF_RUNNING)==0))
> is always true with WiFi interface.
> I tried several WiFi drivers and Kernel and always there was Interface error.
> On Jun 10, 2013, at 8:33 PM, Henning Rogge wrote:
>> Do you want to say that Olsrd-0.6.5 does not work with Ethernet interfaces?
>> Thats definitely not true.
>> Henning Rogge
>> On Mon, Jun 10, 2013 at 6:22 PM, Matteo <(spam-protected)> wrote:
>>> Hi all,
>>> until today I used olsrd-0.6.0 for WiFi multi-hop, but today I compiled the last stable version 0.6.5 .
>>> I noticed an error when I ran olsrd: Interface no up and running.
>>> So, I read the ifnet.c and I figured out a few change between this last version and 0.6.0 .
>>> The problems were in chi_if_up and chi_if_changed function , when it checks if the wifi is up and running.
>>> Then, for WiFi connection I suggest to modify if(((ifs.int_flags & IFF_U) == 0) || ((ifs.int_flags & IFF_RUNNING)==0)) => if((ifs.int_flags & IFF_U) == 0) in both the above functions.
>>> This check if(((ifs.int_flags & IFF_U) == 0) || ((ifs.int_flags & IFF_RUNNING)==0)) works with ethernet because you can set ifs.int_flags with IFF_RUNNING
>>> Olsr-users mailing list
>> We began as wanderers, and we are wanderers still. We have lingered
>> long enough on the shores of the cosmic ocean. We are ready at last to
>> set sail for the stars - Carl Sagan
More information about the Olsr-dev