Showing posts with label surveillance. Show all posts
Showing posts with label surveillance. Show all posts

Saturday, 17 August 2013

3R Max DVR Info and Ethernet FTP Telnet login



The 3R MAXDVR4000 is a 1U rackmount DVR with four composite inputs.

There is not much info out there about them, there are two IDE hard drives inside formatted with resizerfs, a Axis Video Controller serial and Ethernet port.

If there hard drives are no longer working, they can be removed and replaced with another pair of working drives.  The sizes do not have to match either.  The drives are formatted and file and folder structures are copied on to the new hard drives upon power up.  You may notice a file called 'Hdd_Image.tgz' copied on one or both drives, containing the default info.

Conducting a Wireshark trace on the Ethernet port, yielded a default static IP of 192.168.0.60, with a Telnet and FTP server.

Default login credentials are:
root
pass


Default front panel password is 0000
 


Files can be easily pulled from the unit using FTP and the unit work in a circular buffer mode.


Some console dumps:

Axis Developer Board LX release 2.0.0
Linux 2.4.5 on a cris (ttyp0)

[root@3R-miniMax /]112# mount
/dev/root on / type cramfs (ro)
proc on /proc type proc (rw)
/dev/flash2 on /mnt/flash type jffs (rw)
tmpfs on /var type tmpfs (rw)
/dev/hda1 on /mnt/hda1 type reiserfs (rw)

[root@3R-miniMax /]643# cat /proc/cpuinfo
cpu        : CRIS
cpu revision    : 11
cpu model    : ETRAX 100LX v2
cache size    : 8 kB
fpu        : no
mmu        : yes
mmu DMA bug    : no
ethernet    : 10/100 Mbps
token ring    : no
scsi        : yes
ata        : yes
usb        : yes
bogomips    : 166.40

[root@3R-miniMax /]643# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/flash2               1920      1344       576  70% /mnt/flash
tmpfs                     8432        48      8384   1% /var
/dev/hda1......


Some more info can be found from: http://www.chinasaixin.com/3R/3R/body02b-02_01.htm

WindyCityTech Blogger
WindyWindyCityTech Wordpress

Wednesday, 16 March 2011

Build a Cheap/easy Linux based Motion Detection CCTV system



This is a guide for those that want to build a cheap CCTV server for your home or business.

It uses a analogue camera to do two things:
  • Motion capture surveillance footage only when needed
  • email pictures of captured footage to you inbox

It requires some computer skills, but you probably will be smarter afterwards.

Hardware Required:
  • Asus EEE PC 701 Netbook $260
  • Easycap DC60 USB Video Capture Adapter $8.90
  • Video Camera $0 free

I picked the netbook up online from www.catchoftheday.com.au and figured it would be useful for some small project. It sat around doing nothing for a while until I was given a camera for free. I thought the two would be perfect for a CCTV project. The camera had a composite video output so the first task was finding a cheap video to usb adaptor. I picked one of these up from www.dealextreme.com after checking that there were Linux drivers available.

Software:
  • Ubuntu 10.04 LTS netbook remix
  • driver for the usb adaptor
  • motion
  • mutt
  • msmtp

The netbook came installed with Xandros. I replaced that with Eeebuntu 3.0 soon after I got it but that distro is getting a bit old. For this project I wanted something that was still being maintained and would suit a netbook. I settled on the netbook remix of Ubuntu 10.04.

The drivers for the USB adaptor were available from sourceforge.net/projects/easycapdc60. The documentation was great and it came with test scripts.

Motion was available in the repos so I picked that. I did have a look at Zoneminder but I wanted to keep the number of running processes to a minimum and Zoneminder was a bit of overkill for what I needed.

I wanted a way to email off the pictures motion took using just the command line. I picked mutt. Installing it from the repos installed postfix as the MTA. The problem was my ISP kept rejected the emails from postfix. Then I found an excellent guide at www.andrews-corner.org/mutt.html so I removed postfix and used msmtp instead..

Setting up
Install Ubuntu
Build/install usb driver
apt-get install motion
apt-get install mutt
apt-get purge postfix (use msmtp instead)
apt-get install msmtp
configure mutt /home/user/.muttrc
configure msmtp /home/user/.msmtprc
configure motion /home/user/motion.conf

I configured .muttrc and .msmtprc using the directions from www.andrews-corner.org/mutt.html. I then tested it with "echo test | mutt -s test myemail@myisp.com". Great success.

I left most of the settings in motion.conf as is, the most important change I made was to add "on_picture_save date | mutt -s motion myemail@myisp.com -a %f" to get it to send an email everytime it took a picture.

I also opened a port on my router so I could monitor the camera remotely using motion's built in webserver.





Credit goes to my mate P, who wrote this.