This is an old revision of the document!


UDM Pro

Info

command for information

# info
Model:       UniFi Dream Machine PRO
Version:     1.8.3.2949
MAC Address: e0:63:da:8c:87:1e
IP Address:  192.168.101.3
Hostname:    Dream-Machine-Pro
Uptime:      258 seconds

Status:      Connected (http://localhost:8080/inform)

UDM Pro Firmware Upgrade

# ubnt-upgrade https://fw-download.ubnt.com/data/udm/7132-udmpro-1.12.19-b0a7af880c4b4356a0640ce3c54c7484.bin
ubnt-upgrade: [info] Getting FW file from https://fw-download.ubnt.com/data/udm/7132-udmpro-1.12.19-b0a7af880c4b4356a0640ce3c54c7484.bin

Network Controller Update

rm /tmp/unifi_sysvinit_all.deb &> /dev/null
curl -o "/tmp/unifi_sysvinit_all.deb" https://dl.ui.com/unifi/<version>/unifi_sysvinit_all.deb
sha256sum /tmp/unifi_sysvinit_all.deb

Check if sha256sum ok, then

dpkg -i /tmp/unifi_sysvinit_all.deb
rm /tmp/unifi_sysvinit_all.deb

Linux Shell

unifi-os shell

SSH Update Protect

#unifi-os shell
root@ubnt:/# apt install -y --allow-unauthenticated unifi-protect=1.19.1~beta.4
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  unifi-protect
1 upgraded, 0 newly installed, 0 to remove and 25 not upgraded.
Need to get 42.8 MB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 https://apt-beta.artifacts.ui.com stretch/beta arm64 unifi-protect arm64 1.19.1~beta.4 [42.8 MB]
Fetched 42.8 MB in 7s (5470 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 68710 files and directories currently installed.)
Preparing to unpack .../unifi-protect_1.19.1~beta.4_arm64.deb ...
Unpacking unifi-protect (1.19.1~beta.4) over (1.19.1~beta.3) ...
#-> ubnt-dpkg-cache unpack
removing /data/dpkg-cache/stretch/packages/unifi-protect_1.19.1~beta.3_arm64.deb ... done
unifi-protect: action=unpack, package=/data/dpkg-cache/stretch/packages/unifi-protect_1.19.1~beta.4_arm64.deb mark=manual
<-# ubnt-dpkg-cache unpack
Setting up unifi-protect (1.19.1~beta.4) ...
#-> ubnt-dpkg-cache configure
<-# ubnt-dpkg-cache configure

Other commands

factory-reset.sh
ubnt-device-info
ubnt-make-support-file <tgz file>
ubnt-tools ubnt-discover
ubn-systool cputemp