Шпаргалка Ubiquity UniFi. Все комамнды.

Шпаргалка Ubiquity UniFi. Все комамнды.

All Unifi SSH Commands that You Want to Know

Unifi SSH Commands

We are going to start with the most commonly used Unifi SSH Commands, later on, I will organize them by device or function.

CommandExampleFunction
infoinfoDisplays device information
set-defaultset-defaultFactory reset device
set-informset-inform http://192.168.1.1:8080/informSet URL of the controller for adoption. More info
upgradeupgrade https://<firmware-url>.binUpgrade firmware – More info
fwupdatefwupdate --url https://<firmware-url>.binUpdate firmware
rebootrebootReboot the device
poweroffpoweroffShutdown device
uptimeuptimeShows device uptime

Network related SSH Commands

The following Unifi SSh Commands can really help you with finding network-related issues with your Unifi Device.

CommandExampleFunction
ifconfigifconfigShow network interface information
ip address addip address add 192.168.1.143/24 dev br0Set static IP Address
ip routeip routeDisplay current gateway
ip router addip route add default via 192.168.1.1Set default gateway
echo "nameserver 192.168.1.1" > /etc/resolv.confSet DNS Server
pingping 1.1.1.1Check network connection to device
arparp -aShow arp table
ip neighip neighShow IPv6 neighbors

Unifi Log files

There are a lot of log files that you can access to help you debug any Unifi related problem:

CommandFunction
cat /var/log/messagesOutput the error log
tail -f /var/log/messagesMonitor log file
cat /mnt/data/unifi-os/unifi-core/config/settings.yamlServer settings
cat /mnt/data/unifi-os/unifi-core/logs/discovery.logDiscovery log
cat /mnt/data/unifi-os/unifi-core/logs/system.logSystem log
cat /mnt/data/unifi-os/unifi/logs/server.logServer log
cat /mnt/data/unifi-os/unifi-core/logs/errors.logHttp errors

https://lazyadmin.nl/home-network/unifi-ssh-commands/ – All Unifi SSH Commands that You Want to Know

Fix Unifi Adoption Failed with these Easy to Follow Steps

https://lazyadmin.nl/home-network/unifi-adoption-failed/ – Fix Unifi Adoption Failed with these Easy to Follow Steps

Оставьте ответ

Ваш адрес email не будет опубликован.

÷ 2 = 4