π Network Services
MOS provides various network services for remote access, file sharing, and VPN connectivity. These can be managed through:
Settings β Network β Network Services


π SSHβ
Enable SSH access to remotely manage your MOS system via command line.
When enabled, you can connect using any SSH client:
ssh root@<MOS-IP-ADDRESS>
NFSβ
Network File System (NFS) allows Linux/Unix systems to mount shares from MOS.
Enable NFS to share directories with other systems on your network.
π Dnsmasqβ
Lightweight DNS forwarder and DHCP server.
Enable Dnsmasq for local DNS resolution and DHCP services.
π NUT (Network UPS Tools)β
NUT (Network UPS Tools) lets MOS monitor and manage UPS (Uninterruptible Power Supply) devices connected via USB or serial port. It provides live battery and status information and can trigger a graceful shutdown of the system (and selected workloads) when mains power is lost.
Everything is configured directly in the WebUI β you no longer need to edit configuration files by hand.
The NUT service itself is enabled or disabled under Settings β Network β Network Services. All remaining NUT settings are configured on the dedicated NUT page under Settings β Network.

The NUT page with UPS status and configuration sections.
π Quick Startβ
- Enable NUT under Settings β Network β Network Services
- Open the NUT page under Settings β Network
- Select the Mode (
standalonefor a locally connected USB/serial UPS) - Under UPS Configuration, set the UPS Name, the Driver (e.g.,
usbhid-ups) and the Port (autofor USB) - Adjust Shutdown Configuration and, if desired, Stop Services on Battery
- Click the save (floating action) button and verify the UPS Status card shows live values
π UPS Statusβ
The UPS Status card at the top of the page shows live values queried from the UPS:
| Field | Description |
|---|---|
| Status | Raw UPS status flags (e.g., OL = online, OB = on battery, LB = low battery) |
| UPS Name | Name of the configured UPS |
| Manufacturer | UPS manufacturer (when reported) |
| Model | UPS model (when reported) |
| Load | Current load in percent |
| Battery Charge | Battery charge in percent |
| Battery Runtime | Estimated remaining runtime |
| Input Voltage | Mains input voltage |
The status shows as Unreachable when NUT is disabled or the UPS daemon (upsd) cannot be queried β the card then displays a connection error (e.g., Connection refused).
βοΈ Modeβ
The Mode dropdown selects the NUT operating mode:
| Mode | Description |
|---|---|
standalone | Single UPS protecting the local MOS system (most common) |
netserver | UPS server that shares its UPS with other systems on the network |
netclient | Client that monitors a remote UPS over the network (no local UPS) |
none | NUT does not run (equivalent to disabling it) |

The available NUT modes.
Spindown Disksβ
Toggle Spindown Disks to put all spin-capable disks into standby when the UPS reports an ONBATT (on battery) event. This lowers power draw and protects the disks during an outage.
π₯οΈ Server Configuration (standalone / netserver)β
In standalone and netserver mode, MOS manages the UPS device(s) and the NUT server settings directly β this replaces the former ups.conf, upsd.conf and upsd.users files.

Server and UPS configuration in netserver mode.
Listen Addressesβ
Defines where the NUT server (upsd) accepts connections (equivalent to LISTEN in upsd.conf):
| Field | Description |
|---|---|
| Address | IP address to listen on (0.0.0.0 = all interfaces) |
| Port | TCP port (default: 3493) |
- Click + to add another listen address
- Click the red delete icon to remove an entry
UPS Configurationβ
Defines the UPS device(s) to monitor (equivalent to ups.conf):
| Field | Description |
|---|---|
| UPS Name | Name of the UPS, e.g., ups |
| Driver | NUT driver matching your UPS (e.g., usbhid-ups for USB HID devices) |
| Port | Device port β auto for USB, or a serial device such as /dev/ttyS0 |
| Description | Optional description for the UPS |
| Extra Configuration + | Additional driver options as key/value pairs (e.g., pollinterval, maxretry, retrydelay) |
Usersβ
Defines NUT users and their permissions (equivalent to upsd.users). Click + to add a user:
| Field | Description |
|---|---|
| Username / Password | Credentials for the user |
| Actions | Allowed actions, e.g., SET (change UPS variables) and FSD (force shutdown) |
| Instcmds | Allowed instant commands (ALL = all commands) |
| upsmon | Monitoring role: primary (formerly master), secondary (formerly slave), or none |
π‘ Monitor Configuration (netclient)β
In netclient mode, MOS monitors a remote UPS instead of a locally connected one (equivalent to the MONITOR line in upsmon.conf):

Monitor configuration in netclient mode.
| Field | Description |
|---|---|
| UPS Name | Name of the UPS on the remote NUT server, e.g., ups |
| Host | IP address or hostname of the remote NUT server |
| Port | NUT port of the remote server (default: 3493) |
| Power Value | Number of power supplies this UPS feeds (default: 1) |
| Username / Password | Credentials defined on the remote NUT server |
| Role | primary (formerly master) or secondary (formerly slave) |
π Shutdown Configurationβ
Controls how and when MOS shuts down on a critical power event (equivalent to the shutdown options in upsmon.conf):

UPS configuration, users, and shutdown configuration.
| Field | Default | Description |
|---|---|---|
| Shutdown Command | /sbin/shutdown -h +0 | Command executed on a critical power event |
| Shutdown Mode | lowbattery | When to shut down: lowbattery (when the UPS reports low battery) or timer (after a fixed time on battery) |
| Timer Seconds | β | Time on battery before shutdown β only shown when Shutdown Mode is timer |
| Final Delay | 5 | Seconds to wait before shutdown after the SHUTDOWN event |
| Minimum Supplies | 1 | Minimum number of power supplies that must be online to keep running |
| Powerdown Flag | /etc/killpower | File used to signal that the UPS should cut power after shutdown |
β±οΈ Timersβ
Fine-tune polling and timeout behaviour (equivalent to POLLFREQ, DEADTIME, etc.):

Timers and workload shutdown settings.
| Field | Default | Description |
|---|---|---|
| Poll Frequency | 5 seconds | How often upsmon polls the UPS |
| Poll Frequency Alert | 5 seconds | Poll frequency while an alert condition is active |
| Host Sync | 15 seconds | How often secondary hosts synchronise with the primary |
| Dead Time | 300 seconds | Time without a valid response before the UPS is declared dead |
| RB Warn Time | 43200 seconds | Reboot warning interval |
| No Comm Warn Time | 60 seconds | Time without communication before a warning is raised |
π Stop Services on Batteryβ
When the UPS switches to battery (ONBATT), MOS can stop selected workloads to save power and shut them down gracefully. Stopped workloads are restarted when power returns (ONLINE) β but only if they were running before the outage.

Workloads (Docker containers, LXC containers, VMs) to stop on battery.
- Docker β toggle individual containers
- LXC β toggle individual containers
- VMs β toggle individual virtual machines
Expand a category to show its entries, then enable the toggle next to each workload you want stopped on battery.
π Event Scriptsβ
Custom scripts can be attached to NUT events. They are stored under:
/boot/config/system/nut/<event>.sh
Supported events (case-insensitive): ONLINE, ONBATT, SHUTDOWN, LOWBATT, FSD, COMMBAD, NOCOMM, NOPARENT, REPLBATT.
The scripts run directly from the boot stick when the event fires, so changes take effect immediately without restarting NUT.
π§° Common UPS Driversβ
| Manufacturer | Driver | Notes |
|---|---|---|
| APC | usbhid-ups | Most modern APC units |
| APC (older) | apcsmart | Smart-UPS via serial |
| CyberPower | usbhid-ups | Most USB models |
| Eaton | usbhid-ups | Various models |
| Tripp Lite | usbhid-ups | USB HID models |
| Tripp Lite | tripplite | Serial models |
| Generic USB | usbhid-ups | HID-compliant devices |
π§ͺ Testing NUTβ
After enabling NUT and configuring your UPS, verify the setup from the MOS Terminal:
# Check UPS status
upsc ups@localhost
# List available commands
upscmd -l ups@localhost
# Test battery (if supported)
upscmd ups@localhost test.battery.start
π Troubleshootingβ
- UPS unreachable / "Connection refused": Ensure the NUT service is enabled in Network Services and the UPS daemon (
upsd) is running - UPS not detected: Verify the USB/serial connection and that the selected Driver matches your UPS
- Permission denied: Check the Users entries and their actions/instcmds
- No shutdown: Verify Shutdown Command, Shutdown Mode and Minimum Supplies
- Stale data: Adjust the Timers (e.g., Dead Time) as needed
π Remote Mountingβ
Mount remote storage to your MOS system.
Enable to access storage from other servers or NAS devices.
π Rsyncβ
Rsync is a fast, incremental file-synchronisation tool. Enabling the Rsync Daemon turns MOS into an rsync server so that other systems can synchronise data to or from your shares over the network.
The Rsync daemon is enabled or disabled under Settings β Network β Network Services. The daemon configuration is edited on the dedicated Rsync page under Settings β Network.
The Rsync page shows a single Content editor for the rsyncd.conf file, stored at:
/boot/config/system/rsync/rsyncd.conf

The Rsync page with the rsyncd.conf content editor.
Configuring rsyncd.confβ
Enter the rsync daemon configuration in the Content editor and click the save (floating action) button. When the content changes and the daemon is enabled, the service is restarted automatically.
A minimal module definition looks like this:
[data]
path = /mnt/pool/data
read only = no
| Directive | Description |
|---|---|
[name] | Module name clients connect to (e.g., rsync://host/data) |
path | Absolute path of the directory to expose |
read only | yes = clients may only download, no = clients may also upload |
comment | Optional description shown in the module list |
auth users / secrets file | Restrict access to specific users with a password file |
The daemon listens on the standard rsync port 873. Make sure your firewall allows access from the clients that should synchronise with MOS.
ποΈ Samba (SMB/CIFS)β
Windows-compatible file sharing.
Sambaβ
Enable Samba to share folders with Windows, macOS, and Linux systems.
Samba Discoveryβ
Enable network discovery for automatic detection of MOS shares.
Workgroupβ
Configure the workgroup name for your network (default: WORKGROUP).
Localmasterβ
Enable Localmaster to make MOS act as the Samba local master browser for its workgroup. This helps Windows clients keep an up-to-date list of computers and shares on the network.
Only one host per workgroup should be the local master browser. Enable this on MOS only if no other server already provides this role.
Edit Extra Configurationβ
Use Edit extra configuration to add custom options to the generated Samba configuration without editing files by hand. The dialog provides two editors:
| Editor | Purpose | Stored as |
|---|---|---|
| Global Configuration | Extra options for the [global] section (e.g., veto files) | global_extra.conf |
| Shares Configuration | Extra options applied to the share definitions | shares_extra.conf |

The Samba Extra Configuration dialog with default global options.
Both files are stored under /boot/config/system/samba/ and are included in the generated smb.conf. When the content changes and Samba is enabled, smbd is restarted (and nmbd/wsddn if Samba Discovery is enabled). Click Save to apply or Cancel to discard.
π Tailscaleβ
Tailscale is a zero-config VPN that creates a secure mesh network between your devices.
Enabling Tailscaleβ
- Go to Settings β Network β Network Services
- Toggle Tailscale to enable the service
Setupβ
After enabling Tailscale, open the MOS Terminal and run:
tailscale up
This will generate an authentication URL. Follow the link to authenticate your device with your Tailscale account.
For additional options and parameters, refer to the official Tailscale documentation: tailscale up
Tailscale Update Checkβ
Enable automatic update notifications for Tailscale.
Tailscale Daemon Parametersβ
Add custom command-line arguments for the Tailscale daemon (tailscaled) if needed.
Tailscale Web UIβ
Enable Tailscale Web UI to expose the Tailscale web interface for managing your tailnet from the browser.
| Field | Default | Description |
|---|---|---|
| Address | 0.0.0.0 | Interface the Web UI listens on (0.0.0.0 = all interfaces) |
| Port | 8088 | TCP port for the Web UI |
Once enabled, click Open Web UI to open the interface in a new browser tab (e.g., http://<MOS-IP>:8088).
The Tailscale Web UI exposes administrative functions. Only enable it on trusted networks and never forward its port to the public Internet.
π¦ Netbirdβ
Netbird is an open-source peer-to-peer VPN solution with zero configuration.
Enabling Netbirdβ
- Go to Settings β Network β Network Services
- Toggle Netbird to enable the service
Setupβ
After enabling Netbird, open the MOS Terminal and run:
netbird up
This will generate an authentication URL. Follow the link to register your device with your Netbird management server.
For additional options and parameters, refer to the official Netbird documentation: netbird up
Netbird Update Checkβ
Enable automatic update notifications for Netbird.
Netbird Service Parametersβ
Add custom configuration parameters for the Netbird service if needed.
π Troubleshootingβ
VPN not connecting?β
- Ensure the service is enabled in Network Services
- Check that you've run the
upcommand in the MOS Terminal - Verify your device has internet connectivity
- Check firewall settings if behind a restrictive network
Can't access shares?β
- Verify the sharing service (NFS/Samba) is enabled
- Check share permissions in the Shares section
- Ensure client devices are on the same network or VPN
Parts of this documentation were created with the assistance of AI tools. All AI-generated content has undergone review, but it may still contain inaccuracies, omissions, or outdated information.