ZOSI ZR08MN (DVR) cannot talk to zoneminder

Post here to ask any questions about hardware suitability, configuration in ZoneMinder, or experiences. If you just want to know if something works with ZoneMinder or not, please check the Hardware Compatibility sections in the forum, and the Wiki first. Also search this topic as well.
Post Reply
halbatron21
Posts: 9
Joined: Thu Oct 27, 2016 3:13 am

ZOSI ZR08MN (DVR) cannot talk to zoneminder

Post by halbatron21 »

ZOSI ZR08MN
just bought this dvr from amazon, was attempting to add cameras to Zoneminder 135.12, no luck.
here is what zenmap intense scan says about the dvr:
Starting Nmap 7.01 ( https://nmap.org ) at 2020-11-03 07:54 PST
NSE: Loaded 132 scripts for scanning.
NSE: Script Pre-scanning.
Initiating NSE at 07:54
Completed NSE at 07:54, 0.00s elapsed
Initiating NSE at 07:54
Completed NSE at 07:54, 0.00s elapsed
Initiating ARP Ping Scan at 07:54
Scanning 192.168.0.25 [1 port]
Completed ARP Ping Scan at 07:54, 0.22s elapsed (1 total hosts)
Initiating Parallel DNS resolution of 1 host. at 07:54
Completed Parallel DNS resolution of 1 host. at 07:54, 0.01s elapsed
Initiating SYN Stealth Scan at 07:54
Scanning 192.168.0.25 [1000 ports]
Discovered open port 23/tcp on 192.168.0.25
Completed SYN Stealth Scan at 07:54, 1.29s elapsed (1000 total ports)
Initiating Service scan at 07:54
Scanning 1 service on 192.168.0.25
Completed Service scan at 07:54, 0.08s elapsed (1 service on 1 host)
Initiating OS detection (try #1) against 192.168.0.25
adjust_timeouts2: packet supposedly had rtt of -174586 microseconds. Ignoring time.
adjust_timeouts2: packet supposedly had rtt of -174586 microseconds. Ignoring time.
NSE: Script scanning 192.168.0.25.
Initiating NSE at 07:54
Completed NSE at 07:54, 0.16s elapsed
Initiating NSE at 07:54
Completed NSE at 07:54, 0.00s elapsed
Nmap scan report for 192.168.0.25
Host is up (0.00094s latency).
Not shown: 999 closed ports
PORT STATE SERVICE VERSION
23/tcp open telnet security DVR telnetd (many brands)
MAC Address: 5C:BE:C1:BE:50:D9 (Unknown)
Device type: general purpose
Running: Linux 3.X|4.X
OS CPE: cpe:/o:linux:linux_kernel:3 cpe:/o:linux:linux_kernel:4
OS details: Linux 3.2 - 4.0
Uptime guess: 0.731 days (since Mon Nov 2 14:21:36 2020)
Network Distance: 1 hop
TCP Sequence Prediction: Difficulty=258 (Good luck!)
IP ID Sequence Generation: All zeros

TRACEROUTE
HOP RTT ADDRESS
1 0.94 ms 192.168.0.25

NSE: Script Post-scanning.
Initiating NSE at 07:54
Completed NSE at 07:54, 0.00s elapsed
Initiating NSE at 07:54
Completed NSE at 07:54, 0.00s elapsed
Read data files from: /usr/bin/../share/nmap
OS and Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 5.00 seconds
Raw packets sent: 1037 (48.028KB) | Rcvd: 1029 (43.564KB)
You can see of 1000 ports scanned only 1 shows up, TCP 23.
according to Zosi DVR in Network settings:
HTTP Port 86
Server Port 5000
Mobile Port 5001
Obtain an IP Address Automatically box unchecked
IP Address 192.168.000.025
Subnet Mask 255.255.255.000
Gateway Correct
Preferred DNS Server 008.008.008.008
Alternate DNS Server 008.008.004.004
PPOE box unchecked
User Name (grayed out)
Password (grayed out)
Test button (when clicked says OK)
Yes, I can ping 192.168.0.25

The question then is, has anyone else tried this dvr yet?
I will continue to test it, will let you know of any conclusions.
User avatar
burger
Posts: 390
Joined: Mon May 11, 2020 4:32 pm

Re: ZOSI ZR08MN (DVR) cannot talk to zoneminder

Post by burger »

See: https://wiki.zoneminder.com/Finding_Camera_Stream_Paths

Does it have Onvif? Does the User manual detail an RTSP path?
fastest way to test streams:
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl

If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
halbatron21
Posts: 9
Joined: Thu Oct 27, 2016 3:13 am

Re: ZOSI ZR08MN (DVR) cannot talk to zoneminder

Post by halbatron21 »

no, and no respectively.
The Manual is less than adequate.
I am now starting to suspect that this dvr, was only designed for cloud deployment.
I have tried many of the rtsp:// strings, too many to list, but have tried several.
mikb
Posts: 603
Joined: Mon Mar 25, 2013 12:34 pm

Re: ZOSI ZR08MN (DVR) cannot talk to zoneminder

Post by mikb »

You say :-

Code: Select all

HTTP Port 86
Server Port 5000
Mobile Port 5001
NMAP says :-

Code: Select all

23: A Telnet Port
If NMAP can't find a server listening on port 86 then there's no server there, nor anything listening at 5000/5001.

86 is a non-standard port for http, port 80 is assumed if you just http://the-device/ you'd at least need to visit http://the-device:86 to get there when it *is* listening.

So, it would appear that something is disabled/turned off. You may have to telnet in and do something on a command line to change this, and possibly save that as the default state so it sticks when you reboot!

What happens if you telnet in? Start working out what user name/password you may need!
halbatron21
Posts: 9
Joined: Thu Oct 27, 2016 3:13 am

Re: ZOSI ZR08MN (DVR) cannot talk to zoneminder

Post by halbatron21 »

found an issue, config.xml is not configured correctly.
settings at issue:

Code: Select all

<config>
<serverip></serverip>
<serverip></serverip>
<serverport>554</serverport>
<loop_nums>1</loop_nums>
<multicast>0</multicast>
<metadata>1</metadata>
<rtsp_over_http>1</rtsp_over_http>
<http_port>80</http_port>
according to that file, port 554 and 80 should be open.
I then did a factory reset, nothing changed. I only transcribed the relevent bits of the config.xml file, since putty isn't allowing me to cut and paste.
P.S. this file didn't change after i set the port to 86 in the settings dialog. The assumption is this file is blocked or disabled.
also apt is disabled as well.
halbatron21
Posts: 9
Joined: Thu Oct 27, 2016 3:13 am

Re: ZOSI ZR08MN (DVR) cannot talk to zoneminder

Post by halbatron21 »

I can confirm updating firmware will kill telnet access, after the update no ports are available. I found a file called pm_callback.sh, while I still had telnet access. I am betting this file sets up the connection to whatever displays the feeds. I think someone figured it out which is why they rolled out a firmware update from 3515 to 3520, which killed the open telnet port. I might be displaying some paranoia again though, wouldn't want to appear negative. I will close this off and wait for someone to roll out a independent firmware fix. I know, there I go again living in LA LA Land.
halbatron21
Posts: 9
Joined: Thu Oct 27, 2016 3:13 am

Re: ZOSI ZR08MN (DVR) cannot talk to zoneminder

Post by halbatron21 »

Gotta say, this DVR is not well designed. I was using the usb port, with a thumb drive to back up video and jpgs. Now, it will not see the usb drive, thought it might be the thumb drive, and tried another it wouldn't see that one either. I tried both thumbs on another machine and they worked fine. I will try flashing it again, but even if it works in my opinion the ZOSI ZR08MN is of poor design.

Addendum:
ROFL; I can flash it from the usb port, but it still won't see it after reset. The Process to flash this DVR, is to remove mouse, disconnect power, insert usb drive with latest firmware package from zosi support site, and leave mouse disconnected and power up unit, it will then display upgrading on screen, until zosi logo displays, followed by the zosi info dialog. You then power it off, remove the usb drive reconnect mouse and power it up click finish on info screen and you are done, for completeness, I do a factory reset as well. The other funny thing is when you plug in the usb drive the mouse quits regardless of port used.

The result is that you cannot pull the videos and or jpg's from the DVR without their cloud service and apps, which requires you to register with them.
I refuse to do that on principle.
mikb
Posts: 603
Joined: Mon Mar 25, 2013 12:34 pm

Re: ZOSI ZR08MN (DVR) cannot talk to zoneminder

Post by mikb »

halbatron21 wrote: Tue Nov 10, 2020 7:19 pm The result is that you cannot pull the videos and or jpg's from the DVR without their cloud service and apps, which requires you to register with them.
I refuse to do that on principle.
While I'm sorry to hear of your struggle with this device, I think your conclusion is perfectly sound -- and one I 100% agree with.

Things that "can be backed up to the cloud" are fine, things that "must be operated in the cloud, through our service, and with working broadband/wifi/mobile signal at all times" are spyware/garbage dressed up as a revolutionary new idea. Emperor's clothes and all that.

As soon as your broadband/ISP/region of internet fails, or they remove the service just-because, or decide to charge you for the "free cloud" service (at ever increasing rates), you are dead in the water.
halbatron21
Posts: 9
Joined: Thu Oct 27, 2016 3:13 am

Re: ZOSI ZR08MN (DVR) cannot talk to zoneminder

Post by halbatron21 »

Thank You. I am not that upset about it, I can use it in the overwatch role if you get my meaning. The fact that we have revealed the drawbacks may prevent someone else, from making the same mistake. I thought I had purchased it from amazon, but actually it was an ebay purchase. I may try to open the firmware package and try rolling my own. I have not done coding in a long time, but might be able to wrangle something.
Post Reply