Matteo
2013-06-10 16:22:08 UTC
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
Best,
Matteo
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
Best,
Matteo
--
Olsr-users mailing list
Olsr-***@lists.olsr.org
https://lists.olsr.org/mailman/listinfo/olsr-users
Olsr-users mailing list
Olsr-***@lists.olsr.org
https://lists.olsr.org/mailman/listinfo/olsr-users