[Olsr-dev] bug in LqMult

Clemens Hopfer (spam-protected)
Tue Mar 18 19:56:55 CET 2008


Hi,

there seems to be a bug in the LinkQualityMult calculation of the olsrd.
I dont know if it is general bug in olsrd or if its only in the freifunk 
version.
I have noticed this fom FreiFunk Firmware versions ~1.6.22 - 1.6.28(current)

It seems that only the LinkQualityMult options in the last interface section 
are working and they are global for all interfaces.

The sections in my olsr.conf:
(193.238.159.199 is a neighbor on eth1)
<snip>
Interface "eth1"
{
        HelloInterval           5.0
        HelloValidityTime       125.0
        TcInterval              2.0
        TcValidityTime          500.0
        MidInterval             25.0
        MidValidityTime         500.0
        HnaInterval             25.0
        HnaValidityTime         500.0
        Ip4Broadcast 255.255.255.255
        LinkQualityMult 193.238.159.199 0.8 <-- not working here

}
# this file is automatically generated by openvpn-webif,
# to define your own settings use /etc/local.olsrd.conf
Interface "tap0"
{
        HelloInterval           5.0
        HelloValidityTime       125.0
        TcInterval              3.0
        TcValidityTime          375.0
        MidInterval             25.0
        MidValidityTime         375.0
        HnaInterval             25.0
        HnaValidityTime         375.0
        Ip4Broadcast 255.255.255.255
        LinkQualityMult 78.41.112.252 0.30
	LinkQualityMult default 0.30	<- this is working on ALL interfaces
}
</snip>

afaik there is a list of LQMults for each device, so this should be working...

cu,
datacop




More information about the Olsr-dev mailing list