• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: 1 [2] 3 4 ... 7
16  General Category / General Discussion / Re: Garbled text during debian installer... Need help! on: December 12, 2011, 11:04:27 AM
Now to figure out how to get zoneminder working on it...

 Here I could point you to these links:

http://www.plugcomputer.org/plugwiki/index.php/ZoneMinder -> basic guide to install zoneminder from resositories (1.24)
http://www.plugcomputer.org/plugforum/index.php?topic=5956.0 -> complete guide to install Zoneminder 1.25 from scratch
 I have two guruplugs working with Zoneminder (V1.24 and V1.25). If you need help, do not hesitate to ask for it!

 Hope it helps,

17  General Category / General Discussion / Re: Remote management on dreamplug on: November 24, 2011, 04:46:34 AM
First of all, to do this, the user has to have the port 80 open in his router for the ip that is using the dreamplug.
18  Hardware and U-Boot firmware / Hardware / Re: IOMEGA iconnect price dropped? on: November 10, 2011, 01:30:57 PM
The same device in Spain = 69 Euros!
19  Hardware and U-Boot firmware / Hardware / Re: Best way to clone a GuruPlug? on: November 09, 2011, 10:18:36 AM

 If you find the way, please post it!

20  General Category / Success stories / Re: Zoneminder 1.25.0 working in a Guruplug on: November 03, 2011, 10:35:29 PM
Funny, 250 reads, no posts...
21  General Category / General Discussion / Re: udevd[645]: unable to receive ctrl connection: Function not implemented on: October 30, 2011, 12:58:00 AM

 Wait for the login option, if does not appear you will have to reinstall your guruplug. This happened once to me, I update udev, but before updating it, I had to do a dist-upgrade.

22  General Category / Success stories / Install Zoneminder 1.25.0 in your plug on: October 22, 2011, 01:39:02 PM
Here is the comprehensive list of steps to have the fantastic Zoneminder application in your Guruplug (should work also in Sheeva plugs). I wrote all the steps I followed after reflashing my Guruplug with the original kernel and rootfs.

Change mysql root password
mysqladmin -u root -pnosoup4u password 'yournewpwd'

Change ssh keys
rm /etc/ssh/ssh_host_*
dpkg-reconfigure openssh-server

Comment or delete all the lines in init_setup.sh and wlan.sh-To have a fixed IP address, add these lines in your init_setup.sh, replace the XXX with your own parameters:
ifconfig eth0 xxx.xxx.xxx.xxx netmask up
route add -net xxx.xxx.xxx.xxx netmask eth0
route add default gw xxx.xxx.xxx.xxx eth0

Also, edit the file /etc/network/interfaces to look like this, as above, replace the XXX with your settings:
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address xxx.xxx.xxx.xxx
netmask xxx.xxx.xxx.xxx
gateway xxx.xxx.xxx.xxx

Reboot, now the ipaddress should be the one you selected.

Update your system:
apt-get update && apt-get upgrade

In case of problems with GPG keys

apt-get install debian-archive-keyring && apt-get update && apt-get upgrade

I removed some apps that I'm not planning to use, then install some packages
apt-get purge alsa-base linux-sound-base
apt-get autoremove && apt-get clean
apt-get install locales localepurge
dpkg-reconfigure locales
dpkg-reconfigure tzdata
apt-get install di htop chkconfig
apt-get install ntp
apt-get autoremove && apt-get clean

Setup your ntp
vi /etc/ntp.conf

add servers (for Spain) to the file and save it
server 0.es.pool.ntp.org
server 1.es.pool.ntp.org
server 2.es.pool.ntp.org
server 3.es.pool.ntp.org

Change /etc/apt/sources.list to have these lines
deb-src http://security.debian.org/ wheezy/updates main
deb http://security.debian.org wheezy/updates main contrib non-free
deb http://ftp.fr.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ squeeze main contrib non-free
deb http://ftp.us.debian.org/debian wheezy main contrib non-free
deb http://http.us.debian.org/debian stable main contrib non-free
#deb http://ftp.us.debian.org/debian/ lenny main contrib non-free
#deb http://www.backports.org/debian lenny-backports main contrib non-free
#deb http://download.webmin.com/download/repository sarge contrib
#deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib
#deb http://ftp.es.debian.org/debian/ wheezy main
#deb http://ftp.es.debian.org/debian/ wheezy main
#deb-src http://ftp.es.debian.org/debian/ wheezy main
#deb http://security.debian.org/ wheezy/updates main

In case of errors complaining about buffer size,  edit or create a file /etc/apt/apt.conf file and add
APT::Cache-Limit 33554432;

Update your system again
apt-get update && apt-get upgrade
apt-get dselect-upgrade (fix broken dependencies & update system)
apt-get clean && apt-get autoremove
apt-get purge bluez samba alsa-base alsa-utils lighttpd
apt-get autoremove
apt-get install mysql-server apache2
dpkg-reconfigure apache2

After restarting apache2, fix the error "Could not reliably determine the server's fully qualified domain name, using for ServerName"
vi /etc/apache2/httpd.conf
Add line -> ServerName localhost
/etc/init.d/apache2 restart
apt-get install ufw preload fail2ban ffmpeg libjs-mootools
apt-get install ntp tzdata fail2ban locate nmap tar zip
apt-get install debian-archive-keyring bc coreutils
apt-get purge exim4
apt-get install postfix mailx phpmyadmin

Update kernel
cd /root
wget http://sheeva.with-linux.com/sheeva/README-PLUG-UPDATE.sh
mv README-PLUG-UPDATE.sh upgradeGuru.sh
chmod +x upgradeGuru.sh
./upgradeGuru.sh 3.0.7 --nandkernel
rm sheeva-3*

Install systemd to improve performance
apt-get install systemd
apt-get autoremove

In case Webmin is needed, but be careful, you will need almost 100Mbytes, so installing it in flash is not recommended. Uncomment this line in /etc/apt/sources.list
#deb http://download.webmin.com/download/repository sarge contrib
wget -q http://www.webmin.com/jcameron-key.asc -O- | apt-key add -
apt-get install webmin

Install the packages needed to compile and run ZM
apt-get install autoconf automake make
apt-get install gcc   
apt-get install g++
apt-get install libphp-serialization-perl libgnutls-dev gnutls-bin
apt-get install build-essential libmysqlclient-dev libjpeg8-dev
apt-get install libcrypto++-dev libssl-dev perl libdate-manip-perl
perl -MCPAN -e shell
install Sys::Mmap Device::SerialPort Net::SFTP::Foreign Expect Archive::Zip MIME::Lite MIME::Entity X10::ActiveHome LWP::UserAgent
apt-get install gawk mawk php5 php5-mysql libdbd-mysql-perl libwww-perl
apt-get install libavformat-dev libswscale-dev libavutil-dev libv4l-dev
apt-get install libpcre3-dev libsys-mmap-perl libavcodec-dev libavdevice-dev libbz2-dev
apt-get install dh-autoreconf libnet-ssleay-perl openssl libauthen-pam-perl
apt-get clean && apt-get autoremove

Get ZM and modify bugs
cd /usr/src
wget http://www.zoneminder.com/downloads/ZoneMinder-1.25.0.tar.gz
tar -xzvf ZoneMinder-1.25.0.tar.gz
mv ZoneMinder-1.25.0 zm

Important, to compile Zoneminder in Arm, edit /usr/src/zm/scr/zm_signal.cpp, change all the occurrences of context.cr2 to context.fault_address
Acknowledgment to the user paketecuento from plugcomputer.org, he gave me the clue!

Compile ZM
export CFLAGS="-march=armv5te -O2 -mtune=arm926ej-s -Fno-strict-aliasing -msoft-float -D__GCC_FLOAT_NOT_NEEDED" && \
export CXXFLAGS="${CFLAGS}" && \
./configure --with-webdir=/usr/share/zoneminder --with-cgidir=/usr/lib/cgi-bin --prefix=/usr/bin \
ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zmuser \
ZM_DB_PASS=zpass ZM_SSL_LIB=openssl --enable-debug=no \
--with-webgroup=www-data --with-webuser=www-data --enable-mmap=yes --with-libarch=lib --with-ffmpeg=/usr/local/bin CPPFLAGS="-D__STDC_CONSTANT_MACROS ${CPPFLAGS}"
mysqladmin -u root -p -f drop zm
mysql -u root -p < db/zm_create.sql
mysql -u root -p
grant select,insert,update,delete on zm.* to 'zmuser'@localhost identified by 'zmpass';
mysqladmin -p reload
make install
make clean

Install Cambozola
cd /usr/src && wget http://www.charliemouse.com:8080/code/cambozola/cambozola-latest.tar.gz
tar -xzvf cambozola-latest.tar.gz
cp cambozola-0.92/dist/cambozola.jar /var/www/zm

Create the startup script
vi /etc/init.d/zoneminder

Paste this lines

start() {
        echo -n "Starting $prog: "
        $command start
        [ $RETVAL = 0 ] && echo success
        [ $RETVAL != 0 ] && echo failure
        return $RETVAL
stop() {
        echo -n "Stopping $prog: "
        $command stop
        [ $RETVAL = 0 ] && echo success
        [ $RETVAL != 0 ] && echo failure
status() {
        result=`$command status`
        if [ "$result" = "running" ]; then
                echo "ZoneMinder is running"
                echo "ZoneMinder is stopped"

case "$1" in
        echo "Usage: $0 { start | stop | restart | status }"
exit $RETVAL

Save it, then
chmod 755 /etc/init.d/zoneminder
service zoneminder status

Configure apache, edit the file /etc/apache2/sites-enabled/000-default , replace:
DocumentRoot /var/www
DocumentRoot /usr/share/zoneminder
<Directory /var/www/>
<Directory /usr/share/zoneminder/>
service apache2 restart

To remove errors "zmwatch[2429].ERR [Shared data size conflict in shared_data for monitor Monitor-1, expected 328, got 316]", edit /usr/local/share/perl/5.12.4/ZoneMinder/Memory.pm and replace:
$arch = int(3.2*length(~0));
$arch = 32;

Cleanup & free some space
apt-get purge autoconf automake make gcc g++-4.6 libstdc++6-4.6-dev

Now you could setup your Zoneminder surveillance system in this small beast!

Hope it helps,

23  General Category / Success stories / Zoneminder 1.25.0 working in a Guruplug on: October 17, 2011, 01:42:55 PM
Yes!!!, after some problems compiling this wonderful application, I have one of my guruplugs with the latest version.
24  Linux Stuff / Kernel / Re: Help Compiling a Kernel Extension on: September 30, 2011, 05:46:33 AM
Try this -> http://archlinuxarm.org/mirror/with-linux/, but I believe is outdated. The latest source is for 2.6.38 kernel. Contact with cbxbiker61, he uses to release the new versions.


25  General Category / General Discussion / Re: Plug Computer 3.0 on: September 20, 2011, 03:56:22 AM
Some questions about this plug:

 - Price, any idea?
 - Support, how good is it?
 - How customizable is it?. I would like to have a powerful plug for my ZoneMinder surveillance system. Is it possible to install the OS and the applications needed in this platform?


26  Hardware and U-Boot firmware / Hardware / Re: "New" Marvell Device? ICY IB-NAS 6210 on: August 26, 2011, 03:53:46 AM

 This device looks very tiny, if we could modify the embedded linux on it, for this price, is on my wish-list!

 Read this, seems promising.... http://www.linuxquestions.org/questions/slackware-14/is-it-possible-to-install-armedslack-on-a-icy-box-ib-nas6210-881511/

27  Linux Stuff / Kernel / Re: 3.0.3 new kernel available on: August 24, 2011, 01:34:48 AM
Hi cbxbiker61,

 Do you know if any of this kernel has support to work with the uSnap interface?. I would like to start to play with it, but I prefer to check with you as expert. If there is no support, here is a link to a post http://www.plugcomputer.org/plugforum/index.php?topic=163.0, could you try to add it to a new kernel compilation?.


28  Hardware and U-Boot firmware / Hardware / Re: eSATA drive success anyone? on: August 23, 2011, 11:29:33 AM

 Results of the same test in my guruplug, the esata disk is not mounted, is the booting disk, I do not know if this could make such difference (almost 10x faster!):

root@guru-esata:~# time dd if=/dev/zero of=/tmp/test bs=1M count=40                          
40+0 records in
40+0 records out
41943040 bytes (42 MB) copied, 0.734095 s, 57.1 MB/s

real    0m0.801s
user    0m0.000s
sys     0m0.250s


29  Hardware and U-Boot firmware / Hardware / How to test the performance in a Guruplug? on: August 22, 2011, 01:58:07 PM

 I have two guruplugs, one is running the OS in the flash, the another one booting from a external esata drive. I would like to test the performance of each system in order to decide which one should I leave as the surveillance system. Any advice?

 Thanks in advance,

30  Linux Stuff / Kernel / Re: 3.0.2 new kernel available on: August 19, 2011, 09:42:27 AM
Thanks, I take note for the next time. I just reinstalled version 3.0.1.
Pages: 1 [2] 3 4 ... 7