Table of Contents


meshdesk file

Introduction

internet section with the name 'internet'

settings section named 'settings'


Background on LEDs

Exploring our hardware

#change directory to where the LEDs are
cd /sys/class/leds/
ls 
#These are the LEDs available
blue:power    mt76-phy0     mt76-phy1     yellow:power
#turn it off
echo "0" > yellow\:power/brightness
#turn it on
echo "1" > yellow\:power/brightness
#turn it off
echo "0" > blue\:power/brightness
#turn it on
echo "1" > blue\:power/brightness

Incorporating this in the settings section

config settings 'settings'
    option hardware 'xiaomi_4a_100'
    option id_if 'eth0'
    option morse_led '/sys/class/leds/blue:power/brightness'
    option internet_led '/sys/class/leds/yellow:power/brightness'
    option internet_led_alarm '1'
    option wifi_led '/dev/null'
    option lan_up_file '/tmp/lan_up'

Review new hardware

Key hardware items

Item Typical value Comment
settings → hardware xiaomi_4a_100 Must match the value of a hardware id in RADIUSdesk's Hardware applet.
settings → id_if eth0 eg eth0, eth1 or wan - NOT eth0.1 (for those boards its just eth0)
settings → morse_led /sys/class/leds/blue:power/brightness LED to signal during startup and neighbour counting
settings → internet_led /sys/class/leds/yellow:power/brightness LED to signal connection to controller
settings → internet_led_alarm 1 If Internet LED should be used as an alarm or not
settings → wifi_led /dev/null LED used to show mesh traffic
settings → skip_radio_0 0 set to 1 when radio0 is a 5G radio and you don't want to use it for config SSID

Remember Your Environment

Key environment items

Item Typical value Comment
internet1 → disabled 1 change it to 0 in order for the device to be centrally controlled
internet1 → dns cloud.radiusdesk.com Supply Dummy Value If Not Using DNS System e.g. nohost.radiusdesk.com
internet1 → protocol https Can be http or https
internet1 → ip 176.31.15.210 Fallback when FQDN does not resolve on FQDN not used