top of page

Hướng dẫn auto reboot Unifi AP AC Pro

Writer's picture: Tuan NguyenTuan Nguyen

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

4 views0 comments

Recent Posts

See All

Comments


 

© 2018 by Tuấn Nguyễn

 Liên hệ tôi
  • Facebook - Black Circle
  • Google+ - Black Circle
bottom of page