Advanced Configuration

Danger

Advanced configuration should not be necessary for most installations/setups. If you think you need to use advanced configuration, please contact support at support@remote.it first.

Removing the Web Admin Panel

When you install the remoteit package on your device, the remoteit admin panel at port 29999 is started by default.  In addition, a remoteit Service allowing you to connect to the device's Admin Panel remotely is also selected for initial configuration by default.

If, for some reason you do not wish to use the admin panel, here's how to remove the remoteit Service which connects to it.  The remoteit Web Admin Panel service will still be running on your device, but there won't be a remote connection to it any more.

Use SSH to connect to your device

Remove the remoteit Service for the Web Admin panel

Run

sudo remoteit signin 

and

sudo remoteit status

Get the Service ID of the Web Admin Panel

Run

sudo remoteit remove --id <service ID>

Confirm that it's gone:

sudo remoteit status
Suppressing the headless Admin Panel service

If you'd like to completely prevent use of the Web Admin Panel on port 29999, even on the LAN, you can run:

sudo systemctl disable --now remoteit-headless

To re-enable the web Admin Panel, run:

sudo systemctl enable --now /opt/remoteit-headless/scripts/remoteit-headless.service
Environment variables

Warning

These are for advanced users. You should not use these unless you have a specific reason to.

You can set the following environment variables to control the remote.it CLI's behavior:

  • REMOTEIT_CONFIG_PATH="/path/to/config.json" path to the config file. Note that you can also set this using the -c, --config flag on the CLI to do this.
  • REMOTEIT_HWID="some-hardware-id" the Hardware ID to use to identify this Device.

  • REMOTEIT_VERBOSE=true to turn on verbose mode. Note you can also use the -v, --verbose flag on the CLI to do this.

  • REMOTEIT_DIR="/path/to/remoteit" to configure where remote.it related files exist. This is used as a root for things like logs and binaries on some systems, primarily Windows.

  • REMOTEIT_LOG_DIR="/path/to/logs" to configure where logs should be written to.

  • REMOTEIT_BINARY_DIR="/path/to/binaries" to configure where remote.it related binaries exist.

  • REMOTEIT_CONNECTD_PATH="/path/to/connectd" to configure where the connectd binary exists.

  • REMOTEIT_MUXER_PATH="/path/to/muxer" to configure where the muxer binary exists.

  • REMOTEIT_DEMUXER_PATH="/path/to/demuxer" to configure where the demuxer binary exists.

  • REMOTEIT_SCHANNEL_PORT=5980 to configure what port SChannel should listen on.

Additionally, you can set these on

  • Raspberry Pi/Linux/Mac/Unix using export VARIABLE="VALUE"

  • Windows using set VARIABLE="VALUE"

Was this article helpful?
0 out of 0 found this helpful