Hướng dẫn auto reboot Unifi AP AC Pro
- Tuan Nguyen
- May 8, 2021
- 1 min read
Updated: May 19, 2021

Mô hình:
- 01 máy tính Windows 10 cài Controller để quản lý các AP Unifi
- 01 máy cài Ubuntu chạy script auto reboot Unifi
Bước 1: Lấy Username và Password để ssh vào AP Unifi
Truy cập vào Controller > Settings > System Settings > Controller Configuration > Device SSH Authentication
Bước 2: Cài sshpass trên Ubuntu
# sudo get-install sshpass
Bước 3: Tạo crontab trên Ubuntu
# sudo crontab -e
0 1 * * * sshpass -p "mk123456" ssh -oStrictHostKeyChecking=no admin@192.168.1.10 reboot
Comments