[Freifunk Franken Firmware 0000093]: "bat0: Changing gw mode from" consumes log
Mantis Bug Tracker
mbt at chrisi01.de
Mo Mär 26 19:03:26 CEST 2018
Eine Notiz wurde zu diesem Eintrag hinzugefügt.
----------------------------------------------------------------------
(0000264) fbl (Reporter) - 2018-03-26 18:46
https://mantis.freifunk-franken.de/view.php?id=93#c264
----------------------------------------------------------------------
Ich hab dazu nochmal fix die man-Page gelesen. Man kann dem batman das durchaus
sagen, was es tun soll:
Man kann beim setzen des gw_mode client zusätzlich eine "selection class"
übergeben:
1 -> consider the gateway's advertised throughput as well as the link quality
towards the gateway and stick with the selection until the gateway disappears
2 -> chooses the gateway with the best link quality and sticks with it (ignore
the advertised throughput)
3 -> chooses the gateway with the best link quality but switches to another
gateway as soon as a better one is found
XX -> chooses the gateway with the best link quality but switches to another
gateway as soon as a better one is found which is at least XX TQ better than the
currently selected gateway (XX has to be a number between 3 and 256).
Default ist 20, das wird bei unserer Firmware aber mit 1 überschrieben.
Automatisch aktualisieren funktioniert scheinbar nur auf basis der link quality
(TQ).
Daher werden wir diesen Hack wohl behalten müssen.
Bleiben für mich zwei Fragen:
- Den Output nach /dev/null?
- Macht es ggf. Sinn, das weniger häufig auszuführen?
----------------------------------------------------------------------
Mehr Informationen über die Mailingliste franken-dev