Gluon: Hostname setzen

In der Konsole folgende Befehle nacheinander absetzen. MESHNODE dabei durch einen Hostname der Wahl ersetzen.

uci set system.@system[0].hostname='MESHNODE'
uci commit
/etc/init.d/system reload

Gluon: Domain via SSH wechseln

Aktuelle Domain prüfen:

uci show | grep gluon.core.domain

Verfügbare Domains checken:

cd /lib/gluon/domains/ && ls -la

Knoten der neuen Domain zuordnen:

uci set gluon.core.domain='xyz'
gluon-reconfigure

Node neustarten:

reboot

Gluon: Station-Dump der Mesh-Devices

iw dev mesh0 station dump
iw dev mesh1 station dump

Beispielausgabe:

Station a1:b1:c1:d1:e1:f1 (on mesh1)
        inactive time:  20 ms
        rx bytes:       80702254
        rx packets:     1010438
        tx bytes:       22981
        tx packets:     97
        tx retries:     0
        tx failed:      2
        rx drop misc:   323502
        signal:         -83 [-84, -89, -95, -95] dBm
        signal avg:     -82 [-82, -89, -95, -95] dBm
        Toffset:        18446744073626970670 us
        tx bitrate:     6.0 MBit/s
        rx bitrate:     57.8 MBit/s VHT-MCS 3 short GI VHT-NSS 2
        rx duration:    3252 us
        last ack signal:-77 dBm
        mesh llid:      32745
        mesh plid:      17408
        mesh plink:     BLOCKED
        mesh local PS mode:     UNKNOWN
        mesh peer PS mode:      ACTIVE
        mesh non-peer PS mode:  ACTIVE
        authorized:     yes
        authenticated:  yes
        associated:     yes
        preamble:       long
        WMM/WME:        yes
        MFP:            no
        TDLS peer:      no
        DTIM period:    2
        beacon interval:100
        short slot time:yes
        connected time: 51050 seconds

Client-WLAN bei einem Freifunk-Knoten auf 2,4 oder 5 GHz beschränken

Aktuelle Konfiguration prüfen:

uci show | grep abled

Prüfen, auf welchem Frequenzband das 2,4 (Kanäle 1-11) bzw. 5 GHz-Wifi (ab Kanal 36) anliegt:

uci show | grep channel

Jeweiliges Device entsprechend abschalten:

uci set wireless.client_radio0.disabled='1'

ODER

uci set wireless.client_radio1.disabled='1'

Änderungen committen und WiFi neustarten:

uci commit
wifi