Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: add hop penalty per hardif setting #3454

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

maurerle
Copy link
Member

@maurerle maurerle commented Mar 16, 2025

set this using

uci set gluon.mesh_batman_adv.hop_penalty_mesh0='8'

and check using

batctl hardif mesh0 hop_penalty

the sleep somehow is required to wait until the mesh if is up.

I did not find a better way to do this, maybe someone can help here.
If I omit the sleep statement, I get:

Error - invalid hardif mesh0: Link has been severed followed by the batctl help text

  • docs are currently missing
  • also documentation of gluon.mesh_batman_adv.hop_penalty for the general hop_penalty is not available yet
  • requests for improvements on the usage of uci would be cool, but I do not really know, how to do this using a list without the fuzzy string replacement

closes #2754

set this using

    uci set gluon.mesh_batman_adv.hop_penalty_mesh0='8'

and check using

    batctl hardif mesh0 hop_penalty

the sleep somehow is required to wait until the mesh if is up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

batman-adv: per interface hop_penalty
1 participant