-
Notifications
You must be signed in to change notification settings - Fork 0
SBCC Not Yet Released
Minty Trebor edited this page Mar 24, 2022
·
1 revision
SBCC settings can be accessed from the SBCC button in the bottom bar. This will open a window similar to the image below:
From this screen you can add a new command, and select to edit or delete an existing command using the action buttons on each row. The commands you configure will be available for selection when you add a button to a layout or custom panel.
The settings button allows you configure the SBCC service.
- API KEY: Prevents commands been executed on the SBC, unless the API key is received. BtnCmd auto adds the api key to any command you configure. Use the button to generate a new random key.
- Port: Specifies the port the SBCC service listens on. Change this to a free port on your SBC
- Subnet: Tells the service to only execute commands received from the specified subnet, eg
192.168.0.1/24
. A value of0.0.0.0
will accept commands from anywhere. WARNING only use 0.0.0.0 if you understand the security implications.
- When configuring SBCC for the first time you should change the API KEY and Subnet values from their defaults.
- If you enter in an incorrect subnet value you may loose access to the service. Correct the value first in the UI, then run
sudo systemctl restart SBCCSvs.service
in a terminal on the SBC to force a restart of the service. It will automatically pick up the new configuration values.