UniFi’s AP OS is forked from a sort of ancient branch of LEDE, which is a linux distro that was branched from OpenWRT…so it’s a really pared-down busybox linux. A lot of the commands should be familiar, but it’s nice to keep these in one place, anyway:
Command Line | Function |
info | displays device info |
set-default | factory reset |
set-inform http//192.168.1.1:8080/inform | set adoption / inform URL |
upgrade https://10.0.0.1/firmware.bin | upgrade firmware |
fwupdate https://10.0.0.1/firmware.bin | update firmware |
reboot | reboot device |
poweroff | shut down device |
uptime | show device uptime |
ifconfig | show interfaces and addresses |
ip address | show interfaces and addresses |
ip address add 192.168.1.150/24 dev br0 | set static ip address on ethernet bridge device |
ip route | show routing table |
ip route add default via 192.168.1.1 | add default route to routing table |
vi /etc/resolv.conf | configure resolv.conf with nameserver, etc. |
ping 1.1.1.1 | ping |
arp -a | show arp table entries |
ip neigh | show ipv6 neighbors |