Skip to content

stündlicher reboot von reinen transfer Knoten #32

Description

@mmalte

Wurde getestet ob Knoten die kein Client Netz aktiv haben durch dieses Zeile nicht dauerhaft neubooten:

C_MACS=${C_MACs}$(iw dev $if station dump | grep ^Station | cut -d ' ' -f 2)

Konkrete geht es mir um einen Fall, bei dem bei den ersten Knoten eine Mesh Kette (im Keller) das Client Netz abgeschaltet ist, da sich lediglich bei den letzten Knoten der Kette (OGs) Nutzer aufhalten.

Problem ist, dass von dieser Abfrage noch Interfaces, wie eth0.1 ausgegeben werden:

cliifs=$(/usr/sbin/brctl show | sed -n -e '/^br-client[[:space:]]/,/^\S/ { /^\(br-client[[:space:]]\|\t\)/s/^.*\t//p }' | grep -v "bat0" | grep -v "local-port"| tr '\n' ' ')

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions