[Olsr-dev] olsr1 / problem: etx_ffeth + LinkQualityMult

Ferry Huberts (spam-protected)
Thu May 11 15:52:25 CEST 2017



On 11/05/17 15:37, Iwan Flameling wrote:
> Hey
> 
> Just a hint for the bisect guys:
> In april last year "scaled costs" have been implemented in 6660bdecca 
> and a few subsequent commits.
> 
> -  snprintf(buffer->buf, sizeof(buffer->buf), "%.3f", (double)(cost) / 
> (double)LQ_FPM_LINKCOST_MULTIPLIER);
> +  snprintf(buffer->buf, sizeof(buffer->buf), "%.3f", 
> default_lq_get_cost_scaled(cost));
> 
> 
> maybe there is something there.

I don't think so, these commits are only relevant for the 'print' of the 
lq, not for the lq calculations themselves


Ferry

> 
> Iwan
> 
> 2017-05-11 15:28 GMT+02:00 Ferry Huberts <(spam-protected) 
> <mailto:(spam-protected)>>:
> 
>     Ok guys
> 
>     We now at least have a range.
>     Can either of you please bisect to the commit that broke this?
>     Thanks
> 
> 
> 
>     On 11/05/17 15:16, Ufo wrote:
> 
>         even with etx_ff that LinkQualityMult doesnt work anymore.
>         (not for Interface, not for InterfaceDefault, nor for any or for
>         single hosts)
> 
>         we are using Freifunk with LEDE 17.01.0 and LEDE 17.01.1, there
>         is a olsrd v.0.9.5 inside.
>         older firmwares with olsr v.0.9.0 or v.0.9.0.3 are working fine
>         with LinkQualityMult
> 
>         i was looking in config-files and /tmp/etc/olsrd.conf but cant
>         find any difference in these files between versions.
> 
> 
>         On 11.05.2017 11:52, Bastian Bittorf wrote:
> 
>             Battlemesh is near, and i do some testing with v1:
>             (not only with olsrd2)
> 
>             I try to use LinkQualityMult together with metric: etx_ffeth
>             I seems not to work anymore (but IMHO did in the past)
> 
>             these both variants i tried:
>             LinkQualityMult default 0.8
>             LinkQualityMult 10.10.5.1 0.8
>             (where 10.10.5.1 is the IP of the neigh)
> 
> 
>             Any idea about that?
> 
>             see the last section with 'wlan0'
>             here the generated config:
> 
>             DebugLevel 0
>             AllowNoInt yes
>             ClearScreen no
>             IpVersion 4
>             FIBMetric "flat"
>             Willingness 7
>             TcRedundancy 2
>             LinkQualityFishEye 1
>             LinkQualityAlgorithm "etx_ffeth"
>             MprCoverage 7
>             MainIp 10.10.7.1
> 
>             Hna4
>             {
>                               10.10.7.0 255.255.255.0
>             }
> 
>             LoadPlugin "olsrd_txtinfo.so.0.1"
>             {
>                       PlParam "accept" "0.0.0.0"
>                       PlParam "port" "2006"
>             }
> 
>             LoadPlugin "olsrd_nameservice.so.0.3"
>             {
>                       PlParam "name" "E1-kammer-mesh2"
>             }
> 
>             Interface "eth0.1"
>             {
>                       Ip4Broadcast 255.255.255.255
>                       Mode "ether"
>                       HelloInterval 4.0
>                       HelloValidityTime 150.0
>                       TcInterval 3.0
>                       TcValidityTime 600.0
>                       MidInterval 30.0
>                       MidValidityTime 600.0
>                       HnaInterval 12.0
>                       HnaValidityTime 150.0
>             }
> 
>             Interface "eth0.2"
>             {
>                       Ip4Broadcast 255.255.255.255
>                       Mode "ether"
>                       HelloInterval 4.0
>                       HelloValidityTime 150.0
>                       TcInterval 3.0
>                       TcValidityTime 600.0
>                       MidInterval 30.0
>                       MidValidityTime 600.0
>                       HnaInterval 12.0
>                       HnaValidityTime 150.0
>             }
> 
>             Interface "wlan0"
>             {
>                       LinkQualityMult default 0.8
>                       Ip4Broadcast 255.255.255.255
>                       Mode "mesh"
>                       HelloInterval 4.0
>                       HelloValidityTime 150.0
>                       TcInterval 3.0
>                       TcValidityTime 600.0
>                       MidInterval 30.0
>                       MidValidityTime 600.0
>                       HnaInterval 12.0
>                       HnaValidityTime 150.0
>             }
> 
> 
> 
> 
>     -- 
>     Ferry Huberts
> 
> 
>     -- 
>     Olsr-dev mailing list
>     (spam-protected) <mailto:(spam-protected)>
>     https://lists.olsr.org/mailman/listinfo/olsr-dev
>     <https://lists.olsr.org/mailman/listinfo/olsr-dev>
> 
> 

-- 
Ferry Huberts



More information about the Olsr-dev mailing list