What my Rock64 4G is doing (w/ setup guide).
#5
(09-30-2017, 09:08 PM)hecpilot Wrote:
(09-24-2017, 12:26 PM)rmbusy Wrote: I purchased the Rock64 4G for a single purpose: To monitor cheap IP based network cameras bought off eBay, running a program called Motion 4.0.1.

I attached a external self powered USB 3.0 8TB hard drive, and currently monitor 5 cameras via the GB Ethernet interface.  The camera configurations are 3x 1080P 2MP cameras, and 2x 720P 1MP cameras. 

Great write up!  Would you mind please telling us which cameras you ended up using?  I'm interested in setting up something similar.
Thanks!  Sorry for the delay, but although I checked the "Subscribe to this thread" button when I created it, it didn't subscribe me to it, and didn't send me email when someone replied.  I've been busy, and haven't checked back here for quite awhile.

The cameras I'm using were the cheapest I found on eBay at the time.  All of the cameras are IP based network cameras.  I bought 5 1080P 2MP H.View cameras w/ IR night vision.  These turned out to be really nice cameras, and I wish I had bought more at the time.  I also bought a pile of 720P 1MP cameras, of 2 different types.  Of these, the first ones were usable out of the box, but the FW on them limits configurability to I.E., with a plug in downloaded from the camera.  This seemed like a great way to get a Chinese hacker virus, so I would only use it in a disposable Virtual Machine.  The second batch had such bad FW, they were basically unusable out of the box.  I made a project out of them, to replace the crappy FW with something usable.

If you're shopping for cheap IP cameras, finding ones that allow configuration from *any* web browser is desirable.  However, most of the sellers in the lower price ranges really don't know anything about what they're selling.  Also, with the cameras I bought, I found the microprocessor they used was different.  The H.View cameras use a HiSilicon micro, which has full documentation available, including a SDK.  These micros run cool to the touch.  The other cameras all use a Goke 7102 micro.  This chip runs very hot, even when doing nothing.  I'm concerned about it's long term reliability.  Also, they are completely closed off as far as documentation.  There is a rumor they sell their SDK for $10K, and I could find no datasheet or other information about it.  Given all that, if you have a choice, go for a camera with a HiSilicon processor.

The nice thing about the H.View camera is their FW is relatively clean.  After a little digging through the FW on the camera, I found the 1080P stream URL, the 720P stream URL, and a snapshot URL.  When dealing with cheap eBay cameras, those addresses are typically not known.  Having the snapshot URL is the most important for setting it up with Motion, because even the Rock64 can't handle decoding live streams for more than a few low resolution cameras, without dropping frames (at least in the current configuration).  I still haven't found a snapshot URL for the 720P cameras, so I'm monitoring them in 640x360 mode.  The Pi2 couldn't keep up with the decoding of 2 cameras in this mode, which is why I moved up to the Rock64 (that and the faster disk / network interfaces).

I clicked the "Subscribe" button again, so hopefully I'll start getting messages when someone posts to the thread now.

One other warning about IP cameras : Be sure to firewall them off from the internet, else you'll be contributing to the population of Minions out there.  All of these cameras have so many embedded IP addresses, URLs, and open ports, it's downright scary.  So far, they all run embedded Linux, w/ Busybox.  All of them I have looked at have open telnet ports, and the last batch I bought had no root password!  You could log into one of these cameras by telnetting to it, type "root", and a carriage return for the password.  I set up static IP addresses for all my cameras in a fixed range, then on my AP, blocked all internet access for all ports for the range.  The last batch of cameras spend all of their time trying to look up a IP address from a URL, so they can "phone home".  These addresses are all in China or Hong Kong.



(09-25-2017, 10:44 AM)jl_678 Wrote: Hi,

I think that from 0.5.9 forward that Ayufun's image automatically expand the root filesystem on first boot and so those steps are not needed.  Check it out on the change log on the page below.

https://github.com/ayufan-rock64/linux-build/releases

JL
Thanks for the tip!  I added a note to that affect in the procedure.  Since I hadn't looked at anything that new yet, I wasn't aware it was being done automatically.


Messages In This Thread
RE: What my Rock64 4G is doing (w/ setup guide). - by rmbusy - 10-08-2017, 11:27 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 No Audio @ Debian 12 dmitrymyadzelets 2 1,218 04-08-2024, 06:47 AM
Last Post: dmitrymyadzelets
  OpenWRT on the Rock64 CanadianBacon 14 11,245 04-03-2024, 08:48 AM
Last Post: helpmerock
  Rock64 bricked shawwwn 7 7,230 03-17-2024, 12:22 PM
Last Post: dmitrymyadzelets
  Rock64 won't boot luminosity7 10 6,319 03-16-2024, 08:33 AM
Last Post: dmitrymyadzelets
  Rock64 doesn't boot dstallmo 1 812 03-16-2024, 08:29 AM
Last Post: dmitrymyadzelets
  How well does Rock64 deal with HDR and Atmos on Kodi? drvlikhell 3 2,876 04-29-2023, 04:24 AM
Last Post: newestssd
  Rock64 board not working, no HDMI no Ethernet. EDited 3 4,381 01-17-2023, 02:31 PM
Last Post: Flagtrax
  ROCK64 v3 can it boot from USB? Tsagualsa 4 3,106 11-29-2022, 11:31 AM
Last Post: Macgyver
  rock64 v3 spiflash Macgyver 0 1,114 11-28-2022, 02:18 PM
Last Post: Macgyver
  my rock64 dosen't work rookie_267 0 1,306 10-07-2022, 07:50 PM
Last Post: rookie_267

Forum Jump:


Users browsing this thread: 2 Guest(s)