Managing the UDM Pro’s OS via Command Line

Doing it this way allows you to restart the UDM Pro’s “brain” without having it reset all your network connections. It is not uncommon for the UDM to lose its interface while still passing traffic properly. It is still very much a beta (alpha?) product.

Start by logging in via ssh:

ssh root@unifi.tek

Don’t forget that the login is always root. This assumes you’ve already set up a password.

The command for managing the UDM Pro’s Operating System is: unifi-os

So, to restart the OS of the UDM Pro, the command would be

unifi-os restart

You can also get a shell within the UDM’s OS via

unifi-os shell

According to its (brief) help message, the following commands are available:

Usage: /usr/sbin/unifi-os [stop start restart shell 'update url']

1 thought on “Managing the UDM Pro’s OS via Command Line”

  1. You are not allowed to install packages or modify things like you might be used to on other Linux-based devices. : [ [[ alias bg break cd chdir command continue echo eval exec exit export false fg getopts hash help history jobs kill let local printf pwd read readonly return set shift source test times trap true type ulimit umask unalias unset wait Standard Linux commands like ifconfig, tcpdump, netstat, whoami and cat are also available. There are also some commands and files that are unique to the UDM and not well documented by Ubiquiti.

    Reply

Leave a Reply to Anonymous Cancel reply