From cb991533c3e4c64d26b83f9428f69020474a34fb Mon Sep 17 00:00:00 2001 From: Dmitry Ilyin <6576495+widgetii@users.noreply.github.com> Date: Mon, 31 Aug 2026 23:04:30 +0300 Subject: [PATCH 1/2] Camera ships with no password, not 12345 Current firmware gives root no password at all. Until one is set the camera streams nothing, and the setup page it serves is the only thing it will answer, so there is nothing to sign in with beforehand. The flashing instructions still told people to sign in as root/12345 and change it afterwards, which describes firmware nobody is flashing any more. Rewritten for en, ru and zh -- the three locales this repository still carries. The text now says what the camera actually does: it has no password yet, it streams nothing until it has one, it asks for one before anything else, and that password is root's, shared with ssh, UART, RTSP and ONVIF. The Russian phrasing deliberately avoids a colon after the tag: these values are unquoted YAML scalars, and a colon followed by a space inside one turns the rest of the line into a mapping and breaks the file at load time. --- config/locales/en.yml | 2 +- config/locales/ru.yml | 2 +- config/locales/zh.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/locales/en.yml b/config/locales/en.yml index 91fbcc2..fe5761c 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -101,7 +101,7 @@ en: permanent_link: Permanent link to this configuration subtitle: on a camera with %{soc_name} SoC and %{flash_type} SPI flash chip success: - info_html: Open camera's web interface on http://%{address}/ and sign in using login root and password 12345. You will be asked to set up your own secure password once signed in. To access the camera via ssh or UART use same login and password as above. + info_html: Open camera's web interface on http://%{address}/. A new camera has no password yet and streams nothing until it has one, so it asks you to choose a password before anything else. That password belongs to root and is the one the web interface, ssh, UART, RTSP and ONVIF all use. title: Congratulations! At this moment, you have OpenIPC Firmware (%{name}) installed. title: Flashing OpenIPC Firmware restore: diff --git a/config/locales/ru.yml b/config/locales/ru.yml index b064e9c..d473eec 100644 --- a/config/locales/ru.yml +++ b/config/locales/ru.yml @@ -103,7 +103,7 @@ ru: permanent_link: Постоянная ссылка на эту конфигурацию subtitle: на камере с %{soc_name} SoC и флэш-чипом %{flash_type} SPI success: - info_html: Откройте веб-интерфейс камеры на порту 80 ( http://%{address}/ ) и войдите в систему, используя логин root и пароль 12345. После входа в систему вам будет предложено установить собственный безопасный пароль. Чтобы получить доступ к камере через ssh или UART используйте те же логин и пароль, что указаны выше. + info_html: Откройте веб-интерфейс камеры по адресу http://%{address}/. У новой камеры ещё нет пароля, и пока он не задан, она ничего не транслирует — поэтому первым делом она предложит вам придумать пароль. Это пароль пользователя root, и его же используют веб-интерфейс, ssh, UART, RTSP и ONVIF. title: Поздравляем! На данный момент у вас установлена прошивка OpenIPC (%{name}). title: Установка прошивки OpenIPC restore: diff --git a/config/locales/zh.yml b/config/locales/zh.yml index d1889f4..dbbe2a7 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -101,7 +101,7 @@ zh: permanent_link: 当前配置的永久链接 subtitle: 在带有 %{soc_name} SoC 和 %{flash_type} SPI 闪存芯片的摄像机上 success: - info_html: 在端口 80 ( http://%{address}/ ) 上打开摄像机的 Web 界面并使用登录root和密码12345登录。登录后将要求您设置自己的安全密码。通过以下方式访问摄像机ssh 或 UART 使用与上述相同的登录名和密码。 + info_html: 在 http://%{address}/ 打开摄像机的 Web 界面。新摄像机尚未设置密码,在设置密码之前不会推送任何视频流,因此它会首先要求您设置一个密码。该密码属于 root 用户,Web 界面、ssh、UART、RTSP 和 ONVIF 都使用它。 title: 恭喜!此时,您已经安装了 OpenIPC 固件 (%{name})。 title: 刷写 OpenIPC 固件 restore: From 161578b1a175dd2df2ee94e6ac61053266d7c762 Mon Sep 17 00:00:00 2001 From: Dmitry Ilyin <6576495+widgetii@users.noreply.github.com> Date: Mon, 31 Aug 2026 23:10:03 +0300 Subject: [PATCH 2/2] Do not claim the root password covers digest ONVIF Review on the wiki side (OpenIPC/wiki#500) caught this in the same sentence. The root password is what the web interface, ssh, UART and RTSP check, and ONVIF accepts it from clients sending HTTP Basic or WSSE PasswordText -- but not from ones authenticating with a digest. A digest is computed over the cleartext password and the system database stores only a one-way hash, so those clients need onvif.password set separately, in cleartext. It is the common case rather than a corner: PasswordDigest is what most ONVIF clients try first. --- config/locales/en.yml | 2 +- config/locales/ru.yml | 2 +- config/locales/zh.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/locales/en.yml b/config/locales/en.yml index fe5761c..0b7b4c1 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -101,7 +101,7 @@ en: permanent_link: Permanent link to this configuration subtitle: on a camera with %{soc_name} SoC and %{flash_type} SPI flash chip success: - info_html: Open camera's web interface on http://%{address}/. A new camera has no password yet and streams nothing until it has one, so it asks you to choose a password before anything else. That password belongs to root and is the one the web interface, ssh, UART, RTSP and ONVIF all use. + info_html: Open camera's web interface on http://%{address}/. A new camera has no password yet and streams nothing until it has one, so it asks you to choose a password before anything else. That password belongs to root and is the one the web interface, ssh, UART and RTSP all use. ONVIF accepts it too, unless your client authenticates with a digest -- those need onvif.password set separately. title: Congratulations! At this moment, you have OpenIPC Firmware (%{name}) installed. title: Flashing OpenIPC Firmware restore: diff --git a/config/locales/ru.yml b/config/locales/ru.yml index d473eec..3ebe9bd 100644 --- a/config/locales/ru.yml +++ b/config/locales/ru.yml @@ -103,7 +103,7 @@ ru: permanent_link: Постоянная ссылка на эту конфигурацию subtitle: на камере с %{soc_name} SoC и флэш-чипом %{flash_type} SPI success: - info_html: Откройте веб-интерфейс камеры по адресу http://%{address}/. У новой камеры ещё нет пароля, и пока он не задан, она ничего не транслирует — поэтому первым делом она предложит вам придумать пароль. Это пароль пользователя root, и его же используют веб-интерфейс, ssh, UART, RTSP и ONVIF. + info_html: Откройте веб-интерфейс камеры по адресу http://%{address}/. У новой камеры ещё нет пароля, и пока он не задан, она ничего не транслирует — поэтому первым делом она предложит вам придумать пароль. Это пароль пользователя root, и его же используют веб-интерфейс, ssh, UART и RTSP. ONVIF принимает его тоже, кроме клиентов, которые авторизуются дайджестом — им нужен отдельно заданный onvif.password. title: Поздравляем! На данный момент у вас установлена прошивка OpenIPC (%{name}). title: Установка прошивки OpenIPC restore: diff --git a/config/locales/zh.yml b/config/locales/zh.yml index dbbe2a7..3251d5f 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -101,7 +101,7 @@ zh: permanent_link: 当前配置的永久链接 subtitle: 在带有 %{soc_name} SoC 和 %{flash_type} SPI 闪存芯片的摄像机上 success: - info_html: 在 http://%{address}/ 打开摄像机的 Web 界面。新摄像机尚未设置密码,在设置密码之前不会推送任何视频流,因此它会首先要求您设置一个密码。该密码属于 root 用户,Web 界面、ssh、UART、RTSP 和 ONVIF 都使用它。 + info_html: 在 http://%{address}/ 打开摄像机的 Web 界面。新摄像机尚未设置密码,在设置密码之前不会推送任何视频流,因此它会首先要求您设置一个密码。该密码属于 root 用户,Web 界面、ssh、UART 和 RTSP 都使用它。ONVIF 也接受该密码,但使用摘要认证的客户端除外,它们需要单独设置 onvif.password。 title: 恭喜!此时,您已经安装了 OpenIPC 固件 (%{name})。 title: 刷写 OpenIPC 固件 restore: