По идее надо так действовать.
sudo apt-get install -y libav-tools
sudo motion
[0] Processing thread 0 - config file /etc/motion/motion.conf [0] Motion 3.2.12 Started [0] ffmpeg LIBAVCODEC_BUILD 3547904 LIBAVFORMAT_BUILD 3544067 [0] Thread 1 is from /etc/motion/motion.conf [1] Thread 1 started [0] motion-httpd/3.2.12 running, accepting connections [1] Failed to open video device /dev/video0: No such file or directory [0] motion-httpd: waiting for data on port TCP 8080 [1] Could not fetch initial image from camera [1] Motion continues using width and height from config file(s) [1] Resizing pre_capture buffer to 1 items [1] Started stream webcam server in port 8081
Видеорегистратор стоит отдельно. 4 камеры.
Когда ввожу адрес регистратора http://192.168.1.2:8081 выдаётся ошибка.
------------------------------------------------------------
Не для Debian 10.
apt-get install -y libav-tools
Превышено время ожидания ответа от сайта 192.168.1.188.
Попробуйте сделать следующее:
root@debian10:/home/user# motion [1473213392:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file /etc/motion/motion.conf [1473213392:motion] [NTC] [ALL] motion_startup: Motion 4.1.1 Started [1473213392:motion] [NTC] [ALL] motion_startup: Logging to file (/var/log/motion/motion.log)
Прокси и брандмауэра нет.
Ок, давайте посмотрим на каком порту работает motion. На той машине, где запустили motion выполните команду и покажите вывод:
sudo netstat -tnlp | grep -i motion