Ubuntu 9.10 Desktop
From ZoneMinder
Zoneminder install on UBUNTU 9.10 Desktop – Draft1
Disclaimer: The author of this document has put together this information purpose only for his personal reference and guide to install personal system. All information published herein is gathered from public sources which are thought to be reliable, but the reader should not assume that the information is official or final. The logos and pictures used in the document are also gathered from public sources and are for identification purpose only and author doesn’t claim any ownership or responsibility for the same. The author of this document does not assume responsibility for errors, and all information is subject to change without notice. Certain programs, projects and links listed here are not operated by nor are they the responsibility of the author. Links from these pages to external Web sites are provided as reference and for research aid and do not constitute an endorsement by the author.
List of Changes
Section / Paragraph
Change / Addition
Table of Contents
1 Introduction.
2 Assumptions
3 System Install
3.1 Install UBUNTU 9.10 Desktop
3.2 Install LAMP ( Linux, Apache, MySql, Php ) Server on Ubuntu.
3.3 SSH server and client optional to enable remote shell
3.4 Install Zoneminder
3.5 Install Cambozola
3.6 Configure Video capture card
3.6.1 To test video lets install XAWTV
3.6.2 Identify and configure card options
4 Performance tuning
4.1 SHM fine tuning (Kernel Settings)
4.2 MySQL performance tuining
5 Troubleshooting
6 Appendix
6.1 Bt8x8 Cards by Number
6.2 4 Channel (4 Chip) saa7134 chip card using 4x saa7130 chips
6.3 CCTV Camera Viewing angle comparison
6.4 DynDNS settings
6.5 Upgrade Zoneminder to newer version 1.24.2-2 (advanced users)
1 Introduction This document is provided to help you install Linux (UBUNTU) along with Zoneminder for video surveillance.
1.1 References
Ubuntu.com
Zoneminder.com
1.2 Glossary, Terms & Abbreviations
zm Zoneminder sudo Root user Terminal Command prompt window
2 Assumptions The user would have basic knowledge of Linux and terminal window. Preferred P4 machine with 1 GB ram and available free PCI slot.
3 System Install
3.1 Install UBUNTU 9.10 Desktop You have to download ISO image, burn a bootable CD and follow the instructions on screen when u boot your computer from this CD.
Make sure you write down all the passwords you use.
3.2 Install LAMP ( Linux, Apache, MySql, Php ) Server on Ubuntu Open the terminal window and issue following commands.
Install mysql
$ sudo apt-get install mysql-server
Install Apache2
$ sudo apt-get install apache2
Install php and the apache module for it (select apache option in php install when prompted)
$ sudo apt-get install php5 libapache2-mod-php5
Reboot apache (very important)
$ sudo /etc/init.d/apache2 restart
PhpMyAdmin, if you need it
$ sudo apt-get install phpmyadmin
TEST http://localhost it should work and give u a webpage saying “IT WORKS!”
3.3 SSH server and client optional to enable remote shell
# sudo apt-get install openssh-server openssh-client
3.4 Install Zoneminder
$ sudo apt-get install zoneminder
Installation should go on with no complications. If needed, fix broken dependencies with
$ sudo apt-get -f install
Instruct apache what to do with Zoneminder a force a reload:
$ sudo ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf
$ sudo /etc/init.d/apache2 force-reload
For zm you need to run
$ sudo mysql -u root -p < /usr/share/zoneminder/db/zm_create.sql
$mysql -u root -p
>grant select,insert,update,delete on zm.* to 'zmuser'@localhost identified by 'zmpass';
>flush privileges;
>quit
$ sudo chmod 4755 /usr/bin/zmfix
$ zmfix -a
$ sudo adduser www-data video
$ sudo nano /etc/sysctl.conf
- Shared memory settings changed for ZoneMinder (ZM) add this at bottom (128 MB)
kernel.shmall = 134217728 kernel.shmmax = 134217728
TEST http://localhost/zm should open Zoneminder screen. Default user=admin password=admin
To use mobile skin (on cellphone/PDA) http://myurl.com/zm/index.php?skin=mobile
Main screen *options* (right upper corner)(Images tab)
Is the (optional) cambozola java streaming client installed (?) – check this
Under config also make sure to uncheck the flag for V4L using multiple buffers.
3.5 Install Cambozola
$ cd /tmp $ wget http://www.charliemouse.com/code/cambozola/cambozola-latest.tar.gz $ tar xvfz cambozola-latest.tar.gz $ sudo cp cambozola-0.76/dist/* /usr/share/zoneminder/
3.6 Configure Video capture card 3.6.1 To test video lets install XAWTV
$ sudo apt-get install xawtv
3.6.2 Identify and configure card options Look for the video devices and type of card installed on system. (could be saa7134 or bttv, bt878)
$ lspci
$ nano /etc/modprobe.d/options (create one if you don’t have one already)
In options file add the following lines
For SA878 card single chip with 4 ports (verify your card number from list)
alias char-major-81 bttv
options bttv gbuffers=16 card=77 tuner=4 radio=-1
For 4 chip saa7134 card with saa7130 video encoder chip add the line(verify your card number from list)
alias char-major-81 saa7134
options saa7134 gbuffers=16 card=1,1,1,1
The number 77 is not applicable for all but depends on the chip on the video card. The number of times you put the chip id depends on how many chips you have on board. Could be
after that REBOOT machine
$ ls /dev - verify what video devices are loaded for your card.
$ dmesg |grep 713 or 878 depending on card to see if it’s loaded properly.
First make sure zoneminder is stopped for XATV to be able to capture video
# /etc/init.d/zoneminder stop
$ sudo xawtv -c /dev/video0 -q -v (or video1 depending in your loaded devices)
For bt878 4 ports will appear under video0 as port 0,1,2,3
For 4 chip saa7134 cards it shows 4 ports as video0, video1, video2 and video3
Select format as NTSC-M and select ports and you can test camera.
ONCE TESTED start zoneminder and verify the card capabilities from
# /etc/init.d/zoneminder start
$ sudo zmu -d /dev/video0 -q -v
$ sudo zmu -U usr -P pass -d /dev/video0 -q -v (if you configure zm for users)
now open the ZM screen http://localhost/zm and configure monitors.
4 Performance tuning 4.1 SHM fine tuning (Kernel Settings) The following information can be used to determine if there are any necessary changes required for your system.
The following is the output from the ipcs -l command. Comments have been added following the // to show what the parameter names are.
# ipcs -l
------ Shared Memory Limits --------
max number of segments = 4096 // SHMMNI
max seg size (kbytes) = 32768 // SHMMAX
max total shared memory (kbytes) = 8388608 // SHMALL
min seg size (bytes) = 1
------ Semaphore Limits --------
max number of arrays = 1024 // SEMMNI
max semaphores per array = 250 // SEMMSL
max semaphores system wide = 256000 // SEMMNS
max ops per semop call = 32 // SEMOPM
semaphore max value = 32767
------ Messages: Limits --------
max queues system wide = 1024 // MSGMNI
max size of message (bytes) = 65536 // MSGMAX
default max size of queue (bytes) = 65536 // MSGMNB
Beginning with the first section on Shared Memory Limits, SHMMAX and SHMALL are the parameters that need to be looked at. SHMMAX is the maximum size of a shared memory segment on a Linux system whereas SHMALL is the maximum allocation of shared memory pages on a system.
For SHMMAX, the minimum required on x86 systems would be 268435456 (256 MB) and for 64-bit systems, it would be 1073741824 (1 GB).
SHMALL is set to 8 GB by default (8388608 KB = 8 GB). If you have more physical memory than this, and it is to be used for DB2, then this parameter should be increased to approximately 90% of the physical memory as specified for your computer. For instance, if you have a computer system with 16 GB of memory to be used primarily for DB2, then 90% of 16 GB is 14.4 GB divided by 4 KB (the base page size) is 3774873. The ipcs output has converted SHMALL into kilobytes. The kernel requires this value as a number of pages.
The next section covers the amount of semaphores available to the operating system. The kernel parameter sem consists of 4 tokens, SEMMSL, SEMMNS, SEMOPM and SEMMNI. SEMMNS is the result of SEMMSL multiplied by SEMMNI. The database manager requires that the number of arrays (SEMMNI) be increased as necessary. Typically, SEMMNI should be twice the maximum number of connections allowed (MAXAGENTS) multiplied by the number of logical partitions on the database server computer plus the number of local application connections on the database server computer.
The third section covers messages on the system.
MSGMNI affects the number of agents that can be started, MSGMAX affects the size of the message that can be sent in a queue, and MSGMNB affects the size of the queue.
MSGMAX should be change to 64 KB (that is, 65535 bytes), and MSGMNB should be increased to 65535 on Server systems.
To modify these kernel parameters, we need to edit the /etc/sysctl.conf file. If this file does not exist, it should be created. The following lines are examples of what should be placed into the file:
kernel.sem=250 256000 32 1024
- Example shmmax for a 64-bit system
kernel.shmmax=1073741824
- Example shmall for 90 percent of 16 GB memory
kernel.shmall=3774873
kernel.msgmax=65535
kernel.msgmnb=65535
Run sysctl with -p parameter to load in sysctl settings from the default file /etc/sysctl.conf.
sysctl -p
To make the changes effective after every reboot, boot.sysctl needs to be active on SUSE Linux. On Red Hat, the rc.sysinit initialization script will read the /etc/sysctl.conf file automatically.
4.2 MySQL performance tuining CONFIGURE MYSQL FOR BETTER PERFORMANCE
nano /etc/mysql/my.cnf
CHANGE THE FOLLOWING PARAMETERS UNDER THE SECTION [mysqld]:
max_allowed_packet = 32M
thread_stack = 128K
query_cache_size = 24M
ADD THE FOLLOWING PARAMETERS UNDER THE SECTION [mysqld]:
skip-innodb
tmp_table_size = 32M
max_heap_table_size = 16M
5 Troubleshooting For ZM issues http://www.zoneminder.com/wiki/index.php/FAQ
Here are some commands to get information about your hardware. Some commands are distribution dependent.
lspci -vv -- Returns lots of detailed info. Check for conflicting interrupts or port assignments. You can sometimes alter interrupts/ ports in bios. Try a different pci slot to get a clue if it is HW conflict (comand provided by the pciutils package).
scanpci -v -- Gives you information from your hardware EPROM
lsusb -vv -- Returns lots of detail about USB devices (camand provided by usbutils package).
dmesg -- Shows you how your hardware initialized (or didn't) on boot-up. You will get the most use of this.
v4l-info -- to see how driver is talking to card. look for unusual values.
modinfo bttv -- some bttv driver stats.
zmu -m 0 -q -v -- Returns various information regarding a monitor configuration.
ipcs -- Provides information on the ipc facilities for which the calling process has read acccess.
ipcrm -- The ipcrm command can be used to remove an IPC object from the kernel.
cat /proc/interrupts -- This will dispaly what interrupts your hardware is using.
6 Appendix
6.1 Bt8x8 Cards by Number
B. Bt8x8 Cards by Number (30fps aggregated 4 channels MAX) Approx $10 on ebay
Connexient BT878 single chip card
These are the option numbers for cards for use with modprobe.This does not boast to be a complete list by any means; it is copied nearly verbatim from the kernel source documentation for bttv. If your card is not listed it may or may not be supported depending on the chipset and accompanying components with which it is constructed.
card=n card type
card=0 UNKNOWN/GENERIC card=1 MIRO PCTV card=2 Hauppauge (bt848) card=3 STB, Gateway P/N 6000699 (bt848) card=4 Intel Create and Share PCI/ Smart Video Recorder III card=5 Diamond DTV2000 card=6 AVerMedia TVPhone card=7 MATRIX-Vision MV-Delta card=8 Lifeview FlyVideo II (Bt848) LR26 / MAXI TV Video PCI2 LR26 card=9 IMS/IXmicro TurboTV card=10 Hauppauge (bt878) card=11 MIRO PCTV pro card=12 ADS Technologies Channel Surfer TV (bt848) card=13 AVerMedia TVCapture 98 card=14 Aimslab Video Highway Xtreme (VHX) card=15 Zoltrix TV-Max card=16 Prolink Pixelview PlayTV (bt878) card=17 Leadtek WinView 601 card=18 AVEC Intercapture card=19 Lifeview FlyVideo II EZ /FlyKit LR38 Bt848 (capture only) card=20 CEI Raffles Card card=21 Lifeview FlyVideo 98/ Lucky Star Image World ConferenceTV LR50 card=22 Askey CPH050/ Phoebe Tv Master + FM card=23 Modular Technology MM201/MM202/MM205/MM210/MM215 PCTV, bt878 card=24 Askey CPH05X/06X (bt878) [many vendors] card=25 Terratec TerraTV+ Version 1.0 (Bt848)/ Terra TValue Version 1.0/ Vobis TV-Boostar card=26 Hauppauge WinCam newer (bt878) card=27 Lifeview FlyVideo 98/ MAXI TV Video PCI2 LR50 card=28 Terratec TerraTV+ Version 1.1 (bt878) card=29 Imagenation PXC200 card=30 Lifeview FlyVideo 98 LR50 card=31 Formac iProTV, Formac ProTV I (bt848) card=32 Intel Create and Share PCI/ Smart Video Recorder III card=33 Terratec TerraTValue Version Bt878 card=34 Leadtek WinFast 2000/ WinFast 2000 XP card=35 Lifeview FlyVideo 98 LR50 / Chronos Video Shuttle II card=36 Lifeview FlyVideo 98FM LR50 / Typhoon TView TV/FM Tuner card=37 Prolink PixelView PlayTV pro card=38 Askey CPH06X TView99 card=39 Pinnacle PCTV Studio/Rave card=40 STB TV PCI FM, Gateway P/N 6000704 (bt878), 3Dfx VoodooTV 100 card=41 AVerMedia TVPhone 98 card=42 ProVideo PV951 card=43 Little OnAir TV card=44 Sigma TVII-FM card=45 MATRIX-Vision MV-Delta 2 card=46 Zoltrix Genie TV/FM card=47 Terratec TV/Radio+ card=48 Askey CPH03x/ Dynalink Magic TView card=49 IODATA GV-BCTV3/PCI card=50 Prolink PV-BT878P+4E / PixelView PlayTV PAK / Lenco MXTV-9578 CP card=51 Eagle Wireless Capricorn2 (bt878A) card=52 Pinnacle PCTV Studio Pro card=53 Typhoon TView RDS + FM Stereo / KNC1 TV Station RDS card=54 Lifeview FlyVideo 2000 /FlyVideo A2/ Lifetec LT 9415 TV [LR90] card=55 Askey CPH031/ BESTBUY Easy TV card=56 Lifeview FlyVideo 98FM LR50 card=57 GrandTec 'Grand Video Capture' (Bt848) card=58 Askey CPH060/ Phoebe TV Master Only (No FM) card=59 Askey CPH03x TV Capturer card=60 Modular Technology MM100PCTV card=61 AG Electronics GMV1 card=62 Askey CPH061/ BESTBUY Easy TV (bt878) card=63 ATI TV-Wonder card=64 ATI TV-Wonder VE card=65 Lifeview FlyVideo 2000S LR90 card=66 Terratec TValueRadio card=67 IODATA GV-BCTV4/PCI card=68 3Dfx VoodooTV FM (Euro), VoodooTV 200 (USA) card=69 Active Imaging AIMMS card=70 Prolink Pixelview PV-BT878P+ (Rev.4C,8E) card=71 Lifeview FlyVideo 98EZ (capture only) LR51 card=72 Prolink Pixelview PV-BT878P+9B (PlayTV Pro rev.9B FM+NICAM) card=73 Sensoray 311 card=74 RemoteVision MX (RV605) card=75 Powercolor MTV878/ MTV878R/ MTV878F card=76 Canopus WinDVR PCI (COMPAQ Presario 3524JP, 5112JP) card=77 GrandTec Multi Capture Card (Bt878) card=78 Jetway TV/Capture JW-TV878-FBK, Kworld KW-TV878RF card=79 DSP Design TCVIDEO card=80 Hauppauge WinTV PVR card=81 IODATA GV-BCTV5/PCI card=82 Osprey 100/150 (878) card=83 Osprey 100/150 (848) card=84 Osprey 101 (848) card=85 Osprey 101/151 card=86 Osprey 101/151 w/ svid card=87 Osprey 200/201/250/251 card=88 Osprey 200/250 card=89 Osprey 210/220 card=90 Osprey 500 card=91 Osprey 540 card=92 Osprey 2000 card=93 IDS Eagle card=94 Pinnacle PCTV Sat card=95 Formac ProTV II (bt878) card=96 MachTV card=97 Euresys Picolo card=98 ProVideo PV150 card=99 AD-TVK503 card=100 Hercules Smart TV Stereo card=101 Pace TV & Radio Card card=102 IVC-200 card=103 Grand X-Guard / Trust 814PCI card=104 Nebula Electronics DigiTV card=105 ProVideo PV143 card=106 PHYTEC VD-009-X1 MiniDIN (bt878) card=107 PHYTEC VD-009-X1 Combi (bt878) card=108 PHYTEC VD-009 MiniDIN (bt878) card=109 PHYTEC VD-009 Combi (bt878) card=110 IVC-100 card=111 IVC-120G card=112 pcHDTV HD-2000 TV card=113 Twinhan DST + clones card=114 Winfast VC100 card=115 Teppro TEV-560/InterVision IV-560 card=116 SIMUS GVC1100 card=117 NGS NGSTV+ card=118 LMLBT4 card=119 Tekram M205 PRO card=120 Conceptronic CONTVFMi
6.2 4 Channel (4 Chip) saa7134 chip card using 4x saa7130 chips 4 Channel (4 Chip) saa7134 ship card using 4x saa7130 video chips (30 fps each channel since it has individual chips) faster better image quality. Approx $40
Sr. No Card number and card type to put in modprobe
1 0 -> UNKNOWN/GENERIC
2 1 -> Proteus Pro [philips reference design] [1131:2001,1131:2001]
3 2 -> LifeView FlyVIDEO3000 [5168:0138,4e42:0138]
4 3 -> LifeView/Typhoon FlyVIDEO2000 [5168:0138,4e42:0138]
5 4 -> EMPRESS [1131:6752]
6 5 -> SKNet Monster TV [1131:4e85]
7 6 -> Tevion MD 9717
8 7 -> KNC One TV-Station RDS / Typhoon TV Tuner RDS [1131:fe01,1894:fe01]
9 8 -> Terratec Cinergy 400 TV [153b:1142]
10 9 -> Medion 5044
11 10 -> Kworld/KuroutoShikou SAA7130-TVPCI
12 11 -> Terratec Cinergy 600 TV [153b:1143]
13 12 -> Medion 7134 [16be:0003,16be:5000]
14 13 -> Typhoon TV+Radio 90031
15 14 -> ELSA EX-VISION 300TV [1048:226b]
16 15 -> ELSA EX-VISION 500TV [1048:226a]
17 16 -> ASUS TV-FM 7134 [1043:4842,1043:4830,1043:4840]
18 17 -> AOPEN VA1000 POWER [1131:7133]
19 18 -> BMK MPEX No Tuner
20 19 -> Compro VideoMate TV [185b:c100]
21 20 -> Matrox CronosPlus [102B:48d0]
22 21 -> 10MOONS PCI TV CAPTURE CARD [1131:2001]
23 22 -> AverMedia M156 / Medion 2819 [1461:a70b]
24 23 -> BMK MPEX Tuner
25 24 -> KNC One TV-Station DVR [1894:a006]
26 25 -> ASUS TV-FM 7133 [1043:4843]
27 26 -> Pinnacle PCTV Stereo (saa7134) [11bd:002b]
28 27 -> Manli MuchTV M-TV002
29 28 -> Manli MuchTV M-TV001
30 29 -> Nagase Sangyo TransGear 3000TV [1461:050c]
31 30 -> Elitegroup ECS TVP3XP FM1216 Tuner Card(PAL-BG,FM) [1019:4cb4]
32 31 -> Elitegroup ECS TVP3XP FM1236 Tuner Card (NTSC,FM) [1019:4cb5]
33 32 -> AVACS SmartTV
34 33 -> AVerMedia DVD EZMaker [1461:10ff]
35 34 -> Noval Prime TV 7133
36 35 -> AverMedia AverTV Studio 305 [1461:2115]
37 36 -> UPMOST PURPLE TV [12ab:0800]
38 37 -> Items MuchTV Plus / IT-005
39 38 -> Terratec Cinergy 200 TV [153b:1152]
40 39 -> LifeView FlyTV Platinum Mini [5168:0212,4e42:0212,5169:1502]
41 40 -> Compro VideoMate TV PVR/FM [185b:c100]
42 41 -> Compro VideoMate TV Gold+ [185b:c100]
43 42 -> Sabrent SBT-TVFM (saa7130)
44 43 -> :Zolid Xpert TV7134
45 44 -> Empire PCI TV-Radio LE
46 45 -> Avermedia AVerTV Studio 307 [1461:9715]
47 46 -> AVerMedia Cardbus TV/Radio (E500) [1461:d6ee]
48 47 -> Terratec Cinergy 400 mobile [153b:1162]
49 48 -> Terratec Cinergy 600 TV MK3 [153b:1158]
50 49 -> Compro VideoMate Gold+ Pal [185b:c200]
51 50 -> Pinnacle PCTV 300i DVB-T + PAL [11bd:002d]
52 51 -> ProVideo PV952 [1540:9524]
53 52 -> AverMedia AverTV/305 [1461:2108]
54 53 -> ASUS TV-FM 7135 [1043:4845]
55 54 -> LifeView FlyTV Platinum FM / Gold [5168:0214,5168:5214,1489:0214,5168:0304]
56 55 -> LifeView FlyDVB-T DUO / MSI TV@nywhere Duo [5168:0306,4E42:0306]
57 56 -> Avermedia AVerTV 307 [1461:a70a]
58 57 -> Avermedia AVerTV GO 007 FM [1461:f31f]
59 58 -> ADS Tech Instant TV (saa7135) [1421:0350,1421:0351,1421:0370,1421:1370]
60 59 -> Kworld/Tevion V-Stream Xpert TV PVR7134
61 60 -> LifeView/Typhoon/Genius FlyDVB-T Duo Cardbus [5168:0502,4e42:0502,1489:0502]
62 61 -> Philips TOUGH DVB-T reference design [1131:2004]
63 62 -> Compro VideoMate TV Gold+II
64 63 -> Kworld Xpert TV PVR7134
65 64 -> FlyTV mini Asus Digimatrix [1043:0210]
66 65 -> V-Stream Studio TV Terminator
67 66 -> Yuan TUN-900 (saa7135)
68 67 -> Beholder BeholdTV 409 FM [0000:4091]
69 68 -> GoTView 7135 PCI [5456:7135]
70 69 -> Philips EUROPA V3 reference design [1131:2004]
71 70 -> Compro Videomate DVB-T300 [185b:c900]
72 71 -> Compro Videomate DVB-T200 [185b:c901]
73 72 -> RTD Embedded Technologies VFG7350 [1435:7350]
74 73 -> RTD Embedded Technologies VFG7330 [1435:7330]
75 74 -> LifeView FlyTV Platinum Mini2 [14c0:1212]
76 75 -> AVerMedia AVerTVHD MCE A180 [1461:1044]
77 76 -> SKNet MonsterTV Mobile [1131:4ee9]
78 77 -> Pinnacle PCTV 40i/50i/110i (saa7133) [11bd:002e]
79 78 -> ASUSTeK P7131 Dual [1043:4862]
80 79 -> Sedna/MuchTV PC TV Cardbus TV/Radio (ITO25 Rev:2B)
81 80 -> ASUS Digimatrix TV [1043:0210]
82 81 -> Philips Tiger reference design [1131:2018]
83 82 -> MSI TV@Anywhere plus [1462:6231,1462:8624]
84 83 -> Terratec Cinergy 250 PCI TV [153b:1160]
85 84 -> LifeView FlyDVB Trio [5168:0319]
86 85 -> AverTV DVB-T 777 [1461:2c05,1461:2c05]
87 86 -> LifeView FlyDVB-T / Genius VideoWonder DVB-T [5168:0301,1489:0301]
88 87 -> ADS Instant TV Duo Cardbus PTV331 [0331:1421]
89 88 -> Tevion/KWorld DVB-T 220RF [17de:7201]
90 89 -> ELSA EX-VISION 700TV [1048:226c]
91 90 -> Kworld ATSC110/115 [17de:7350,17de:7352]
92 91 -> AVerMedia A169 B [1461:7360]
93 92 -> AVerMedia A169 B1 [1461:6360]
94 93 -> Medion 7134 Bridge #2 [16be:0005]
95 94 -> LifeView FlyDVB-T Hybrid Cardbus/MSI TV @nywhere A/D NB [5168:3306,5168:3502,5168:3307,4e42:3502]
96 95 -> LifeView FlyVIDEO3000 (NTSC) [5169:0138]
97 96 -> Medion Md8800 Quadro [16be:0007,16be:0008,16be:000d]
98 97 -> LifeView FlyDVB-S /Acorp TV134DS [5168:0300,4e42:0300]
99 98 -> Proteus Pro 2309 [0919:2003]
100 99 -> AVerMedia TV Hybrid A16AR [1461:2c00]
101 100 -> Asus Europa2 OEM [1043:4860]
102 101 -> Pinnacle PCTV 310i [11bd:002f]
103 102 -> Avermedia AVerTV Studio 507 [1461:9715]
104 103 -> Compro Videomate DVB-T200A
105 104 -> Hauppauge WinTV-HVR1110 DVB-T/Hybrid [0070:6700,0070:6701,0070:6702,0070:6703,0070:6704,0070:6705]
106 105 -> Terratec Cinergy HT PCMCIA [153b:1172]
107 106 -> Encore ENLTV [1131:2342,1131:2341,3016:2344]
108 107 -> Encore ENLTV-FM [1131:230f]
109 108 -> Terratec Cinergy HT PCI [153b:1175]
110 109 -> Philips Tiger - S Reference design
111 110 -> Avermedia M102 [1461:f31e]
112 111 -> ASUS P7131 4871 [1043:4871]
113 112 -> ASUSTeK P7131 Hybrid [1043:4876]
114 113 -> Elitegroup ECS TVP3XP FM1246 Tuner Card (PAL,FM) [1019:4cb6]
115 114 -> KWorld DVB-T 210 [17de:7250]
116 115 -> Sabrent PCMCIA TV-PCB05 [0919:2003]
117 116 -> 10MOONS TM300 TV Card [1131:2304]
118 117 -> Avermedia Super 007 [1461:f01d]
119 118 -> Beholder BeholdTV 401 [0000:4016]
120 119 -> Beholder BeholdTV 403 [0000:4036]
121 120 -> Beholder BeholdTV 403 FM [0000:4037]
122 121 -> Beholder BeholdTV 405 [0000:4050]
123 122 -> Beholder BeholdTV 405 FM [0000:4051]
124 123 -> Beholder BeholdTV 407 [0000:4070]
125 124 -> Beholder BeholdTV 407 FM [0000:4071]
126 125 -> Beholder BeholdTV 409 [0000:4090]
127 126 -> Beholder BeholdTV 505 FM [5ace:5050]
128 127 -> Beholder BeholdTV 507 FM / BeholdTV 509 FM [5ace:5070,5ace:5090]
129 128 -> Beholder BeholdTV Columbus TVFM [0000:5201]
130 129 -> Beholder BeholdTV 607 FM [5ace:6070]
131 130 -> Beholder BeholdTV M6 [5ace:6190]
132 131 -> Twinhan Hybrid DTV-DVB 3056 PCI [1822:0022]
133 132 -> Genius TVGO AM11MCE
134 133 -> NXP Snake DVB-S reference design
135 134 -> Medion/Creatix CTX953 Hybrid [16be:0010]
136 135 -> MSI TV[AT]nywhere A/D v1[DOT]1 [1462:8625]
137 136 -> AVerMedia Cardbus TV/Radio (E506R) [1461:f436]
138 137 -> AVerMedia Hybrid TV/Radio (A16D) [1461:f936]
139 138 -> Avermedia M115 [1461:a836]
140 139 -> Compro VideoMate T750 [185b:c900]
141 140 -> Avermedia DVB-S Pro A700 [1461:a7a1]
142 141 -> Avermedia DVB-S Hybrid+FM A700 [1461:a7a2]
143 142 -> Beholder BeholdTV H6 [5ace:6290]
144 143 -> Beholder BeholdTV M63 [5ace:6191]
145 144 -> Beholder BeholdTV M6 Extra [5ace:6193]
146 145 -> AVerMedia MiniPCI DVB-T Hybrid M103 [1461:f636,1461:f736]
147 146 -> ASUSTeK P7131 Analog
148 147 -> Asus Tiger 3in1 [1043:4878]
149 148 -> Encore ENLTV-FM v5.3 [1a7f:2008]
150 149 -> Avermedia PCI pure analog (M135A) [1461:f11d]
151 150 -> Zogis Real Angel 220
152 151 -> ADS Tech Instant HDTV [1421:0380]
153 152 -> Asus Tiger Rev:1.00 [1043:4857]
154 153 -> Kworld Plus TV Analog Lite PCI [17de:7128]
155 154 -> Avermedia AVerTV GO 007 FM Plus [1461:f31d]
156 155 -> Hauppauge WinTV-HVR1150 ATSC/QAM-Hybrid [0070:6706,0070:6708]
157 156 -> Hauppauge WinTV-HVR1120 DVB-T/Hybrid [0070:6707,0070:6709,0070:670a]
158 157 -> Avermedia AVerTV Studio 507UA [1461:a11b]
159 158 -> AVerMedia Cardbus TV/Radio (E501R) [1461:b7e9]
160 159 -> Beholder BeholdTV 505 RDS [0000:505B]
161 160 -> Beholder BeholdTV 507 RDS [0000:5071]
162 161 -> Beholder BeholdTV 507 RDS [0000:507B]
163 162 -> Beholder BeholdTV 607 FM [5ace:6071]
164 163 -> Beholder BeholdTV 609 FM [5ace:6090]
165 164 -> Beholder BeholdTV 609 FM [5ace:6091]
166 165 -> Beholder BeholdTV 607 RDS [5ace:6072]
167 166 -> Beholder BeholdTV 607 RDS [5ace:6073]
168 167 -> Beholder BeholdTV 609 RDS [5ace:6092]
169 168 -> Beholder BeholdTV 609 RDS [5ace:6093]
6.3 CCTV Camera Viewing angle comparison - I am not able to load the images but google for "CCTV Camera Viewing angle comparison " will get you some good comparison pictures
6.4 DynDNS settings
DynDNS service configuration
First I just created a free login in DynDns and created free host names as below. If you notice I created a second one for test as a webhop, that was just so that I could use one short web address to define the final path of zoneminder. Assuming you have configured static IP in your server and have the port forwarding at NAT level setup at router.
DynDNS Host Services
Hostname-------------------------------Service------------------------------Details----------------------------------Last Updated
home.homeip.net-----------------------Host----------------------------71.39.156.908-------------------------Nov. 24, 2009 7:40 PM
zm.selfip.net---------------------------WebHop-------------------------http://home.homeip.net/zm/-------Nov. 14, 2009 5:52 AM
After that’s done, now we need a client on home end to update the server as and when the static IP is changed. There are two ways to do it. Most of the routers have the DDNS tab which can be configured to update DynDnd.org site with your host name, so just populate your user name, password and host name to update, some routers can be configured the interval to send the updates even of static IP is not changed.
Secondly if your router doesnt have the option to update DDNS, you can install a client from DynDns site on any of the computers in your home network. You can download those for all different OS at https://www.dyndns.com/support/clients/
Since our intent is to just send the WAN static IP do it doesn’t matter which machine we install that on behind the router as for inbound router will forward ports as configured.
6.5 Upgrade Zoneminder to newer version 1.24.2-2 (advanced users)
root@ubuntu:/tmp# cd /tmp
root@ubuntu:/tmp# wget http://ftp.us.debian.org/debian/pool/main/z/zoneminder/zoneminder_1.24.2-2_i386.deb
root@ubuntu:/tmp# wget http://ftp.us.debian.org/debian/pool/main/d/dirac/libdirac-encoder0_1.0.2-2_i386.deb
root@ubuntu:/tmp# dpkg -i libdirac-encoder0_1.0.2-2_i386.deb
Selecting previously deselected package libdirac-encoder0.
(Reading database ... 117100 files and directories currently installed.)
Unpacking libdirac-encoder0 (from libdirac-encoder0_1.0.2-2_i386.deb) ...
Setting up libdirac-encoder0 (1.0.2-2) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
root@ubuntu:/tmp# dpkg -i zoneminder_1.24.2-2_i386.deb
(Reading database ... 117106 files and directories currently installed.)
Preparing to replace zoneminder 1.24.1-1ubuntu2 (using zoneminder_1.24.2-2_i386.deb) ...
Stopping ZoneMinder: Zoneminder already stopped
Unpacking replacement zoneminder ...
Setting up zoneminder (1.24.2-2) ...
Installing new version of config file /etc/zm/zm.conf ...
Update agent starting at 09/11/28 01:12:14
Initiating database upgrade to version 1.24.2
Please ensure that ZoneMinder is stopped on your system prior to upgrading the database.
Press enter to continue or ctrl-C to stop :
Do you wish to take a backup of your database prior to upgrading?
This may result in a large file in /tmp if you have a lot of events.
Press 'y' for a backup or 'n' to continue : n
Upgrading database to version 1.24.2
Loading config from DB
Saving config to DB
Database successfully upgraded from version 1.24.1.
Database upgrade to version 1.24.2 successful.
Update agent exiting at 09/11/28 01:12:28
Starting ZoneMinder: success
Processing triggers for man-db ...
Processing triggers for sreadahead ...
sreadahead will be reprofiled on next reboot
there is a bug in the debian repo,
Bug fix – you have to modify the file:
/usr/share/zoneminder/skins/classic/views/timeline.php at line 811
Code:
<?= makePopupLink( '?view=events&page=1&filter=1'.$filterQuery, 'zmEvents', 'events', $SLANG['List'], canView( 'Events' ) ) ?>
To Code:
<?= makePopupLink( '?view=events&page=1'.$filterQuery, 'zmEvents', 'events', $SLANG['List'], canView( 'Events' ) ) ?>
http://www.zoneminder.com/forums/viewtopic.php?t=14694
INSTALL JSCALENDAR As ROOT (Optional)
cd /usr/src
wget http://prdownloads.sourceforge.net/jscalendar/jscalendar-1.0.zip?download
unzip jscalendar-1.0.zip
mkdir /usr/share/zoneminder/tools/jscalendar
cp -R jscalendar-1.0/* /usr/share/zoneminder/tools/jscalendar