<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.elphel.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ilya</id>
	<title>ElphelWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.elphel.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ilya"/>
	<link rel="alternate" type="text/html" href="https://wiki.elphel.com/wiki/Special:Contributions/Ilya"/>
	<updated>2026-08-01T22:23:41Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1608</id>
		<title>Live-CD remastering</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1608"/>
		<updated>2006-03-17T14:53:07Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* Instruction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Knoppix Live-CD remastering ===&lt;br /&gt;
&lt;br /&gt;
At present time this software is a beta-testing.&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
&lt;br /&gt;
This software for CD remastering is include a lot of DEB-packages (elphel-specific and dependenced), files and scripts. All software is compressed to the .tar.bz2 archive (package size is approx. 26 Mb).&lt;br /&gt;
&lt;br /&gt;
There are two scripts for remastering.&lt;br /&gt;
&lt;br /&gt;
First script (make.sh) is general and started by user. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Make a clone from existed knoppix live-cd&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Welcome to KNOPPIX-to-ELPHIX remastering program&amp;quot;&lt;br /&gt;
&lt;br /&gt;
part=0&lt;br /&gt;
&lt;br /&gt;
query() {&lt;br /&gt;
&lt;br /&gt;
    echo -n &amp;quot;$1 [$2] &amp;quot; &amp;gt;&amp;amp;2&lt;br /&gt;
    read answer&lt;br /&gt;
    if [ -z $answer ] ; then answer=$2 ; fi&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# The work directories specifing&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 1. Now you can specify the work directories and other parameters&amp;quot;&lt;br /&gt;
&lt;br /&gt;
if [ part=0 ]&lt;br /&gt;
then&lt;br /&gt;
query &amp;quot;Please, specify the work partition. For example, hda1&amp;quot; hda1&lt;br /&gt;
part=$answer&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
version=`cat debs/version.txt`&lt;br /&gt;
&lt;br /&gt;
home=/home/knoppix/LiveCD-$version&lt;br /&gt;
&lt;br /&gt;
source0=/dev/$part&lt;br /&gt;
dest0=/mnt/$part&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
source=$dest0/knxsource&lt;br /&gt;
dest=$dest0/knxmaster&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Mounting the work partition...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mount $source0 $dest0&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the work directories...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX&lt;br /&gt;
mkdir -p $dest/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 1 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# The next step - copying files and directories&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 2. Copying necessary files and directories, preparing the internet connection&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the KNOPPIX directory&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Copying the KNOPPIX directory. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp /KNOPPIX/* $source/KNOPPIX&lt;br /&gt;
cd /cdrom; find . -size -10000k -type f -exec cp -p --parents &#039;{}&#039; $dest/ \;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Preparing the internet connection&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Preparing the internet connection&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf.orig&lt;br /&gt;
cp /etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 2 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Removing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 3. Removing old packages and files. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX/debs&lt;br /&gt;
cp -Rp $home/debs/* $source/KNOPPIX/debs&lt;br /&gt;
mkdir -p $source/KNOPPIX/patches&lt;br /&gt;
cp -Rp $home/patches/* $source/KNOPPIX/patches&lt;br /&gt;
cp $home/inst-rem.sh $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_bottom.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_top.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/local/lib/knoppix.jpg&lt;br /&gt;
rm -f $source/KNOPPIX/usr/bin/splash-knoppix.sh&lt;br /&gt;
cp -Rp $home/images/* $source/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 3 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Installing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 4. Installing the ELPHIX specific packages and patches. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
chroot $source/KNOPPIX sh inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
rm -rf $source/KNOPPIX/debs&lt;br /&gt;
rm -rf $source/KNOPPIX/patches&lt;br /&gt;
rm -rf $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 4 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Fixing the known Knoppix bugs&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 5. Fixing the known Knoppix bugs&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Fixing the USB-2.0 bug&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Fixing the USB-2.0 bug in the linuxrc&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mv $dest/boot/isolinux/minirt.gz $dest0&lt;br /&gt;
cd $dest0&lt;br /&gt;
gunzip minirt.gz&lt;br /&gt;
mkdir -p MRT&lt;br /&gt;
mount -o loop minirt MRT&lt;br /&gt;
cd MRT&lt;br /&gt;
patch &amp;lt; $home/patches/linuxrc.patch&lt;br /&gt;
cd $dest0&lt;br /&gt;
umount MRT&lt;br /&gt;
gzip minirt&lt;br /&gt;
mv minirt.gz $dest/boot/isolinux/minirt.gz&lt;br /&gt;
cd $home&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 5 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the sources and files&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 6. Copying the sources and files, cleaning the filesystem&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp $home/files/* $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Removing the temporary files and cleaning the filesystem&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Removing the temporary files and cleaning the filesystem&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf.orig $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
rm -rf $source/KNOPPIX/.rr_moved&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/var/lib/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/brltty&lt;br /&gt;
rm -rf $source/KNOPPIX/var/games&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/emacs21&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/games/frozen-bubble&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/fonts/wine&lt;br /&gt;
rm -rf $dest0/MRT&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 6 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-file KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 7. Creating the ELPHIX compressed image. This can take a few minutes or hours. You can drink coffee, read the book, sleep etc. In any case, please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkisofs -R -U -V &amp;quot;KNOPPIX.net filesystem&amp;quot; -publisher &amp;quot;Elphel,Inc. www.elphel.com&amp;quot; -hide-rr-moved -cache-inodes -no-bak -pad $source/KNOPPIX | nice -5 /usr/bin/create_compressed_fs -b - 65536 &amp;gt; $dest/KNOPPIX/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-image LiveCD Knoppix&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the ISO-image LiveCD ELPHIX. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd $dest&lt;br /&gt;
&lt;br /&gt;
mkisofs -pad -l -r -J -v -V &amp;quot;ELPHIX-$version&amp;quot; -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o $dest0/ELPHIX-$version.iso $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 7 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Congratulations! The remastering is finished. ELPHIX-$version is ready for burning. You can find the ISO-image of ELPHIX-$version on the $dest0 partition. Good luck!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The second script (inst-rem.sh) is started by the first script automatically and used for removing/installing DEB-packages. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Sub-script for removing and installing packages&lt;br /&gt;
&lt;br /&gt;
ping -c 5 google.com&lt;br /&gt;
&lt;br /&gt;
dpkg -P `cat /debs/remove-debs`&lt;br /&gt;
&lt;br /&gt;
rm -rf /etc/mozilla-firefox/profile/mimeTypes.rdf&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/depend/*.deb&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/*.deb&lt;br /&gt;
&lt;br /&gt;
cd /etc/X11/Xsession.d&lt;br /&gt;
patch &amp;lt; /patches/45xsession.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/init.d&lt;br /&gt;
patch &amp;lt; /patches/knoppix-autoconfig.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/skel/.kde/share/config&lt;br /&gt;
patch &amp;lt; /patches/kdesktoprc.patch&lt;br /&gt;
&lt;br /&gt;
exit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== System Requirements ====&lt;br /&gt;
&lt;br /&gt;
You must have:&lt;br /&gt;
&lt;br /&gt;
1. at least 1 GB of FREE RAM+Swap total (e.g. 256M ram, and 750M swap AVAILABLE)&lt;br /&gt;
&lt;br /&gt;
2. 3 GB free on a Linux filesystem (ext2/3, xfs, etc.) formatted disk partition (you must unmount this partition before remastering)&lt;br /&gt;
&lt;br /&gt;
3. Knoppix 4.0.2-2005-09-23 EN&lt;br /&gt;
&lt;br /&gt;
==== Instruction ====&lt;br /&gt;
&lt;br /&gt;
1. Download the LiveCD-1.4.3-beta6.tar.bz2 archive from SourceForge http://prdownloads.sourceforge.net/elphel/LiveCD-1.4.3-beta6.tar.bz2?download&lt;br /&gt;
&lt;br /&gt;
2. Boot from the Knoppix CD&lt;br /&gt;
&lt;br /&gt;
3. Unpack archive to the /home/knoppix directory&lt;br /&gt;
&lt;br /&gt;
4. Open a root shell: &lt;br /&gt;
&lt;br /&gt;
Menu: Kmenu-&amp;gt;Knoppix-&amp;gt;Root Shell &lt;br /&gt;
&lt;br /&gt;
5. Type the following two commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
cd /home/knoppix/LiveCD-1.4.3&lt;br /&gt;
&lt;br /&gt;
sh make.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. The remastering script will be started. You must specify the work partition (for example hda1). This partition will be used for remastering Knoppix.&lt;br /&gt;
&lt;br /&gt;
NOTE: This partition MUST be unmounted!&lt;br /&gt;
&lt;br /&gt;
7. Follow the appeared instructions&lt;br /&gt;
&lt;br /&gt;
8. The ELPHIX-1.4.3.ISO image will be placed at the work partition&lt;br /&gt;
&lt;br /&gt;
9. Use the special software (for example, K3B) for writing image to CD&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1607</id>
		<title>Live-CD remastering</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1607"/>
		<updated>2006-03-17T14:52:25Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Knoppix Live-CD remastering ===&lt;br /&gt;
&lt;br /&gt;
At present time this software is a beta-testing.&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
&lt;br /&gt;
This software for CD remastering is include a lot of DEB-packages (elphel-specific and dependenced), files and scripts. All software is compressed to the .tar.bz2 archive (package size is approx. 26 Mb).&lt;br /&gt;
&lt;br /&gt;
There are two scripts for remastering.&lt;br /&gt;
&lt;br /&gt;
First script (make.sh) is general and started by user. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Make a clone from existed knoppix live-cd&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Welcome to KNOPPIX-to-ELPHIX remastering program&amp;quot;&lt;br /&gt;
&lt;br /&gt;
part=0&lt;br /&gt;
&lt;br /&gt;
query() {&lt;br /&gt;
&lt;br /&gt;
    echo -n &amp;quot;$1 [$2] &amp;quot; &amp;gt;&amp;amp;2&lt;br /&gt;
    read answer&lt;br /&gt;
    if [ -z $answer ] ; then answer=$2 ; fi&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# The work directories specifing&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 1. Now you can specify the work directories and other parameters&amp;quot;&lt;br /&gt;
&lt;br /&gt;
if [ part=0 ]&lt;br /&gt;
then&lt;br /&gt;
query &amp;quot;Please, specify the work partition. For example, hda1&amp;quot; hda1&lt;br /&gt;
part=$answer&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
version=`cat debs/version.txt`&lt;br /&gt;
&lt;br /&gt;
home=/home/knoppix/LiveCD-$version&lt;br /&gt;
&lt;br /&gt;
source0=/dev/$part&lt;br /&gt;
dest0=/mnt/$part&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
source=$dest0/knxsource&lt;br /&gt;
dest=$dest0/knxmaster&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Mounting the work partition...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mount $source0 $dest0&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the work directories...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX&lt;br /&gt;
mkdir -p $dest/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 1 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# The next step - copying files and directories&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 2. Copying necessary files and directories, preparing the internet connection&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the KNOPPIX directory&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Copying the KNOPPIX directory. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp /KNOPPIX/* $source/KNOPPIX&lt;br /&gt;
cd /cdrom; find . -size -10000k -type f -exec cp -p --parents &#039;{}&#039; $dest/ \;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Preparing the internet connection&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Preparing the internet connection&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf.orig&lt;br /&gt;
cp /etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 2 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Removing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 3. Removing old packages and files. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX/debs&lt;br /&gt;
cp -Rp $home/debs/* $source/KNOPPIX/debs&lt;br /&gt;
mkdir -p $source/KNOPPIX/patches&lt;br /&gt;
cp -Rp $home/patches/* $source/KNOPPIX/patches&lt;br /&gt;
cp $home/inst-rem.sh $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_bottom.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_top.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/local/lib/knoppix.jpg&lt;br /&gt;
rm -f $source/KNOPPIX/usr/bin/splash-knoppix.sh&lt;br /&gt;
cp -Rp $home/images/* $source/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 3 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Installing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 4. Installing the ELPHIX specific packages and patches. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
chroot $source/KNOPPIX sh inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
rm -rf $source/KNOPPIX/debs&lt;br /&gt;
rm -rf $source/KNOPPIX/patches&lt;br /&gt;
rm -rf $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 4 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Fixing the known Knoppix bugs&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 5. Fixing the known Knoppix bugs&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Fixing the USB-2.0 bug&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Fixing the USB-2.0 bug in the linuxrc&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mv $dest/boot/isolinux/minirt.gz $dest0&lt;br /&gt;
cd $dest0&lt;br /&gt;
gunzip minirt.gz&lt;br /&gt;
mkdir -p MRT&lt;br /&gt;
mount -o loop minirt MRT&lt;br /&gt;
cd MRT&lt;br /&gt;
patch &amp;lt; $home/patches/linuxrc.patch&lt;br /&gt;
cd $dest0&lt;br /&gt;
umount MRT&lt;br /&gt;
gzip minirt&lt;br /&gt;
mv minirt.gz $dest/boot/isolinux/minirt.gz&lt;br /&gt;
cd $home&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 5 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the sources and files&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 6. Copying the sources and files, cleaning the filesystem&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp $home/files/* $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Removing the temporary files and cleaning the filesystem&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Removing the temporary files and cleaning the filesystem&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf.orig $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
rm -rf $source/KNOPPIX/.rr_moved&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/var/lib/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/brltty&lt;br /&gt;
rm -rf $source/KNOPPIX/var/games&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/emacs21&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/games/frozen-bubble&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/fonts/wine&lt;br /&gt;
rm -rf $dest0/MRT&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 6 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-file KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 7. Creating the ELPHIX compressed image. This can take a few minutes or hours. You can drink coffee, read the book, sleep etc. In any case, please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkisofs -R -U -V &amp;quot;KNOPPIX.net filesystem&amp;quot; -publisher &amp;quot;Elphel,Inc. www.elphel.com&amp;quot; -hide-rr-moved -cache-inodes -no-bak -pad $source/KNOPPIX | nice -5 /usr/bin/create_compressed_fs -b - 65536 &amp;gt; $dest/KNOPPIX/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-image LiveCD Knoppix&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the ISO-image LiveCD ELPHIX. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd $dest&lt;br /&gt;
&lt;br /&gt;
mkisofs -pad -l -r -J -v -V &amp;quot;ELPHIX-$version&amp;quot; -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o $dest0/ELPHIX-$version.iso $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 7 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Congratulations! The remastering is finished. ELPHIX-$version is ready for burning. You can find the ISO-image of ELPHIX-$version on the $dest0 partition. Good luck!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The second script (inst-rem.sh) is started by the first script automatically and used for removing/installing DEB-packages. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Sub-script for removing and installing packages&lt;br /&gt;
&lt;br /&gt;
ping -c 5 google.com&lt;br /&gt;
&lt;br /&gt;
dpkg -P `cat /debs/remove-debs`&lt;br /&gt;
&lt;br /&gt;
rm -rf /etc/mozilla-firefox/profile/mimeTypes.rdf&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/depend/*.deb&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/*.deb&lt;br /&gt;
&lt;br /&gt;
cd /etc/X11/Xsession.d&lt;br /&gt;
patch &amp;lt; /patches/45xsession.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/init.d&lt;br /&gt;
patch &amp;lt; /patches/knoppix-autoconfig.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/skel/.kde/share/config&lt;br /&gt;
patch &amp;lt; /patches/kdesktoprc.patch&lt;br /&gt;
&lt;br /&gt;
exit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== System Requirements ====&lt;br /&gt;
&lt;br /&gt;
You must have:&lt;br /&gt;
&lt;br /&gt;
1. at least 1 GB of FREE RAM+Swap total (e.g. 256M ram, and 750M swap AVAILABLE)&lt;br /&gt;
&lt;br /&gt;
2. 3 GB free on a Linux filesystem (ext2/3, xfs, etc.) formatted disk partition (you must unmount this partition before remastering)&lt;br /&gt;
&lt;br /&gt;
3. Knoppix 4.0.2-2005-09-23 EN&lt;br /&gt;
&lt;br /&gt;
==== Instruction ====&lt;br /&gt;
&lt;br /&gt;
1. Download the LiveCD-1.4.3-beta1.tar.bz2 archive from SourceForge http://prdownloads.sourceforge.net/elphel/LiveCD-1.4.3-beta4.tar.bz2?download&lt;br /&gt;
&lt;br /&gt;
2. Boot from the Knoppix CD&lt;br /&gt;
&lt;br /&gt;
3. Unpack archive to the /home/knoppix directory&lt;br /&gt;
&lt;br /&gt;
4. Open a root shell: &lt;br /&gt;
&lt;br /&gt;
Menu: Kmenu-&amp;gt;Knoppix-&amp;gt;Root Shell &lt;br /&gt;
&lt;br /&gt;
5. Type the following two commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
cd /home/knoppix/LiveCD-1.4.3&lt;br /&gt;
&lt;br /&gt;
sh make.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. The remastering script will be started. You must specify the work partition (for example hda1). This partition will be used for remastering Knoppix.&lt;br /&gt;
&lt;br /&gt;
NOTE: This partition MUST be unmounted!&lt;br /&gt;
&lt;br /&gt;
7. Follow the appeared instructions&lt;br /&gt;
&lt;br /&gt;
8. The ELPHIX-1.4.3.ISO image will be placed at the work partition&lt;br /&gt;
&lt;br /&gt;
9. Use the special software (for example, K3B) for writing image to CD&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1606</id>
		<title>Live-CD remastering</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1606"/>
		<updated>2006-03-10T16:24:38Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* Instruction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Knoppix Live-CD remastering ===&lt;br /&gt;
&lt;br /&gt;
At present time this software is a beta-testing.&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
&lt;br /&gt;
This software for CD remastering is include a lot of DEB-packages (elphel-specific and dependenced), files and scripts. All software is compressed to the .tar.bz2 archive (package size is approx. 26 Mb).&lt;br /&gt;
&lt;br /&gt;
There are two scripts for remastering.&lt;br /&gt;
&lt;br /&gt;
First script (make.sh) is general and started by user. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Make a clone from existed knoppix live-cd&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Welcome to KNOPPIX-to-ELPHIX remastering program&amp;quot;&lt;br /&gt;
&lt;br /&gt;
part=0&lt;br /&gt;
&lt;br /&gt;
query() {&lt;br /&gt;
&lt;br /&gt;
    echo -n &amp;quot;$1 [$2] &amp;quot; &amp;gt;&amp;amp;2&lt;br /&gt;
    read answer&lt;br /&gt;
    if [ -z $answer ] ; then answer=$2 ; fi&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# The work directories specifing&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 1. Now you can specify the work directories and other parameters&amp;quot;&lt;br /&gt;
&lt;br /&gt;
if [ part=0 ]&lt;br /&gt;
then&lt;br /&gt;
query &amp;quot;Please, specify the work partition. For example, hda1&amp;quot; hda1&lt;br /&gt;
part=$answer&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
version=`cat debs/version.txt`&lt;br /&gt;
&lt;br /&gt;
home=/home/knoppix/LiveCD-$version&lt;br /&gt;
&lt;br /&gt;
source0=/dev/$part&lt;br /&gt;
dest0=/mnt/$part&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
source=$dest0/knxsource&lt;br /&gt;
dest=$dest0/knxmaster&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Mounting the work partition...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mount $source0 $dest0&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the work directories...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX&lt;br /&gt;
mkdir -p $dest/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 1 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# The next step - copying files and directories&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 2. Copying necessary files and directories, preparing the internet connection&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the KNOPPIX directory&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Copying the KNOPPIX directory. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp /KNOPPIX/* $source/KNOPPIX&lt;br /&gt;
cd /cdrom; find . -size -10000k -type f -exec cp -p --parents &#039;{}&#039; $dest/ \;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Preparing the internet connection&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Preparing the internet connection&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf.orig&lt;br /&gt;
cp /etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 2 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Removing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 3. Removing old packages and files. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX/debs&lt;br /&gt;
cp -Rp $home/debs/* $source/KNOPPIX/debs&lt;br /&gt;
mkdir -p $source/KNOPPIX/patches&lt;br /&gt;
cp -Rp $home/patches/* $source/KNOPPIX/patches&lt;br /&gt;
cp $home/inst-rem.sh $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_bottom.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_top.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/local/lib/knoppix.jpg&lt;br /&gt;
cp -Rp $home/images/* $source/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 3 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Installing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 4. Installing the ELPHIX specific packages and patches. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
chroot $source/KNOPPIX sh inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
rm -rf $source/KNOPPIX/debs&lt;br /&gt;
rm -rf $source/KNOPPIX/patches&lt;br /&gt;
rm -rf $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 4 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Fixing the known Knoppix bugs&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 5. Fixing the known Knoppix bugs&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Fixing the USB-2.0 bug&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Fixing the USB-2.0 bug in the linuxrc&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp $dest/boot/isolinux/minirt.gz $dest0&lt;br /&gt;
cd $dest0&lt;br /&gt;
gunzip minirt.gz&lt;br /&gt;
mkdir -p MRT&lt;br /&gt;
mount -o loop minirt MRT&lt;br /&gt;
cd MRT&lt;br /&gt;
patch &amp;lt; $home/patches/linuxrc.patch&lt;br /&gt;
cd $dest0&lt;br /&gt;
umount MRT&lt;br /&gt;
gzip minirt&lt;br /&gt;
mv minirt.gz $dest/boot/isolinux/minirt.gz&lt;br /&gt;
cd $home&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 5 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the sources and files&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 6. Copying the sources and files, cleaning the filesystem&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp $home/files/* $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Removing the temporary files and cleaning the filesystem&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Removing the temporary files and cleaning the filesystem&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf.orig $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
rm -rf $source/KNOPPIX/.rr_moved&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/var/lib/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/brltty&lt;br /&gt;
rm -rf $source/KNOPPIX/var/games&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/emacs21&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/games/frozen-bubble&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/fonts/wine&lt;br /&gt;
rm -rf $dest0/MRT&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 6 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-file KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 7. Creating the ELPHIX compressed image. This can take a few minutes or hours. You can drink coffee, read the book, sleep etc. In any case, please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkisofs -R -U -V &amp;quot;KNOPPIX.net filesystem&amp;quot; -publisher &amp;quot;Elphel,Inc. www.elphel.com&amp;quot; -hide-rr-moved -cache-inodes -no-bak -pad $source/KNOPPIX | nice -5 /usr/bin/create_compressed_fs -b - 65536 &amp;gt; $dest/KNOPPIX/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-image LiveCD Knoppix&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the ISO-image LiveCD ELPHIX. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd $dest&lt;br /&gt;
&lt;br /&gt;
mkisofs -pad -l -r -J -v -V &amp;quot;ELPHIX-$version&amp;quot; -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o $dest0/ELPHIX-$version.iso $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 7 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Congratulations! The remastering is finished. ELPHIX-$version is ready for burning. You can find the ISO-image of ELPHIX-$version on the $dest0 partition. Good luck!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The second script (inst-rem.sh) is started by the first script automatically and used for removing/installing DEB-packages. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Sub-script for removing and installing packages&lt;br /&gt;
&lt;br /&gt;
ping -c 5 google.com&lt;br /&gt;
&lt;br /&gt;
dpkg -P `cat /debs/remove-debs`&lt;br /&gt;
&lt;br /&gt;
rm -rf /etc/mozilla-firefox/profile/mimeTypes.rdf&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/depend/*.deb&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/*.deb&lt;br /&gt;
&lt;br /&gt;
cd /etc/X11/Xsession.d&lt;br /&gt;
patch &amp;lt; /patches/45xsession.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/init.d&lt;br /&gt;
patch &amp;lt; /patches/knoppix-autoconfig.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/skel/.kde/share/config&lt;br /&gt;
patch &amp;lt; /patches/kdesktoprc.patch&lt;br /&gt;
&lt;br /&gt;
exit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== System Requirements ====&lt;br /&gt;
&lt;br /&gt;
You must have:&lt;br /&gt;
&lt;br /&gt;
1. at least 1 GB of FREE RAM+Swap total (e.g. 256M ram, and 750M swap AVAILABLE)&lt;br /&gt;
&lt;br /&gt;
2. 3 GB free on a Linux filesystem (ext2/3, xfs, etc.) formatted disk partition (you must unmount this partition before remastering)&lt;br /&gt;
&lt;br /&gt;
3. Knoppix 4.0.2-2005-09-23 EN&lt;br /&gt;
&lt;br /&gt;
==== Instruction ====&lt;br /&gt;
&lt;br /&gt;
1. Download the LiveCD-1.4.3-beta1.tar.bz2 archive from SourceForge http://prdownloads.sourceforge.net/elphel/LiveCD-1.4.3-beta4.tar.bz2?download&lt;br /&gt;
&lt;br /&gt;
2. Boot from the Knoppix CD&lt;br /&gt;
&lt;br /&gt;
3. Unpack archive to the /home/knoppix directory&lt;br /&gt;
&lt;br /&gt;
4. Open a root shell: &lt;br /&gt;
&lt;br /&gt;
Menu: Kmenu-&amp;gt;Knoppix-&amp;gt;Root Shell &lt;br /&gt;
&lt;br /&gt;
5. Type the following two commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
cd /home/knoppix/LiveCD-1.4.3&lt;br /&gt;
&lt;br /&gt;
sh make.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. The remastering script will be started. You must specify the work partition (for example hda1). This partition will be used for remastering Knoppix.&lt;br /&gt;
&lt;br /&gt;
NOTE: This partition MUST be unmounted!&lt;br /&gt;
&lt;br /&gt;
7. Follow the appeared instructions&lt;br /&gt;
&lt;br /&gt;
8. The ELPHIX-1.4.3.ISO image will be placed at the work partition&lt;br /&gt;
&lt;br /&gt;
9. Use the special software (for example, K3B) for writing image to CD&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1605</id>
		<title>Live-CD remastering</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1605"/>
		<updated>2006-03-10T16:23:35Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Knoppix Live-CD remastering ===&lt;br /&gt;
&lt;br /&gt;
At present time this software is a beta-testing.&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
&lt;br /&gt;
This software for CD remastering is include a lot of DEB-packages (elphel-specific and dependenced), files and scripts. All software is compressed to the .tar.bz2 archive (package size is approx. 26 Mb).&lt;br /&gt;
&lt;br /&gt;
There are two scripts for remastering.&lt;br /&gt;
&lt;br /&gt;
First script (make.sh) is general and started by user. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Make a clone from existed knoppix live-cd&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Welcome to KNOPPIX-to-ELPHIX remastering program&amp;quot;&lt;br /&gt;
&lt;br /&gt;
part=0&lt;br /&gt;
&lt;br /&gt;
query() {&lt;br /&gt;
&lt;br /&gt;
    echo -n &amp;quot;$1 [$2] &amp;quot; &amp;gt;&amp;amp;2&lt;br /&gt;
    read answer&lt;br /&gt;
    if [ -z $answer ] ; then answer=$2 ; fi&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# The work directories specifing&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 1. Now you can specify the work directories and other parameters&amp;quot;&lt;br /&gt;
&lt;br /&gt;
if [ part=0 ]&lt;br /&gt;
then&lt;br /&gt;
query &amp;quot;Please, specify the work partition. For example, hda1&amp;quot; hda1&lt;br /&gt;
part=$answer&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
version=`cat debs/version.txt`&lt;br /&gt;
&lt;br /&gt;
home=/home/knoppix/LiveCD-$version&lt;br /&gt;
&lt;br /&gt;
source0=/dev/$part&lt;br /&gt;
dest0=/mnt/$part&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
source=$dest0/knxsource&lt;br /&gt;
dest=$dest0/knxmaster&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Mounting the work partition...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mount $source0 $dest0&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the work directories...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX&lt;br /&gt;
mkdir -p $dest/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 1 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# The next step - copying files and directories&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 2. Copying necessary files and directories, preparing the internet connection&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the KNOPPIX directory&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Copying the KNOPPIX directory. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp /KNOPPIX/* $source/KNOPPIX&lt;br /&gt;
cd /cdrom; find . -size -10000k -type f -exec cp -p --parents &#039;{}&#039; $dest/ \;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Preparing the internet connection&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Preparing the internet connection&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf.orig&lt;br /&gt;
cp /etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 2 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Removing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 3. Removing old packages and files. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX/debs&lt;br /&gt;
cp -Rp $home/debs/* $source/KNOPPIX/debs&lt;br /&gt;
mkdir -p $source/KNOPPIX/patches&lt;br /&gt;
cp -Rp $home/patches/* $source/KNOPPIX/patches&lt;br /&gt;
cp $home/inst-rem.sh $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_bottom.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_top.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/local/lib/knoppix.jpg&lt;br /&gt;
cp -Rp $home/images/* $source/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 3 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Installing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 4. Installing the ELPHIX specific packages and patches. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
chroot $source/KNOPPIX sh inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
rm -rf $source/KNOPPIX/debs&lt;br /&gt;
rm -rf $source/KNOPPIX/patches&lt;br /&gt;
rm -rf $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 4 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Fixing the known Knoppix bugs&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 5. Fixing the known Knoppix bugs&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Fixing the USB-2.0 bug&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Fixing the USB-2.0 bug in the linuxrc&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp $dest/boot/isolinux/minirt.gz $dest0&lt;br /&gt;
cd $dest0&lt;br /&gt;
gunzip minirt.gz&lt;br /&gt;
mkdir -p MRT&lt;br /&gt;
mount -o loop minirt MRT&lt;br /&gt;
cd MRT&lt;br /&gt;
patch &amp;lt; $home/patches/linuxrc.patch&lt;br /&gt;
cd $dest0&lt;br /&gt;
umount MRT&lt;br /&gt;
gzip minirt&lt;br /&gt;
mv minirt.gz $dest/boot/isolinux/minirt.gz&lt;br /&gt;
cd $home&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 5 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the sources and files&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 6. Copying the sources and files, cleaning the filesystem&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp $home/files/* $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Removing the temporary files and cleaning the filesystem&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Removing the temporary files and cleaning the filesystem&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf.orig $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
rm -rf $source/KNOPPIX/.rr_moved&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/var/lib/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/brltty&lt;br /&gt;
rm -rf $source/KNOPPIX/var/games&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/emacs21&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/games/frozen-bubble&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/fonts/wine&lt;br /&gt;
rm -rf $dest0/MRT&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 6 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-file KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 7. Creating the ELPHIX compressed image. This can take a few minutes or hours. You can drink coffee, read the book, sleep etc. In any case, please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkisofs -R -U -V &amp;quot;KNOPPIX.net filesystem&amp;quot; -publisher &amp;quot;Elphel,Inc. www.elphel.com&amp;quot; -hide-rr-moved -cache-inodes -no-bak -pad $source/KNOPPIX | nice -5 /usr/bin/create_compressed_fs -b - 65536 &amp;gt; $dest/KNOPPIX/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-image LiveCD Knoppix&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the ISO-image LiveCD ELPHIX. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd $dest&lt;br /&gt;
&lt;br /&gt;
mkisofs -pad -l -r -J -v -V &amp;quot;ELPHIX-$version&amp;quot; -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o $dest0/ELPHIX-$version.iso $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 7 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Congratulations! The remastering is finished. ELPHIX-$version is ready for burning. You can find the ISO-image of ELPHIX-$version on the $dest0 partition. Good luck!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The second script (inst-rem.sh) is started by the first script automatically and used for removing/installing DEB-packages. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Sub-script for removing and installing packages&lt;br /&gt;
&lt;br /&gt;
ping -c 5 google.com&lt;br /&gt;
&lt;br /&gt;
dpkg -P `cat /debs/remove-debs`&lt;br /&gt;
&lt;br /&gt;
rm -rf /etc/mozilla-firefox/profile/mimeTypes.rdf&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/depend/*.deb&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/*.deb&lt;br /&gt;
&lt;br /&gt;
cd /etc/X11/Xsession.d&lt;br /&gt;
patch &amp;lt; /patches/45xsession.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/init.d&lt;br /&gt;
patch &amp;lt; /patches/knoppix-autoconfig.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/skel/.kde/share/config&lt;br /&gt;
patch &amp;lt; /patches/kdesktoprc.patch&lt;br /&gt;
&lt;br /&gt;
exit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== System Requirements ====&lt;br /&gt;
&lt;br /&gt;
You must have:&lt;br /&gt;
&lt;br /&gt;
1. at least 1 GB of FREE RAM+Swap total (e.g. 256M ram, and 750M swap AVAILABLE)&lt;br /&gt;
&lt;br /&gt;
2. 3 GB free on a Linux filesystem (ext2/3, xfs, etc.) formatted disk partition (you must unmount this partition before remastering)&lt;br /&gt;
&lt;br /&gt;
3. Knoppix 4.0.2-2005-09-23 EN&lt;br /&gt;
&lt;br /&gt;
==== Instruction ====&lt;br /&gt;
&lt;br /&gt;
1. Download the LiveCD-1.4.3-beta1.tar.bz2 archive from SourceForge http://prdownloads.sourceforge.net/elphel/LiveCD-1.4.3-beta2.tar.bz2?download&lt;br /&gt;
&lt;br /&gt;
2. Boot from the Knoppix CD&lt;br /&gt;
&lt;br /&gt;
3. Unpack archive to the /home/knoppix directory&lt;br /&gt;
&lt;br /&gt;
4. Open a root shell: &lt;br /&gt;
&lt;br /&gt;
Menu: Kmenu-&amp;gt;Knoppix-&amp;gt;Root Shell &lt;br /&gt;
&lt;br /&gt;
5. Type the following two commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
cd /home/knoppix/LiveCD-1.4.3&lt;br /&gt;
&lt;br /&gt;
sh make.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. The remastering script will be started. You must specify the work partition (for example hda1). This partition will be used for remastering Knoppix.&lt;br /&gt;
&lt;br /&gt;
NOTE: This partition MUST be unmounted!&lt;br /&gt;
&lt;br /&gt;
7. Follow the appeared instructions&lt;br /&gt;
&lt;br /&gt;
8. The ELPHIX-1.4.3.ISO image will be placed at the work partition&lt;br /&gt;
&lt;br /&gt;
9. Use the special software (for example, K3B) for writing image to CD&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1604</id>
		<title>Live-CD remastering</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1604"/>
		<updated>2006-03-09T19:01:21Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Knoppix Live-CD remastering ===&lt;br /&gt;
&lt;br /&gt;
At present time this software is a beta-testing.&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
&lt;br /&gt;
This software for CD remastering is include a lot of DEB-packages (elphel-specific and dependenced), files and scripts. All software is compressed to the .tar.bz2 archive (package size is approx. 26 Mb).&lt;br /&gt;
&lt;br /&gt;
There are two scripts for remastering.&lt;br /&gt;
&lt;br /&gt;
First script (make.sh) is general and started by user. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Make a clone from existed knoppix live-cd&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Welcome to KNOPPIX-to-ELPHIX remastering program&amp;quot;&lt;br /&gt;
&lt;br /&gt;
part=0&lt;br /&gt;
&lt;br /&gt;
query() {&lt;br /&gt;
&lt;br /&gt;
    echo -n &amp;quot;$1 [$2] &amp;quot; &amp;gt;&amp;amp;2&lt;br /&gt;
    read answer&lt;br /&gt;
    if [ -z $answer ] ; then answer=$2 ; fi&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# The work directories specifing&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 1. Now you can specify the work directories and other parameters&amp;quot;&lt;br /&gt;
&lt;br /&gt;
if [ part=0 ]&lt;br /&gt;
then&lt;br /&gt;
query &amp;quot;Please, specify the work partition. For example, hda1&amp;quot; hda1&lt;br /&gt;
part=$answer&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
version=`cat debs/version.txt`&lt;br /&gt;
&lt;br /&gt;
home=/home/knoppix/LiveCD-$version&lt;br /&gt;
&lt;br /&gt;
source0=/dev/$part&lt;br /&gt;
dest0=/mnt/$part&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
source=$dest0/kxsource&lt;br /&gt;
dest=$dest0/kxmaster&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Mounting the work partition...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mount $source0 $dest0&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Making the work directories...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX&lt;br /&gt;
mkdir -p $dest/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 1 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# The next step - copying files and directories&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 2. Copying necessary files and directories, preparing the internet connection&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the KNOPPIX directory&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Copying the KNOPPIX directory. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp /KNOPPIX/* $source/KNOPPIX&lt;br /&gt;
cd /cdrom; find . -size -10000k -type f -exec cp -p --parents &#039;{}&#039; $dest/ \;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Preparing the internet connection&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Preparing the internet connection&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf.orig&lt;br /&gt;
cp /etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 2 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Removing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 3. Removing old packages and files. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX/debs&lt;br /&gt;
cp -Rp $home/debs/* $source/KNOPPIX/debs&lt;br /&gt;
mkdir -p $source/KNOPPIX/patches&lt;br /&gt;
cp -Rp $home/patches/* $source/KNOPPIX/patches&lt;br /&gt;
cp $home/inst-rem.sh $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_bottom.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_top.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/local/lib/knoppix.jpg&lt;br /&gt;
cp -Rp $home/images/* $source/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 3 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Installing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 4. Installing the ELPHIX specific packages and patches. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
chroot $source/KNOPPIX sh inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
rm -rf $source/KNOPPIX/debs&lt;br /&gt;
rm -rf $source/KNOPPIX/patches&lt;br /&gt;
rm -rf $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 4 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Fixing the known Knoppix bugs&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 5. Fixing the known Knoppix bugs&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Fixing the USB-2.0 bug&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Fixing the USB-2.0 bug in the linuxrc&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp $dest/boot/isolinux/minirt.gz $home&lt;br /&gt;
gunzip minirt.gz&lt;br /&gt;
mkdir -p MRT&lt;br /&gt;
mount -o loop minirt MRT&lt;br /&gt;
cd MRT&lt;br /&gt;
patch &amp;lt; $home/patches/linuxrc.patch&lt;br /&gt;
cd $home&lt;br /&gt;
umount MRT&lt;br /&gt;
gzip minirt&lt;br /&gt;
cp minirt.gz $dest/boot/isolinux/minirt.gz&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 5 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the sources and files&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 6. Copying the sources and files, cleaning the filesystem&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp $home/files/* $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Removing the temporary files and cleaning the filesystem&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Removing the temporary files and cleaning the filesystem&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf.orig $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
rm -rf $source/KNOPPIX/.rr_moved&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/var/lib/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/brltty&lt;br /&gt;
rm -rf $source/KNOPPIX/var/games&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/emacs21&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/games/frozen-bubble&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/fonts/wine&lt;br /&gt;
rm -rf MRT&lt;br /&gt;
rm -rf minirt.gz&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 6 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-file KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 7. Creating the ELPHIX compressed image. This can take a few minutes or hours. You can drink coffee, read the book, sleep etc. In any case, please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkisofs -R -U -V &amp;quot;KNOPPIX.net filesystem&amp;quot; -publisher &amp;quot;Elphel,Inc. www.elphel.com&amp;quot; -hide-rr-moved -cache-inodes -no-bak -pad $source/KNOPPIX | nice -5 /usr/bin/create_compressed_fs -b - 65536 &amp;gt; $dest/KNOPPIX/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-image LiveCD Knoppix&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the ISO-image LiveCD ELPHIX. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd $dest&lt;br /&gt;
&lt;br /&gt;
mkisofs -pad -l -r -J -v -V &amp;quot;ELPHIX-$version&amp;quot; -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o $dest0/ELPHIX-$version.iso $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Stage 7 is finished without errors&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Congratulations! The remastering is finished. ELPHIX-$version is ready for burning. You can find the ISO-image of ELPHIX-$version on the $dest0 partition. Good luck!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The second script (inst-rem.sh) is started by the first script automatically and used for removing/installing DEB-packages. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Sub-script for removing and installing packages&lt;br /&gt;
&lt;br /&gt;
ping -c 5 google.com&lt;br /&gt;
&lt;br /&gt;
dpkg -P `cat /debs/remove-debs`&lt;br /&gt;
&lt;br /&gt;
rm -rf /etc/mozilla-firefox/profile/mimeTypes.rdf&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/depend/*.deb&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/*.deb&lt;br /&gt;
&lt;br /&gt;
cd /etc/X11/Xsession.d&lt;br /&gt;
patch &amp;lt; /patches/45xsession.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/init.d&lt;br /&gt;
patch &amp;lt; /patches/knoppix-autoconfig.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/skel/.kde/share/config&lt;br /&gt;
patch &amp;lt; /patches/kdesktoprc.patch&lt;br /&gt;
&lt;br /&gt;
exit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== System Requirements ====&lt;br /&gt;
&lt;br /&gt;
You must have:&lt;br /&gt;
&lt;br /&gt;
1. at least 1 GB of FREE RAM+Swap total (e.g. 256M ram, and 750M swap AVAILABLE)&lt;br /&gt;
&lt;br /&gt;
2. 3 GB free on a Linux filesystem (ext2/3, xfs, etc.) formatted disk partition (you must unmount this partition before remastering)&lt;br /&gt;
&lt;br /&gt;
3. Knoppix 4.0.2-2005-09-23 EN&lt;br /&gt;
&lt;br /&gt;
==== Instruction ====&lt;br /&gt;
&lt;br /&gt;
1. Download the LiveCD-1.4.3-beta1.tar.bz2 archive from SourceForge http://prdownloads.sourceforge.net/elphel/LiveCD-1.4.3-beta2.tar.bz2?download&lt;br /&gt;
&lt;br /&gt;
2. Boot from the Knoppix CD&lt;br /&gt;
&lt;br /&gt;
3. Unpack archive to the /home/knoppix directory&lt;br /&gt;
&lt;br /&gt;
4. Open a root shell: &lt;br /&gt;
&lt;br /&gt;
Menu: Kmenu-&amp;gt;Knoppix-&amp;gt;Root Shell &lt;br /&gt;
&lt;br /&gt;
5. Type the following two commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
cd /home/knoppix/LiveCD-1.4.3&lt;br /&gt;
&lt;br /&gt;
sh make.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. The remastering script will be started. You must specify the work partition (for example hda1). This partition will be used for remastering Knoppix.&lt;br /&gt;
&lt;br /&gt;
NOTE: This partition MUST be unmounted!&lt;br /&gt;
&lt;br /&gt;
7. Follow the appeared instructions&lt;br /&gt;
&lt;br /&gt;
8. The ELPHIX-1.4.3.ISO image will be placed at the work partition&lt;br /&gt;
&lt;br /&gt;
9. Use the special software (for example, K3B) for writing image to CD&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1603</id>
		<title>Live-CD remastering</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1603"/>
		<updated>2006-03-09T19:00:02Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* Instruction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Knoppix Live-CD remastering ===&lt;br /&gt;
&lt;br /&gt;
At present time this software is a beta-testing.&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
&lt;br /&gt;
This software for CD remastering is include a lot of DEB-packages (elphel-specific and dependenced), files and scripts. All software is compressed to the .tar.bz2 archive (package size is approx. 26 Mb).&lt;br /&gt;
&lt;br /&gt;
There are two scripts for remastering.&lt;br /&gt;
&lt;br /&gt;
First script (make.sh) is general and started by user. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Make a clone from existed knoppix live-cd&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Welcome to KNOPPIX-to-ELPHIX remastering program&amp;quot;&lt;br /&gt;
&lt;br /&gt;
part=0&lt;br /&gt;
&lt;br /&gt;
query() {&lt;br /&gt;
&lt;br /&gt;
    echo -n &amp;quot;$1 [$2] &amp;quot; &amp;gt;&amp;amp;2&lt;br /&gt;
    read answer&lt;br /&gt;
    if [ -z $answer ] ; then answer=$2 ; fi&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if [ part=0 ]&lt;br /&gt;
then&lt;br /&gt;
query &amp;quot;Please, specify the work partition. For example, hda1&amp;quot; hda1&lt;br /&gt;
part=$answer&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
version=`cat debs/version.txt`&lt;br /&gt;
&lt;br /&gt;
home=/home/knoppix/LiveCD-$version&lt;br /&gt;
&lt;br /&gt;
source0=/dev/$part&lt;br /&gt;
dest0=/mnt/$part&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
source=$dest0/kxsource&lt;br /&gt;
dest=$dest0/kxmaster&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Mounting the work partition...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mount $source0 $dest0&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Making the work directories...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX&lt;br /&gt;
mkdir -p $dest/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the KNOPPIX directory&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Copying the KNOPPIX directory. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp /KNOPPIX/* $source/KNOPPIX&lt;br /&gt;
cd /cdrom; find . -size -10000k -type f -exec cp -p --parents &#039;{}&#039; $dest/ \;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Preparing the internet connection&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Preparing the internet connection&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf.orig&lt;br /&gt;
cp /etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Removing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Removing packages and files. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX/debs&lt;br /&gt;
cp -Rp $home/debs/* $source/KNOPPIX/debs&lt;br /&gt;
mkdir -p $source/KNOPPIX/patches&lt;br /&gt;
cp -Rp $home/patches/* $source/KNOPPIX/patches&lt;br /&gt;
cp $home/inst-rem.sh $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_bottom.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_top.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/local/lib/knoppix.jpg&lt;br /&gt;
cp -Rp $home/images/* $source/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Installing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Installing the ELPHIX specific packages and patches. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
chroot $source/KNOPPIX sh inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
rm -rf $source/KNOPPIX/debs&lt;br /&gt;
rm -rf $source/KNOPPIX/patches&lt;br /&gt;
rm -rf $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the sources and files&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Copying the sources and files&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp $home/files/* $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-file KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the ELPHIX compressed image. This can take a few minutes or hours. You can drink coffee, read the book, sleep etc. In any case, please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf.orig $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
rm -rf $source/KNOPPIX/.rr_moved&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/var/lib/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/brltty&lt;br /&gt;
rm -rf $source/KNOPPIX/var/games&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/emacs21&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/games/frozen-bubble&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/fonts/wine&lt;br /&gt;
&lt;br /&gt;
mkisofs -R -U -V &amp;quot;KNOPPIX.net filesystem&amp;quot; -publisher &amp;quot;Elphel,Inc. www.elphel.com&amp;quot; -hide-rr-moved -cache-inodes -no-bak -pad $source/KNOPPIX | nice -5 /usr/bin/create_compressed_fs -b - 65536 &amp;gt; $dest/KNOPPIX/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-image LiveCD Knoppix&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the ISO-image LiveCD ELPHIX. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd $dest&lt;br /&gt;
&lt;br /&gt;
mkisofs -pad -l -r -J -v -V &amp;quot;ELPHIX-$version&amp;quot; -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o $dest0/ELPHIX-$version.iso $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;The remastering is finished. ELPHIX-$version is ready for burning. You can find the ISO-image of ELPHIX-$version on the $dest0 partition. Good luck!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The second script (inst-rem.sh) is started by the first script automatically and used for removing/installing DEB-packages. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Sub-script for removing and installing packages&lt;br /&gt;
&lt;br /&gt;
ping -c 5 google.com&lt;br /&gt;
&lt;br /&gt;
dpkg -P `cat /debs/remove-debs`&lt;br /&gt;
&lt;br /&gt;
rm -rf /etc/mozilla-firefox/profile/mimeTypes.rdf&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/depend/*.deb&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/*.deb&lt;br /&gt;
&lt;br /&gt;
cd /etc/X11/Xsession.d&lt;br /&gt;
patch &amp;lt; /patches/45xsession.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/init.d&lt;br /&gt;
patch &amp;lt; /patches/knoppix-autoconfig.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/skel/.kde/share/config&lt;br /&gt;
patch &amp;lt; /patches/kdesktoprc.patch&lt;br /&gt;
&lt;br /&gt;
exit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== System Requirements ====&lt;br /&gt;
&lt;br /&gt;
You must have:&lt;br /&gt;
&lt;br /&gt;
1. at least 1 GB of FREE RAM+Swap total (e.g. 256M ram, and 750M swap AVAILABLE)&lt;br /&gt;
&lt;br /&gt;
2. 3 GB free on a Linux filesystem (ext2/3, xfs, etc.) formatted disk partition (you must unmount this partition before remastering)&lt;br /&gt;
&lt;br /&gt;
3. Knoppix 4.0.2-2005-09-23 EN&lt;br /&gt;
&lt;br /&gt;
==== Instruction ====&lt;br /&gt;
&lt;br /&gt;
1. Download the LiveCD-1.4.3-beta1.tar.bz2 archive from SourceForge http://prdownloads.sourceforge.net/elphel/LiveCD-1.4.3-beta2.tar.bz2?download&lt;br /&gt;
&lt;br /&gt;
2. Boot from the Knoppix CD&lt;br /&gt;
&lt;br /&gt;
3. Unpack archive to the /home/knoppix directory&lt;br /&gt;
&lt;br /&gt;
4. Open a root shell: &lt;br /&gt;
&lt;br /&gt;
Menu: Kmenu-&amp;gt;Knoppix-&amp;gt;Root Shell &lt;br /&gt;
&lt;br /&gt;
5. Type the following two commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
cd /home/knoppix/LiveCD-1.4.3&lt;br /&gt;
&lt;br /&gt;
sh make.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. The remastering script will be started. You must specify the work partition (for example hda1). This partition will be used for remastering Knoppix.&lt;br /&gt;
&lt;br /&gt;
NOTE: This partition MUST be unmounted!&lt;br /&gt;
&lt;br /&gt;
7. Follow the appeared instructions&lt;br /&gt;
&lt;br /&gt;
8. The ELPHIX-1.4.3.ISO image will be placed at the work partition&lt;br /&gt;
&lt;br /&gt;
9. Use the special software (for example, K3B) for writing image to CD&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1602</id>
		<title>Live-CD remastering</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1602"/>
		<updated>2006-03-09T18:59:41Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Knoppix Live-CD remastering ===&lt;br /&gt;
&lt;br /&gt;
At present time this software is a beta-testing.&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
&lt;br /&gt;
This software for CD remastering is include a lot of DEB-packages (elphel-specific and dependenced), files and scripts. All software is compressed to the .tar.bz2 archive (package size is approx. 26 Mb).&lt;br /&gt;
&lt;br /&gt;
There are two scripts for remastering.&lt;br /&gt;
&lt;br /&gt;
First script (make.sh) is general and started by user. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Make a clone from existed knoppix live-cd&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Welcome to KNOPPIX-to-ELPHIX remastering program&amp;quot;&lt;br /&gt;
&lt;br /&gt;
part=0&lt;br /&gt;
&lt;br /&gt;
query() {&lt;br /&gt;
&lt;br /&gt;
    echo -n &amp;quot;$1 [$2] &amp;quot; &amp;gt;&amp;amp;2&lt;br /&gt;
    read answer&lt;br /&gt;
    if [ -z $answer ] ; then answer=$2 ; fi&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if [ part=0 ]&lt;br /&gt;
then&lt;br /&gt;
query &amp;quot;Please, specify the work partition. For example, hda1&amp;quot; hda1&lt;br /&gt;
part=$answer&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
version=`cat debs/version.txt`&lt;br /&gt;
&lt;br /&gt;
home=/home/knoppix/LiveCD-$version&lt;br /&gt;
&lt;br /&gt;
source0=/dev/$part&lt;br /&gt;
dest0=/mnt/$part&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
source=$dest0/kxsource&lt;br /&gt;
dest=$dest0/kxmaster&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Mounting the work partition...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mount $source0 $dest0&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Making the work directories...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX&lt;br /&gt;
mkdir -p $dest/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the KNOPPIX directory&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Copying the KNOPPIX directory. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp /KNOPPIX/* $source/KNOPPIX&lt;br /&gt;
cd /cdrom; find . -size -10000k -type f -exec cp -p --parents &#039;{}&#039; $dest/ \;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Preparing the internet connection&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Preparing the internet connection&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf.orig&lt;br /&gt;
cp /etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Removing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Removing packages and files. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX/debs&lt;br /&gt;
cp -Rp $home/debs/* $source/KNOPPIX/debs&lt;br /&gt;
mkdir -p $source/KNOPPIX/patches&lt;br /&gt;
cp -Rp $home/patches/* $source/KNOPPIX/patches&lt;br /&gt;
cp $home/inst-rem.sh $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_bottom.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_top.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/local/lib/knoppix.jpg&lt;br /&gt;
cp -Rp $home/images/* $source/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Installing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Installing the ELPHIX specific packages and patches. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
chroot $source/KNOPPIX sh inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
rm -rf $source/KNOPPIX/debs&lt;br /&gt;
rm -rf $source/KNOPPIX/patches&lt;br /&gt;
rm -rf $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the sources and files&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Copying the sources and files&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp $home/files/* $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-file KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the ELPHIX compressed image. This can take a few minutes or hours. You can drink coffee, read the book, sleep etc. In any case, please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf.orig $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
rm -rf $source/KNOPPIX/.rr_moved&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/var/lib/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/brltty&lt;br /&gt;
rm -rf $source/KNOPPIX/var/games&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/emacs21&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/games/frozen-bubble&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/fonts/wine&lt;br /&gt;
&lt;br /&gt;
mkisofs -R -U -V &amp;quot;KNOPPIX.net filesystem&amp;quot; -publisher &amp;quot;Elphel,Inc. www.elphel.com&amp;quot; -hide-rr-moved -cache-inodes -no-bak -pad $source/KNOPPIX | nice -5 /usr/bin/create_compressed_fs -b - 65536 &amp;gt; $dest/KNOPPIX/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-image LiveCD Knoppix&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the ISO-image LiveCD ELPHIX. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd $dest&lt;br /&gt;
&lt;br /&gt;
mkisofs -pad -l -r -J -v -V &amp;quot;ELPHIX-$version&amp;quot; -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o $dest0/ELPHIX-$version.iso $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;The remastering is finished. ELPHIX-$version is ready for burning. You can find the ISO-image of ELPHIX-$version on the $dest0 partition. Good luck!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The second script (inst-rem.sh) is started by the first script automatically and used for removing/installing DEB-packages. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Sub-script for removing and installing packages&lt;br /&gt;
&lt;br /&gt;
ping -c 5 google.com&lt;br /&gt;
&lt;br /&gt;
dpkg -P `cat /debs/remove-debs`&lt;br /&gt;
&lt;br /&gt;
rm -rf /etc/mozilla-firefox/profile/mimeTypes.rdf&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/depend/*.deb&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/*.deb&lt;br /&gt;
&lt;br /&gt;
cd /etc/X11/Xsession.d&lt;br /&gt;
patch &amp;lt; /patches/45xsession.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/init.d&lt;br /&gt;
patch &amp;lt; /patches/knoppix-autoconfig.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/skel/.kde/share/config&lt;br /&gt;
patch &amp;lt; /patches/kdesktoprc.patch&lt;br /&gt;
&lt;br /&gt;
exit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== System Requirements ====&lt;br /&gt;
&lt;br /&gt;
You must have:&lt;br /&gt;
&lt;br /&gt;
1. at least 1 GB of FREE RAM+Swap total (e.g. 256M ram, and 750M swap AVAILABLE)&lt;br /&gt;
&lt;br /&gt;
2. 3 GB free on a Linux filesystem (ext2/3, xfs, etc.) formatted disk partition (you must unmount this partition before remastering)&lt;br /&gt;
&lt;br /&gt;
3. Knoppix 4.0.2-2005-09-23 EN&lt;br /&gt;
&lt;br /&gt;
==== Instruction ====&lt;br /&gt;
&lt;br /&gt;
1. Download the LiveCD-1.4.3-beta1.tar.bz2 archive from SourceForge http://prdownloads.sourceforge.net/elphel/LiveCD-1.4.3-beta1.tar.bz2?download&lt;br /&gt;
&lt;br /&gt;
2. Boot from the Knoppix CD&lt;br /&gt;
&lt;br /&gt;
3. Unpack archive to the /home/knoppix directory&lt;br /&gt;
&lt;br /&gt;
4. Open a root shell: &lt;br /&gt;
&lt;br /&gt;
Menu: Kmenu-&amp;gt;Knoppix-&amp;gt;Root Shell &lt;br /&gt;
&lt;br /&gt;
5. Type the following two commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
cd /home/knoppix/LiveCD-1.4.3&lt;br /&gt;
&lt;br /&gt;
sh make.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. The remastering script will be started. You must specify the work partition (for example hda1). This partition will be used for remastering Knoppix.&lt;br /&gt;
&lt;br /&gt;
NOTE: This partition MUST be unmounted!&lt;br /&gt;
&lt;br /&gt;
7. Follow the appeared instructions&lt;br /&gt;
&lt;br /&gt;
8. The ELPHIX-1.4.3.ISO image will be placed at the work partition&lt;br /&gt;
&lt;br /&gt;
9. Use the special software (for example, K3B) for writing image to CD&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1601</id>
		<title>Live-CD remastering</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1601"/>
		<updated>2006-03-09T14:35:27Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* Instruction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Knoppix Live-CD remastering ===&lt;br /&gt;
&lt;br /&gt;
At present time this software is a beta-testing.&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
&lt;br /&gt;
This software for CD remastering is include a lot of DEB-packages (elphel-specific and dependenced), files and scripts. All software is compressed to the .tar.bz2 archive (package size is approx. 26,8 Mb).&lt;br /&gt;
&lt;br /&gt;
There are two scripts for remastering.&lt;br /&gt;
&lt;br /&gt;
First script (make.sh) is general and started by user. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Make a clone from existed knoppix live-cd&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Welcome to KNOPPIX-to-ELPHIX remastering program&amp;quot;&lt;br /&gt;
&lt;br /&gt;
part=0&lt;br /&gt;
&lt;br /&gt;
query() {&lt;br /&gt;
&lt;br /&gt;
    echo -n &amp;quot;$1 [$2] &amp;quot; &amp;gt;&amp;amp;2&lt;br /&gt;
    read answer&lt;br /&gt;
    if [ -z $answer ] ; then answer=$2 ; fi&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if [ part=0 ]&lt;br /&gt;
then&lt;br /&gt;
query &amp;quot;Please, specify the work partition. For example, hda1&amp;quot; hda1&lt;br /&gt;
part=$answer&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
version=`cat debs/version.txt`&lt;br /&gt;
&lt;br /&gt;
home=/home/knoppix/LiveCD-$version&lt;br /&gt;
&lt;br /&gt;
source0=/dev/$part&lt;br /&gt;
dest0=/mnt/$part&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
source=$dest0/kxsource&lt;br /&gt;
dest=$dest0/kxmaster&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Mounting the work partition...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mount $source0 $dest0&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Making the work directories...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX&lt;br /&gt;
mkdir -p $dest/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the KNOPPIX directory&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Copying the KNOPPIX directory. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp /KNOPPIX/* $source/KNOPPIX&lt;br /&gt;
cd /cdrom; find . -size -10000k -type f -exec cp -p --parents &#039;{}&#039; $dest/ \;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Preparing the internet connection&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Preparing the internet connection&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf.orig&lt;br /&gt;
cp /etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Removing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Removing packages and files. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX/debs&lt;br /&gt;
cp -Rp $home/debs/* $source/KNOPPIX/debs&lt;br /&gt;
mkdir -p $source/KNOPPIX/patches&lt;br /&gt;
cp -Rp $home/patches/* $source/KNOPPIX/patches&lt;br /&gt;
cp $home/inst-rem.sh $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_bottom.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_top.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/local/lib/knoppix.jpg&lt;br /&gt;
cp -Rp $home/images/* $source/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Installing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Installing the ELPHIX specific packages and patches. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
chroot $source/KNOPPIX sh inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
rm -rf $source/KNOPPIX/debs&lt;br /&gt;
rm -rf $source/KNOPPIX/patches&lt;br /&gt;
rm -rf $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the sources and files&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Copying the sources and files&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp $home/files/* $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-file KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the ELPHIX compressed image. This can take a few minutes or hours. You can drink coffee, read the book, sleep etc. In any case, please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf.orig $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
rm -rf $source/KNOPPIX/.rr_moved&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/var/lib/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/brltty&lt;br /&gt;
rm -rf $source/KNOPPIX/var/games&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/emacs21&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/games/frozen-bubble&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/fonts/wine&lt;br /&gt;
&lt;br /&gt;
mkisofs -R -U -V &amp;quot;KNOPPIX.net filesystem&amp;quot; -publisher &amp;quot;Elphel,Inc. www.elphel.com&amp;quot; -hide-rr-moved -cache-inodes -no-bak -pad $source/KNOPPIX | nice -5 /usr/bin/create_compressed_fs -b - 65536 &amp;gt; $dest/KNOPPIX/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-image LiveCD Knoppix&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the ISO-image LiveCD ELPHIX. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd $dest&lt;br /&gt;
&lt;br /&gt;
mkisofs -pad -l -r -J -v -V &amp;quot;ELPHIX-$version&amp;quot; -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o $dest0/ELPHIX-$version.iso $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;The remastering is finished. ELPHIX-$version is ready for burning. You can find the ISO-image of ELPHIX-$version on the $dest0 partition. Good luck!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The second script (inst-rem.sh) is started by the first script automatically and used for removing/installing DEB-packages. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Sub-script for removing and installing packages&lt;br /&gt;
&lt;br /&gt;
ping -c 5 google.com&lt;br /&gt;
&lt;br /&gt;
dpkg -P `cat /debs/remove-debs`&lt;br /&gt;
&lt;br /&gt;
rm -rf /etc/mozilla-firefox/profile/mimeTypes.rdf&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/depend/*.deb&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/*.deb&lt;br /&gt;
&lt;br /&gt;
cd /etc/X11/Xsession.d&lt;br /&gt;
patch &amp;lt; /patches/45xsession.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/init.d&lt;br /&gt;
patch &amp;lt; /patches/knoppix-autoconfig.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/skel/.kde/share/config&lt;br /&gt;
patch &amp;lt; /patches/kdesktoprc.patch&lt;br /&gt;
&lt;br /&gt;
exit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== System Requirements ====&lt;br /&gt;
&lt;br /&gt;
You must have:&lt;br /&gt;
&lt;br /&gt;
1. at least 1 GB of FREE RAM+Swap total (e.g. 256M ram, and 750M swap AVAILABLE)&lt;br /&gt;
&lt;br /&gt;
2. 3 GB free on a Linux filesystem (ext2/3, xfs, etc.) formatted disk partition (you must unmount this partition before remastering)&lt;br /&gt;
&lt;br /&gt;
3. Knoppix 4.0.2-2005-09-23 EN&lt;br /&gt;
&lt;br /&gt;
==== Instruction ====&lt;br /&gt;
&lt;br /&gt;
1. Download the LiveCD-1.4.3-beta1.tar.bz2 archive from SourceForge http://prdownloads.sourceforge.net/elphel/LiveCD-1.4.3-beta1.tar.bz2?download&lt;br /&gt;
&lt;br /&gt;
2. Boot from the Knoppix CD&lt;br /&gt;
&lt;br /&gt;
3. Unpack archive to the /home/knoppix directory&lt;br /&gt;
&lt;br /&gt;
4. Open a root shell: &lt;br /&gt;
&lt;br /&gt;
Menu: Kmenu-&amp;gt;Knoppix-&amp;gt;Root Shell &lt;br /&gt;
&lt;br /&gt;
5. Type the following two commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
cd /home/knoppix/LiveCD-1.4.3&lt;br /&gt;
&lt;br /&gt;
sh make.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. The remastering script will be started. You must specify the work partition (for example hda1). This partition will be used for remastering Knoppix.&lt;br /&gt;
&lt;br /&gt;
NOTE: This partition MUST be unmounted!&lt;br /&gt;
&lt;br /&gt;
7. Follow the appeared instructions&lt;br /&gt;
&lt;br /&gt;
8. The ELPHIX-1.4.3.ISO image will be placed at the work partition&lt;br /&gt;
&lt;br /&gt;
9. Use the special software (for example, K3B) for writing image to CD&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1600</id>
		<title>Live-CD remastering</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1600"/>
		<updated>2006-03-09T14:35:06Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* Instruction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Knoppix Live-CD remastering ===&lt;br /&gt;
&lt;br /&gt;
At present time this software is a beta-testing.&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
&lt;br /&gt;
This software for CD remastering is include a lot of DEB-packages (elphel-specific and dependenced), files and scripts. All software is compressed to the .tar.bz2 archive (package size is approx. 26,8 Mb).&lt;br /&gt;
&lt;br /&gt;
There are two scripts for remastering.&lt;br /&gt;
&lt;br /&gt;
First script (make.sh) is general and started by user. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Make a clone from existed knoppix live-cd&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Welcome to KNOPPIX-to-ELPHIX remastering program&amp;quot;&lt;br /&gt;
&lt;br /&gt;
part=0&lt;br /&gt;
&lt;br /&gt;
query() {&lt;br /&gt;
&lt;br /&gt;
    echo -n &amp;quot;$1 [$2] &amp;quot; &amp;gt;&amp;amp;2&lt;br /&gt;
    read answer&lt;br /&gt;
    if [ -z $answer ] ; then answer=$2 ; fi&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if [ part=0 ]&lt;br /&gt;
then&lt;br /&gt;
query &amp;quot;Please, specify the work partition. For example, hda1&amp;quot; hda1&lt;br /&gt;
part=$answer&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
version=`cat debs/version.txt`&lt;br /&gt;
&lt;br /&gt;
home=/home/knoppix/LiveCD-$version&lt;br /&gt;
&lt;br /&gt;
source0=/dev/$part&lt;br /&gt;
dest0=/mnt/$part&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
source=$dest0/kxsource&lt;br /&gt;
dest=$dest0/kxmaster&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Mounting the work partition...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mount $source0 $dest0&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Making the work directories...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX&lt;br /&gt;
mkdir -p $dest/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the KNOPPIX directory&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Copying the KNOPPIX directory. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp /KNOPPIX/* $source/KNOPPIX&lt;br /&gt;
cd /cdrom; find . -size -10000k -type f -exec cp -p --parents &#039;{}&#039; $dest/ \;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Preparing the internet connection&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Preparing the internet connection&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf.orig&lt;br /&gt;
cp /etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Removing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Removing packages and files. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX/debs&lt;br /&gt;
cp -Rp $home/debs/* $source/KNOPPIX/debs&lt;br /&gt;
mkdir -p $source/KNOPPIX/patches&lt;br /&gt;
cp -Rp $home/patches/* $source/KNOPPIX/patches&lt;br /&gt;
cp $home/inst-rem.sh $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_bottom.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_top.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/local/lib/knoppix.jpg&lt;br /&gt;
cp -Rp $home/images/* $source/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Installing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Installing the ELPHIX specific packages and patches. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
chroot $source/KNOPPIX sh inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
rm -rf $source/KNOPPIX/debs&lt;br /&gt;
rm -rf $source/KNOPPIX/patches&lt;br /&gt;
rm -rf $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the sources and files&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Copying the sources and files&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp $home/files/* $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-file KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the ELPHIX compressed image. This can take a few minutes or hours. You can drink coffee, read the book, sleep etc. In any case, please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf.orig $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
rm -rf $source/KNOPPIX/.rr_moved&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/var/lib/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/brltty&lt;br /&gt;
rm -rf $source/KNOPPIX/var/games&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/emacs21&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/games/frozen-bubble&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/fonts/wine&lt;br /&gt;
&lt;br /&gt;
mkisofs -R -U -V &amp;quot;KNOPPIX.net filesystem&amp;quot; -publisher &amp;quot;Elphel,Inc. www.elphel.com&amp;quot; -hide-rr-moved -cache-inodes -no-bak -pad $source/KNOPPIX | nice -5 /usr/bin/create_compressed_fs -b - 65536 &amp;gt; $dest/KNOPPIX/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-image LiveCD Knoppix&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the ISO-image LiveCD ELPHIX. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd $dest&lt;br /&gt;
&lt;br /&gt;
mkisofs -pad -l -r -J -v -V &amp;quot;ELPHIX-$version&amp;quot; -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o $dest0/ELPHIX-$version.iso $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;The remastering is finished. ELPHIX-$version is ready for burning. You can find the ISO-image of ELPHIX-$version on the $dest0 partition. Good luck!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The second script (inst-rem.sh) is started by the first script automatically and used for removing/installing DEB-packages. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Sub-script for removing and installing packages&lt;br /&gt;
&lt;br /&gt;
ping -c 5 google.com&lt;br /&gt;
&lt;br /&gt;
dpkg -P `cat /debs/remove-debs`&lt;br /&gt;
&lt;br /&gt;
rm -rf /etc/mozilla-firefox/profile/mimeTypes.rdf&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/depend/*.deb&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/*.deb&lt;br /&gt;
&lt;br /&gt;
cd /etc/X11/Xsession.d&lt;br /&gt;
patch &amp;lt; /patches/45xsession.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/init.d&lt;br /&gt;
patch &amp;lt; /patches/knoppix-autoconfig.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/skel/.kde/share/config&lt;br /&gt;
patch &amp;lt; /patches/kdesktoprc.patch&lt;br /&gt;
&lt;br /&gt;
exit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== System Requirements ====&lt;br /&gt;
&lt;br /&gt;
You must have:&lt;br /&gt;
&lt;br /&gt;
1. at least 1 GB of FREE RAM+Swap total (e.g. 256M ram, and 750M swap AVAILABLE)&lt;br /&gt;
&lt;br /&gt;
2. 3 GB free on a Linux filesystem (ext2/3, xfs, etc.) formatted disk partition (you must unmount this partition before remastering)&lt;br /&gt;
&lt;br /&gt;
3. Knoppix 4.0.2-2005-09-23 EN&lt;br /&gt;
&lt;br /&gt;
==== Instruction ====&lt;br /&gt;
&lt;br /&gt;
1. Download the LiveCD-1.4.3-beta1.tar.bz2 archive from SourceForge http://prdownloads.sourceforge.net/elphel/LiveCD-1.4.3-beta1.tar.bz2?download (placed at the Xeon computer in the /home/elphel/Ilya/Live-CD_remastering directory)&lt;br /&gt;
&lt;br /&gt;
2. Boot from the Knoppix CD&lt;br /&gt;
&lt;br /&gt;
3. Unpack archive to the /home/knoppix directory&lt;br /&gt;
&lt;br /&gt;
4. Open a root shell: &lt;br /&gt;
&lt;br /&gt;
Menu: Kmenu-&amp;gt;Knoppix-&amp;gt;Root Shell &lt;br /&gt;
&lt;br /&gt;
5. Type the following two commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
cd /home/knoppix/LiveCD-1.4.3&lt;br /&gt;
&lt;br /&gt;
sh make.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. The remastering script will be started. You must specify the work partition (for example hda1). This partition will be used for remastering Knoppix.&lt;br /&gt;
&lt;br /&gt;
NOTE: This partition MUST be unmounted!&lt;br /&gt;
&lt;br /&gt;
7. Follow the appeared instructions&lt;br /&gt;
&lt;br /&gt;
8. The ELPHIX-1.4.3.ISO image will be placed at the work partition&lt;br /&gt;
&lt;br /&gt;
9. Use the special software (for example, K3B) for writing image to CD&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1599</id>
		<title>Live-CD remastering</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1599"/>
		<updated>2006-03-09T14:16:17Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* System Requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Knoppix Live-CD remastering ===&lt;br /&gt;
&lt;br /&gt;
At present time this software is a beta-testing.&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
&lt;br /&gt;
This software for CD remastering is include a lot of DEB-packages (elphel-specific and dependenced), files and scripts. All software is compressed to the .tar.bz2 archive (package size is approx. 26,8 Mb).&lt;br /&gt;
&lt;br /&gt;
There are two scripts for remastering.&lt;br /&gt;
&lt;br /&gt;
First script (make.sh) is general and started by user. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Make a clone from existed knoppix live-cd&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Welcome to KNOPPIX-to-ELPHIX remastering program&amp;quot;&lt;br /&gt;
&lt;br /&gt;
part=0&lt;br /&gt;
&lt;br /&gt;
query() {&lt;br /&gt;
&lt;br /&gt;
    echo -n &amp;quot;$1 [$2] &amp;quot; &amp;gt;&amp;amp;2&lt;br /&gt;
    read answer&lt;br /&gt;
    if [ -z $answer ] ; then answer=$2 ; fi&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if [ part=0 ]&lt;br /&gt;
then&lt;br /&gt;
query &amp;quot;Please, specify the work partition. For example, hda1&amp;quot; hda1&lt;br /&gt;
part=$answer&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
version=`cat debs/version.txt`&lt;br /&gt;
&lt;br /&gt;
home=/home/knoppix/LiveCD-$version&lt;br /&gt;
&lt;br /&gt;
source0=/dev/$part&lt;br /&gt;
dest0=/mnt/$part&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
source=$dest0/kxsource&lt;br /&gt;
dest=$dest0/kxmaster&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Mounting the work partition...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mount $source0 $dest0&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Making the work directories...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX&lt;br /&gt;
mkdir -p $dest/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the KNOPPIX directory&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Copying the KNOPPIX directory. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp /KNOPPIX/* $source/KNOPPIX&lt;br /&gt;
cd /cdrom; find . -size -10000k -type f -exec cp -p --parents &#039;{}&#039; $dest/ \;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Preparing the internet connection&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Preparing the internet connection&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf.orig&lt;br /&gt;
cp /etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Removing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Removing packages and files. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX/debs&lt;br /&gt;
cp -Rp $home/debs/* $source/KNOPPIX/debs&lt;br /&gt;
mkdir -p $source/KNOPPIX/patches&lt;br /&gt;
cp -Rp $home/patches/* $source/KNOPPIX/patches&lt;br /&gt;
cp $home/inst-rem.sh $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_bottom.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_top.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/local/lib/knoppix.jpg&lt;br /&gt;
cp -Rp $home/images/* $source/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Installing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Installing the ELPHIX specific packages and patches. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
chroot $source/KNOPPIX sh inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
rm -rf $source/KNOPPIX/debs&lt;br /&gt;
rm -rf $source/KNOPPIX/patches&lt;br /&gt;
rm -rf $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the sources and files&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Copying the sources and files&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp $home/files/* $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-file KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the ELPHIX compressed image. This can take a few minutes or hours. You can drink coffee, read the book, sleep etc. In any case, please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf.orig $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
rm -rf $source/KNOPPIX/.rr_moved&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/var/lib/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/brltty&lt;br /&gt;
rm -rf $source/KNOPPIX/var/games&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/emacs21&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/games/frozen-bubble&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/fonts/wine&lt;br /&gt;
&lt;br /&gt;
mkisofs -R -U -V &amp;quot;KNOPPIX.net filesystem&amp;quot; -publisher &amp;quot;Elphel,Inc. www.elphel.com&amp;quot; -hide-rr-moved -cache-inodes -no-bak -pad $source/KNOPPIX | nice -5 /usr/bin/create_compressed_fs -b - 65536 &amp;gt; $dest/KNOPPIX/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-image LiveCD Knoppix&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the ISO-image LiveCD ELPHIX. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd $dest&lt;br /&gt;
&lt;br /&gt;
mkisofs -pad -l -r -J -v -V &amp;quot;ELPHIX-$version&amp;quot; -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o $dest0/ELPHIX-$version.iso $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;The remastering is finished. ELPHIX-$version is ready for burning. You can find the ISO-image of ELPHIX-$version on the $dest0 partition. Good luck!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The second script (inst-rem.sh) is started by the first script automatically and used for removing/installing DEB-packages. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Sub-script for removing and installing packages&lt;br /&gt;
&lt;br /&gt;
ping -c 5 google.com&lt;br /&gt;
&lt;br /&gt;
dpkg -P `cat /debs/remove-debs`&lt;br /&gt;
&lt;br /&gt;
rm -rf /etc/mozilla-firefox/profile/mimeTypes.rdf&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/depend/*.deb&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/*.deb&lt;br /&gt;
&lt;br /&gt;
cd /etc/X11/Xsession.d&lt;br /&gt;
patch &amp;lt; /patches/45xsession.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/init.d&lt;br /&gt;
patch &amp;lt; /patches/knoppix-autoconfig.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/skel/.kde/share/config&lt;br /&gt;
patch &amp;lt; /patches/kdesktoprc.patch&lt;br /&gt;
&lt;br /&gt;
exit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== System Requirements ====&lt;br /&gt;
&lt;br /&gt;
You must have:&lt;br /&gt;
&lt;br /&gt;
1. at least 1 GB of FREE RAM+Swap total (e.g. 256M ram, and 750M swap AVAILABLE)&lt;br /&gt;
&lt;br /&gt;
2. 3 GB free on a Linux filesystem (ext2/3, xfs, etc.) formatted disk partition (you must unmount this partition before remastering)&lt;br /&gt;
&lt;br /&gt;
3. Knoppix 4.0.2-2005-09-23 EN&lt;br /&gt;
&lt;br /&gt;
==== Instruction ====&lt;br /&gt;
&lt;br /&gt;
1. Download the LiveCD-1.4.3.tar.bz2 archive (placed at the Xeon computer in the /home/elphel/Ilya/Live-CD_remastering directory)&lt;br /&gt;
&lt;br /&gt;
2. Boot from the Knoppix CD&lt;br /&gt;
&lt;br /&gt;
3. Unpack archive to the /home/knoppix directory&lt;br /&gt;
&lt;br /&gt;
4. Open a root shell: &lt;br /&gt;
&lt;br /&gt;
Menu: Kmenu-&amp;gt;Knoppix-&amp;gt;Root Shell &lt;br /&gt;
&lt;br /&gt;
5. Type the following two commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
cd /home/knoppix/LiveCD-1.4.3&lt;br /&gt;
&lt;br /&gt;
sh make.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. The remastering script will be started. You must specify the work partition (for example hda1). This partition will be used for remastering Knoppix.&lt;br /&gt;
&lt;br /&gt;
NOTE: This partition MUST be unmounted!&lt;br /&gt;
&lt;br /&gt;
7. Follow the appeared instructions&lt;br /&gt;
&lt;br /&gt;
8. The ELPHIX-1.4.3.ISO image will be placed at the work partition&lt;br /&gt;
&lt;br /&gt;
9. Use the special software (for example, K3B) for writing image to CD&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1598</id>
		<title>Live-CD remastering</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1598"/>
		<updated>2006-03-09T10:10:28Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Knoppix Live-CD remastering ===&lt;br /&gt;
&lt;br /&gt;
At present time this software is a beta-testing.&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
&lt;br /&gt;
This software for CD remastering is include a lot of DEB-packages (elphel-specific and dependenced), files and scripts. All software is compressed to the .tar.bz2 archive (package size is approx. 26,8 Mb).&lt;br /&gt;
&lt;br /&gt;
There are two scripts for remastering.&lt;br /&gt;
&lt;br /&gt;
First script (make.sh) is general and started by user. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Make a clone from existed knoppix live-cd&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Welcome to KNOPPIX-to-ELPHIX remastering program&amp;quot;&lt;br /&gt;
&lt;br /&gt;
part=0&lt;br /&gt;
&lt;br /&gt;
query() {&lt;br /&gt;
&lt;br /&gt;
    echo -n &amp;quot;$1 [$2] &amp;quot; &amp;gt;&amp;amp;2&lt;br /&gt;
    read answer&lt;br /&gt;
    if [ -z $answer ] ; then answer=$2 ; fi&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if [ part=0 ]&lt;br /&gt;
then&lt;br /&gt;
query &amp;quot;Please, specify the work partition. For example, hda1&amp;quot; hda1&lt;br /&gt;
part=$answer&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
version=`cat debs/version.txt`&lt;br /&gt;
&lt;br /&gt;
home=/home/knoppix/LiveCD-$version&lt;br /&gt;
&lt;br /&gt;
source0=/dev/$part&lt;br /&gt;
dest0=/mnt/$part&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
source=$dest0/kxsource&lt;br /&gt;
dest=$dest0/kxmaster&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Mounting the work partition...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mount $source0 $dest0&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Making the work directories...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX&lt;br /&gt;
mkdir -p $dest/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the KNOPPIX directory&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Copying the KNOPPIX directory. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp /KNOPPIX/* $source/KNOPPIX&lt;br /&gt;
cd /cdrom; find . -size -10000k -type f -exec cp -p --parents &#039;{}&#039; $dest/ \;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Preparing the internet connection&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Preparing the internet connection&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf.orig&lt;br /&gt;
cp /etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Removing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Removing packages and files. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX/debs&lt;br /&gt;
cp -Rp $home/debs/* $source/KNOPPIX/debs&lt;br /&gt;
mkdir -p $source/KNOPPIX/patches&lt;br /&gt;
cp -Rp $home/patches/* $source/KNOPPIX/patches&lt;br /&gt;
cp $home/inst-rem.sh $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_bottom.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_top.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/local/lib/knoppix.jpg&lt;br /&gt;
cp -Rp $home/images/* $source/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Installing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Installing the ELPHIX specific packages and patches. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
chroot $source/KNOPPIX sh inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
rm -rf $source/KNOPPIX/debs&lt;br /&gt;
rm -rf $source/KNOPPIX/patches&lt;br /&gt;
rm -rf $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the sources and files&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Copying the sources and files&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp $home/files/* $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-file KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the ELPHIX compressed image. This can take a few minutes or hours. You can drink coffee, read the book, sleep etc. In any case, please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf.orig $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
rm -rf $source/KNOPPIX/.rr_moved&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/var/lib/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/brltty&lt;br /&gt;
rm -rf $source/KNOPPIX/var/games&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/emacs21&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/games/frozen-bubble&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/fonts/wine&lt;br /&gt;
&lt;br /&gt;
mkisofs -R -U -V &amp;quot;KNOPPIX.net filesystem&amp;quot; -publisher &amp;quot;Elphel,Inc. www.elphel.com&amp;quot; -hide-rr-moved -cache-inodes -no-bak -pad $source/KNOPPIX | nice -5 /usr/bin/create_compressed_fs -b - 65536 &amp;gt; $dest/KNOPPIX/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-image LiveCD Knoppix&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the ISO-image LiveCD ELPHIX. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd $dest&lt;br /&gt;
&lt;br /&gt;
mkisofs -pad -l -r -J -v -V &amp;quot;ELPHIX-$version&amp;quot; -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o $dest0/ELPHIX-$version.iso $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;The remastering is finished. ELPHIX-$version is ready for burning. You can find the ISO-image of ELPHIX-$version on the $dest0 partition. Good luck!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The second script (inst-rem.sh) is started by the first script automatically and used for removing/installing DEB-packages. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Sub-script for removing and installing packages&lt;br /&gt;
&lt;br /&gt;
ping -c 5 google.com&lt;br /&gt;
&lt;br /&gt;
dpkg -P `cat /debs/remove-debs`&lt;br /&gt;
&lt;br /&gt;
rm -rf /etc/mozilla-firefox/profile/mimeTypes.rdf&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/depend/*.deb&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/*.deb&lt;br /&gt;
&lt;br /&gt;
cd /etc/X11/Xsession.d&lt;br /&gt;
patch &amp;lt; /patches/45xsession.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/init.d&lt;br /&gt;
patch &amp;lt; /patches/knoppix-autoconfig.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/skel/.kde/share/config&lt;br /&gt;
patch &amp;lt; /patches/kdesktoprc.patch&lt;br /&gt;
&lt;br /&gt;
exit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== System Requirements ====&lt;br /&gt;
&lt;br /&gt;
You must have:&lt;br /&gt;
&lt;br /&gt;
1. at least 1 GB of FREE RAM+Swap total (e.g. 256M ram, and 750M swap AVAILABLE) (unless you use a different compression program - look in this page for compressloop) &lt;br /&gt;
&lt;br /&gt;
2. 3 GB free on a Linux filesystem (ext2/3, xfs, etc.) formatted disk partition (you must unmount this partition before remastering)&lt;br /&gt;
&lt;br /&gt;
3. Knoppix 4.0.2-2005-09-23 EN&lt;br /&gt;
&lt;br /&gt;
==== Instruction ====&lt;br /&gt;
&lt;br /&gt;
1. Download the LiveCD-1.4.3.tar.bz2 archive (placed at the Xeon computer in the /home/elphel/Ilya/Live-CD_remastering directory)&lt;br /&gt;
&lt;br /&gt;
2. Boot from the Knoppix CD&lt;br /&gt;
&lt;br /&gt;
3. Unpack archive to the /home/knoppix directory&lt;br /&gt;
&lt;br /&gt;
4. Open a root shell: &lt;br /&gt;
&lt;br /&gt;
Menu: Kmenu-&amp;gt;Knoppix-&amp;gt;Root Shell &lt;br /&gt;
&lt;br /&gt;
5. Type the following two commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
cd /home/knoppix/LiveCD-1.4.3&lt;br /&gt;
&lt;br /&gt;
sh make.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. The remastering script will be started. You must specify the work partition (for example hda1). This partition will be used for remastering Knoppix.&lt;br /&gt;
&lt;br /&gt;
NOTE: This partition MUST be unmounted!&lt;br /&gt;
&lt;br /&gt;
7. Follow the appeared instructions&lt;br /&gt;
&lt;br /&gt;
8. The ELPHIX-1.4.3.ISO image will be placed at the work partition&lt;br /&gt;
&lt;br /&gt;
9. Use the special software (for example, K3B) for writing image to CD&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1597</id>
		<title>Live-CD remastering</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1597"/>
		<updated>2006-03-08T19:59:42Z</updated>

		<summary type="html">&lt;p&gt;Ilya: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Knoppix Live-CD remastering ===&lt;br /&gt;
&lt;br /&gt;
At present time this software is a beta-testing.&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
&lt;br /&gt;
This software for CD remastering is include a lot of DEB-packages (elphel-specific and dependenced), files and scripts. All software is compressed to the .tar.bz2 archive (package size is approx. 52 Mb).&lt;br /&gt;
&lt;br /&gt;
There are two scripts for remastering.&lt;br /&gt;
&lt;br /&gt;
First script (make.sh) is general and started by user. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Make a clone from existed knoppix live-cd&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Welcome to KNOPPIX-to-ELPHIX remastering program&amp;quot;&lt;br /&gt;
&lt;br /&gt;
part=0&lt;br /&gt;
&lt;br /&gt;
query() {&lt;br /&gt;
&lt;br /&gt;
    echo -n &amp;quot;$1 [$2] &amp;quot; &amp;gt;&amp;amp;2&lt;br /&gt;
    read answer&lt;br /&gt;
    if [ -z $answer ] ; then answer=$2 ; fi&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if [ part=0 ]&lt;br /&gt;
then&lt;br /&gt;
query &amp;quot;Please, specify the work partition. For example, hda1&amp;quot; hda1&lt;br /&gt;
part=$answer&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
version=`cat debs/version.txt`&lt;br /&gt;
&lt;br /&gt;
home=/home/knoppix/LiveCD-$version&lt;br /&gt;
&lt;br /&gt;
source0=/dev/$part&lt;br /&gt;
dest0=/mnt/$part&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
source=$dest0/kxsource&lt;br /&gt;
dest=$dest0/kxmaster&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Mounting the work partition...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mount $source0 $dest0&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Making the work directories...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX&lt;br /&gt;
mkdir -p $dest/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the KNOPPIX directory&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Copying the KNOPPIX directory. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp /KNOPPIX/* $source/KNOPPIX&lt;br /&gt;
cd /cdrom; find . -size -10000k -type f -exec cp -p --parents &#039;{}&#039; $dest/ \;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Preparing the internet connection&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Preparing the internet connection&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf.orig&lt;br /&gt;
cp /etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Removing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Removing packages and files. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX/debs&lt;br /&gt;
cp -Rp $home/debs/* $source/KNOPPIX/debs&lt;br /&gt;
mkdir -p $source/KNOPPIX/patches&lt;br /&gt;
cp -Rp $home/patches/* $source/KNOPPIX/patches&lt;br /&gt;
cp $home/inst-rem.sh $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_bottom.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_top.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/local/lib/knoppix.jpg&lt;br /&gt;
cp -Rp $home/images/* $source/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Installing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Installing the ELPHIX specific packages and patches. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
chroot $source/KNOPPIX sh inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
rm -rf $source/KNOPPIX/debs&lt;br /&gt;
rm -rf $source/KNOPPIX/patches&lt;br /&gt;
rm -rf $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the sources and files&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Copying the sources and files&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp $home/files/* $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-file KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the ELPHIX compressed image. This can take a few minutes or hours. You can drink coffee, read the book, sleep etc. In any case, please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf.orig $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
rm -rf $source/KNOPPIX/.rr_moved&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/var/lib/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/brltty&lt;br /&gt;
rm -rf $source/KNOPPIX/var/games&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/emacs21&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/games/frozen-bubble&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/fonts/wine&lt;br /&gt;
&lt;br /&gt;
mkisofs -R -U -V &amp;quot;KNOPPIX.net filesystem&amp;quot; -publisher &amp;quot;Elphel,Inc. www.elphel.com&amp;quot; -hide-rr-moved -cache-inodes -no-bak -pad $source/KNOPPIX | nice -5 /usr/bin/create_compressed_fs -b - 65536 &amp;gt; $dest/KNOPPIX/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-image LiveCD Knoppix&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the ISO-image LiveCD ELPHIX. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd $dest&lt;br /&gt;
&lt;br /&gt;
mkisofs -pad -l -r -J -v -V &amp;quot;ELPHIX-$version&amp;quot; -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o $dest0/ELPHIX-$version.iso $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;The remastering is finished. ELPHIX-$version is ready for burning. You can find the ISO-image of ELPHIX-$version on the $dest0 partition. Good luck!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The second script (inst-rem.sh) is started by the first script automatically and used for removing/installing DEB-packages. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Sub-script for removing and installing packages&lt;br /&gt;
&lt;br /&gt;
ping -c 5 google.com&lt;br /&gt;
&lt;br /&gt;
dpkg -P `cat /debs/remove-debs`&lt;br /&gt;
&lt;br /&gt;
rm -rf /etc/mozilla-firefox/profile/mimeTypes.rdf&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/depend/*.deb&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/*.deb&lt;br /&gt;
&lt;br /&gt;
cd /etc/X11/Xsession.d&lt;br /&gt;
patch &amp;lt; /patches/45xsession.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/init.d&lt;br /&gt;
patch &amp;lt; /patches/knoppix-autoconfig.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/skel/.kde/share/config&lt;br /&gt;
patch &amp;lt; /patches/kdesktoprc.patch&lt;br /&gt;
&lt;br /&gt;
exit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== System Requirements ====&lt;br /&gt;
&lt;br /&gt;
You must have:&lt;br /&gt;
&lt;br /&gt;
1. at least 1 GB of FREE RAM+Swap total (e.g. 256M ram, and 750M swap AVAILABLE) (unless you use a different compression program - look in this page for compressloop) &lt;br /&gt;
&lt;br /&gt;
2. 3 GB free on a Linux filesystem (ext2/3, xfs, etc.) formatted disk partition (you must unmount this partition before remastering)&lt;br /&gt;
&lt;br /&gt;
3. Knoppix 4.0.2-2005-09-23 EN&lt;br /&gt;
&lt;br /&gt;
==== Instruction ====&lt;br /&gt;
&lt;br /&gt;
1. Download the LiveCD-1.4.3.tar.bz2 archive (placed at the Xeon computer in the /home/elphel/Ilya/Live-CD_remastering directory)&lt;br /&gt;
&lt;br /&gt;
2. Boot from the Knoppix CD&lt;br /&gt;
&lt;br /&gt;
3. Unpack archive to the /home/knoppix directory&lt;br /&gt;
&lt;br /&gt;
4. Open a root shell: &lt;br /&gt;
&lt;br /&gt;
Menu: Kmenu-&amp;gt;Knoppix-&amp;gt;Root Shell &lt;br /&gt;
&lt;br /&gt;
5. Type the following two commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
cd /home/knoppix/LiveCD-1.4.3&lt;br /&gt;
&lt;br /&gt;
sh make.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. The remastering script will be started. You must specify the work partition (for example hda1). This partition will be used for remastering Knoppix.&lt;br /&gt;
&lt;br /&gt;
NOTE: This partition MUST be unmounted!&lt;br /&gt;
&lt;br /&gt;
7. Follow the appeared instructions&lt;br /&gt;
&lt;br /&gt;
8. The ELPHIX-1.4.3.ISO image will be placed at the work partition&lt;br /&gt;
&lt;br /&gt;
9. Use the special software (for example, K3B) for writing image to CD&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1596</id>
		<title>Live-CD remastering</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1596"/>
		<updated>2006-03-08T19:58:36Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Knoppix Live-CD remastering ===&lt;br /&gt;
&lt;br /&gt;
At present time this software is a beta-testing version.&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
&lt;br /&gt;
This software for CD remastering is include a lot of DEB-packages (elphel-specific and dependenced), files and scripts. All software is compressed to the .tar.bz2 archive (package size is approx. 52 Mb).&lt;br /&gt;
&lt;br /&gt;
There are two scripts for remastering.&lt;br /&gt;
&lt;br /&gt;
First script (make.sh) is general and started by user. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Make a clone from existed knoppix live-cd&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Welcome to KNOPPIX-to-ELPHIX remastering program&amp;quot;&lt;br /&gt;
&lt;br /&gt;
part=0&lt;br /&gt;
&lt;br /&gt;
query() {&lt;br /&gt;
&lt;br /&gt;
    echo -n &amp;quot;$1 [$2] &amp;quot; &amp;gt;&amp;amp;2&lt;br /&gt;
    read answer&lt;br /&gt;
    if [ -z $answer ] ; then answer=$2 ; fi&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if [ part=0 ]&lt;br /&gt;
then&lt;br /&gt;
query &amp;quot;Please, specify the work partition. For example, hda1&amp;quot; hda1&lt;br /&gt;
part=$answer&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
version=`cat debs/version.txt`&lt;br /&gt;
&lt;br /&gt;
home=/home/knoppix/LiveCD-$version&lt;br /&gt;
&lt;br /&gt;
source0=/dev/$part&lt;br /&gt;
dest0=/mnt/$part&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
source=$dest0/kxsource&lt;br /&gt;
dest=$dest0/kxmaster&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Mounting the work partition...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mount $source0 $dest0&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Making the work directories...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX&lt;br /&gt;
mkdir -p $dest/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the KNOPPIX directory&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Copying the KNOPPIX directory. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp /KNOPPIX/* $source/KNOPPIX&lt;br /&gt;
cd /cdrom; find . -size -10000k -type f -exec cp -p --parents &#039;{}&#039; $dest/ \;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Preparing the internet connection&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Preparing the internet connection&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf.orig&lt;br /&gt;
cp /etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Removing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Removing packages and files. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX/debs&lt;br /&gt;
cp -Rp $home/debs/* $source/KNOPPIX/debs&lt;br /&gt;
mkdir -p $source/KNOPPIX/patches&lt;br /&gt;
cp -Rp $home/patches/* $source/KNOPPIX/patches&lt;br /&gt;
cp $home/inst-rem.sh $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_bottom.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_top.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/local/lib/knoppix.jpg&lt;br /&gt;
cp -Rp $home/images/* $source/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Installing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Installing the ELPHIX specific packages and patches. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
chroot $source/KNOPPIX sh inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
rm -rf $source/KNOPPIX/debs&lt;br /&gt;
rm -rf $source/KNOPPIX/patches&lt;br /&gt;
rm -rf $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the sources and files&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Copying the sources and files&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp $home/files/* $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-file KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the ELPHIX compressed image. This can take a few minutes or hours. You can drink coffee, read the book, sleep etc. In any case, please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf.orig $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
rm -rf $source/KNOPPIX/.rr_moved&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/var/lib/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/brltty&lt;br /&gt;
rm -rf $source/KNOPPIX/var/games&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/emacs21&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/games/frozen-bubble&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/fonts/wine&lt;br /&gt;
&lt;br /&gt;
mkisofs -R -U -V &amp;quot;KNOPPIX.net filesystem&amp;quot; -publisher &amp;quot;Elphel,Inc. www.elphel.com&amp;quot; -hide-rr-moved -cache-inodes -no-bak -pad $source/KNOPPIX | nice -5 /usr/bin/create_compressed_fs -b - 65536 &amp;gt; $dest/KNOPPIX/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-image LiveCD Knoppix&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the ISO-image LiveCD ELPHIX. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd $dest&lt;br /&gt;
&lt;br /&gt;
mkisofs -pad -l -r -J -v -V &amp;quot;ELPHIX-$version&amp;quot; -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o $dest0/ELPHIX-$version.iso $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;The remastering is finished. ELPHIX-$version is ready for burning. You can find the ISO-image of ELPHIX-$version on the $dest0 partition. Good luck!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The second script (inst-rem.sh) is started by the first script automatically and used for removing/installing DEB-packages. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Sub-script for removing and installing packages&lt;br /&gt;
&lt;br /&gt;
ping -c 5 google.com&lt;br /&gt;
&lt;br /&gt;
dpkg -P `cat /debs/remove-debs`&lt;br /&gt;
&lt;br /&gt;
rm -rf /etc/mozilla-firefox/profile/mimeTypes.rdf&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/depend/*.deb&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/*.deb&lt;br /&gt;
&lt;br /&gt;
cd /etc/X11/Xsession.d&lt;br /&gt;
patch &amp;lt; /patches/45xsession.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/init.d&lt;br /&gt;
patch &amp;lt; /patches/knoppix-autoconfig.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/skel/.kde/share/config&lt;br /&gt;
patch &amp;lt; /patches/kdesktoprc.patch&lt;br /&gt;
&lt;br /&gt;
exit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== System Requirements ====&lt;br /&gt;
&lt;br /&gt;
You must have:&lt;br /&gt;
&lt;br /&gt;
1. at least 1 GB of FREE RAM+Swap total (e.g. 256M ram, and 750M swap AVAILABLE) (unless you use a different compression program - look in this page for compressloop) &lt;br /&gt;
&lt;br /&gt;
2. 3 GB free on a Linux filesystem (ext2/3, xfs, etc.) formatted disk partition (you must unmount this partition before remastering)&lt;br /&gt;
&lt;br /&gt;
3. Knoppix 4.0.2-2005-09-23 EN&lt;br /&gt;
&lt;br /&gt;
==== Instruction ====&lt;br /&gt;
&lt;br /&gt;
1. Download the LiveCD-1.4.3.tar.bz2 archive (placed at the Xeon computer in the /home/elphel/Ilya/Live-CD_remastering directory)&lt;br /&gt;
&lt;br /&gt;
2. Boot from the Knoppix CD&lt;br /&gt;
&lt;br /&gt;
3. Unpack archive to the /home/knoppix directory&lt;br /&gt;
&lt;br /&gt;
4. Open a root shell: &lt;br /&gt;
&lt;br /&gt;
Menu: Kmenu-&amp;gt;Knoppix-&amp;gt;Root Shell &lt;br /&gt;
&lt;br /&gt;
5. Type the following two commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
cd /home/knoppix/LiveCD-1.4.3&lt;br /&gt;
&lt;br /&gt;
sh make.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. The remastering script will be started. You must specify the work partition (for example hda1). This partition will be used for remastering Knoppix.&lt;br /&gt;
&lt;br /&gt;
NOTE: This partition MUST be unmounted!&lt;br /&gt;
&lt;br /&gt;
7. Follow the appeared instructions&lt;br /&gt;
&lt;br /&gt;
8. The ELPHIX-1.4.3.ISO image will be placed at the work partition&lt;br /&gt;
&lt;br /&gt;
9. Use the special software (for example, K3B) for writing image to CD&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1595</id>
		<title>Live-CD remastering</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1595"/>
		<updated>2006-03-08T19:01:17Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* Instruction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Knoppix Live-CD remastering ===&lt;br /&gt;
&lt;br /&gt;
At present time this software is a beta-testing version.&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
&lt;br /&gt;
This software for CD remastering is include a lot of DEB-packages (elphel-specific and dependenced), files and scripts. All software is compressed to the .tar.bz2 archive (size approx. 52 Mb).&lt;br /&gt;
&lt;br /&gt;
There are two scripts for remastering.&lt;br /&gt;
&lt;br /&gt;
First script (make.sh) is general and started by user. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Make a clone from existed knoppix live-cd&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Welcome to KNOPPIX-to-ELPHIX remastering program&amp;quot;&lt;br /&gt;
&lt;br /&gt;
part=0&lt;br /&gt;
&lt;br /&gt;
query() {&lt;br /&gt;
&lt;br /&gt;
    echo -n &amp;quot;$1 [$2] &amp;quot; &amp;gt;&amp;amp;2&lt;br /&gt;
    read answer&lt;br /&gt;
    if [ -z $answer ] ; then answer=$2 ; fi&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if [ part=0 ]&lt;br /&gt;
then&lt;br /&gt;
query &amp;quot;Please, specify the work partition. For example, hda1&amp;quot; hda1&lt;br /&gt;
part=$answer&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
version=`cat debs/version.txt`&lt;br /&gt;
&lt;br /&gt;
home=/home/knoppix/LiveCD-$version&lt;br /&gt;
&lt;br /&gt;
source0=/dev/$part&lt;br /&gt;
dest0=/mnt/$part&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
source=$dest0/kxsource&lt;br /&gt;
dest=$dest0/kxmaster&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Mounting the work partition...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mount $source0 $dest0&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Making the work directories...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX&lt;br /&gt;
mkdir -p $dest/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the KNOPPIX directory&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Copying the KNOPPIX directory. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp /KNOPPIX/* $source/KNOPPIX&lt;br /&gt;
cd /cdrom; find . -size -10000k -type f -exec cp -p --parents &#039;{}&#039; $dest/ \;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Preparing the internet connection&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Preparing the internet connection&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf.orig&lt;br /&gt;
cp /etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Removing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Removing packages and files. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX/debs&lt;br /&gt;
cp -Rp $home/debs/* $source/KNOPPIX/debs&lt;br /&gt;
mkdir -p $source/KNOPPIX/patches&lt;br /&gt;
cp -Rp $home/patches/* $source/KNOPPIX/patches&lt;br /&gt;
cp $home/inst-rem.sh $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_bottom.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_top.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/local/lib/knoppix.jpg&lt;br /&gt;
cp -Rp $home/images/* $source/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Installing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Installing the ELPHIX specific packages and patches. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
chroot $source/KNOPPIX sh inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
rm -rf $source/KNOPPIX/debs&lt;br /&gt;
rm -rf $source/KNOPPIX/patches&lt;br /&gt;
rm -rf $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the sources and files&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Copying the sources and files&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp $home/files/* $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-file KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the ELPHIX compressed image. This can take a few minutes or hours. You can drink coffee, read the book, sleep etc. In any case, please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf.orig $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
rm -rf $source/KNOPPIX/.rr_moved&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/var/lib/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/brltty&lt;br /&gt;
rm -rf $source/KNOPPIX/var/games&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/emacs21&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/games/frozen-bubble&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/fonts/wine&lt;br /&gt;
&lt;br /&gt;
mkisofs -R -U -V &amp;quot;KNOPPIX.net filesystem&amp;quot; -publisher &amp;quot;Elphel,Inc. www.elphel.com&amp;quot; -hide-rr-moved -cache-inodes -no-bak -pad $source/KNOPPIX | nice -5 /usr/bin/create_compressed_fs -b - 65536 &amp;gt; $dest/KNOPPIX/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-image LiveCD Knoppix&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the ISO-image LiveCD ELPHIX. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd $dest&lt;br /&gt;
&lt;br /&gt;
mkisofs -pad -l -r -J -v -V &amp;quot;ELPHIX-$version&amp;quot; -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o $dest0/ELPHIX-$version.iso $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;The remastering is finished. ELPHIX-$version is ready for burning. You can find the ISO-image of ELPHIX-$version on the $dest0 partition. Good luck!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The second script (inst-rem.sh) is started by the first script automatically and used for removing/installing DEB-packages. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Sub-script for removing and installing packages&lt;br /&gt;
&lt;br /&gt;
ping -c 5 google.com&lt;br /&gt;
&lt;br /&gt;
dpkg -P `cat /debs/remove-debs`&lt;br /&gt;
&lt;br /&gt;
rm -rf /etc/mozilla-firefox/profile/mimeTypes.rdf&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/depend/*.deb&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/*.deb&lt;br /&gt;
&lt;br /&gt;
cd /etc/X11/Xsession.d&lt;br /&gt;
patch &amp;lt; /patches/45xsession.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/init.d&lt;br /&gt;
patch &amp;lt; /patches/knoppix-autoconfig.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/skel/.kde/share/config&lt;br /&gt;
patch &amp;lt; /patches/kdesktoprc.patch&lt;br /&gt;
&lt;br /&gt;
exit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== System Requirements ====&lt;br /&gt;
&lt;br /&gt;
You must have:&lt;br /&gt;
&lt;br /&gt;
1. at least 1 GB of FREE RAM+Swap total (e.g. 256M ram, and 750M swap AVAILABLE) (unless you use a different compression program - look in this page for compressloop) &lt;br /&gt;
&lt;br /&gt;
2. 3 GB free on a Linux filesystem (ext2/3, xfs, etc.) formatted disk partition (you must unmount this partition before remastering)&lt;br /&gt;
&lt;br /&gt;
3. Knoppix 4.0.2-2005-09-23 EN&lt;br /&gt;
&lt;br /&gt;
==== Instruction ====&lt;br /&gt;
&lt;br /&gt;
1. Download the LiveCD-1.4.3.tar.bz2 archive (placed at the Xeon computer in the /home/elphel/Ilya/Live-CD_remastering directory)&lt;br /&gt;
&lt;br /&gt;
2. Boot from the Knoppix CD&lt;br /&gt;
&lt;br /&gt;
3. Unpack archive to the /home/knoppix directory&lt;br /&gt;
&lt;br /&gt;
4. Open a root shell: &lt;br /&gt;
&lt;br /&gt;
Menu: Kmenu-&amp;gt;Knoppix-&amp;gt;Root Shell &lt;br /&gt;
&lt;br /&gt;
5. Type the following two commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
cd /home/knoppix/LiveCD-1.4.3&lt;br /&gt;
&lt;br /&gt;
sh make.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. The remastering script will be started. You must specify the work partition (for example hda1). This partition will be used for remastering Knoppix.&lt;br /&gt;
&lt;br /&gt;
NOTE: This partition MUST be unmounted!&lt;br /&gt;
&lt;br /&gt;
7. Follow the appeared instructions&lt;br /&gt;
&lt;br /&gt;
8. The ELPHIX-1.4.3.ISO image will be placed at the work partition&lt;br /&gt;
&lt;br /&gt;
9. Use the special software (for example, K3B) for writing image to CD&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1594</id>
		<title>Live-CD remastering</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1594"/>
		<updated>2006-03-08T18:59:26Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Knoppix Live-CD remastering ===&lt;br /&gt;
&lt;br /&gt;
At present time this software is a beta-testing version.&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
&lt;br /&gt;
This software for CD remastering is include a lot of DEB-packages (elphel-specific and dependenced), files and scripts. All software is compressed to the .tar.bz2 archive (size approx. 52 Mb).&lt;br /&gt;
&lt;br /&gt;
There are two scripts for remastering.&lt;br /&gt;
&lt;br /&gt;
First script (make.sh) is general and started by user. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Make a clone from existed knoppix live-cd&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Welcome to KNOPPIX-to-ELPHIX remastering program&amp;quot;&lt;br /&gt;
&lt;br /&gt;
part=0&lt;br /&gt;
&lt;br /&gt;
query() {&lt;br /&gt;
&lt;br /&gt;
    echo -n &amp;quot;$1 [$2] &amp;quot; &amp;gt;&amp;amp;2&lt;br /&gt;
    read answer&lt;br /&gt;
    if [ -z $answer ] ; then answer=$2 ; fi&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if [ part=0 ]&lt;br /&gt;
then&lt;br /&gt;
query &amp;quot;Please, specify the work partition. For example, hda1&amp;quot; hda1&lt;br /&gt;
part=$answer&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
version=`cat debs/version.txt`&lt;br /&gt;
&lt;br /&gt;
home=/home/knoppix/LiveCD-$version&lt;br /&gt;
&lt;br /&gt;
source0=/dev/$part&lt;br /&gt;
dest0=/mnt/$part&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
source=$dest0/kxsource&lt;br /&gt;
dest=$dest0/kxmaster&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Mounting the work partition...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mount $source0 $dest0&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Making the work directories...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX&lt;br /&gt;
mkdir -p $dest/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the KNOPPIX directory&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Copying the KNOPPIX directory. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp /KNOPPIX/* $source/KNOPPIX&lt;br /&gt;
cd /cdrom; find . -size -10000k -type f -exec cp -p --parents &#039;{}&#039; $dest/ \;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Preparing the internet connection&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Preparing the internet connection&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf.orig&lt;br /&gt;
cp /etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Removing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Removing packages and files. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX/debs&lt;br /&gt;
cp -Rp $home/debs/* $source/KNOPPIX/debs&lt;br /&gt;
mkdir -p $source/KNOPPIX/patches&lt;br /&gt;
cp -Rp $home/patches/* $source/KNOPPIX/patches&lt;br /&gt;
cp $home/inst-rem.sh $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_bottom.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_top.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/local/lib/knoppix.jpg&lt;br /&gt;
cp -Rp $home/images/* $source/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Installing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Installing the ELPHIX specific packages and patches. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
chroot $source/KNOPPIX sh inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
rm -rf $source/KNOPPIX/debs&lt;br /&gt;
rm -rf $source/KNOPPIX/patches&lt;br /&gt;
rm -rf $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the sources and files&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Copying the sources and files&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp $home/files/* $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-file KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the ELPHIX compressed image. This can take a few minutes or hours. You can drink coffee, read the book, sleep etc. In any case, please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf.orig $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
rm -rf $source/KNOPPIX/.rr_moved&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/var/lib/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/brltty&lt;br /&gt;
rm -rf $source/KNOPPIX/var/games&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/emacs21&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/games/frozen-bubble&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/fonts/wine&lt;br /&gt;
&lt;br /&gt;
mkisofs -R -U -V &amp;quot;KNOPPIX.net filesystem&amp;quot; -publisher &amp;quot;Elphel,Inc. www.elphel.com&amp;quot; -hide-rr-moved -cache-inodes -no-bak -pad $source/KNOPPIX | nice -5 /usr/bin/create_compressed_fs -b - 65536 &amp;gt; $dest/KNOPPIX/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-image LiveCD Knoppix&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the ISO-image LiveCD ELPHIX. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd $dest&lt;br /&gt;
&lt;br /&gt;
mkisofs -pad -l -r -J -v -V &amp;quot;ELPHIX-$version&amp;quot; -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o $dest0/ELPHIX-$version.iso $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;The remastering is finished. ELPHIX-$version is ready for burning. You can find the ISO-image of ELPHIX-$version on the $dest0 partition. Good luck!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The second script (inst-rem.sh) is started by the first script automatically and used for removing/installing DEB-packages. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Sub-script for removing and installing packages&lt;br /&gt;
&lt;br /&gt;
ping -c 5 google.com&lt;br /&gt;
&lt;br /&gt;
dpkg -P `cat /debs/remove-debs`&lt;br /&gt;
&lt;br /&gt;
rm -rf /etc/mozilla-firefox/profile/mimeTypes.rdf&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/depend/*.deb&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/*.deb&lt;br /&gt;
&lt;br /&gt;
cd /etc/X11/Xsession.d&lt;br /&gt;
patch &amp;lt; /patches/45xsession.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/init.d&lt;br /&gt;
patch &amp;lt; /patches/knoppix-autoconfig.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/skel/.kde/share/config&lt;br /&gt;
patch &amp;lt; /patches/kdesktoprc.patch&lt;br /&gt;
&lt;br /&gt;
exit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== System Requirements ====&lt;br /&gt;
&lt;br /&gt;
You must have:&lt;br /&gt;
&lt;br /&gt;
1. at least 1 GB of FREE RAM+Swap total (e.g. 256M ram, and 750M swap AVAILABLE) (unless you use a different compression program - look in this page for compressloop) &lt;br /&gt;
&lt;br /&gt;
2. 3 GB free on a Linux filesystem (ext2/3, xfs, etc.) formatted disk partition (you must unmount this partition before remastering)&lt;br /&gt;
&lt;br /&gt;
3. Knoppix 4.0.2-2005-09-23 EN&lt;br /&gt;
&lt;br /&gt;
==== Instruction ====&lt;br /&gt;
&lt;br /&gt;
1. Download the LiveCD-1.4.3.tar.bz2 archive (placed at the Xeon computer in the /home/elphel/Ilya/Live-CD_remastering directory)&lt;br /&gt;
&lt;br /&gt;
2. Boot from the Knoppix CD&lt;br /&gt;
&lt;br /&gt;
3. Unpack archive to the /home/knoppix directory&lt;br /&gt;
&lt;br /&gt;
4. Open a root shell: &lt;br /&gt;
&lt;br /&gt;
Menu: Kmenu-&amp;gt;Knoppix-&amp;gt;Root Shell &lt;br /&gt;
&lt;br /&gt;
5. Type the following two commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd /home/knoppix/LiveCD-1.4.3&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sh make.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. The remastering script will be started. You must specify the work partition (for example hda1). This partition will be used for remastering Knoppix.&lt;br /&gt;
&lt;br /&gt;
NOTE: This partition MUST be unmounted!&lt;br /&gt;
&lt;br /&gt;
7. Follow the appeared instructions&lt;br /&gt;
&lt;br /&gt;
8. The ELPHIX-1.4.3.ISO image will be placed at the work partition&lt;br /&gt;
&lt;br /&gt;
9. Use the special software (for example, K3B) for writing image to CD&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1593</id>
		<title>Live-CD remastering</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1593"/>
		<updated>2006-03-08T18:58:19Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Knoppix Live-CD remastering ===&lt;br /&gt;
&lt;br /&gt;
At present time this software is a beta-testing version.&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
&lt;br /&gt;
This software for CD remastering is include a lot of DEB-packages (elphel-specific and dependenced), files and scripts. All software is compressed to the .tar.bz2 archive (size approx. 52 Mb).&lt;br /&gt;
&lt;br /&gt;
There are two scripts for remastering.&lt;br /&gt;
&lt;br /&gt;
First script (make.sh) is general and started by user. Source code:&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
# Make a clone from existed knoppix live-cd&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Welcome to KNOPPIX-to-ELPHIX remastering program&amp;quot;&lt;br /&gt;
&lt;br /&gt;
part=0&lt;br /&gt;
&lt;br /&gt;
query() {&lt;br /&gt;
&lt;br /&gt;
    echo -n &amp;quot;$1 [$2] &amp;quot; &amp;gt;&amp;amp;2&lt;br /&gt;
    read answer&lt;br /&gt;
    if [ -z $answer ] ; then answer=$2 ; fi&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if [ part=0 ]&lt;br /&gt;
then&lt;br /&gt;
query &amp;quot;Please, specify the work partition. For example, hda1&amp;quot; hda1&lt;br /&gt;
part=$answer&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
version=`cat debs/version.txt`&lt;br /&gt;
&lt;br /&gt;
home=/home/knoppix/LiveCD-$version&lt;br /&gt;
&lt;br /&gt;
source0=/dev/$part&lt;br /&gt;
dest0=/mnt/$part&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
source=$dest0/kxsource&lt;br /&gt;
dest=$dest0/kxmaster&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Mounting the work partition...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mount $source0 $dest0&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Making the work directories...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX&lt;br /&gt;
mkdir -p $dest/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the KNOPPIX directory&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Copying the KNOPPIX directory. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp /KNOPPIX/* $source/KNOPPIX&lt;br /&gt;
cd /cdrom; find . -size -10000k -type f -exec cp -p --parents &#039;{}&#039; $dest/ \;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Preparing the internet connection&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Preparing the internet connection&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf.orig&lt;br /&gt;
cp /etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Removing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Removing packages and files. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX/debs&lt;br /&gt;
cp -Rp $home/debs/* $source/KNOPPIX/debs&lt;br /&gt;
mkdir -p $source/KNOPPIX/patches&lt;br /&gt;
cp -Rp $home/patches/* $source/KNOPPIX/patches&lt;br /&gt;
cp $home/inst-rem.sh $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_bottom.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_top.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/local/lib/knoppix.jpg&lt;br /&gt;
cp -Rp $home/images/* $source/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Installing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Installing the ELPHIX specific packages and patches. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
chroot $source/KNOPPIX sh inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
rm -rf $source/KNOPPIX/debs&lt;br /&gt;
rm -rf $source/KNOPPIX/patches&lt;br /&gt;
rm -rf $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the sources and files&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Copying the sources and files&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp $home/files/* $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-file KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the ELPHIX compressed image. This can take a few minutes or hours. You can drink coffee, read the book, sleep etc. In any case, please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf.orig $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
rm -rf $source/KNOPPIX/.rr_moved&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/var/lib/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/brltty&lt;br /&gt;
rm -rf $source/KNOPPIX/var/games&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/emacs21&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/games/frozen-bubble&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/fonts/wine&lt;br /&gt;
&lt;br /&gt;
mkisofs -R -U -V &amp;quot;KNOPPIX.net filesystem&amp;quot; -publisher &amp;quot;Elphel,Inc. www.elphel.com&amp;quot; -hide-rr-moved -cache-inodes -no-bak -pad $source/KNOPPIX | nice -5 /usr/bin/create_compressed_fs -b - 65536 &amp;gt; $dest/KNOPPIX/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-image LiveCD Knoppix&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the ISO-image LiveCD ELPHIX. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd $dest&lt;br /&gt;
&lt;br /&gt;
mkisofs -pad -l -r -J -v -V &amp;quot;ELPHIX-$version&amp;quot; -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o $dest0/ELPHIX-$version.iso $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;The remastering is finished. ELPHIX-$version is ready for burning. You can find the ISO-image of ELPHIX-$version on the $dest0 partition. Good luck!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
The second script (inst-rem.sh) is started by the first script automatically and used for removing/installing DEB-packages. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Sub-script for removing and installing packages&lt;br /&gt;
&lt;br /&gt;
ping -c 5 google.com&lt;br /&gt;
&lt;br /&gt;
dpkg -P `cat /debs/remove-debs`&lt;br /&gt;
&lt;br /&gt;
rm -rf /etc/mozilla-firefox/profile/mimeTypes.rdf&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/depend/*.deb&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/*.deb&lt;br /&gt;
&lt;br /&gt;
cd /etc/X11/Xsession.d&lt;br /&gt;
patch &amp;lt; /patches/45xsession.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/init.d&lt;br /&gt;
patch &amp;lt; /patches/knoppix-autoconfig.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/skel/.kde/share/config&lt;br /&gt;
patch &amp;lt; /patches/kdesktoprc.patch&lt;br /&gt;
&lt;br /&gt;
exit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== System Requirements ====&lt;br /&gt;
&lt;br /&gt;
You must have:&lt;br /&gt;
&lt;br /&gt;
1. at least 1 GB of FREE RAM+Swap total (e.g. 256M ram, and 750M swap AVAILABLE) (unless you use a different compression program - look in this page for compressloop) &lt;br /&gt;
&lt;br /&gt;
2. 3 GB free on a Linux filesystem (ext2/3, xfs, etc.) formatted disk partition (you must unmount this partition before remastering)&lt;br /&gt;
&lt;br /&gt;
3. Knoppix 4.0.2-2005-09-23 EN&lt;br /&gt;
&lt;br /&gt;
==== Instruction ====&lt;br /&gt;
&lt;br /&gt;
1. Download the LiveCD-1.4.3.tar.bz2 archive (placed at the Xeon computer in the /home/elphel/Ilya/Live-CD_remastering directory)&lt;br /&gt;
&lt;br /&gt;
2. Boot from the Knoppix CD&lt;br /&gt;
&lt;br /&gt;
3. Unpack archive to the /home/knoppix directory&lt;br /&gt;
&lt;br /&gt;
4. Open a root shell: &lt;br /&gt;
&lt;br /&gt;
Menu: Kmenu-&amp;gt;Knoppix-&amp;gt;Root Shell &lt;br /&gt;
&lt;br /&gt;
5. Type the following two commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd /home/knoppix/LiveCD-1.4.3&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sh make.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. The remastering script will be started. You must specify the work partition (for example hda1). This partition will be used for remastering Knoppix.&lt;br /&gt;
&lt;br /&gt;
NOTE: This partition MUST be unmounted!&lt;br /&gt;
&lt;br /&gt;
7. Follow the appeared instructions&lt;br /&gt;
&lt;br /&gt;
8. The ELPHIX-1.4.3.ISO image will be placed at the work partition&lt;br /&gt;
&lt;br /&gt;
9. Use the special software (for example, K3B) for writing image to CD&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1592</id>
		<title>Live-CD remastering</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1592"/>
		<updated>2006-03-08T18:57:44Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Knoppix Live-CD remastering ===&lt;br /&gt;
&lt;br /&gt;
At present time this software is a beta-testing version.&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
&lt;br /&gt;
This software for CD remastering is include a lot of DEB-packages (elphel-specific and dependenced), files and scripts. All software is compressed to the .tar.bz2 archive (size approx. 52 Mb).&lt;br /&gt;
&lt;br /&gt;
There are two scripts for remastering.&lt;br /&gt;
&lt;br /&gt;
First script (make.sh) is general and started by user. Source code:&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
# Make a clone from existed knoppix live-cd&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Welcome to KNOPPIX-to-ELPHIX remastering program&amp;quot;&lt;br /&gt;
&lt;br /&gt;
part=0&lt;br /&gt;
&lt;br /&gt;
query() {&lt;br /&gt;
&lt;br /&gt;
    echo -n &amp;quot;$1 [$2] &amp;quot; &amp;gt;&amp;amp;2&lt;br /&gt;
    read answer&lt;br /&gt;
    if [ -z $answer ] ; then answer=$2 ; fi&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if [ part=0 ]&lt;br /&gt;
then&lt;br /&gt;
query &amp;quot;Please, specify the work partition. For example, hda1&amp;quot; hda1&lt;br /&gt;
part=$answer&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
version=`cat debs/version.txt`&lt;br /&gt;
&lt;br /&gt;
home=/home/knoppix/LiveCD-$version&lt;br /&gt;
&lt;br /&gt;
source0=/dev/$part&lt;br /&gt;
dest0=/mnt/$part&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
source=$dest0/kxsource&lt;br /&gt;
dest=$dest0/kxmaster&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Mounting the work partition...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mount $source0 $dest0&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Making the work directories...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX&lt;br /&gt;
mkdir -p $dest/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the KNOPPIX directory&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Copying the KNOPPIX directory. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp /KNOPPIX/* $source/KNOPPIX&lt;br /&gt;
cd /cdrom; find . -size -10000k -type f -exec cp -p --parents &#039;{}&#039; $dest/ \;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Preparing the internet connection&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Preparing the internet connection&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf.orig&lt;br /&gt;
cp /etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Removing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Removing packages and files. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX/debs&lt;br /&gt;
cp -Rp $home/debs/* $source/KNOPPIX/debs&lt;br /&gt;
mkdir -p $source/KNOPPIX/patches&lt;br /&gt;
cp -Rp $home/patches/* $source/KNOPPIX/patches&lt;br /&gt;
cp $home/inst-rem.sh $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_bottom.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_top.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/local/lib/knoppix.jpg&lt;br /&gt;
cp -Rp $home/images/* $source/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Installing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Installing the ELPHIX specific packages and patches. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
chroot $source/KNOPPIX sh inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
rm -rf $source/KNOPPIX/debs&lt;br /&gt;
rm -rf $source/KNOPPIX/patches&lt;br /&gt;
rm -rf $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the sources and files&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Copying the sources and files&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp $home/files/* $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-file KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the ELPHIX compressed image. This can take a few minutes or hours. You can drink coffee, read the book, sleep etc. In any case, please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf.orig $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
rm -rf $source/KNOPPIX/.rr_moved&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/var/lib/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/brltty&lt;br /&gt;
rm -rf $source/KNOPPIX/var/games&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/emacs21&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/games/frozen-bubble&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/fonts/wine&lt;br /&gt;
&lt;br /&gt;
mkisofs -R -U -V &amp;quot;KNOPPIX.net filesystem&amp;quot; -publisher &amp;quot;Elphel,Inc. www.elphel.com&amp;quot; -hide-rr-moved -cache-inodes -no-bak -pad $source/KNOPPIX | nice -5 /usr/bin/create_compressed_fs -b - 65536 &amp;gt; $dest/KNOPPIX/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-image LiveCD Knoppix&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the ISO-image LiveCD ELPHIX. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd $dest&lt;br /&gt;
&lt;br /&gt;
mkisofs -pad -l -r -J -v -V &amp;quot;ELPHIX-$version&amp;quot; -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o $dest0/ELPHIX-$version.iso $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;The remastering is finished. ELPHIX-$version is ready for burning. You can find the ISO-image of ELPHIX-$version on the $dest0 partition. Good luck!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
The second script (inst-rem.sh) is started by the first script automatically and used for removing/installing DEB-packages. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Sub-script for removing and installing packages&lt;br /&gt;
&lt;br /&gt;
ping -c 5 google.com&lt;br /&gt;
&lt;br /&gt;
dpkg -P `cat /debs/remove-debs`&lt;br /&gt;
&lt;br /&gt;
rm -rf /etc/mozilla-firefox/profile/mimeTypes.rdf&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/depend/*.deb&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/*.deb&lt;br /&gt;
&lt;br /&gt;
cd /etc/X11/Xsession.d&lt;br /&gt;
patch &amp;lt; /patches/45xsession.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/init.d&lt;br /&gt;
patch &amp;lt; /patches/knoppix-autoconfig.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/skel/.kde/share/config&lt;br /&gt;
patch &amp;lt; /patches/kdesktoprc.patch&lt;br /&gt;
&lt;br /&gt;
exit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== System Requirements ====&lt;br /&gt;
&lt;br /&gt;
You must have:&lt;br /&gt;
&lt;br /&gt;
1. at least 1 GB of FREE RAM+Swap total (e.g. 256M ram, and 750M swap AVAILABLE) (unless you use a different compression program - look in this page for compressloop) &lt;br /&gt;
&lt;br /&gt;
2. 3 GB free on a Linux filesystem (ext2/3, xfs, etc.) formatted disk partition (you must unmount this partition before remastering)&lt;br /&gt;
&lt;br /&gt;
3. Knoppix 4.0.2-2005-09-23 EN&lt;br /&gt;
&lt;br /&gt;
==== Instruction ====&lt;br /&gt;
&lt;br /&gt;
1. Download the LiveCD-1.4.3.tar.bz2 archive (placed at the Xeon computer in the /home/elphel/Ilya/Live-CD_remastering directory)&lt;br /&gt;
&lt;br /&gt;
2. Boot from the Knoppix CD&lt;br /&gt;
&lt;br /&gt;
3. Unpack archive to the /home/knoppix directory&lt;br /&gt;
&lt;br /&gt;
4. Open a root shell: &lt;br /&gt;
&lt;br /&gt;
Menu: Kmenu-&amp;gt;Knoppix-&amp;gt;Root Shell &lt;br /&gt;
&lt;br /&gt;
5. Type the following two commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd /home/knoppix/LiveCD-1.4.3&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sh make.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. The remastering script will be started. You must specify the work partition (for example hda1). This partition will be used for remastering Knoppix.&lt;br /&gt;
&lt;br /&gt;
NOTE: This partition MUST be unmounted!&lt;br /&gt;
&lt;br /&gt;
7. Follow the appeared instructions&lt;br /&gt;
&lt;br /&gt;
8. The ELPHIX-1.4.3.ISO image will be placed at the work partition&lt;br /&gt;
&lt;br /&gt;
9. Use the special software (for example, K3B) for writing image to CD&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1591</id>
		<title>Live-CD remastering</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1591"/>
		<updated>2006-03-08T18:56:42Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Knoppix Live-CD remastering ===&lt;br /&gt;
&lt;br /&gt;
At present time this software is a beta-testing version.&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
&lt;br /&gt;
This software for CD remastering is include a lot of DEB-packages (elphel-specific and dependenced), files and scripts. All software is compressed to the .tar.bz2 archive (size approx. 52 Mb).&lt;br /&gt;
&lt;br /&gt;
There are two scripts for remastering.&lt;br /&gt;
&lt;br /&gt;
First script (make.sh) is general and started by user. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
# Make a clone from existed knoppix live-cd&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Welcome to KNOPPIX-to-ELPHIX remastering program&amp;quot;&lt;br /&gt;
&lt;br /&gt;
part=0&lt;br /&gt;
&lt;br /&gt;
query() {&lt;br /&gt;
&lt;br /&gt;
    echo -n &amp;quot;$1 [$2] &amp;quot; &amp;gt;&amp;amp;2&lt;br /&gt;
    read answer&lt;br /&gt;
    if [ -z $answer ] ; then answer=$2 ; fi&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if [ part=0 ]&lt;br /&gt;
then&lt;br /&gt;
query &amp;quot;Please, specify the work partition. For example, hda1&amp;quot; hda1&lt;br /&gt;
part=$answer&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
version=`cat debs/version.txt`&lt;br /&gt;
&lt;br /&gt;
home=/home/knoppix/LiveCD-$version&lt;br /&gt;
&lt;br /&gt;
source0=/dev/$part&lt;br /&gt;
dest0=/mnt/$part&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
source=$dest0/kxsource&lt;br /&gt;
dest=$dest0/kxmaster&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Mounting the work partition...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mount $source0 $dest0&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Making the work directories...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX&lt;br /&gt;
mkdir -p $dest/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the KNOPPIX directory&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Copying the KNOPPIX directory. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp /KNOPPIX/* $source/KNOPPIX&lt;br /&gt;
cd /cdrom; find . -size -10000k -type f -exec cp -p --parents &#039;{}&#039; $dest/ \;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Preparing the internet connection&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Preparing the internet connection&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf.orig&lt;br /&gt;
cp /etc/dhcpc/resolv.conf $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Removing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Removing packages and files. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mkdir -p $source/KNOPPIX/debs&lt;br /&gt;
cp -Rp $home/debs/* $source/KNOPPIX/debs&lt;br /&gt;
mkdir -p $source/KNOPPIX/patches&lt;br /&gt;
cp -Rp $home/patches/* $source/KNOPPIX/patches&lt;br /&gt;
cp $home/inst-rem.sh $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_bottom.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/share/apps/ksplash/Themes/Default/splash_top.png&lt;br /&gt;
rm -f $source/KNOPPIX/usr/local/lib/knoppix.jpg&lt;br /&gt;
cp -Rp $home/images/* $source/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Installing packages&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Installing the ELPHIX specific packages and patches. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
chroot $source/KNOPPIX sh inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
rm -rf $source/KNOPPIX/debs&lt;br /&gt;
rm -rf $source/KNOPPIX/patches&lt;br /&gt;
rm -rf $source/KNOPPIX/inst-rem.sh&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Copying the sources and files&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Copying the sources and files&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -Rp $home/files/* $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-file KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the ELPHIX compressed image. This can take a few minutes or hours. You can drink coffee, read the book, sleep etc. In any case, please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
mv $source/KNOPPIX/etc/dhcpc/resolv.conf.orig $source/KNOPPIX/etc/dhcpc/resolv.conf&lt;br /&gt;
rm -rf $source/KNOPPIX/.rr_moved&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/var/lib/bacula&lt;br /&gt;
rm -rf $source/KNOPPIX/etc/brltty&lt;br /&gt;
rm -rf $source/KNOPPIX/var/games&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/emacs21&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/games/frozen-bubble&lt;br /&gt;
rm -rf $source/KNOPPIX/usr/share/fonts/wine&lt;br /&gt;
&lt;br /&gt;
mkisofs -R -U -V &amp;quot;KNOPPIX.net filesystem&amp;quot; -publisher &amp;quot;Elphel,Inc. www.elphel.com&amp;quot; -hide-rr-moved -cache-inodes -no-bak -pad $source/KNOPPIX | nice -5 /usr/bin/create_compressed_fs -b - 65536 &amp;gt; $dest/KNOPPIX/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Creating the ISO-image LiveCD Knoppix&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating the ISO-image LiveCD ELPHIX. This can take a few minutes. Please, wait...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd $dest&lt;br /&gt;
&lt;br /&gt;
mkisofs -pad -l -r -J -v -V &amp;quot;ELPHIX-$version&amp;quot; -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o $dest0/ELPHIX-$version.iso $dest&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;The remastering is finished. ELPHIX-$version is ready for burning. You can find the ISO-image of ELPHIX-$version on the $dest0 partition. Good luck!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The second script (inst-rem.sh) is started by the first script automatically and used for removing/installing DEB-packages. Source code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Sub-script for removing and installing packages&lt;br /&gt;
&lt;br /&gt;
ping -c 5 google.com&lt;br /&gt;
&lt;br /&gt;
dpkg -P `cat /debs/remove-debs`&lt;br /&gt;
&lt;br /&gt;
rm -rf /etc/mozilla-firefox/profile/mimeTypes.rdf&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/depend/*.deb&lt;br /&gt;
&lt;br /&gt;
dpkg -i --force-overwrite /debs/*.deb&lt;br /&gt;
&lt;br /&gt;
cd /etc/X11/Xsession.d&lt;br /&gt;
patch &amp;lt; /patches/45xsession.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/init.d&lt;br /&gt;
patch &amp;lt; /patches/knoppix-autoconfig.patch&lt;br /&gt;
&lt;br /&gt;
cd /etc/skel/.kde/share/config&lt;br /&gt;
patch &amp;lt; /patches/kdesktoprc.patch&lt;br /&gt;
&lt;br /&gt;
exit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== System Requirements ====&lt;br /&gt;
&lt;br /&gt;
You must have:&lt;br /&gt;
&lt;br /&gt;
1. at least 1 GB of FREE RAM+Swap total (e.g. 256M ram, and 750M swap AVAILABLE) (unless you use a different compression program - look in this page for compressloop) &lt;br /&gt;
&lt;br /&gt;
2. 3 GB free on a Linux filesystem (ext2/3, xfs, etc.) formatted disk partition (you must unmount this partition before remastering)&lt;br /&gt;
&lt;br /&gt;
3. Knoppix 4.0.2-2005-09-23 EN&lt;br /&gt;
&lt;br /&gt;
==== Instruction ====&lt;br /&gt;
&lt;br /&gt;
1. Download the LiveCD-1.4.3.tar.bz2 archive (placed at the Xeon computer in the /home/elphel/Ilya/Live-CD_remastering directory)&lt;br /&gt;
&lt;br /&gt;
2. Boot from the Knoppix CD&lt;br /&gt;
&lt;br /&gt;
3. Unpack archive to the /home/knoppix directory&lt;br /&gt;
&lt;br /&gt;
4. Open a root shell: &lt;br /&gt;
&lt;br /&gt;
Menu: Kmenu-&amp;gt;Knoppix-&amp;gt;Root Shell &lt;br /&gt;
&lt;br /&gt;
5. Type the following two commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd /home/knoppix/LiveCD-1.4.3&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sh make.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. The remastering script will be started. You must specify the work partition (for example hda1). This partition will be used for remastering Knoppix.&lt;br /&gt;
&lt;br /&gt;
NOTE: This partition MUST be unmounted!&lt;br /&gt;
&lt;br /&gt;
7. Follow the appeared instructions&lt;br /&gt;
&lt;br /&gt;
8. The ELPHIX-1.4.3.ISO image will be placed at the work partition&lt;br /&gt;
&lt;br /&gt;
9. Use the special software (for example, K3B) for writing image to CD&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1590</id>
		<title>Live-CD remastering</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1590"/>
		<updated>2006-03-08T18:50:43Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* Instruction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Knoppix Live-CD remastering ===&lt;br /&gt;
&lt;br /&gt;
At present time this software is a beta-testing version.&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
&lt;br /&gt;
This software for CD remastering is include a lot of DEB-packages (elphel-specific and dependenced), files and scripts. All software is compressed to the .tar.bz2 archive (size approx. 52 Mb).&lt;br /&gt;
&lt;br /&gt;
==== System Requirements ====&lt;br /&gt;
&lt;br /&gt;
You must have:&lt;br /&gt;
&lt;br /&gt;
1. at least 1 GB of FREE RAM+Swap total (e.g. 256M ram, and 750M swap AVAILABLE) (unless you use a different compression program - look in this page for compressloop) &lt;br /&gt;
&lt;br /&gt;
2. 3 GB free on a Linux filesystem (ext2/3, xfs, etc.) formatted disk partition (you must unmount this partition before remastering)&lt;br /&gt;
&lt;br /&gt;
3. Knoppix 4.0.2-2005-09-23 EN&lt;br /&gt;
&lt;br /&gt;
==== Instruction ====&lt;br /&gt;
&lt;br /&gt;
1. Download the LiveCD-1.4.3.tar.bz2 archive (placed at the Xeon computer in the /home/elphel/Ilya/Live-CD_remastering directory)&lt;br /&gt;
&lt;br /&gt;
2. Boot from the Knoppix CD&lt;br /&gt;
&lt;br /&gt;
3. Unpack archive to the /home/knoppix directory&lt;br /&gt;
&lt;br /&gt;
4. Open a root shell: &lt;br /&gt;
&lt;br /&gt;
Menu: Kmenu-&amp;gt;Knoppix-&amp;gt;Root Shell &lt;br /&gt;
&lt;br /&gt;
5. Type the following two commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd /home/knoppix/LiveCD-1.4.3&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sh make.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. The remastering script will be started. You must specify the work partition (for example hda1). This partition will be used for remastering Knoppix.&lt;br /&gt;
&lt;br /&gt;
NOTE: This partition MUST be unmounted!&lt;br /&gt;
&lt;br /&gt;
7. Follow the appeared instructions&lt;br /&gt;
&lt;br /&gt;
8. The ELPHIX-1.4.3.ISO image will be placed at the work partition&lt;br /&gt;
&lt;br /&gt;
9. Use the special software (for example, K3B) for writing image to CD&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1589</id>
		<title>Live-CD remastering</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1589"/>
		<updated>2006-03-08T18:48:30Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* System Requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Knoppix Live-CD remastering ===&lt;br /&gt;
&lt;br /&gt;
At present time this software is a beta-testing version.&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
&lt;br /&gt;
This software for CD remastering is include a lot of DEB-packages (elphel-specific and dependenced), files and scripts. All software is compressed to the .tar.bz2 archive (size approx. 52 Mb).&lt;br /&gt;
&lt;br /&gt;
==== System Requirements ====&lt;br /&gt;
&lt;br /&gt;
You must have:&lt;br /&gt;
&lt;br /&gt;
1. at least 1 GB of FREE RAM+Swap total (e.g. 256M ram, and 750M swap AVAILABLE) (unless you use a different compression program - look in this page for compressloop) &lt;br /&gt;
&lt;br /&gt;
2. 3 GB free on a Linux filesystem (ext2/3, xfs, etc.) formatted disk partition (you must unmount this partition before remastering)&lt;br /&gt;
&lt;br /&gt;
3. Knoppix 4.0.2-2005-09-23 EN&lt;br /&gt;
&lt;br /&gt;
==== Instruction ====&lt;br /&gt;
&lt;br /&gt;
1. Download the LiveCD-1.4.3.tar.bz2 archive (placed at the Xeon computer in the /home/elphel/Ilya/Live-CD_remastering directory)&lt;br /&gt;
&lt;br /&gt;
2. Boot from the Knoppix CD&lt;br /&gt;
&lt;br /&gt;
3. Unpack archive to the /home/knoppix directory&lt;br /&gt;
&lt;br /&gt;
4. Open a root shell: &lt;br /&gt;
&lt;br /&gt;
Menu: Kmenu-&amp;gt;Knoppix-&amp;gt;Root Shell &lt;br /&gt;
&lt;br /&gt;
5. Type the following two commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd /home/knoppix/LiveCD-1.4.3&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sh make.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. The remastering script will be started. You must specify the work partition (for example hda1). This partition will be used for remastering Knoppix.&lt;br /&gt;
&lt;br /&gt;
NOTE: This partition MUST be unmounted!&lt;br /&gt;
&lt;br /&gt;
7. Follow printed instructions&lt;br /&gt;
&lt;br /&gt;
8. The ELPHIX-1.4.3.ISO image will be placed at the work partition&lt;br /&gt;
&lt;br /&gt;
9. Use the special software (for example, K3B) for writing image to CD&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1588</id>
		<title>Live-CD remastering</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1588"/>
		<updated>2006-03-08T18:48:10Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* System Requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Knoppix Live-CD remastering ===&lt;br /&gt;
&lt;br /&gt;
At present time this software is a beta-testing version.&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
&lt;br /&gt;
This software for CD remastering is include a lot of DEB-packages (elphel-specific and dependenced), files and scripts. All software is compressed to the .tar.bz2 archive (size approx. 52 Mb).&lt;br /&gt;
&lt;br /&gt;
==== System Requirements ====&lt;br /&gt;
&lt;br /&gt;
You must have:&lt;br /&gt;
&lt;br /&gt;
1. at least 1 GB of FREE RAM+Swap total (e.g. 256M ram, and 750M swap AVAILABLE) (unless you use a different compression program - look in this page for compressloop) &lt;br /&gt;
&lt;br /&gt;
2. 3 GB free on a Linux filesystem (ext2/3, xfs, etc.) formatted disk partition (you must umount this partition before remastering)&lt;br /&gt;
&lt;br /&gt;
3. Knoppix 4.0.2-2005-09-23 EN&lt;br /&gt;
&lt;br /&gt;
==== Instruction ====&lt;br /&gt;
&lt;br /&gt;
1. Download the LiveCD-1.4.3.tar.bz2 archive (placed at the Xeon computer in the /home/elphel/Ilya/Live-CD_remastering directory)&lt;br /&gt;
&lt;br /&gt;
2. Boot from the Knoppix CD&lt;br /&gt;
&lt;br /&gt;
3. Unpack archive to the /home/knoppix directory&lt;br /&gt;
&lt;br /&gt;
4. Open a root shell: &lt;br /&gt;
&lt;br /&gt;
Menu: Kmenu-&amp;gt;Knoppix-&amp;gt;Root Shell &lt;br /&gt;
&lt;br /&gt;
5. Type the following two commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd /home/knoppix/LiveCD-1.4.3&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sh make.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. The remastering script will be started. You must specify the work partition (for example hda1). This partition will be used for remastering Knoppix.&lt;br /&gt;
&lt;br /&gt;
NOTE: This partition MUST be unmounted!&lt;br /&gt;
&lt;br /&gt;
7. Follow printed instructions&lt;br /&gt;
&lt;br /&gt;
8. The ELPHIX-1.4.3.ISO image will be placed at the work partition&lt;br /&gt;
&lt;br /&gt;
9. Use the special software (for example, K3B) for writing image to CD&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1587</id>
		<title>Live-CD remastering</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1587"/>
		<updated>2006-03-08T18:47:13Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* Instruction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Knoppix Live-CD remastering ===&lt;br /&gt;
&lt;br /&gt;
At present time this software is a beta-testing version.&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
&lt;br /&gt;
This software for CD remastering is include a lot of DEB-packages (elphel-specific and dependenced), files and scripts. All software is compressed to the .tar.bz2 archive (size approx. 52 Mb).&lt;br /&gt;
&lt;br /&gt;
==== System Requirements ====&lt;br /&gt;
&lt;br /&gt;
You must have:&lt;br /&gt;
&lt;br /&gt;
1. at least 1 GB of FREE RAM+Swap total (e.g. 256M ram, and 750M swap AVAILABLE) (unless you use a different compression program - look in this page for compressloop) &lt;br /&gt;
&lt;br /&gt;
2. 3 GB free on a Linux filesystem (ext2/3, xfs, etc.) formatted disk partition&lt;br /&gt;
&lt;br /&gt;
3. Knoppix 4.0.2-2005-09-23 EN&lt;br /&gt;
&lt;br /&gt;
==== Instruction ====&lt;br /&gt;
&lt;br /&gt;
1. Download the LiveCD-1.4.3.tar.bz2 archive (placed at the Xeon computer in the /home/elphel/Ilya/Live-CD_remastering directory)&lt;br /&gt;
&lt;br /&gt;
2. Boot from the Knoppix CD&lt;br /&gt;
&lt;br /&gt;
3. Unpack archive to the /home/knoppix directory&lt;br /&gt;
&lt;br /&gt;
4. Open a root shell: &lt;br /&gt;
&lt;br /&gt;
Menu: Kmenu-&amp;gt;Knoppix-&amp;gt;Root Shell &lt;br /&gt;
&lt;br /&gt;
5. Type the following two commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd /home/knoppix/LiveCD-1.4.3&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sh make.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. The remastering script will be started. You must specify the work partition (for example hda1). This partition will be used for remastering Knoppix.&lt;br /&gt;
&lt;br /&gt;
NOTE: This partition MUST be unmounted!&lt;br /&gt;
&lt;br /&gt;
7. Follow printed instructions&lt;br /&gt;
&lt;br /&gt;
8. The ELPHIX-1.4.3.ISO image will be placed at the work partition&lt;br /&gt;
&lt;br /&gt;
9. Use the special software (for example, K3B) for writing image to CD&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1586</id>
		<title>Live-CD remastering</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1586"/>
		<updated>2006-03-08T18:46:47Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* Instruction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Knoppix Live-CD remastering ===&lt;br /&gt;
&lt;br /&gt;
At present time this software is a beta-testing version.&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
&lt;br /&gt;
This software for CD remastering is include a lot of DEB-packages (elphel-specific and dependenced), files and scripts. All software is compressed to the .tar.bz2 archive (size approx. 52 Mb).&lt;br /&gt;
&lt;br /&gt;
==== System Requirements ====&lt;br /&gt;
&lt;br /&gt;
You must have:&lt;br /&gt;
&lt;br /&gt;
1. at least 1 GB of FREE RAM+Swap total (e.g. 256M ram, and 750M swap AVAILABLE) (unless you use a different compression program - look in this page for compressloop) &lt;br /&gt;
&lt;br /&gt;
2. 3 GB free on a Linux filesystem (ext2/3, xfs, etc.) formatted disk partition&lt;br /&gt;
&lt;br /&gt;
3. Knoppix 4.0.2-2005-09-23 EN&lt;br /&gt;
&lt;br /&gt;
==== Instruction ====&lt;br /&gt;
&lt;br /&gt;
1. Download the LiveCD-1.4.3.tar.bz2 archive (placed at the Xeon computer in the /home/elphel/Ilya/Live-CD_remastering directory)&lt;br /&gt;
&lt;br /&gt;
2. Boot from the Knoppix CD&lt;br /&gt;
&lt;br /&gt;
3. Unpack archive to the /home/knoppix directory&lt;br /&gt;
&lt;br /&gt;
4. Open a root shell: &lt;br /&gt;
&lt;br /&gt;
Menu: Kmenu-&amp;gt;Knoppix-&amp;gt;Root Shell &lt;br /&gt;
&lt;br /&gt;
5. Type the following two commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd /home/knoppix/LiveCD-1.4.3&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sh make.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. The remastering script will be started. You must specify the work partition (for example hda1). This partition will be used for remastering Knoppix.&lt;br /&gt;
&lt;br /&gt;
[B]NOTE:[/B] This partition MUST be unmounted!&lt;br /&gt;
&lt;br /&gt;
7. Follow printed instructions&lt;br /&gt;
&lt;br /&gt;
8. The ELPHIX-1.4.3.ISO image will be placed at the work partition&lt;br /&gt;
&lt;br /&gt;
9. Use the special software (for example, K3B) for writing image to CD&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1585</id>
		<title>Live-CD remastering</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1585"/>
		<updated>2006-03-08T18:46:29Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* Instruction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Knoppix Live-CD remastering ===&lt;br /&gt;
&lt;br /&gt;
At present time this software is a beta-testing version.&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
&lt;br /&gt;
This software for CD remastering is include a lot of DEB-packages (elphel-specific and dependenced), files and scripts. All software is compressed to the .tar.bz2 archive (size approx. 52 Mb).&lt;br /&gt;
&lt;br /&gt;
==== System Requirements ====&lt;br /&gt;
&lt;br /&gt;
You must have:&lt;br /&gt;
&lt;br /&gt;
1. at least 1 GB of FREE RAM+Swap total (e.g. 256M ram, and 750M swap AVAILABLE) (unless you use a different compression program - look in this page for compressloop) &lt;br /&gt;
&lt;br /&gt;
2. 3 GB free on a Linux filesystem (ext2/3, xfs, etc.) formatted disk partition&lt;br /&gt;
&lt;br /&gt;
3. Knoppix 4.0.2-2005-09-23 EN&lt;br /&gt;
&lt;br /&gt;
==== Instruction ====&lt;br /&gt;
&lt;br /&gt;
1. Download the LiveCD-1.4.3.tar.bz2 archive (placed at the Xeon computer in the /home/elphel/Ilya/Live-CD_remastering directory)&lt;br /&gt;
&lt;br /&gt;
2. Boot from the Knoppix CD&lt;br /&gt;
&lt;br /&gt;
3. Unpack archive to the /home/knoppix directory&lt;br /&gt;
&lt;br /&gt;
4. Open a root shell: &lt;br /&gt;
&lt;br /&gt;
Menu: Kmenu-&amp;gt;Knoppix-&amp;gt;Root Shell &lt;br /&gt;
&lt;br /&gt;
5. Type the following two commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd /home/knoppix/LiveCD-1.4.3&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sh make.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. The remastering script will be started. You must specify the work partition (for example hda1). This partition will be used for remastering Knoppix.&lt;br /&gt;
&lt;br /&gt;
[b]NOTE:[/b] This partition MUST be unmounted!&lt;br /&gt;
&lt;br /&gt;
7. Follow printed instructions&lt;br /&gt;
&lt;br /&gt;
8. The ELPHIX-1.4.3.ISO image will be placed at the work partition&lt;br /&gt;
&lt;br /&gt;
9. Use the special software (for example, K3B) for writing image to CD&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1584</id>
		<title>Live-CD remastering</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1584"/>
		<updated>2006-03-08T18:45:45Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* Instruction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Knoppix Live-CD remastering ===&lt;br /&gt;
&lt;br /&gt;
At present time this software is a beta-testing version.&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
&lt;br /&gt;
This software for CD remastering is include a lot of DEB-packages (elphel-specific and dependenced), files and scripts. All software is compressed to the .tar.bz2 archive (size approx. 52 Mb).&lt;br /&gt;
&lt;br /&gt;
==== System Requirements ====&lt;br /&gt;
&lt;br /&gt;
You must have:&lt;br /&gt;
&lt;br /&gt;
1. at least 1 GB of FREE RAM+Swap total (e.g. 256M ram, and 750M swap AVAILABLE) (unless you use a different compression program - look in this page for compressloop) &lt;br /&gt;
&lt;br /&gt;
2. 3 GB free on a Linux filesystem (ext2/3, xfs, etc.) formatted disk partition&lt;br /&gt;
&lt;br /&gt;
3. Knoppix 4.0.2-2005-09-23 EN&lt;br /&gt;
&lt;br /&gt;
==== Instruction ====&lt;br /&gt;
&lt;br /&gt;
1. Download the LiveCD-1.4.3.tar.bz2 archive (placed at the Xeon computer in the /home/elphel/Ilya/Live-CD_remastering directory)&lt;br /&gt;
&lt;br /&gt;
2. Boot from the Knoppix CD&lt;br /&gt;
&lt;br /&gt;
3. Unpack archive to the /home/knoppix directory&lt;br /&gt;
&lt;br /&gt;
4. Open a root shell: &lt;br /&gt;
&lt;br /&gt;
Menu: Kmenu-&amp;gt;Knoppix-&amp;gt;Root Shell &lt;br /&gt;
&lt;br /&gt;
5. Type the following two commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd /home/knoppix/LiveCD-1.4.3&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[red]sh make.sh[/red]&lt;br /&gt;
&lt;br /&gt;
6. The remastering script will be started. You must specify the work partition (for example hda1). This partition will be used for remastering Knoppix.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;red&amp;gt;NOTE:&amp;lt;/red&amp;gt; This partition MUST be unmounted!&lt;br /&gt;
&lt;br /&gt;
7. Follow printed instructions&lt;br /&gt;
&lt;br /&gt;
8. The ELPHIX-1.4.3.ISO image will be placed at the work partition&lt;br /&gt;
&lt;br /&gt;
9. Use the special software (for example, K3B) for writing image to CD&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1583</id>
		<title>Live-CD remastering</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1583"/>
		<updated>2006-03-08T18:42:44Z</updated>

		<summary type="html">&lt;p&gt;Ilya: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Knoppix Live-CD remastering ===&lt;br /&gt;
&lt;br /&gt;
At present time this software is a beta-testing version.&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
&lt;br /&gt;
This software for CD remastering is include a lot of DEB-packages (elphel-specific and dependenced), files and scripts. All software is compressed to the .tar.bz2 archive (size approx. 52 Mb).&lt;br /&gt;
&lt;br /&gt;
==== System Requirements ====&lt;br /&gt;
&lt;br /&gt;
You must have:&lt;br /&gt;
&lt;br /&gt;
1. at least 1 GB of FREE RAM+Swap total (e.g. 256M ram, and 750M swap AVAILABLE) (unless you use a different compression program - look in this page for compressloop) &lt;br /&gt;
&lt;br /&gt;
2. 3 GB free on a Linux filesystem (ext2/3, xfs, etc.) formatted disk partition&lt;br /&gt;
&lt;br /&gt;
3. Knoppix 4.0.2-2005-09-23 EN&lt;br /&gt;
&lt;br /&gt;
==== Instruction ====&lt;br /&gt;
&lt;br /&gt;
1. Download the LiveCD-1.4.3.tar.bz2 archive (placed at the Xeon computer in the /home/elphel/Ilya/Live-CD_remastering directory)&lt;br /&gt;
&lt;br /&gt;
2. Boot from the Knoppix CD&lt;br /&gt;
&lt;br /&gt;
3. Unpack archive to the /home/knoppix directory&lt;br /&gt;
&lt;br /&gt;
4. Open a root shell: &lt;br /&gt;
&lt;br /&gt;
Menu: Kmenu-&amp;gt;Knoppix-&amp;gt;Root Shell &lt;br /&gt;
&lt;br /&gt;
5. Type the following two commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd /home/knoppix/LiveCD-1.4.3&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sh make.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. The remastering script will be started. You must specify the work partition (for example hda1). This partition will be used for remastering Knoppix.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;red&amp;gt;NOTE:&amp;lt;/red&amp;gt; This partition MUST be unmounted!&lt;br /&gt;
&lt;br /&gt;
7. Follow printed instructions&lt;br /&gt;
&lt;br /&gt;
8. The ELPHIX-1.4.3.ISO image will be placed at the work partition&lt;br /&gt;
&lt;br /&gt;
9. Use the special software (for example, K3B) for writing image to CD&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1582</id>
		<title>Live-CD remastering</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Live-CD_remastering&amp;diff=1582"/>
		<updated>2006-03-08T17:50:43Z</updated>

		<summary type="html">&lt;p&gt;Ilya: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Knoppix Live-CD remastering ===&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Roadmap&amp;diff=334</id>
		<title>Roadmap</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Roadmap&amp;diff=334"/>
		<updated>2006-03-08T17:45:39Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* LiveCD remastering */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Background ==&lt;br /&gt;
Elphel was started in 2001 (Magna, UT USA) when I quit my job inspired by the possibilities that Free Software gives to developers (it was not so obvious for my at the time employer). All the projects were covered in [http://www.linuxdevices.com LinuxDevices] (complete list on the articles is available [http://www.elphel.com/articles/index.html here]). For several years Elphel was a one-man company, in January 2004 I wrote an article [http://www.computerra.ru/hitech/tech/31862/ Taming of the Iron Penguin (Russian)] in the largest Russain computer-related magazine [http://www.computerra.ru Computerra] and announced there a competition among the software developers for the best video streamer to run in the camera. That was a good idea and after the competition itself was over most of the developers remained in the Elphel team. At first - as volunteers, later - as full/part time employees.&lt;br /&gt;
&lt;br /&gt;
Not all of these developers live in Russia - two, including the winner of the competition are from Kiev, Ukraine. But still all of them know Russian much better than English and so most of our technical discussions were on our private Russian-language forum. So far I failed to move these discussions to the broader audience but believe that Wiki technology can help. Here we will mantain most of the site in English but still have some pages/discussions in Russian, translating documents as we go. Or when somebody else needs it and is not satisfied with [http://babelfish.altavista.com Babelfish] automatic translation. We will try to keep English pages current - anyway even in Elphel not everybody knows Russian.&lt;br /&gt;
&lt;br /&gt;
Please excuse not-so-good English of our developers and feel free to fix the errors if you see them.&lt;br /&gt;
&lt;br /&gt;
--[[User:Andrey.filippov|Andrey.filippov]] 15:34, 22 September 2005 (CST)&lt;br /&gt;
&lt;br /&gt;
== Software Architecture of Elphel 3x3 cameras ==&lt;br /&gt;
Software in the Elphel cameras started from [http://developer.axis.com/ Axis Developer Boards Software] and was amended for the camera specific functions. It was modified to work with newer hardware (models 303-313/323-333), support more features and now seems to be a good time to make a major redesign instead of applying incremental changes.&lt;br /&gt;
&lt;br /&gt;
Some discussion already started in Russian here - [[Nc3x3]]&lt;br /&gt;
&lt;br /&gt;
Related to the architecture are the [[#Camera Interface]] and the [[#Client Software]]&lt;br /&gt;
&lt;br /&gt;
Elphel will continue developing a web browser based user interface with [http://en.wikipedia.org/wiki/AJAX AJAX] technology. That will require developing/modifying player plugins controllable from [http://en.wikipedia.org/wiki/Javascript JavaScript] and implementing specific features needed for video surveillance applications - multiple camera views on the same page, digital PTZ (inside the hi-res incoming stream) and temporal decimation (reducing frame rate) that uses as little CPU resources as possible.&lt;br /&gt;
&lt;br /&gt;
The web-based user interface can be especially useful for open hardware as it reduces the entrance threshold for the developer who would like to customize the cameras functionality - regular web development tools are sufficient for the job.&lt;br /&gt;
&lt;br /&gt;
=== Camera Interface ===&lt;br /&gt;
&lt;br /&gt;
The camera now has two alternative APIs:&lt;br /&gt;
&lt;br /&gt;
==== ccam.cgi ====&lt;br /&gt;
&lt;br /&gt;
The original interface that supports most camera features - [[ccam.cgi]]&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
==== API compatible with Axis cameras ====&lt;br /&gt;
&lt;br /&gt;
This ([[AxisAPI]]) makes Elphel cameras work with some third-party software&lt;br /&gt;
&lt;br /&gt;
==== JavaScript library ====&lt;br /&gt;
We will create a set of javascript routines to control the cameras, which can be used in a different AJAX applications.&lt;br /&gt;
See [[JavaScript API]]&lt;br /&gt;
&lt;br /&gt;
=== Camera Software ===&lt;br /&gt;
==== File systems ====&lt;br /&gt;
[[333_File_System]]&lt;br /&gt;
&lt;br /&gt;
=== Client Software ===&lt;br /&gt;
==== [[Talk:Recorder|Recorder]] ====&lt;br /&gt;
We will start a new recorder for MJPEG RTP stream.&lt;br /&gt;
It will be small standalone program, which will take a multicast IP address and port, receive a stream and record it to files or to stdout.&lt;br /&gt;
The most important thing with the recorder - to avoid frame drops (maybe something can be done with network buffering) and control them using timestamps.&lt;br /&gt;
And the recorder must provide managable files (under 2GB), but with zero drops between them.&lt;br /&gt;
&lt;br /&gt;
==== Plugins for browsers ====&lt;br /&gt;
[[GenReS|GenReS plugin]]&lt;br /&gt;
&lt;br /&gt;
==== [[MPlayer]] ====&lt;br /&gt;
We have MPlayer patched for use with our cameras. Patches for source code are accessible on Source Forge but the compiled package is only for Debian on i386 architecture. We plan to make compiled packages for PowerPC architecture and also for Slackware.&lt;br /&gt;
&lt;br /&gt;
==== [[HTML Video Surveillance]] ====&lt;br /&gt;
[http://sourceforge.net/project/showfiles.php?group_id=105686&amp;amp;package_id=138717&amp;amp;release_id=358392 Multiple camera view HTML page] is based on [[GenReS |GenReS plugin]] for [http://www.mozilla.org/ Mozilla/FireFox].&lt;br /&gt;
Currently working: scrolling by picture dragging (digital PTZ), camera selection, zoom switch, automatic detection of stream stop by timeout.&lt;br /&gt;
List of camera adresses is now editable manually. It will be automaticaly generated in the [[Live CD]].&lt;br /&gt;
The page will run recording software by user request. Video will be saved to a fixed directory and split into separate files by tunable number of frames.&lt;br /&gt;
Main parameters of video capture will be changeable from the page.&lt;br /&gt;
The page can later be used in the [[#Video Server]].&lt;br /&gt;
&lt;br /&gt;
==== [[Live CD]] ====&lt;br /&gt;
The Elphel live Linux CD contains software for camera users. We also will make a live DVD for developers.&lt;br /&gt;
The live CD is based on [http://knopper.net/knoppix/ Knoppix].&lt;br /&gt;
&amp;lt;ul&amp;gt;The software which should be included in future releases of the Live CD&lt;br /&gt;
&amp;lt;li&amp;gt;[[HTML Video Surveillance]]&lt;br /&gt;
&amp;lt;li&amp;gt;[http://lives.sourceforge.net LiVES] video editor&lt;br /&gt;
&amp;lt;li&amp;gt;client software packages with simple installation for different distributions of GNU/Linux&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
Currently we only have CDs for the i386 architecture.&lt;br /&gt;
&lt;br /&gt;
We have plans to make a Live CD for PowerPC too.&lt;br /&gt;
&lt;br /&gt;
We should move to DVD distribution as most of the disks are already provided with the hardware, not downloaded.&lt;br /&gt;
&lt;br /&gt;
The idea of keeping as full a Knoppix as possible was to introduce GNU/Linux to the camera users who had never had this experience before. But these users will get a DVD in a box, the downloadable CD version can have more standard packages removed and replaced with camera-specific software.&lt;br /&gt;
&lt;br /&gt;
One of the major additions will be a preinstalled camera development environment (possibly based on [http://www.eclipse.org Eclipse]) to simplify the modification of the camera code. Again - don&#039;t forget that many of those future developers now only use Visual Studio (or whatever it is called?) and GNU/Linux can be somewhat alien to them. This environment allows them to start playing with their code without prior knowledge of the GNU/Linux software development process.&lt;br /&gt;
&lt;br /&gt;
It can be useful for hardware/fpga developers too - to be able to write some code to support the hardware features without spending too much time on mastering the software development process.&lt;br /&gt;
&lt;br /&gt;
see [[LiveCD Release Notes]] for schedule&lt;br /&gt;
&lt;br /&gt;
===== LiveCD remastering =====&lt;br /&gt;
&lt;br /&gt;
[[Livecd-make]] - Script for the original Knoppix CD or DVD remastering (author - Khlutchin Sergey)&lt;br /&gt;
&lt;br /&gt;
[[Live-CD remastering]] - Scripts for Knoppix CD remastering only (author - Ilya Shpankov)&lt;br /&gt;
&lt;br /&gt;
=== Video Server ===&lt;br /&gt;
PC-based video server that will archive incoming Ogg Theora incoming streams from several cameras and transcode them on the fly to lower resolution (binary decimation, windowing) and frame rate (i.e. using only key frames) presenting multiple streams (real time and recorded) to the operator. The external interface of the server might be one of the industry standard ones and be compatible with 3rd party legacy software.&lt;br /&gt;
&lt;br /&gt;
== Camera hardware ==&lt;br /&gt;
=== RTC ===&lt;br /&gt;
[[RTC]]&lt;br /&gt;
=== 10331 ===&lt;br /&gt;
[[10331]]&lt;br /&gt;
===10332 ===&lt;br /&gt;
[[10332]]&lt;br /&gt;
=== 10334 ===&lt;br /&gt;
[[10334]]&lt;br /&gt;
&lt;br /&gt;
== Active Projects ==&lt;br /&gt;
=== Synchronization of the Cameras ===&lt;br /&gt;
&lt;br /&gt;
Sometimes you need to acquire images triggered by an extarnal event or several cameras need to be synchronized with each other. [[Camera Synchronization]] is all about this.&lt;br /&gt;
&lt;br /&gt;
=== Photo-finish ===&lt;br /&gt;
Photo-finish device made using Elphel model 333 camera with additional FPGA code and software - [[Photo-finish]]&lt;br /&gt;
&lt;br /&gt;
=== Zeroconf for Elphel cameras ===&lt;br /&gt;
[[zeroconf for Elphel cameras]]&lt;br /&gt;
=== Elphel cameras and Zoneminder ===&lt;br /&gt;
We plan to make the model 333 camera work with [http://www.zoneminder.com Zoneminder]&lt;br /&gt;
=== USB host interface ===&lt;br /&gt;
&lt;br /&gt;
  daughter board with USB and DC-DC power for lens control board [[10334]]&lt;br /&gt;
&lt;br /&gt;
  Proposal for a usb audio solution : [[PCM2903]]&lt;br /&gt;
&lt;br /&gt;
=== Motorized lens control ===&lt;br /&gt;
I&#039;ll try to retrieve what was written before on the motorized lens control. In short - C/CS mount is rather old and does not work well for interchangeable motorized lenses. We are trying to build an adapter from C/CS-mount to a bayonet type connector. And place a tiny 5mm wide PCB ring in that adapter. This [[10331]] PCB has a reprogrammable microcontroller and uses just 2 connections to the camera for power and data signals combined. It provides all the necessary connections for most types of motorized lenses. &lt;br /&gt;
&lt;br /&gt;
  lens control board [[10331]]&lt;br /&gt;
  DC-DC power board for motorized lens control board [[10332]]&lt;br /&gt;
  lens control board In System Programmer [[lbcontrol]]&lt;br /&gt;
&lt;br /&gt;
=== Outdoor enclosure ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step Zero&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Determine working setup&lt;br /&gt;
-Does the system need a control board &lt;br /&gt;
-CCD board needs a longer cable for minimal package when stacking lens on top of board [http://www.maartenmenheere.nl/blog/images/014-001-0.jpg Camera casing]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step one&#039;&#039;&#039;&lt;br /&gt;
Test setup. Assemble all components in a setup that can record video&lt;br /&gt;
&lt;br /&gt;
Components in test setup&lt;br /&gt;
- Lens (Computar H3Z4512CS varifocal lens? using power)&lt;br /&gt;
- Elphel USB setup. Is it possible to directly plug in a usb drive. Where does the power come from?&lt;br /&gt;
- Battery&lt;br /&gt;
- Usb cable or network calbe&lt;br /&gt;
- Usb exteral harddrive or flashdrive&lt;br /&gt;
- ON/off switch&lt;br /&gt;
&lt;br /&gt;
Objective: Does it work, at all?&lt;br /&gt;
Secondary: Battery life? Video quality?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step two&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Wooden box. Test setup 1 integrated in outside video testing setup.&lt;br /&gt;
&lt;br /&gt;
Components added in test 2&lt;br /&gt;
- Hardboard casing&lt;br /&gt;
&lt;br /&gt;
Objective: Optimize recording setup of video for ease of use&lt;br /&gt;
Secondary: optimal settings? correct lens?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step three&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Building of waterproof casing&lt;br /&gt;
- Amphenol plugs&lt;br /&gt;
- Camera window&lt;br /&gt;
- Casing camera (fibre reinforced composite)&lt;br /&gt;
- Casing base station (battery + storage) (fibre reinforced composite)&lt;br /&gt;
&lt;br /&gt;
[http://www.maartenmenheere.nl/blog/images/outdoorvideosystem.jpg Schematic]&lt;br /&gt;
[http://www.maartenmenheere.nl/blog/images/014-001-0.jpg Camera casing]&lt;br /&gt;
[http://www.maartenmenheere.nl/blog/images/camera.jpg Camera casing]&lt;br /&gt;
[http://www.maartenmenheere.nl/blog/images/Radjump_elphel.jpg Outdoor enclosure]&lt;br /&gt;
&lt;br /&gt;
=== Current enclosure design ===&lt;br /&gt;
&lt;br /&gt;
We are switching to extruded aluminum tube (actually original 303/313 also was design for a standard aluminum profile). Model 333 RJ-45 connector is designed to fit into RJField shell [http://www.rjfield.com/ethernet_connectors_rjf_en.htm].&lt;br /&gt;
&lt;br /&gt;
[[Mechanical]]&lt;br /&gt;
&lt;br /&gt;
=== Removal of distortion ===&lt;br /&gt;
&lt;br /&gt;
Distortions from the non-instantaneous exposure of the frame can be done in [http://lives.sf.net LiVES]. But first some other infrastructure must be in place:&lt;br /&gt;
&lt;br /&gt;
- Camera must start a [http://www.piksel.no/pwiki/VideoJack videojack] server on the host machine, with the correct fps, width, height and frame palette&lt;br /&gt;
&lt;br /&gt;
- Camera must activate the videojack receiver in LiVES and connect it the correct videojack server&lt;br /&gt;
&lt;br /&gt;
- Camera can start to send unpackaged compressed frames to videojack server, along with an array of floats&lt;br /&gt;
&lt;br /&gt;
- Floats will be in pairs for each horizontal band: the vertical compression/expansion (1.0 means no compression) and the horizontal shift (+-shift/width)&lt;br /&gt;
&lt;br /&gt;
- LiVES will pull these frames and the float array from the videojack server&lt;br /&gt;
&lt;br /&gt;
- LiVES will decode each frame and pass it along with the float array to a [http://www.xs4all.nl/~salsaman/lives/docs/weedspec.txt Weed] effect which will apply the compress/expand/shift&lt;br /&gt;
&lt;br /&gt;
- LiVES will receive the altered frame and save it to a stream&lt;br /&gt;
==== Post-processing - non realtime ====&lt;br /&gt;
CMOS sensor-specific distortions caused by the [[Electronic Rolling Shutter ]] do not need to be removed realtime - the PC power may be not enough to do so. It is perfectly OK to be able to just post-process the video recorded from the camera.&lt;br /&gt;
&lt;br /&gt;
--[[User:Andrey.filippov|Andrey.filippov]] 02:39, 9 December 2005 (CST)&lt;br /&gt;
&lt;br /&gt;
== Known problems ==&lt;br /&gt;
&lt;br /&gt;
[[Known problems]]&lt;br /&gt;
&lt;br /&gt;
== Diagnostic and repair ==&lt;br /&gt;
&lt;br /&gt;
[[Diagnostic and repair]] page in the Cameras Manual&lt;br /&gt;
&lt;br /&gt;
=== Changing or restoring the MAC address ===&lt;br /&gt;
&lt;br /&gt;
The factory default MAC address of Elphel products is the same as the serial number which begin with 000E64. If you would like to use a MAC address different from the serial number you can edit the /etc/conf.d/mac file.&lt;br /&gt;
&lt;br /&gt;
If the serial number has not been configured is possible to set it (but only once!). To set the serial number use the bootblocktool command on the camera:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;bootblocktool -a SERNO 000E64xxxxxx&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Exchange “xxxxxx” with the serial number of the board.&lt;br /&gt;
&lt;br /&gt;
!As you can do it only once be careful! If you write the MAC address in a wrong format (ie with : separations) the camera will not boot any more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may do it with the special HTML [http://www.elphel.com/3fhlo/bootblock/bootblock333.html page] but those serial numbers are supposed to be factory programmed.--[[User:Andrey.filippov|Andrey.filippov]] 05:36, 30 December 2005 (CST)&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Roadmap&amp;diff=333</id>
		<title>Roadmap</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Roadmap&amp;diff=333"/>
		<updated>2006-03-08T17:38:08Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* Live CD */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Background ==&lt;br /&gt;
Elphel was started in 2001 (Magna, UT USA) when I quit my job inspired by the possibilities that Free Software gives to developers (it was not so obvious for my at the time employer). All the projects were covered in [http://www.linuxdevices.com LinuxDevices] (complete list on the articles is available [http://www.elphel.com/articles/index.html here]). For several years Elphel was a one-man company, in January 2004 I wrote an article [http://www.computerra.ru/hitech/tech/31862/ Taming of the Iron Penguin (Russian)] in the largest Russain computer-related magazine [http://www.computerra.ru Computerra] and announced there a competition among the software developers for the best video streamer to run in the camera. That was a good idea and after the competition itself was over most of the developers remained in the Elphel team. At first - as volunteers, later - as full/part time employees.&lt;br /&gt;
&lt;br /&gt;
Not all of these developers live in Russia - two, including the winner of the competition are from Kiev, Ukraine. But still all of them know Russian much better than English and so most of our technical discussions were on our private Russian-language forum. So far I failed to move these discussions to the broader audience but believe that Wiki technology can help. Here we will mantain most of the site in English but still have some pages/discussions in Russian, translating documents as we go. Or when somebody else needs it and is not satisfied with [http://babelfish.altavista.com Babelfish] automatic translation. We will try to keep English pages current - anyway even in Elphel not everybody knows Russian.&lt;br /&gt;
&lt;br /&gt;
Please excuse not-so-good English of our developers and feel free to fix the errors if you see them.&lt;br /&gt;
&lt;br /&gt;
--[[User:Andrey.filippov|Andrey.filippov]] 15:34, 22 September 2005 (CST)&lt;br /&gt;
&lt;br /&gt;
== Software Architecture of Elphel 3x3 cameras ==&lt;br /&gt;
Software in the Elphel cameras started from [http://developer.axis.com/ Axis Developer Boards Software] and was amended for the camera specific functions. It was modified to work with newer hardware (models 303-313/323-333), support more features and now seems to be a good time to make a major redesign instead of applying incremental changes.&lt;br /&gt;
&lt;br /&gt;
Some discussion already started in Russian here - [[Nc3x3]]&lt;br /&gt;
&lt;br /&gt;
Related to the architecture are the [[#Camera Interface]] and the [[#Client Software]]&lt;br /&gt;
&lt;br /&gt;
Elphel will continue developing a web browser based user interface with [http://en.wikipedia.org/wiki/AJAX AJAX] technology. That will require developing/modifying player plugins controllable from [http://en.wikipedia.org/wiki/Javascript JavaScript] and implementing specific features needed for video surveillance applications - multiple camera views on the same page, digital PTZ (inside the hi-res incoming stream) and temporal decimation (reducing frame rate) that uses as little CPU resources as possible.&lt;br /&gt;
&lt;br /&gt;
The web-based user interface can be especially useful for open hardware as it reduces the entrance threshold for the developer who would like to customize the cameras functionality - regular web development tools are sufficient for the job.&lt;br /&gt;
&lt;br /&gt;
=== Camera Interface ===&lt;br /&gt;
&lt;br /&gt;
The camera now has two alternative APIs:&lt;br /&gt;
&lt;br /&gt;
==== ccam.cgi ====&lt;br /&gt;
&lt;br /&gt;
The original interface that supports most camera features - [[ccam.cgi]]&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
==== API compatible with Axis cameras ====&lt;br /&gt;
&lt;br /&gt;
This ([[AxisAPI]]) makes Elphel cameras work with some third-party software&lt;br /&gt;
&lt;br /&gt;
==== JavaScript library ====&lt;br /&gt;
We will create a set of javascript routines to control the cameras, which can be used in a different AJAX applications.&lt;br /&gt;
See [[JavaScript API]]&lt;br /&gt;
&lt;br /&gt;
=== Camera Software ===&lt;br /&gt;
==== File systems ====&lt;br /&gt;
[[333_File_System]]&lt;br /&gt;
&lt;br /&gt;
=== Client Software ===&lt;br /&gt;
==== [[Talk:Recorder|Recorder]] ====&lt;br /&gt;
We will start a new recorder for MJPEG RTP stream.&lt;br /&gt;
It will be small standalone program, which will take a multicast IP address and port, receive a stream and record it to files or to stdout.&lt;br /&gt;
The most important thing with the recorder - to avoid frame drops (maybe something can be done with network buffering) and control them using timestamps.&lt;br /&gt;
And the recorder must provide managable files (under 2GB), but with zero drops between them.&lt;br /&gt;
&lt;br /&gt;
==== Plugins for browsers ====&lt;br /&gt;
[[GenReS|GenReS plugin]]&lt;br /&gt;
&lt;br /&gt;
==== [[MPlayer]] ====&lt;br /&gt;
We have MPlayer patched for use with our cameras. Patches for source code are accessible on Source Forge but the compiled package is only for Debian on i386 architecture. We plan to make compiled packages for PowerPC architecture and also for Slackware.&lt;br /&gt;
&lt;br /&gt;
==== [[HTML Video Surveillance]] ====&lt;br /&gt;
[http://sourceforge.net/project/showfiles.php?group_id=105686&amp;amp;package_id=138717&amp;amp;release_id=358392 Multiple camera view HTML page] is based on [[GenReS |GenReS plugin]] for [http://www.mozilla.org/ Mozilla/FireFox].&lt;br /&gt;
Currently working: scrolling by picture dragging (digital PTZ), camera selection, zoom switch, automatic detection of stream stop by timeout.&lt;br /&gt;
List of camera adresses is now editable manually. It will be automaticaly generated in the [[Live CD]].&lt;br /&gt;
The page will run recording software by user request. Video will be saved to a fixed directory and split into separate files by tunable number of frames.&lt;br /&gt;
Main parameters of video capture will be changeable from the page.&lt;br /&gt;
The page can later be used in the [[#Video Server]].&lt;br /&gt;
&lt;br /&gt;
==== [[Live CD]] ====&lt;br /&gt;
The Elphel live Linux CD contains software for camera users. We also will make a live DVD for developers.&lt;br /&gt;
The live CD is based on [http://knopper.net/knoppix/ Knoppix].&lt;br /&gt;
&amp;lt;ul&amp;gt;The software which should be included in future releases of the Live CD&lt;br /&gt;
&amp;lt;li&amp;gt;[[HTML Video Surveillance]]&lt;br /&gt;
&amp;lt;li&amp;gt;[http://lives.sourceforge.net LiVES] video editor&lt;br /&gt;
&amp;lt;li&amp;gt;client software packages with simple installation for different distributions of GNU/Linux&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
Currently we only have CDs for the i386 architecture.&lt;br /&gt;
&lt;br /&gt;
We have plans to make a Live CD for PowerPC too.&lt;br /&gt;
&lt;br /&gt;
We should move to DVD distribution as most of the disks are already provided with the hardware, not downloaded.&lt;br /&gt;
&lt;br /&gt;
The idea of keeping as full a Knoppix as possible was to introduce GNU/Linux to the camera users who had never had this experience before. But these users will get a DVD in a box, the downloadable CD version can have more standard packages removed and replaced with camera-specific software.&lt;br /&gt;
&lt;br /&gt;
One of the major additions will be a preinstalled camera development environment (possibly based on [http://www.eclipse.org Eclipse]) to simplify the modification of the camera code. Again - don&#039;t forget that many of those future developers now only use Visual Studio (or whatever it is called?) and GNU/Linux can be somewhat alien to them. This environment allows them to start playing with their code without prior knowledge of the GNU/Linux software development process.&lt;br /&gt;
&lt;br /&gt;
It can be useful for hardware/fpga developers too - to be able to write some code to support the hardware features without spending too much time on mastering the software development process.&lt;br /&gt;
&lt;br /&gt;
see [[LiveCD Release Notes]] for schedule&lt;br /&gt;
&lt;br /&gt;
===== LiveCD remastering =====&lt;br /&gt;
&lt;br /&gt;
=== Video Server ===&lt;br /&gt;
PC-based video server that will archive incoming Ogg Theora incoming streams from several cameras and transcode them on the fly to lower resolution (binary decimation, windowing) and frame rate (i.e. using only key frames) presenting multiple streams (real time and recorded) to the operator. The external interface of the server might be one of the industry standard ones and be compatible with 3rd party legacy software.&lt;br /&gt;
&lt;br /&gt;
== Camera hardware ==&lt;br /&gt;
=== RTC ===&lt;br /&gt;
[[RTC]]&lt;br /&gt;
=== 10331 ===&lt;br /&gt;
[[10331]]&lt;br /&gt;
===10332 ===&lt;br /&gt;
[[10332]]&lt;br /&gt;
=== 10334 ===&lt;br /&gt;
[[10334]]&lt;br /&gt;
&lt;br /&gt;
== Active Projects ==&lt;br /&gt;
=== Synchronization of the Cameras ===&lt;br /&gt;
&lt;br /&gt;
Sometimes you need to acquire images triggered by an extarnal event or several cameras need to be synchronized with each other. [[Camera Synchronization]] is all about this.&lt;br /&gt;
&lt;br /&gt;
=== Photo-finish ===&lt;br /&gt;
Photo-finish device made using Elphel model 333 camera with additional FPGA code and software - [[Photo-finish]]&lt;br /&gt;
&lt;br /&gt;
=== Zeroconf for Elphel cameras ===&lt;br /&gt;
[[zeroconf for Elphel cameras]]&lt;br /&gt;
=== Elphel cameras and Zoneminder ===&lt;br /&gt;
We plan to make the model 333 camera work with [http://www.zoneminder.com Zoneminder]&lt;br /&gt;
=== USB host interface ===&lt;br /&gt;
&lt;br /&gt;
  daughter board with USB and DC-DC power for lens control board [[10334]]&lt;br /&gt;
&lt;br /&gt;
  Proposal for a usb audio solution : [[PCM2903]]&lt;br /&gt;
&lt;br /&gt;
=== Motorized lens control ===&lt;br /&gt;
I&#039;ll try to retrieve what was written before on the motorized lens control. In short - C/CS mount is rather old and does not work well for interchangeable motorized lenses. We are trying to build an adapter from C/CS-mount to a bayonet type connector. And place a tiny 5mm wide PCB ring in that adapter. This [[10331]] PCB has a reprogrammable microcontroller and uses just 2 connections to the camera for power and data signals combined. It provides all the necessary connections for most types of motorized lenses. &lt;br /&gt;
&lt;br /&gt;
  lens control board [[10331]]&lt;br /&gt;
  DC-DC power board for motorized lens control board [[10332]]&lt;br /&gt;
  lens control board In System Programmer [[lbcontrol]]&lt;br /&gt;
&lt;br /&gt;
=== Outdoor enclosure ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step Zero&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Determine working setup&lt;br /&gt;
-Does the system need a control board &lt;br /&gt;
-CCD board needs a longer cable for minimal package when stacking lens on top of board [http://www.maartenmenheere.nl/blog/images/014-001-0.jpg Camera casing]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step one&#039;&#039;&#039;&lt;br /&gt;
Test setup. Assemble all components in a setup that can record video&lt;br /&gt;
&lt;br /&gt;
Components in test setup&lt;br /&gt;
- Lens (Computar H3Z4512CS varifocal lens? using power)&lt;br /&gt;
- Elphel USB setup. Is it possible to directly plug in a usb drive. Where does the power come from?&lt;br /&gt;
- Battery&lt;br /&gt;
- Usb cable or network calbe&lt;br /&gt;
- Usb exteral harddrive or flashdrive&lt;br /&gt;
- ON/off switch&lt;br /&gt;
&lt;br /&gt;
Objective: Does it work, at all?&lt;br /&gt;
Secondary: Battery life? Video quality?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step two&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Wooden box. Test setup 1 integrated in outside video testing setup.&lt;br /&gt;
&lt;br /&gt;
Components added in test 2&lt;br /&gt;
- Hardboard casing&lt;br /&gt;
&lt;br /&gt;
Objective: Optimize recording setup of video for ease of use&lt;br /&gt;
Secondary: optimal settings? correct lens?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step three&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Building of waterproof casing&lt;br /&gt;
- Amphenol plugs&lt;br /&gt;
- Camera window&lt;br /&gt;
- Casing camera (fibre reinforced composite)&lt;br /&gt;
- Casing base station (battery + storage) (fibre reinforced composite)&lt;br /&gt;
&lt;br /&gt;
[http://www.maartenmenheere.nl/blog/images/outdoorvideosystem.jpg Schematic]&lt;br /&gt;
[http://www.maartenmenheere.nl/blog/images/014-001-0.jpg Camera casing]&lt;br /&gt;
[http://www.maartenmenheere.nl/blog/images/camera.jpg Camera casing]&lt;br /&gt;
[http://www.maartenmenheere.nl/blog/images/Radjump_elphel.jpg Outdoor enclosure]&lt;br /&gt;
&lt;br /&gt;
=== Current enclosure design ===&lt;br /&gt;
&lt;br /&gt;
We are switching to extruded aluminum tube (actually original 303/313 also was design for a standard aluminum profile). Model 333 RJ-45 connector is designed to fit into RJField shell [http://www.rjfield.com/ethernet_connectors_rjf_en.htm].&lt;br /&gt;
&lt;br /&gt;
[[Mechanical]]&lt;br /&gt;
&lt;br /&gt;
=== Removal of distortion ===&lt;br /&gt;
&lt;br /&gt;
Distortions from the non-instantaneous exposure of the frame can be done in [http://lives.sf.net LiVES]. But first some other infrastructure must be in place:&lt;br /&gt;
&lt;br /&gt;
- Camera must start a [http://www.piksel.no/pwiki/VideoJack videojack] server on the host machine, with the correct fps, width, height and frame palette&lt;br /&gt;
&lt;br /&gt;
- Camera must activate the videojack receiver in LiVES and connect it the correct videojack server&lt;br /&gt;
&lt;br /&gt;
- Camera can start to send unpackaged compressed frames to videojack server, along with an array of floats&lt;br /&gt;
&lt;br /&gt;
- Floats will be in pairs for each horizontal band: the vertical compression/expansion (1.0 means no compression) and the horizontal shift (+-shift/width)&lt;br /&gt;
&lt;br /&gt;
- LiVES will pull these frames and the float array from the videojack server&lt;br /&gt;
&lt;br /&gt;
- LiVES will decode each frame and pass it along with the float array to a [http://www.xs4all.nl/~salsaman/lives/docs/weedspec.txt Weed] effect which will apply the compress/expand/shift&lt;br /&gt;
&lt;br /&gt;
- LiVES will receive the altered frame and save it to a stream&lt;br /&gt;
==== Post-processing - non realtime ====&lt;br /&gt;
CMOS sensor-specific distortions caused by the [[Electronic Rolling Shutter ]] do not need to be removed realtime - the PC power may be not enough to do so. It is perfectly OK to be able to just post-process the video recorded from the camera.&lt;br /&gt;
&lt;br /&gt;
--[[User:Andrey.filippov|Andrey.filippov]] 02:39, 9 December 2005 (CST)&lt;br /&gt;
&lt;br /&gt;
== Known problems ==&lt;br /&gt;
&lt;br /&gt;
[[Known problems]]&lt;br /&gt;
&lt;br /&gt;
== Diagnostic and repair ==&lt;br /&gt;
&lt;br /&gt;
[[Diagnostic and repair]] page in the Cameras Manual&lt;br /&gt;
&lt;br /&gt;
=== Changing or restoring the MAC address ===&lt;br /&gt;
&lt;br /&gt;
The factory default MAC address of Elphel products is the same as the serial number which begin with 000E64. If you would like to use a MAC address different from the serial number you can edit the /etc/conf.d/mac file.&lt;br /&gt;
&lt;br /&gt;
If the serial number has not been configured is possible to set it (but only once!). To set the serial number use the bootblocktool command on the camera:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;bootblocktool -a SERNO 000E64xxxxxx&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Exchange “xxxxxx” with the serial number of the board.&lt;br /&gt;
&lt;br /&gt;
!As you can do it only once be careful! If you write the MAC address in a wrong format (ie with : separations) the camera will not boot any more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may do it with the special HTML [http://www.elphel.com/3fhlo/bootblock/bootblock333.html page] but those serial numbers are supposed to be factory programmed.--[[User:Andrey.filippov|Andrey.filippov]] 05:36, 30 December 2005 (CST)&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7928</id>
		<title>Using the cameras</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7928"/>
		<updated>2006-03-04T16:45:19Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* General Controls */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Manual Header}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Elphel network cameras — complex devices in whose development advanced technologies and non-standard program decisions are used. We constantly improve our products so that users can use the cameras with the least expense of time and effort. In this section of Elphel Network Cameras Manual you can find detailed information about using Elphel cameras.&lt;br /&gt;
&lt;br /&gt;
== Complete set ==&lt;br /&gt;
&lt;br /&gt;
The complete camera delivery set includes the actual network camera Elphel-313/323/333, and Live-CD or Live-DVD with a special edition of the Debian-based GNU/Linux operating system Knoppix, complete with all the necessary software for the camera. &lt;br /&gt;
&lt;br /&gt;
The complete delivery set can also include lenses, an external power unit and connection cables for an additional payment.&lt;br /&gt;
&lt;br /&gt;
== Appearance ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Cam side.jpg]] The Elphel-313/333 camera case is folding and made of anodized aluminium. Overall dimensions 116х45х45 mm, weight approximately 150 g (without lens). &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam front.jpg]] The carving socket for standard C/CS-mount lenses is located on the front of the camera. &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam back.jpg]] On the back side of the camera case are located a socket for connection of a network cable, a switch-on push button for the software reloading mode, and camera&#039;s model number mark. We constantly improve our products, therefore the number and appearance of the elements placed on the back panel can change. &lt;br /&gt;
&lt;br /&gt;
On the bottom of the camera case is the standard carving socket for installation of the camera on a support.&lt;br /&gt;
&lt;br /&gt;
== Connection ==&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Power_over_Ethernet PoE] (IEEE 802.3af) technology is used to provide power to the Elphel cameras, using the same cable as that used for network connection.&lt;br /&gt;
&lt;br /&gt;
The Elphel camera has a standard RJ-45 Ethernet port, and can be connected to a local network. This port is also used to provide power to the camera. You can do it in two ways:&lt;br /&gt;
&lt;br /&gt;
1. Use the external power supply with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
2. Use the PoE switch with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
=== External power supply ===&lt;br /&gt;
&lt;br /&gt;
[[image:power_supply.png]] &lt;br /&gt;
&lt;br /&gt;
The power supply has two built in RJ-45 jacks. J1 jack provides 48VDC and is used for connection to camera. You must use CAT5 &amp;quot;Crossover&amp;quot; cable for connection between J1 and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
J2 jack is used for connection to a hub/switch. You must use standard CAT5 cable for connection between J2 and the hub/switch RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== PoE switch ===&lt;br /&gt;
&lt;br /&gt;
[[image:poe_switch.jpg]]&lt;br /&gt;
&lt;br /&gt;
PoE switches have special RJ-45 jacks which provide the 48VDC.  You must use standard CAT5 cable for connection between the PoE switch special RJ-45 jacks and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== Necessary cables ===&lt;br /&gt;
&lt;br /&gt;
[[image:cable.jpg]]&lt;br /&gt;
&lt;br /&gt;
Two cable types are necessary for Elphel cameras - standard CAT5 cable and CAT5 &amp;quot;Crossover&amp;quot; cable if &#039;&#039;the camera is connected directly to the computer&#039;&#039;. Crossover cable is the same as used to connect two computers together with a single cable. If the camera is connected to a switch/hub (directly to the powered switch or through additional &#039;&#039;midspan&#039;&#039; power supply) no crossover cable is needed, all cables are straight.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
How to wire a &amp;amp;quot;Crossover&amp;amp;quot; Cable.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;table width=&amp;quot;600&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; &amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #1&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #2&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          2 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 WHT/BRN&amp;lt;br&amp;gt;&lt;br /&gt;
          8 BRN/WHT&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          2 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 BRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          8 WHT/BRN&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Color abbreviations:&lt;br /&gt;
&lt;br /&gt;
WHT-WHITE&lt;br /&gt;
&lt;br /&gt;
BRN-BROWN&lt;br /&gt;
&lt;br /&gt;
ORG-ORANGE&lt;br /&gt;
&lt;br /&gt;
GRN-GREEN&lt;br /&gt;
&lt;br /&gt;
BLU-BLUE&lt;br /&gt;
&lt;br /&gt;
The first color listed in the color pair is the dominant color of the wire. In other words, WHT/ORG is a white wire with orange stripes.&lt;br /&gt;
&lt;br /&gt;
== Main Control Page ==&lt;br /&gt;
&lt;br /&gt;
The Main Control Page uses javaScript to process user input (input fields and window of interest that can be selected by dragging a frame with the mouse), and combines all the camera acquisition parameters in a single GET request to a CGI program in the camera through the embedded web server (Boa). Currently the camera does not support simultaneous access as each request actually controls the camera operation mode (including sensor resolution and frame rate) and does not just connect to the camera output. &lt;br /&gt;
&lt;br /&gt;
=== Page layout ===&lt;br /&gt;
&lt;br /&gt;
On the top part of the page you should see a preview image. It is always 640x512, 800x600 or 512x386 pixels (1/2 or 1/4 of camera resolution depending on the sensor) and does not change with the selected decimation and window of interest (red rectangle over the image). &lt;br /&gt;
&lt;br /&gt;
Below the preview image there are the camera controls:&lt;br /&gt;
&lt;br /&gt;
=== General Controls ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Window&#039;&#039;&#039; section there are 2 buttons at the bottom-right corner of window. You may specify window of interest (WOI) by dragging these buttons with the mouse. You may also change it numerically by entering data to &#039;&#039;&#039;W&#039;&#039;&#039;(idth), &#039;&#039;&#039;H&#039;&#039;&#039;(eight), &#039;&#039;&#039;L&#039;&#039;&#039;(eft) and &#039;&#039;&#039;T&#039;&#039;&#039;(op) input fields below. That numbers are rounded according to the selected sensor decimation and to use integer multiples of 16x16 pixels MCUs in JPEG compression. You may also change WOI by choosing one of the frequently used size from the list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Autoexposure ====&lt;br /&gt;
&lt;br /&gt;
By default the autoexposure is enabled. There is the special multicolor button for autoexposures management. The button colors is:&lt;br /&gt;
&lt;br /&gt;
[[Image:Aegreen.png]] - Autoexposure is enabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aered.png]] - Autoexposure is disabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aeblue.png]] - The autoexposure control window is opened&lt;br /&gt;
&lt;br /&gt;
When Autoexposure window is opened, the area of exposure calculating is appeared in the &#039;&#039;&#039;Window&#039;&#039;&#039; section.&lt;br /&gt;
&lt;br /&gt;
In the Autoexposure window there are a few buttons for positioning the area of exposure calculating. The fields below are used for settings changing of the exposure calculating.&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Screen zone&#039;&#039;&#039; field you can change the area which should be used for exposure calculating (in percents).&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Analyze pixels 1/_number_&#039;&#039;&#039; field you can specify the amount of pixels which will be used for overlightening.&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Max exposure&#039;&#039;&#039; field you can specify the maximal exposure time (in ms).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Autoexp_1.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Exposure&#039;&#039;&#039; field there is an input field to specify frame exposure time (in ms) - it is possible to specify fractions. You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Saturation&#039;&#039;&#039; section allows adjusting contrast saturation. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gamma&#039;&#039;&#039; field controls contrast by adjusting intensity conversion, gamma=1.0 corresponds to linear response (high contrast). Values less than 1 increase input dynamic range by expanding low intensity values (low contrast). You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
JPEG &#039;&#039;&#039;Quality&#039;&#039;&#039; sets standard JPEG compression quality. The higher the quality the bigger the resulting file. It does not change the camera frame rate. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;White balance&#039;&#039;&#039; section is a drop-down menu containing four static parameters: &#039;&#039;&#039;Sunlight&#039;&#039;&#039;, &#039;&#039;&#039;Cloudy&#039;&#039;&#039;, &#039;&#039;&#039;Incandenscent&#039;&#039;&#039; and &#039;&#039;&#039;Fluorescent&#039;&#039;&#039;. You can choose one of these parameters to achieve the highest quality image depending on the lighting conditions. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Image size&#039;&#039;&#039; drop-down menu you may choose the static window size. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Resolution&#039;&#039;&#039; section there are a drop-down menu containing a few parameters (from 0 to 8) for changing sensor decimation (resolution). 0 - full sensor decimation, 2 - 1/2 of full sensor decimation, 3 - 1/3 of full sensor decimation etc.&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Binning&#039;&#039;&#039; section there are a drop-down menu containing a few parameters (from 0 to 3) which change the binning mode. Binning can be used only when decimation is greater than 1. Increases sensor sensitivity by combining values from several pixels instead of just discarding them (as done with just decimation).&lt;br /&gt;
&lt;br /&gt;
[[Image:Color.jpg]] In monochrome mode (when the &#039;&#039;&#039;Color&#039;&#039;&#039; radiobutton is not checked) &amp;quot;R&amp;quot; gain settings are used for all channels and color conversion is disabled. &lt;br /&gt;
&lt;br /&gt;
Below are 3 buttons &#039;&#039;&#039;Preview&#039;&#039;&#039;, &#039;&#039;&#039;Reset&#039;&#039;&#039; and &#039;&#039;&#039;Apply&#039;&#039;&#039;. &#039;&#039;&#039;Preview&#039;&#039;&#039; button refreshes the image in the top portion on a page (ignoring selected WOI and decimation), The &#039;&#039;&#039;Reset&#039;&#039;&#039; button returns to the initial adjustment parameters. The &#039;&#039;&#039;Apply&#039;&#039;&#039; button is used to accept the new changes. &lt;br /&gt;
&lt;br /&gt;
Also there are two links after &#039;&#039;&#039;Photo&#039;&#039;&#039;: &#039;&#039;&#039;New&#039;&#039;&#039; contains a link to a camera CGI program that has all the acquisition parameters attached. You may just click it to open the image in a new window or right-click it and select &amp;quot;Save link target as...&amp;quot; (or equivalent) to save the image on your computer. The second link &#039;&#039;&#039;Last&#039;&#039;&#039; points to the last image already in the camera memory; you may use it to save the previously aquired image to your hard drive. &lt;br /&gt;
&lt;br /&gt;
[[Image:Help.png]] button opens this help page. &lt;br /&gt;
&lt;br /&gt;
[[Image:Info.png]] button opens the information window where there is a list of the acquisition parameters used during the last image/clip acquisition.&lt;br /&gt;
&lt;br /&gt;
=== Video Controls ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Video Controls&#039;&#039;&#039; in this section allow users to record a video clip in the camera memory and send it over the LAN/Internet as a Quicktime video file. All settings for the image size, resolution, compression quality, analog gains and exposure are the same as for still images described above, and that link adds extra parameters - &#039;&#039;&#039;Frame Rate&#039;&#039;&#039; and &#039;&#039;&#039;Time Scale&#039;&#039;&#039;. The first sets the desired frame rate (leave blank or set to 0 for the maximal rate), the second field sets how much the playback time is longer than the acquisition one. I.e. setting of &amp;quot;10&amp;quot; makes the clip play 10 times slower that it was shot. &lt;br /&gt;
&lt;br /&gt;
Total size of the clip (6-7MB) is determined by a camera internal buffer used for compressed image storage and the total number of frames as the frame headers are attached during the clip output and are not stored in the buffer. There are 2 ways to shoot a clip (usual duration 3-5 sec, depending on compression quality). First is to press &#039;&#039;&#039;Start stream&#039;&#039;&#039; button, wait for the event to occur and then press &#039;&#039;&#039;Acquire&#039;&#039;&#039;. In this mode after &#039;&#039;&#039;Start stream&#039;&#039;&#039; the camera continuously writes to the buffer, overwriting footage when all the available space is used. Pressing the &#039;&#039;&#039;Stop stream&#039;&#039;&#039; button ends data saving and so the buffer contains the last data recorded. Another way is to press &#039;&#039;&#039;Acquire&#039;&#039;&#039; before the event. In that mode the clip recording starts after the trigger and stops when the whole buffer is full. &lt;br /&gt;
&lt;br /&gt;
There are additional controls to preview a videoclip from the camera memory. Frame number 1 is the first one, 2 - second, etc. Frame number 0 is the last one in the clip, -1 - previous before last, etc. Any image acquisition (including &#039;&#039;&#039;Preview&#039;&#039;&#039;) erases the stored clip and makes it one frame long. &lt;br /&gt;
&lt;br /&gt;
Clicking on the &#039;&#039;&#039;Video Clip&#039;&#039;&#039; link opens the clip in the Apple QuickTime ™ (or compatible) player plugin (if installed) - you may also use this link to save the clip as a file on your computer.&lt;br /&gt;
&lt;br /&gt;
=== Advanced Panel ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 2.jpg]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Advanced Panel&#039;&#039;&#039; tab opens additional adjustment parameters for the image. In this section you may specify more exact adjustments of color levels of the image. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gains&#039;&#039;&#039; section controls the sensor analog gain settings. &#039;&#039;&#039;R&#039;&#039;&#039;, &#039;&#039;&#039;G&#039;&#039;&#039; and &#039;&#039;&#039;B&#039;&#039;&#039; input fields control color component gains. Using high gain settings increases sensor noise but is required to view fast events with 1ms exposure time with the lighting used in the current setup. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;R-Y&#039;&#039;&#039; specifies color saturation for red color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B-Y&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;W&#039;&#039;&#039; specifies level saturation for white color component. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-X&#039;&#039;&#039; button allows turning the image horizontally. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-Y&#039;&#039;&#039; button allows turning the image vertically. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;NOTE: Some parameters (e.g. window size) cannot be changed without stopping the acquisition/compression.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Technical Information for the Elphel-333 ==&lt;br /&gt;
&lt;br /&gt;
=== Default Setup ===&lt;br /&gt;
&lt;br /&gt;
The default IP address of the camera is &#039;&#039;&#039;192.168.0.9&#039;&#039;&#039; netmask &#039;&#039;&#039;255.255.255.0&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You should be able to ping the camera from another machine on the same subnet.&lt;br /&gt;
&lt;br /&gt;
By default, the following TCP ports are open:&lt;br /&gt;
&lt;br /&gt;
21/ftp&lt;br /&gt;
&lt;br /&gt;
23/telnet&lt;br /&gt;
&lt;br /&gt;
80/http&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Logging in ===&lt;br /&gt;
&lt;br /&gt;
You can log in to the camera via telnet on TCP port 23&lt;br /&gt;
&lt;br /&gt;
User: &#039;&#039;&#039;root&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Password: &#039;&#039;&#039;pass&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Serial port ===&lt;br /&gt;
&lt;br /&gt;
The serial port settings (additional board 308 needed)&lt;br /&gt;
&lt;br /&gt;
Speed: 19200 8N1&lt;br /&gt;
&lt;br /&gt;
RTS/CTS: None&lt;br /&gt;
&lt;br /&gt;
XON/XOFF : None&lt;br /&gt;
&lt;br /&gt;
=== Changing IP address of the camera ===&lt;br /&gt;
&lt;br /&gt;
The camera network settings can be changed by going to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;http://&amp;lt;camera_ip&amp;gt;/axis.html&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
from an attached computer.&lt;br /&gt;
&lt;br /&gt;
=== Multicast routing in Linux ===&lt;br /&gt;
&lt;br /&gt;
In order to use the multicast streaming from the cameras, you need to add the following route rule to an attached PC:&lt;br /&gt;
    route add -net 224.0.0.0 netmask 240.0.0.0 &amp;lt;interface&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;interface&amp;gt; is the interface connected to the camera (e.g. eth0).&lt;br /&gt;
&lt;br /&gt;
The knoppix live CD/DVD does this for you automatically.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&#039;&#039;Free Software and Open Hardware. Elphel, Inc., 2005&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7927</id>
		<title>Using the cameras</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7927"/>
		<updated>2006-03-04T15:59:28Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* Autoexposure */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Manual Header}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Elphel network cameras — complex devices in whose development advanced technologies and non-standard program decisions are used. We constantly improve our products so that users can use the cameras with the least expense of time and effort. In this section of Elphel Network Cameras Manual you can find detailed information about using Elphel cameras.&lt;br /&gt;
&lt;br /&gt;
== Complete set ==&lt;br /&gt;
&lt;br /&gt;
The complete camera delivery set includes the actual network camera Elphel-313/323/333, and Live-CD or Live-DVD with a special edition of the Debian-based GNU/Linux operating system Knoppix, complete with all the necessary software for the camera. &lt;br /&gt;
&lt;br /&gt;
The complete delivery set can also include lenses, an external power unit and connection cables for an additional payment.&lt;br /&gt;
&lt;br /&gt;
== Appearance ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Cam side.jpg]] The Elphel-313/333 camera case is folding and made of anodized aluminium. Overall dimensions 116х45х45 mm, weight approximately 150 g (without lens). &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam front.jpg]] The carving socket for standard C/CS-mount lenses is located on the front of the camera. &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam back.jpg]] On the back side of the camera case are located a socket for connection of a network cable, a switch-on push button for the software reloading mode, and camera&#039;s model number mark. We constantly improve our products, therefore the number and appearance of the elements placed on the back panel can change. &lt;br /&gt;
&lt;br /&gt;
On the bottom of the camera case is the standard carving socket for installation of the camera on a support.&lt;br /&gt;
&lt;br /&gt;
== Connection ==&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Power_over_Ethernet PoE] (IEEE 802.3af) technology is used to provide power to the Elphel cameras, using the same cable as that used for network connection.&lt;br /&gt;
&lt;br /&gt;
The Elphel camera has a standard RJ-45 Ethernet port, and can be connected to a local network. This port is also used to provide power to the camera. You can do it in two ways:&lt;br /&gt;
&lt;br /&gt;
1. Use the external power supply with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
2. Use the PoE switch with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
=== External power supply ===&lt;br /&gt;
&lt;br /&gt;
[[image:power_supply.png]] &lt;br /&gt;
&lt;br /&gt;
The power supply has two built in RJ-45 jacks. J1 jack provides 48VDC and is used for connection to camera. You must use CAT5 &amp;quot;Crossover&amp;quot; cable for connection between J1 and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
J2 jack is used for connection to a hub/switch. You must use standard CAT5 cable for connection between J2 and the hub/switch RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== PoE switch ===&lt;br /&gt;
&lt;br /&gt;
[[image:poe_switch.jpg]]&lt;br /&gt;
&lt;br /&gt;
PoE switches have special RJ-45 jacks which provide the 48VDC.  You must use standard CAT5 cable for connection between the PoE switch special RJ-45 jacks and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== Necessary cables ===&lt;br /&gt;
&lt;br /&gt;
[[image:cable.jpg]]&lt;br /&gt;
&lt;br /&gt;
Two cable types are necessary for Elphel cameras - standard CAT5 cable and CAT5 &amp;quot;Crossover&amp;quot; cable if &#039;&#039;the camera is connected directly to the computer&#039;&#039;. Crossover cable is the same as used to connect two computers together with a single cable. If the camera is connected to a switch/hub (directly to the powered switch or through additional &#039;&#039;midspan&#039;&#039; power supply) no crossover cable is needed, all cables are straight.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
How to wire a &amp;amp;quot;Crossover&amp;amp;quot; Cable.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;table width=&amp;quot;600&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; &amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #1&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #2&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          2 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 WHT/BRN&amp;lt;br&amp;gt;&lt;br /&gt;
          8 BRN/WHT&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          2 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 BRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          8 WHT/BRN&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Color abbreviations:&lt;br /&gt;
&lt;br /&gt;
WHT-WHITE&lt;br /&gt;
&lt;br /&gt;
BRN-BROWN&lt;br /&gt;
&lt;br /&gt;
ORG-ORANGE&lt;br /&gt;
&lt;br /&gt;
GRN-GREEN&lt;br /&gt;
&lt;br /&gt;
BLU-BLUE&lt;br /&gt;
&lt;br /&gt;
The first color listed in the color pair is the dominant color of the wire. In other words, WHT/ORG is a white wire with orange stripes.&lt;br /&gt;
&lt;br /&gt;
== Main Control Page ==&lt;br /&gt;
&lt;br /&gt;
The Main Control Page uses javaScript to process user input (input fields and window of interest that can be selected by dragging a frame with the mouse), and combines all the camera acquisition parameters in a single GET request to a CGI program in the camera through the embedded web server (Boa). Currently the camera does not support simultaneous access as each request actually controls the camera operation mode (including sensor resolution and frame rate) and does not just connect to the camera output. &lt;br /&gt;
&lt;br /&gt;
=== Page layout ===&lt;br /&gt;
&lt;br /&gt;
On the top part of the page you should see a preview image. It is always 640x512, 800x600 or 512x386 pixels (1/2 or 1/4 of camera resolution depending on the sensor) and does not change with the selected decimation and window of interest (red rectangle over the image). &lt;br /&gt;
&lt;br /&gt;
Below the preview image there are the camera controls:&lt;br /&gt;
&lt;br /&gt;
=== General Controls ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Window&#039;&#039;&#039; section there are 2 buttons at the bottom-right corner of window. You may specify window of interest (WOI) by dragging these buttons with the mouse. You may also change it numerically by entering data to &#039;&#039;&#039;W&#039;&#039;&#039;(idth), &#039;&#039;&#039;H&#039;&#039;&#039;(eight), &#039;&#039;&#039;L&#039;&#039;&#039;(eft) and &#039;&#039;&#039;T&#039;&#039;&#039;(op) input fields below. That numbers are rounded according to the selected sensor decimation and to use integer multiples of 16x16 pixels MCUs in JPEG compression. You may also change WOI by choosing one of the frequently used size from the list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Autoexposure ====&lt;br /&gt;
&lt;br /&gt;
By default the autoexposure is enabled. There is the special multicolor button for autoexposures management. The button colors is:&lt;br /&gt;
&lt;br /&gt;
[[Image:Aegreen.png]] - Autoexposure is enabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aered.png]] - Autoexposure is disabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aeblue.png]] - The autoexposure control window is opened&lt;br /&gt;
&lt;br /&gt;
When Autoexposure window is opened, the area of exposure calculating is appeared in the &#039;&#039;&#039;Window&#039;&#039;&#039; section.&lt;br /&gt;
&lt;br /&gt;
In the Autoexposure window there are a few buttons for positioning the area of exposure calculating.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Autoexp_1.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Exposure&#039;&#039;&#039; field there is an input field to specify frame exposure time (in ms) - it is possible to specify fractions. You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Saturation&#039;&#039;&#039; section allows adjusting contrast saturation. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gamma&#039;&#039;&#039; field controls contrast by adjusting intensity conversion, gamma=1.0 corresponds to linear response (high contrast). Values less than 1 increase input dynamic range by expanding low intensity values (low contrast). You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
JPEG &#039;&#039;&#039;Quality&#039;&#039;&#039; sets standard JPEG compression quality. The higher the quality the bigger the resulting file. It does not change the camera frame rate. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;White balance&#039;&#039;&#039; section is a drop-down menu containing four static parameters: &#039;&#039;&#039;Sunlight&#039;&#039;&#039;, &#039;&#039;&#039;Cloudy&#039;&#039;&#039;, &#039;&#039;&#039;Incandenscent&#039;&#039;&#039; and &#039;&#039;&#039;Fluorescent&#039;&#039;&#039;. You can choose one of these parameters to achieve the highest quality image depending on the lighting conditions. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Image size&#039;&#039;&#039; drop-down menu you may choose the static window size. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Resolution&#039;&#039;&#039; section there are a drop-down menu containing a few parameters (from 0 to 8) for changing sensor decimation (resolution). 0 - full sensor decimation, 2 - 1/2 of full sensor decimation, 3 - 1/3 of full sensor decimation etc.&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Binning&#039;&#039;&#039; section there are a drop-down menu containing a few parameters (from 0 to 3) which change the binning mode. Binning can be used only when decimation is greater than 1. Increases sensor sensitivity by combining values from several pixels instead of just discarding them (as done with just decimation).&lt;br /&gt;
&lt;br /&gt;
[[Image:Color.jpg]] In monochrome mode (when the &#039;&#039;&#039;Color&#039;&#039;&#039; radiobutton is not checked) &amp;quot;R&amp;quot; gain settings are used for all channels and color conversion is disabled. &lt;br /&gt;
&lt;br /&gt;
Below are 3 buttons &#039;&#039;&#039;Preview&#039;&#039;&#039;, &#039;&#039;&#039;Reset&#039;&#039;&#039; and &#039;&#039;&#039;Apply&#039;&#039;&#039;. &#039;&#039;&#039;Preview&#039;&#039;&#039; button refreshes the image in the top portion on a page (ignoring selected WOI and decimation), The &#039;&#039;&#039;Reset&#039;&#039;&#039; button returns to the initial adjustment parameters. The &#039;&#039;&#039;Apply&#039;&#039;&#039; button is used to accept the new changes. &lt;br /&gt;
&lt;br /&gt;
Also there are two links after &#039;&#039;&#039;Photo&#039;&#039;&#039;: &#039;&#039;&#039;New&#039;&#039;&#039; contains a link to a camera CGI program that has all the acquisition parameters attached. You may just click it to open the image in a new window or right-click it and select &amp;quot;Save link target as...&amp;quot; (or equivalent) to save the image on your computer. The second link &#039;&#039;&#039;Last&#039;&#039;&#039; points to the last image already in the camera memory; you may use it to save the previously aquired image to your hard drive. &lt;br /&gt;
&lt;br /&gt;
[[Image:Help.png]] button opens this help page. &lt;br /&gt;
&lt;br /&gt;
[[Image:Info.png]] button opens the information window where there is a list of the acquisition parameters used during the last image/clip acquisition.&lt;br /&gt;
&lt;br /&gt;
=== Video Controls ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Video Controls&#039;&#039;&#039; in this section allow users to record a video clip in the camera memory and send it over the LAN/Internet as a Quicktime video file. All settings for the image size, resolution, compression quality, analog gains and exposure are the same as for still images described above, and that link adds extra parameters - &#039;&#039;&#039;Frame Rate&#039;&#039;&#039; and &#039;&#039;&#039;Time Scale&#039;&#039;&#039;. The first sets the desired frame rate (leave blank or set to 0 for the maximal rate), the second field sets how much the playback time is longer than the acquisition one. I.e. setting of &amp;quot;10&amp;quot; makes the clip play 10 times slower that it was shot. &lt;br /&gt;
&lt;br /&gt;
Total size of the clip (6-7MB) is determined by a camera internal buffer used for compressed image storage and the total number of frames as the frame headers are attached during the clip output and are not stored in the buffer. There are 2 ways to shoot a clip (usual duration 3-5 sec, depending on compression quality). First is to press &#039;&#039;&#039;Start stream&#039;&#039;&#039; button, wait for the event to occur and then press &#039;&#039;&#039;Acquire&#039;&#039;&#039;. In this mode after &#039;&#039;&#039;Start stream&#039;&#039;&#039; the camera continuously writes to the buffer, overwriting footage when all the available space is used. Pressing the &#039;&#039;&#039;Stop stream&#039;&#039;&#039; button ends data saving and so the buffer contains the last data recorded. Another way is to press &#039;&#039;&#039;Acquire&#039;&#039;&#039; before the event. In that mode the clip recording starts after the trigger and stops when the whole buffer is full. &lt;br /&gt;
&lt;br /&gt;
There are additional controls to preview a videoclip from the camera memory. Frame number 1 is the first one, 2 - second, etc. Frame number 0 is the last one in the clip, -1 - previous before last, etc. Any image acquisition (including &#039;&#039;&#039;Preview&#039;&#039;&#039;) erases the stored clip and makes it one frame long. &lt;br /&gt;
&lt;br /&gt;
Clicking on the &#039;&#039;&#039;Video Clip&#039;&#039;&#039; link opens the clip in the Apple QuickTime ™ (or compatible) player plugin (if installed) - you may also use this link to save the clip as a file on your computer.&lt;br /&gt;
&lt;br /&gt;
=== Advanced Panel ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 2.jpg]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Advanced Panel&#039;&#039;&#039; tab opens additional adjustment parameters for the image. In this section you may specify more exact adjustments of color levels of the image. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gains&#039;&#039;&#039; section controls the sensor analog gain settings. &#039;&#039;&#039;R&#039;&#039;&#039;, &#039;&#039;&#039;G&#039;&#039;&#039; and &#039;&#039;&#039;B&#039;&#039;&#039; input fields control color component gains. Using high gain settings increases sensor noise but is required to view fast events with 1ms exposure time with the lighting used in the current setup. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;R-Y&#039;&#039;&#039; specifies color saturation for red color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B-Y&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;W&#039;&#039;&#039; specifies level saturation for white color component. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-X&#039;&#039;&#039; button allows turning the image horizontally. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-Y&#039;&#039;&#039; button allows turning the image vertically. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;NOTE: Some parameters (e.g. window size) cannot be changed without stopping the acquisition/compression.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Technical Information for the Elphel-333 ==&lt;br /&gt;
&lt;br /&gt;
=== Default Setup ===&lt;br /&gt;
&lt;br /&gt;
The default IP address of the camera is &#039;&#039;&#039;192.168.0.9&#039;&#039;&#039; netmask &#039;&#039;&#039;255.255.255.0&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You should be able to ping the camera from another machine on the same subnet.&lt;br /&gt;
&lt;br /&gt;
By default, the following TCP ports are open:&lt;br /&gt;
&lt;br /&gt;
21/ftp&lt;br /&gt;
&lt;br /&gt;
23/telnet&lt;br /&gt;
&lt;br /&gt;
80/http&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Logging in ===&lt;br /&gt;
&lt;br /&gt;
You can log in to the camera via telnet on TCP port 23&lt;br /&gt;
&lt;br /&gt;
User: &#039;&#039;&#039;root&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Password: &#039;&#039;&#039;pass&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Serial port ===&lt;br /&gt;
&lt;br /&gt;
The serial port settings (additional board 308 needed)&lt;br /&gt;
&lt;br /&gt;
Speed: 19200 8N1&lt;br /&gt;
&lt;br /&gt;
RTS/CTS: None&lt;br /&gt;
&lt;br /&gt;
XON/XOFF : None&lt;br /&gt;
&lt;br /&gt;
=== Changing IP address of the camera ===&lt;br /&gt;
&lt;br /&gt;
The camera network settings can be changed by going to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;http://&amp;lt;camera_ip&amp;gt;/axis.html&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
from an attached computer.&lt;br /&gt;
&lt;br /&gt;
=== Multicast routing in Linux ===&lt;br /&gt;
&lt;br /&gt;
In order to use the multicast streaming from the cameras, you need to add the following route rule to an attached PC:&lt;br /&gt;
    route add -net 224.0.0.0 netmask 240.0.0.0 &amp;lt;interface&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;interface&amp;gt; is the interface connected to the camera (e.g. eth0).&lt;br /&gt;
&lt;br /&gt;
The knoppix live CD/DVD does this for you automatically.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&#039;&#039;Free Software and Open Hardware. Elphel, Inc., 2005&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7926</id>
		<title>Using the cameras</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7926"/>
		<updated>2006-03-04T15:37:30Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* General Controls */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Manual Header}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Elphel network cameras — complex devices in whose development advanced technologies and non-standard program decisions are used. We constantly improve our products so that users can use the cameras with the least expense of time and effort. In this section of Elphel Network Cameras Manual you can find detailed information about using Elphel cameras.&lt;br /&gt;
&lt;br /&gt;
== Complete set ==&lt;br /&gt;
&lt;br /&gt;
The complete camera delivery set includes the actual network camera Elphel-313/323/333, and Live-CD or Live-DVD with a special edition of the Debian-based GNU/Linux operating system Knoppix, complete with all the necessary software for the camera. &lt;br /&gt;
&lt;br /&gt;
The complete delivery set can also include lenses, an external power unit and connection cables for an additional payment.&lt;br /&gt;
&lt;br /&gt;
== Appearance ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Cam side.jpg]] The Elphel-313/333 camera case is folding and made of anodized aluminium. Overall dimensions 116х45х45 mm, weight approximately 150 g (without lens). &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam front.jpg]] The carving socket for standard C/CS-mount lenses is located on the front of the camera. &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam back.jpg]] On the back side of the camera case are located a socket for connection of a network cable, a switch-on push button for the software reloading mode, and camera&#039;s model number mark. We constantly improve our products, therefore the number and appearance of the elements placed on the back panel can change. &lt;br /&gt;
&lt;br /&gt;
On the bottom of the camera case is the standard carving socket for installation of the camera on a support.&lt;br /&gt;
&lt;br /&gt;
== Connection ==&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Power_over_Ethernet PoE] (IEEE 802.3af) technology is used to provide power to the Elphel cameras, using the same cable as that used for network connection.&lt;br /&gt;
&lt;br /&gt;
The Elphel camera has a standard RJ-45 Ethernet port, and can be connected to a local network. This port is also used to provide power to the camera. You can do it in two ways:&lt;br /&gt;
&lt;br /&gt;
1. Use the external power supply with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
2. Use the PoE switch with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
=== External power supply ===&lt;br /&gt;
&lt;br /&gt;
[[image:power_supply.png]] &lt;br /&gt;
&lt;br /&gt;
The power supply has two built in RJ-45 jacks. J1 jack provides 48VDC and is used for connection to camera. You must use CAT5 &amp;quot;Crossover&amp;quot; cable for connection between J1 and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
J2 jack is used for connection to a hub/switch. You must use standard CAT5 cable for connection between J2 and the hub/switch RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== PoE switch ===&lt;br /&gt;
&lt;br /&gt;
[[image:poe_switch.jpg]]&lt;br /&gt;
&lt;br /&gt;
PoE switches have special RJ-45 jacks which provide the 48VDC.  You must use standard CAT5 cable for connection between the PoE switch special RJ-45 jacks and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== Necessary cables ===&lt;br /&gt;
&lt;br /&gt;
[[image:cable.jpg]]&lt;br /&gt;
&lt;br /&gt;
Two cable types are necessary for Elphel cameras - standard CAT5 cable and CAT5 &amp;quot;Crossover&amp;quot; cable if &#039;&#039;the camera is connected directly to the computer&#039;&#039;. Crossover cable is the same as used to connect two computers together with a single cable. If the camera is connected to a switch/hub (directly to the powered switch or through additional &#039;&#039;midspan&#039;&#039; power supply) no crossover cable is needed, all cables are straight.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
How to wire a &amp;amp;quot;Crossover&amp;amp;quot; Cable.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;table width=&amp;quot;600&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; &amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #1&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #2&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          2 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 WHT/BRN&amp;lt;br&amp;gt;&lt;br /&gt;
          8 BRN/WHT&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          2 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 BRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          8 WHT/BRN&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Color abbreviations:&lt;br /&gt;
&lt;br /&gt;
WHT-WHITE&lt;br /&gt;
&lt;br /&gt;
BRN-BROWN&lt;br /&gt;
&lt;br /&gt;
ORG-ORANGE&lt;br /&gt;
&lt;br /&gt;
GRN-GREEN&lt;br /&gt;
&lt;br /&gt;
BLU-BLUE&lt;br /&gt;
&lt;br /&gt;
The first color listed in the color pair is the dominant color of the wire. In other words, WHT/ORG is a white wire with orange stripes.&lt;br /&gt;
&lt;br /&gt;
== Main Control Page ==&lt;br /&gt;
&lt;br /&gt;
The Main Control Page uses javaScript to process user input (input fields and window of interest that can be selected by dragging a frame with the mouse), and combines all the camera acquisition parameters in a single GET request to a CGI program in the camera through the embedded web server (Boa). Currently the camera does not support simultaneous access as each request actually controls the camera operation mode (including sensor resolution and frame rate) and does not just connect to the camera output. &lt;br /&gt;
&lt;br /&gt;
=== Page layout ===&lt;br /&gt;
&lt;br /&gt;
On the top part of the page you should see a preview image. It is always 640x512, 800x600 or 512x386 pixels (1/2 or 1/4 of camera resolution depending on the sensor) and does not change with the selected decimation and window of interest (red rectangle over the image). &lt;br /&gt;
&lt;br /&gt;
Below the preview image there are the camera controls:&lt;br /&gt;
&lt;br /&gt;
=== General Controls ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Window&#039;&#039;&#039; section there are 2 buttons at the bottom-right corner of window. You may specify window of interest (WOI) by dragging these buttons with the mouse. You may also change it numerically by entering data to &#039;&#039;&#039;W&#039;&#039;&#039;(idth), &#039;&#039;&#039;H&#039;&#039;&#039;(eight), &#039;&#039;&#039;L&#039;&#039;&#039;(eft) and &#039;&#039;&#039;T&#039;&#039;&#039;(op) input fields below. That numbers are rounded according to the selected sensor decimation and to use integer multiples of 16x16 pixels MCUs in JPEG compression. You may also change WOI by choosing one of the frequently used size from the list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Autoexposure ====&lt;br /&gt;
&lt;br /&gt;
By default the autoexposure is enabled. There is the special multicolor button for autoexposures management. The button colors is:&lt;br /&gt;
&lt;br /&gt;
[[Image:Aegreen.png]] - Autoexposure is enabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aered.png]] - Autoexposure is disabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aeblue.png]] - The autoexposure control window is opened&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Autoexp_1.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Exposure&#039;&#039;&#039; field there is an input field to specify frame exposure time (in ms) - it is possible to specify fractions. You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Saturation&#039;&#039;&#039; section allows adjusting contrast saturation. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gamma&#039;&#039;&#039; field controls contrast by adjusting intensity conversion, gamma=1.0 corresponds to linear response (high contrast). Values less than 1 increase input dynamic range by expanding low intensity values (low contrast). You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
JPEG &#039;&#039;&#039;Quality&#039;&#039;&#039; sets standard JPEG compression quality. The higher the quality the bigger the resulting file. It does not change the camera frame rate. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;White balance&#039;&#039;&#039; section is a drop-down menu containing four static parameters: &#039;&#039;&#039;Sunlight&#039;&#039;&#039;, &#039;&#039;&#039;Cloudy&#039;&#039;&#039;, &#039;&#039;&#039;Incandenscent&#039;&#039;&#039; and &#039;&#039;&#039;Fluorescent&#039;&#039;&#039;. You can choose one of these parameters to achieve the highest quality image depending on the lighting conditions. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Image size&#039;&#039;&#039; drop-down menu you may choose the static window size. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Resolution&#039;&#039;&#039; section there are a drop-down menu containing a few parameters (from 0 to 8) for changing sensor decimation (resolution). 0 - full sensor decimation, 2 - 1/2 of full sensor decimation, 3 - 1/3 of full sensor decimation etc.&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Binning&#039;&#039;&#039; section there are a drop-down menu containing a few parameters (from 0 to 3) which change the binning mode. Binning can be used only when decimation is greater than 1. Increases sensor sensitivity by combining values from several pixels instead of just discarding them (as done with just decimation).&lt;br /&gt;
&lt;br /&gt;
[[Image:Color.jpg]] In monochrome mode (when the &#039;&#039;&#039;Color&#039;&#039;&#039; radiobutton is not checked) &amp;quot;R&amp;quot; gain settings are used for all channels and color conversion is disabled. &lt;br /&gt;
&lt;br /&gt;
Below are 3 buttons &#039;&#039;&#039;Preview&#039;&#039;&#039;, &#039;&#039;&#039;Reset&#039;&#039;&#039; and &#039;&#039;&#039;Apply&#039;&#039;&#039;. &#039;&#039;&#039;Preview&#039;&#039;&#039; button refreshes the image in the top portion on a page (ignoring selected WOI and decimation), The &#039;&#039;&#039;Reset&#039;&#039;&#039; button returns to the initial adjustment parameters. The &#039;&#039;&#039;Apply&#039;&#039;&#039; button is used to accept the new changes. &lt;br /&gt;
&lt;br /&gt;
Also there are two links after &#039;&#039;&#039;Photo&#039;&#039;&#039;: &#039;&#039;&#039;New&#039;&#039;&#039; contains a link to a camera CGI program that has all the acquisition parameters attached. You may just click it to open the image in a new window or right-click it and select &amp;quot;Save link target as...&amp;quot; (or equivalent) to save the image on your computer. The second link &#039;&#039;&#039;Last&#039;&#039;&#039; points to the last image already in the camera memory; you may use it to save the previously aquired image to your hard drive. &lt;br /&gt;
&lt;br /&gt;
[[Image:Help.png]] button opens this help page. &lt;br /&gt;
&lt;br /&gt;
[[Image:Info.png]] button opens the information window where there is a list of the acquisition parameters used during the last image/clip acquisition.&lt;br /&gt;
&lt;br /&gt;
=== Video Controls ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Video Controls&#039;&#039;&#039; in this section allow users to record a video clip in the camera memory and send it over the LAN/Internet as a Quicktime video file. All settings for the image size, resolution, compression quality, analog gains and exposure are the same as for still images described above, and that link adds extra parameters - &#039;&#039;&#039;Frame Rate&#039;&#039;&#039; and &#039;&#039;&#039;Time Scale&#039;&#039;&#039;. The first sets the desired frame rate (leave blank or set to 0 for the maximal rate), the second field sets how much the playback time is longer than the acquisition one. I.e. setting of &amp;quot;10&amp;quot; makes the clip play 10 times slower that it was shot. &lt;br /&gt;
&lt;br /&gt;
Total size of the clip (6-7MB) is determined by a camera internal buffer used for compressed image storage and the total number of frames as the frame headers are attached during the clip output and are not stored in the buffer. There are 2 ways to shoot a clip (usual duration 3-5 sec, depending on compression quality). First is to press &#039;&#039;&#039;Start stream&#039;&#039;&#039; button, wait for the event to occur and then press &#039;&#039;&#039;Acquire&#039;&#039;&#039;. In this mode after &#039;&#039;&#039;Start stream&#039;&#039;&#039; the camera continuously writes to the buffer, overwriting footage when all the available space is used. Pressing the &#039;&#039;&#039;Stop stream&#039;&#039;&#039; button ends data saving and so the buffer contains the last data recorded. Another way is to press &#039;&#039;&#039;Acquire&#039;&#039;&#039; before the event. In that mode the clip recording starts after the trigger and stops when the whole buffer is full. &lt;br /&gt;
&lt;br /&gt;
There are additional controls to preview a videoclip from the camera memory. Frame number 1 is the first one, 2 - second, etc. Frame number 0 is the last one in the clip, -1 - previous before last, etc. Any image acquisition (including &#039;&#039;&#039;Preview&#039;&#039;&#039;) erases the stored clip and makes it one frame long. &lt;br /&gt;
&lt;br /&gt;
Clicking on the &#039;&#039;&#039;Video Clip&#039;&#039;&#039; link opens the clip in the Apple QuickTime ™ (or compatible) player plugin (if installed) - you may also use this link to save the clip as a file on your computer.&lt;br /&gt;
&lt;br /&gt;
=== Advanced Panel ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 2.jpg]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Advanced Panel&#039;&#039;&#039; tab opens additional adjustment parameters for the image. In this section you may specify more exact adjustments of color levels of the image. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gains&#039;&#039;&#039; section controls the sensor analog gain settings. &#039;&#039;&#039;R&#039;&#039;&#039;, &#039;&#039;&#039;G&#039;&#039;&#039; and &#039;&#039;&#039;B&#039;&#039;&#039; input fields control color component gains. Using high gain settings increases sensor noise but is required to view fast events with 1ms exposure time with the lighting used in the current setup. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;R-Y&#039;&#039;&#039; specifies color saturation for red color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B-Y&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;W&#039;&#039;&#039; specifies level saturation for white color component. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-X&#039;&#039;&#039; button allows turning the image horizontally. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-Y&#039;&#039;&#039; button allows turning the image vertically. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;NOTE: Some parameters (e.g. window size) cannot be changed without stopping the acquisition/compression.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Technical Information for the Elphel-333 ==&lt;br /&gt;
&lt;br /&gt;
=== Default Setup ===&lt;br /&gt;
&lt;br /&gt;
The default IP address of the camera is &#039;&#039;&#039;192.168.0.9&#039;&#039;&#039; netmask &#039;&#039;&#039;255.255.255.0&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You should be able to ping the camera from another machine on the same subnet.&lt;br /&gt;
&lt;br /&gt;
By default, the following TCP ports are open:&lt;br /&gt;
&lt;br /&gt;
21/ftp&lt;br /&gt;
&lt;br /&gt;
23/telnet&lt;br /&gt;
&lt;br /&gt;
80/http&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Logging in ===&lt;br /&gt;
&lt;br /&gt;
You can log in to the camera via telnet on TCP port 23&lt;br /&gt;
&lt;br /&gt;
User: &#039;&#039;&#039;root&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Password: &#039;&#039;&#039;pass&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Serial port ===&lt;br /&gt;
&lt;br /&gt;
The serial port settings (additional board 308 needed)&lt;br /&gt;
&lt;br /&gt;
Speed: 19200 8N1&lt;br /&gt;
&lt;br /&gt;
RTS/CTS: None&lt;br /&gt;
&lt;br /&gt;
XON/XOFF : None&lt;br /&gt;
&lt;br /&gt;
=== Changing IP address of the camera ===&lt;br /&gt;
&lt;br /&gt;
The camera network settings can be changed by going to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;http://&amp;lt;camera_ip&amp;gt;/axis.html&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
from an attached computer.&lt;br /&gt;
&lt;br /&gt;
=== Multicast routing in Linux ===&lt;br /&gt;
&lt;br /&gt;
In order to use the multicast streaming from the cameras, you need to add the following route rule to an attached PC:&lt;br /&gt;
    route add -net 224.0.0.0 netmask 240.0.0.0 &amp;lt;interface&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;interface&amp;gt; is the interface connected to the camera (e.g. eth0).&lt;br /&gt;
&lt;br /&gt;
The knoppix live CD/DVD does this for you automatically.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&#039;&#039;Free Software and Open Hardware. Elphel, Inc., 2005&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7925</id>
		<title>Using the cameras</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7925"/>
		<updated>2006-03-04T15:34:19Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* Necessary cables */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Manual Header}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Elphel network cameras — complex devices in whose development advanced technologies and non-standard program decisions are used. We constantly improve our products so that users can use the cameras with the least expense of time and effort. In this section of Elphel Network Cameras Manual you can find detailed information about using Elphel cameras.&lt;br /&gt;
&lt;br /&gt;
== Complete set ==&lt;br /&gt;
&lt;br /&gt;
The complete camera delivery set includes the actual network camera Elphel-313/323/333, and Live-CD or Live-DVD with a special edition of the Debian-based GNU/Linux operating system Knoppix, complete with all the necessary software for the camera. &lt;br /&gt;
&lt;br /&gt;
The complete delivery set can also include lenses, an external power unit and connection cables for an additional payment.&lt;br /&gt;
&lt;br /&gt;
== Appearance ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Cam side.jpg]] The Elphel-313/333 camera case is folding and made of anodized aluminium. Overall dimensions 116х45х45 mm, weight approximately 150 g (without lens). &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam front.jpg]] The carving socket for standard C/CS-mount lenses is located on the front of the camera. &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam back.jpg]] On the back side of the camera case are located a socket for connection of a network cable, a switch-on push button for the software reloading mode, and camera&#039;s model number mark. We constantly improve our products, therefore the number and appearance of the elements placed on the back panel can change. &lt;br /&gt;
&lt;br /&gt;
On the bottom of the camera case is the standard carving socket for installation of the camera on a support.&lt;br /&gt;
&lt;br /&gt;
== Connection ==&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Power_over_Ethernet PoE] (IEEE 802.3af) technology is used to provide power to the Elphel cameras, using the same cable as that used for network connection.&lt;br /&gt;
&lt;br /&gt;
The Elphel camera has a standard RJ-45 Ethernet port, and can be connected to a local network. This port is also used to provide power to the camera. You can do it in two ways:&lt;br /&gt;
&lt;br /&gt;
1. Use the external power supply with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
2. Use the PoE switch with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
=== External power supply ===&lt;br /&gt;
&lt;br /&gt;
[[image:power_supply.png]] &lt;br /&gt;
&lt;br /&gt;
The power supply has two built in RJ-45 jacks. J1 jack provides 48VDC and is used for connection to camera. You must use CAT5 &amp;quot;Crossover&amp;quot; cable for connection between J1 and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
J2 jack is used for connection to a hub/switch. You must use standard CAT5 cable for connection between J2 and the hub/switch RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== PoE switch ===&lt;br /&gt;
&lt;br /&gt;
[[image:poe_switch.jpg]]&lt;br /&gt;
&lt;br /&gt;
PoE switches have special RJ-45 jacks which provide the 48VDC.  You must use standard CAT5 cable for connection between the PoE switch special RJ-45 jacks and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== Necessary cables ===&lt;br /&gt;
&lt;br /&gt;
[[image:cable.jpg]]&lt;br /&gt;
&lt;br /&gt;
Two cable types are necessary for Elphel cameras - standard CAT5 cable and CAT5 &amp;quot;Crossover&amp;quot; cable if &#039;&#039;the camera is connected directly to the computer&#039;&#039;. Crossover cable is the same as used to connect two computers together with a single cable. If the camera is connected to a switch/hub (directly to the powered switch or through additional &#039;&#039;midspan&#039;&#039; power supply) no crossover cable is needed, all cables are straight.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
How to wire a &amp;amp;quot;Crossover&amp;amp;quot; Cable.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;table width=&amp;quot;600&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; &amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #1&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #2&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          2 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 WHT/BRN&amp;lt;br&amp;gt;&lt;br /&gt;
          8 BRN/WHT&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          2 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 BRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          8 WHT/BRN&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Color abbreviations:&lt;br /&gt;
&lt;br /&gt;
WHT-WHITE&lt;br /&gt;
&lt;br /&gt;
BRN-BROWN&lt;br /&gt;
&lt;br /&gt;
ORG-ORANGE&lt;br /&gt;
&lt;br /&gt;
GRN-GREEN&lt;br /&gt;
&lt;br /&gt;
BLU-BLUE&lt;br /&gt;
&lt;br /&gt;
The first color listed in the color pair is the dominant color of the wire. In other words, WHT/ORG is a white wire with orange stripes.&lt;br /&gt;
&lt;br /&gt;
== Main Control Page ==&lt;br /&gt;
&lt;br /&gt;
The Main Control Page uses javaScript to process user input (input fields and window of interest that can be selected by dragging a frame with the mouse), and combines all the camera acquisition parameters in a single GET request to a CGI program in the camera through the embedded web server (Boa). Currently the camera does not support simultaneous access as each request actually controls the camera operation mode (including sensor resolution and frame rate) and does not just connect to the camera output. &lt;br /&gt;
&lt;br /&gt;
=== Page layout ===&lt;br /&gt;
&lt;br /&gt;
On the top part of the page you should see a preview image. It is always 640x512, 800x600 or 512x386 pixels (1/2 or 1/4 of camera resolution depending on the sensor) and does not change with the selected decimation and window of interest (red rectangle over the image). &lt;br /&gt;
&lt;br /&gt;
Below the preview image there are the camera controls:&lt;br /&gt;
&lt;br /&gt;
=== General Controls ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Window&#039;&#039;&#039; section there are 2 buttons at the bottom-right corner of window. You may specify window of interest (WOI) by dragging these buttons with the mouse. You may also change it numerically by entering data to &#039;&#039;&#039;W&#039;&#039;&#039;(idth), &#039;&#039;&#039;H&#039;&#039;&#039;(eight), &#039;&#039;&#039;L&#039;&#039;&#039;(eft) and &#039;&#039;&#039;T&#039;&#039;&#039;(op) input fields below. That numbers are rounded according to the selected sensor decimation and to use integer multiples of 16x16 pixels MCUs in JPEG compression. You may also change WOI by choosing one of the frequently used size from the list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Autoexposure ====&lt;br /&gt;
&lt;br /&gt;
By default the autoexposure is enabled. There is the special multicolor button for autoexposures management. The button colors is:&lt;br /&gt;
&lt;br /&gt;
[[Image:Aegreen.png]] - Autoexposure is enabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aered.png]] - Autoexposure is disabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aeblue.png]] - The autoexposure control window is opened&lt;br /&gt;
&lt;br /&gt;
[[Image:Autoexp_1.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Exposure&#039;&#039;&#039; field there is an input field to specify frame exposure time (in ms) - it is possible to specify fractions. You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Saturation&#039;&#039;&#039; section allows adjusting contrast saturation. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gamma&#039;&#039;&#039; field controls contrast by adjusting intensity conversion, gamma=1.0 corresponds to linear response (high contrast). Values less than 1 increase input dynamic range by expanding low intensity values (low contrast). You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
JPEG &#039;&#039;&#039;Quality&#039;&#039;&#039; sets standard JPEG compression quality. The higher the quality the bigger the resulting file. It does not change the camera frame rate. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;White balance&#039;&#039;&#039; section is a drop-down menu containing four static parameters: &#039;&#039;&#039;Sunlight&#039;&#039;&#039;, &#039;&#039;&#039;Cloudy&#039;&#039;&#039;, &#039;&#039;&#039;Incandenscent&#039;&#039;&#039; and &#039;&#039;&#039;Fluorescent&#039;&#039;&#039;. You can choose one of these parameters to achieve the highest quality image depending on the lighting conditions. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Image size&#039;&#039;&#039; drop-down menu you may choose the static window size. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Resolution&#039;&#039;&#039; section there are a drop-down menu containing a few parameters (from 0 to 8) for changing sensor decimation (resolution). 0 - full sensor decimation, 2 - 1/2 of full sensor decimation, 3 - 1/3 of full sensor decimation etc.&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Binning&#039;&#039;&#039; section there are a drop-down menu containing a few parameters (from 0 to 3) which change the binning mode. Binning can be used only when decimation is greater than 1. Increases sensor sensitivity by combining values from several pixels instead of just discarding them (as done with just decimation).&lt;br /&gt;
&lt;br /&gt;
[[Image:Color.jpg]] In monochrome mode (when the &#039;&#039;&#039;Color&#039;&#039;&#039; radiobutton is not checked) &amp;quot;R&amp;quot; gain settings are used for all channels and color conversion is disabled. &lt;br /&gt;
&lt;br /&gt;
Below are 3 buttons &#039;&#039;&#039;Preview&#039;&#039;&#039;, &#039;&#039;&#039;Reset&#039;&#039;&#039; and &#039;&#039;&#039;Apply&#039;&#039;&#039;. &#039;&#039;&#039;Preview&#039;&#039;&#039; button refreshes the image in the top portion on a page (ignoring selected WOI and decimation), The &#039;&#039;&#039;Reset&#039;&#039;&#039; button returns to the initial adjustment parameters. The &#039;&#039;&#039;Apply&#039;&#039;&#039; button is used to accept the new changes. &lt;br /&gt;
&lt;br /&gt;
Also there are two links after &#039;&#039;&#039;Photo&#039;&#039;&#039;: &#039;&#039;&#039;New&#039;&#039;&#039; contains a link to a camera CGI program that has all the acquisition parameters attached. You may just click it to open the image in a new window or right-click it and select &amp;quot;Save link target as...&amp;quot; (or equivalent) to save the image on your computer. The second link &#039;&#039;&#039;Last&#039;&#039;&#039; points to the last image already in the camera memory; you may use it to save the previously aquired image to your hard drive. &lt;br /&gt;
&lt;br /&gt;
[[Image:Help.png]] button opens this help page. &lt;br /&gt;
&lt;br /&gt;
[[Image:Info.png]] button opens the information window where there is a list of the acquisition parameters used during the last image/clip acquisition.&lt;br /&gt;
&lt;br /&gt;
=== Video Controls ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Video Controls&#039;&#039;&#039; in this section allow users to record a video clip in the camera memory and send it over the LAN/Internet as a Quicktime video file. All settings for the image size, resolution, compression quality, analog gains and exposure are the same as for still images described above, and that link adds extra parameters - &#039;&#039;&#039;Frame Rate&#039;&#039;&#039; and &#039;&#039;&#039;Time Scale&#039;&#039;&#039;. The first sets the desired frame rate (leave blank or set to 0 for the maximal rate), the second field sets how much the playback time is longer than the acquisition one. I.e. setting of &amp;quot;10&amp;quot; makes the clip play 10 times slower that it was shot. &lt;br /&gt;
&lt;br /&gt;
Total size of the clip (6-7MB) is determined by a camera internal buffer used for compressed image storage and the total number of frames as the frame headers are attached during the clip output and are not stored in the buffer. There are 2 ways to shoot a clip (usual duration 3-5 sec, depending on compression quality). First is to press &#039;&#039;&#039;Start stream&#039;&#039;&#039; button, wait for the event to occur and then press &#039;&#039;&#039;Acquire&#039;&#039;&#039;. In this mode after &#039;&#039;&#039;Start stream&#039;&#039;&#039; the camera continuously writes to the buffer, overwriting footage when all the available space is used. Pressing the &#039;&#039;&#039;Stop stream&#039;&#039;&#039; button ends data saving and so the buffer contains the last data recorded. Another way is to press &#039;&#039;&#039;Acquire&#039;&#039;&#039; before the event. In that mode the clip recording starts after the trigger and stops when the whole buffer is full. &lt;br /&gt;
&lt;br /&gt;
There are additional controls to preview a videoclip from the camera memory. Frame number 1 is the first one, 2 - second, etc. Frame number 0 is the last one in the clip, -1 - previous before last, etc. Any image acquisition (including &#039;&#039;&#039;Preview&#039;&#039;&#039;) erases the stored clip and makes it one frame long. &lt;br /&gt;
&lt;br /&gt;
Clicking on the &#039;&#039;&#039;Video Clip&#039;&#039;&#039; link opens the clip in the Apple QuickTime ™ (or compatible) player plugin (if installed) - you may also use this link to save the clip as a file on your computer.&lt;br /&gt;
&lt;br /&gt;
=== Advanced Panel ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 2.jpg]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Advanced Panel&#039;&#039;&#039; tab opens additional adjustment parameters for the image. In this section you may specify more exact adjustments of color levels of the image. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gains&#039;&#039;&#039; section controls the sensor analog gain settings. &#039;&#039;&#039;R&#039;&#039;&#039;, &#039;&#039;&#039;G&#039;&#039;&#039; and &#039;&#039;&#039;B&#039;&#039;&#039; input fields control color component gains. Using high gain settings increases sensor noise but is required to view fast events with 1ms exposure time with the lighting used in the current setup. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;R-Y&#039;&#039;&#039; specifies color saturation for red color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B-Y&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;W&#039;&#039;&#039; specifies level saturation for white color component. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-X&#039;&#039;&#039; button allows turning the image horizontally. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-Y&#039;&#039;&#039; button allows turning the image vertically. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;NOTE: Some parameters (e.g. window size) cannot be changed without stopping the acquisition/compression.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Technical Information for the Elphel-333 ==&lt;br /&gt;
&lt;br /&gt;
=== Default Setup ===&lt;br /&gt;
&lt;br /&gt;
The default IP address of the camera is &#039;&#039;&#039;192.168.0.9&#039;&#039;&#039; netmask &#039;&#039;&#039;255.255.255.0&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You should be able to ping the camera from another machine on the same subnet.&lt;br /&gt;
&lt;br /&gt;
By default, the following TCP ports are open:&lt;br /&gt;
&lt;br /&gt;
21/ftp&lt;br /&gt;
&lt;br /&gt;
23/telnet&lt;br /&gt;
&lt;br /&gt;
80/http&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Logging in ===&lt;br /&gt;
&lt;br /&gt;
You can log in to the camera via telnet on TCP port 23&lt;br /&gt;
&lt;br /&gt;
User: &#039;&#039;&#039;root&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Password: &#039;&#039;&#039;pass&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Serial port ===&lt;br /&gt;
&lt;br /&gt;
The serial port settings (additional board 308 needed)&lt;br /&gt;
&lt;br /&gt;
Speed: 19200 8N1&lt;br /&gt;
&lt;br /&gt;
RTS/CTS: None&lt;br /&gt;
&lt;br /&gt;
XON/XOFF : None&lt;br /&gt;
&lt;br /&gt;
=== Changing IP address of the camera ===&lt;br /&gt;
&lt;br /&gt;
The camera network settings can be changed by going to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;http://&amp;lt;camera_ip&amp;gt;/axis.html&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
from an attached computer.&lt;br /&gt;
&lt;br /&gt;
=== Multicast routing in Linux ===&lt;br /&gt;
&lt;br /&gt;
In order to use the multicast streaming from the cameras, you need to add the following route rule to an attached PC:&lt;br /&gt;
    route add -net 224.0.0.0 netmask 240.0.0.0 &amp;lt;interface&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;interface&amp;gt; is the interface connected to the camera (e.g. eth0).&lt;br /&gt;
&lt;br /&gt;
The knoppix live CD/DVD does this for you automatically.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&#039;&#039;Free Software and Open Hardware. Elphel, Inc., 2005&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7924</id>
		<title>Using the cameras</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7924"/>
		<updated>2006-03-03T19:20:54Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* General Controls */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Manual Header}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Elphel network cameras — complex devices in whose development advanced technologies and non-standard program decisions are used. We constantly improve our products so that users can use the cameras with the least expense of time and effort. In this section of Elphel Network Cameras Manual you can find detailed information about using Elphel cameras.&lt;br /&gt;
&lt;br /&gt;
== Complete set ==&lt;br /&gt;
&lt;br /&gt;
The complete camera delivery set includes the actual network camera Elphel-313/323/333, and Live-CD or Live-DVD with a special edition of the Debian-based GNU/Linux operating system Knoppix, complete with all the necessary software for the camera. &lt;br /&gt;
&lt;br /&gt;
The complete delivery set can also include lenses, an external power unit and connection cables for an additional payment.&lt;br /&gt;
&lt;br /&gt;
== Appearance ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Cam side.jpg]] The Elphel-313/333 camera case is folding and made of anodized aluminium. Overall dimensions 116х45х45 mm, weight approximately 150 g (without lens). &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam front.jpg]] The carving socket for standard C/CS-mount lenses is located on the front of the camera. &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam back.jpg]] On the back side of the camera case are located a socket for connection of a network cable, a switch-on push button for the software reloading mode, and camera&#039;s model number mark. We constantly improve our products, therefore the number and appearance of the elements placed on the back panel can change. &lt;br /&gt;
&lt;br /&gt;
On the bottom of the camera case is the standard carving socket for installation of the camera on a support.&lt;br /&gt;
&lt;br /&gt;
== Connection ==&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Power_over_Ethernet PoE] (IEEE 802.3af) technology is used to provide power to the Elphel cameras, using the same cable as that used for network connection.&lt;br /&gt;
&lt;br /&gt;
The Elphel camera has a standard RJ-45 Ethernet port, and can be connected to a local network. This port is also used to provide power to the camera. You can do it in two ways:&lt;br /&gt;
&lt;br /&gt;
1. Use the external power supply with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
2. Use the PoE switch with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
=== External power supply ===&lt;br /&gt;
&lt;br /&gt;
[[image:power_supply.png]] &lt;br /&gt;
&lt;br /&gt;
The power supply has two built in RJ-45 jacks. J1 jack provides 48VDC and is used for connection to camera. You must use CAT5 &amp;quot;Crossover&amp;quot; cable for connection between J1 and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
J2 jack is used for connection to a hub/switch. You must use standard CAT5 cable for connection between J2 and the hub/switch RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== PoE switch ===&lt;br /&gt;
&lt;br /&gt;
[[image:poe_switch.jpg]]&lt;br /&gt;
&lt;br /&gt;
PoE switches have special RJ-45 jacks which provide the 48VDC.  You must use standard CAT5 cable for connection between the PoE switch special RJ-45 jacks and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== Necessary cables ===&lt;br /&gt;
&lt;br /&gt;
[[image:cable.jpg]]&lt;br /&gt;
&lt;br /&gt;
Two cable types are necessary for Elphel cameras - standard CAT5 cable and CAT5 &amp;quot;Crossover&amp;quot; cable if &#039;&#039;the camera is connected directly to the computer&#039;&#039;. Crossover cable is the same as used to connect two computers together with a single cable. If the camera is connected to a switch/hub (directly to the powered switch or through additional &#039;&#039;midspan&#039;&#039; power supply) no crossover cable is needed, all cables are straight.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[image:cable_jack.png]]&lt;br /&gt;
&lt;br /&gt;
How to wire a &amp;amp;quot;Crossover&amp;amp;quot; Cable.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;table width=&amp;quot;600&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; &amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #1&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #2&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          2 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 WHT/BRN&amp;lt;br&amp;gt;&lt;br /&gt;
          8 BRN/WHT&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          2 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 BRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          8 WHT/BRN&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Color abbreviations:&lt;br /&gt;
&lt;br /&gt;
WHT-WHITE&lt;br /&gt;
&lt;br /&gt;
BRN-BROWN&lt;br /&gt;
&lt;br /&gt;
ORG-ORANGE&lt;br /&gt;
&lt;br /&gt;
GRN-GREEN&lt;br /&gt;
&lt;br /&gt;
BLU-BLUE&lt;br /&gt;
&lt;br /&gt;
The first color listed in the color pair is the dominant color of the wire. In other words, WHT/ORG is a white wire with orange stripes.&lt;br /&gt;
&lt;br /&gt;
== Main Control Page ==&lt;br /&gt;
&lt;br /&gt;
The Main Control Page uses javaScript to process user input (input fields and window of interest that can be selected by dragging a frame with the mouse), and combines all the camera acquisition parameters in a single GET request to a CGI program in the camera through the embedded web server (Boa). Currently the camera does not support simultaneous access as each request actually controls the camera operation mode (including sensor resolution and frame rate) and does not just connect to the camera output. &lt;br /&gt;
&lt;br /&gt;
=== Page layout ===&lt;br /&gt;
&lt;br /&gt;
On the top part of the page you should see a preview image. It is always 640x512, 800x600 or 512x386 pixels (1/2 or 1/4 of camera resolution depending on the sensor) and does not change with the selected decimation and window of interest (red rectangle over the image). &lt;br /&gt;
&lt;br /&gt;
Below the preview image there are the camera controls:&lt;br /&gt;
&lt;br /&gt;
=== General Controls ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Window&#039;&#039;&#039; section there are 2 buttons at the bottom-right corner of window. You may specify window of interest (WOI) by dragging these buttons with the mouse. You may also change it numerically by entering data to &#039;&#039;&#039;W&#039;&#039;&#039;(idth), &#039;&#039;&#039;H&#039;&#039;&#039;(eight), &#039;&#039;&#039;L&#039;&#039;&#039;(eft) and &#039;&#039;&#039;T&#039;&#039;&#039;(op) input fields below. That numbers are rounded according to the selected sensor decimation and to use integer multiples of 16x16 pixels MCUs in JPEG compression. You may also change WOI by choosing one of the frequently used size from the list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Autoexposure ====&lt;br /&gt;
&lt;br /&gt;
By default the autoexposure is enabled. There is the special multicolor button for autoexposures management. The button colors is:&lt;br /&gt;
&lt;br /&gt;
[[Image:Aegreen.png]] - Autoexposure is enabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aered.png]] - Autoexposure is disabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aeblue.png]] - The autoexposure control window is opened&lt;br /&gt;
&lt;br /&gt;
[[Image:Autoexp_1.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Exposure&#039;&#039;&#039; field there is an input field to specify frame exposure time (in ms) - it is possible to specify fractions. You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Saturation&#039;&#039;&#039; section allows adjusting contrast saturation. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gamma&#039;&#039;&#039; field controls contrast by adjusting intensity conversion, gamma=1.0 corresponds to linear response (high contrast). Values less than 1 increase input dynamic range by expanding low intensity values (low contrast). You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
JPEG &#039;&#039;&#039;Quality&#039;&#039;&#039; sets standard JPEG compression quality. The higher the quality the bigger the resulting file. It does not change the camera frame rate. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;White balance&#039;&#039;&#039; section is a drop-down menu containing four static parameters: &#039;&#039;&#039;Sunlight&#039;&#039;&#039;, &#039;&#039;&#039;Cloudy&#039;&#039;&#039;, &#039;&#039;&#039;Incandenscent&#039;&#039;&#039; and &#039;&#039;&#039;Fluorescent&#039;&#039;&#039;. You can choose one of these parameters to achieve the highest quality image depending on the lighting conditions. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Image size&#039;&#039;&#039; drop-down menu you may choose the static window size. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Resolution&#039;&#039;&#039; section there are a drop-down menu containing a few parameters (from 0 to 8) for changing sensor decimation (resolution). 0 - full sensor decimation, 2 - 1/2 of full sensor decimation, 3 - 1/3 of full sensor decimation etc.&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Binning&#039;&#039;&#039; section there are a drop-down menu containing a few parameters (from 0 to 3) which change the binning mode. Binning can be used only when decimation is greater than 1. Increases sensor sensitivity by combining values from several pixels instead of just discarding them (as done with just decimation).&lt;br /&gt;
&lt;br /&gt;
[[Image:Color.jpg]] In monochrome mode (when the &#039;&#039;&#039;Color&#039;&#039;&#039; radiobutton is not checked) &amp;quot;R&amp;quot; gain settings are used for all channels and color conversion is disabled. &lt;br /&gt;
&lt;br /&gt;
Below are 3 buttons &#039;&#039;&#039;Preview&#039;&#039;&#039;, &#039;&#039;&#039;Reset&#039;&#039;&#039; and &#039;&#039;&#039;Apply&#039;&#039;&#039;. &#039;&#039;&#039;Preview&#039;&#039;&#039; button refreshes the image in the top portion on a page (ignoring selected WOI and decimation), The &#039;&#039;&#039;Reset&#039;&#039;&#039; button returns to the initial adjustment parameters. The &#039;&#039;&#039;Apply&#039;&#039;&#039; button is used to accept the new changes. &lt;br /&gt;
&lt;br /&gt;
Also there are two links after &#039;&#039;&#039;Photo&#039;&#039;&#039;: &#039;&#039;&#039;New&#039;&#039;&#039; contains a link to a camera CGI program that has all the acquisition parameters attached. You may just click it to open the image in a new window or right-click it and select &amp;quot;Save link target as...&amp;quot; (or equivalent) to save the image on your computer. The second link &#039;&#039;&#039;Last&#039;&#039;&#039; points to the last image already in the camera memory; you may use it to save the previously aquired image to your hard drive. &lt;br /&gt;
&lt;br /&gt;
[[Image:Help.png]] button opens this help page. &lt;br /&gt;
&lt;br /&gt;
[[Image:Info.png]] button opens the information window where there is a list of the acquisition parameters used during the last image/clip acquisition.&lt;br /&gt;
&lt;br /&gt;
=== Video Controls ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Video Controls&#039;&#039;&#039; in this section allow users to record a video clip in the camera memory and send it over the LAN/Internet as a Quicktime video file. All settings for the image size, resolution, compression quality, analog gains and exposure are the same as for still images described above, and that link adds extra parameters - &#039;&#039;&#039;Frame Rate&#039;&#039;&#039; and &#039;&#039;&#039;Time Scale&#039;&#039;&#039;. The first sets the desired frame rate (leave blank or set to 0 for the maximal rate), the second field sets how much the playback time is longer than the acquisition one. I.e. setting of &amp;quot;10&amp;quot; makes the clip play 10 times slower that it was shot. &lt;br /&gt;
&lt;br /&gt;
Total size of the clip (6-7MB) is determined by a camera internal buffer used for compressed image storage and the total number of frames as the frame headers are attached during the clip output and are not stored in the buffer. There are 2 ways to shoot a clip (usual duration 3-5 sec, depending on compression quality). First is to press &#039;&#039;&#039;Start stream&#039;&#039;&#039; button, wait for the event to occur and then press &#039;&#039;&#039;Acquire&#039;&#039;&#039;. In this mode after &#039;&#039;&#039;Start stream&#039;&#039;&#039; the camera continuously writes to the buffer, overwriting footage when all the available space is used. Pressing the &#039;&#039;&#039;Stop stream&#039;&#039;&#039; button ends data saving and so the buffer contains the last data recorded. Another way is to press &#039;&#039;&#039;Acquire&#039;&#039;&#039; before the event. In that mode the clip recording starts after the trigger and stops when the whole buffer is full. &lt;br /&gt;
&lt;br /&gt;
There are additional controls to preview a videoclip from the camera memory. Frame number 1 is the first one, 2 - second, etc. Frame number 0 is the last one in the clip, -1 - previous before last, etc. Any image acquisition (including &#039;&#039;&#039;Preview&#039;&#039;&#039;) erases the stored clip and makes it one frame long. &lt;br /&gt;
&lt;br /&gt;
Clicking on the &#039;&#039;&#039;Video Clip&#039;&#039;&#039; link opens the clip in the Apple QuickTime ™ (or compatible) player plugin (if installed) - you may also use this link to save the clip as a file on your computer.&lt;br /&gt;
&lt;br /&gt;
=== Advanced Panel ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 2.jpg]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Advanced Panel&#039;&#039;&#039; tab opens additional adjustment parameters for the image. In this section you may specify more exact adjustments of color levels of the image. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gains&#039;&#039;&#039; section controls the sensor analog gain settings. &#039;&#039;&#039;R&#039;&#039;&#039;, &#039;&#039;&#039;G&#039;&#039;&#039; and &#039;&#039;&#039;B&#039;&#039;&#039; input fields control color component gains. Using high gain settings increases sensor noise but is required to view fast events with 1ms exposure time with the lighting used in the current setup. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;R-Y&#039;&#039;&#039; specifies color saturation for red color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B-Y&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;W&#039;&#039;&#039; specifies level saturation for white color component. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-X&#039;&#039;&#039; button allows turning the image horizontally. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-Y&#039;&#039;&#039; button allows turning the image vertically. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;NOTE: Some parameters (e.g. window size) cannot be changed without stopping the acquisition/compression.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Technical Information for the Elphel-333 ==&lt;br /&gt;
&lt;br /&gt;
=== Default Setup ===&lt;br /&gt;
&lt;br /&gt;
The default IP address of the camera is &#039;&#039;&#039;192.168.0.9&#039;&#039;&#039; netmask &#039;&#039;&#039;255.255.255.0&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You should be able to ping the camera from another machine on the same subnet.&lt;br /&gt;
&lt;br /&gt;
By default, the following TCP ports are open:&lt;br /&gt;
&lt;br /&gt;
21/ftp&lt;br /&gt;
&lt;br /&gt;
23/telnet&lt;br /&gt;
&lt;br /&gt;
80/http&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Logging in ===&lt;br /&gt;
&lt;br /&gt;
You can log in to the camera via telnet on TCP port 23&lt;br /&gt;
&lt;br /&gt;
User: &#039;&#039;&#039;root&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Password: &#039;&#039;&#039;pass&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Serial port ===&lt;br /&gt;
&lt;br /&gt;
The serial port settings (additional board 308 needed)&lt;br /&gt;
&lt;br /&gt;
Speed: 19200 8N1&lt;br /&gt;
&lt;br /&gt;
RTS/CTS: None&lt;br /&gt;
&lt;br /&gt;
XON/XOFF : None&lt;br /&gt;
&lt;br /&gt;
=== Changing IP address of the camera ===&lt;br /&gt;
&lt;br /&gt;
The camera network settings can be changed by going to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;http://&amp;lt;camera_ip&amp;gt;/axis.html&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
from an attached computer.&lt;br /&gt;
&lt;br /&gt;
=== Multicast routing in Linux ===&lt;br /&gt;
&lt;br /&gt;
In order to use the multicast streaming from the cameras, you need to add the following route rule to an attached PC:&lt;br /&gt;
    route add -net 224.0.0.0 netmask 240.0.0.0 &amp;lt;interface&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;interface&amp;gt; is the interface connected to the camera (e.g. eth0).&lt;br /&gt;
&lt;br /&gt;
The knoppix live CD/DVD does this for you automatically.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&#039;&#039;Free Software and Open Hardware. Elphel, Inc., 2005&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7923</id>
		<title>Using the cameras</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7923"/>
		<updated>2006-03-03T18:16:32Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* General Controls */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Manual Header}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Elphel network cameras — complex devices in whose development advanced technologies and non-standard program decisions are used. We constantly improve our products so that users can use the cameras with the least expense of time and effort. In this section of Elphel Network Cameras Manual you can find detailed information about using Elphel cameras.&lt;br /&gt;
&lt;br /&gt;
== Complete set ==&lt;br /&gt;
&lt;br /&gt;
The complete camera delivery set includes the actual network camera Elphel-313/323/333, and Live-CD or Live-DVD with a special edition of the Debian-based GNU/Linux operating system Knoppix, complete with all the necessary software for the camera. &lt;br /&gt;
&lt;br /&gt;
The complete delivery set can also include lenses, an external power unit and connection cables for an additional payment.&lt;br /&gt;
&lt;br /&gt;
== Appearance ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Cam side.jpg]] The Elphel-313/333 camera case is folding and made of anodized aluminium. Overall dimensions 116х45х45 mm, weight approximately 150 g (without lens). &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam front.jpg]] The carving socket for standard C/CS-mount lenses is located on the front of the camera. &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam back.jpg]] On the back side of the camera case are located a socket for connection of a network cable, a switch-on push button for the software reloading mode, and camera&#039;s model number mark. We constantly improve our products, therefore the number and appearance of the elements placed on the back panel can change. &lt;br /&gt;
&lt;br /&gt;
On the bottom of the camera case is the standard carving socket for installation of the camera on a support.&lt;br /&gt;
&lt;br /&gt;
== Connection ==&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Power_over_Ethernet PoE] (IEEE 802.3af) technology is used to provide power to the Elphel cameras, using the same cable as that used for network connection.&lt;br /&gt;
&lt;br /&gt;
The Elphel camera has a standard RJ-45 Ethernet port, and can be connected to a local network. This port is also used to provide power to the camera. You can do it in two ways:&lt;br /&gt;
&lt;br /&gt;
1. Use the external power supply with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
2. Use the PoE switch with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
=== External power supply ===&lt;br /&gt;
&lt;br /&gt;
[[image:power_supply.png]] &lt;br /&gt;
&lt;br /&gt;
The power supply has two built in RJ-45 jacks. J1 jack provides 48VDC and is used for connection to camera. You must use CAT5 &amp;quot;Crossover&amp;quot; cable for connection between J1 and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
J2 jack is used for connection to a hub/switch. You must use standard CAT5 cable for connection between J2 and the hub/switch RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== PoE switch ===&lt;br /&gt;
&lt;br /&gt;
[[image:poe_switch.jpg]]&lt;br /&gt;
&lt;br /&gt;
PoE switches have special RJ-45 jacks which provide the 48VDC.  You must use standard CAT5 cable for connection between the PoE switch special RJ-45 jacks and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== Necessary cables ===&lt;br /&gt;
&lt;br /&gt;
[[image:cable.jpg]]&lt;br /&gt;
&lt;br /&gt;
Two cable types are necessary for Elphel cameras - standard CAT5 cable and CAT5 &amp;quot;Crossover&amp;quot; cable if &#039;&#039;the camera is connected directly to the computer&#039;&#039;. Crossover cable is the same as used to connect two computers together with a single cable. If the camera is connected to a switch/hub (directly to the powered switch or through additional &#039;&#039;midspan&#039;&#039; power supply) no crossover cable is needed, all cables are straight.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[image:cable_jack.png]]&lt;br /&gt;
&lt;br /&gt;
How to wire a &amp;amp;quot;Crossover&amp;amp;quot; Cable.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;table width=&amp;quot;600&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; &amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #1&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #2&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          2 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 WHT/BRN&amp;lt;br&amp;gt;&lt;br /&gt;
          8 BRN/WHT&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          2 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 BRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          8 WHT/BRN&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Color abbreviations:&lt;br /&gt;
&lt;br /&gt;
WHT-WHITE&lt;br /&gt;
&lt;br /&gt;
BRN-BROWN&lt;br /&gt;
&lt;br /&gt;
ORG-ORANGE&lt;br /&gt;
&lt;br /&gt;
GRN-GREEN&lt;br /&gt;
&lt;br /&gt;
BLU-BLUE&lt;br /&gt;
&lt;br /&gt;
The first color listed in the color pair is the dominant color of the wire. In other words, WHT/ORG is a white wire with orange stripes.&lt;br /&gt;
&lt;br /&gt;
== Main Control Page ==&lt;br /&gt;
&lt;br /&gt;
The Main Control Page uses javaScript to process user input (input fields and window of interest that can be selected by dragging a frame with the mouse), and combines all the camera acquisition parameters in a single GET request to a CGI program in the camera through the embedded web server (Boa). Currently the camera does not support simultaneous access as each request actually controls the camera operation mode (including sensor resolution and frame rate) and does not just connect to the camera output. &lt;br /&gt;
&lt;br /&gt;
=== Page layout ===&lt;br /&gt;
&lt;br /&gt;
On the top part of the page you should see a preview image. It is always 640x512, 800x600 or 512x386 pixels (1/2 or 1/4 of camera resolution depending on the sensor) and does not change with the selected decimation and window of interest (red rectangle over the image). &lt;br /&gt;
&lt;br /&gt;
Below the preview image there are the camera controls:&lt;br /&gt;
&lt;br /&gt;
=== General Controls ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Window&#039;&#039;&#039; section there are 2 buttons at the bottom-right corner of window. You may specify window of interest (WOI) by dragging these buttons with the mouse. You may also change it numerically by entering data to &#039;&#039;&#039;W&#039;&#039;&#039;(idth), &#039;&#039;&#039;H&#039;&#039;&#039;(eight), &#039;&#039;&#039;L&#039;&#039;&#039;(eft) and &#039;&#039;&#039;T&#039;&#039;&#039;(op) input fields below. That numbers are rounded according to the selected sensor decimation and to use integer multiples of 16x16 pixels MCUs in JPEG compression. You may also change WOI by choosing one of the frequently used size from the list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Autoexposure ====&lt;br /&gt;
&lt;br /&gt;
By default the autoexposure is enabled. There is the special multicolor button for autoexposures management. The button colors is:&lt;br /&gt;
&lt;br /&gt;
[[Image:Aegreen.png]] - Autoexposure is enabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aered.png]] - Autoexposure is disabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aeblue.png]] - The autoexposure control window is opened&lt;br /&gt;
&lt;br /&gt;
[[Image:Autoexp_1.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Exposure&#039;&#039;&#039; field there is an input field to specify frame exposure time (in ms) - it is possible to specify fractions. You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Saturation&#039;&#039;&#039; section allows adjusting contrast saturation. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gamma&#039;&#039;&#039; field controls contrast by adjusting intensity conversion, gamma=1.0 corresponds to linear response (high contrast). Values less than 1 increase input dynamic range by expanding low intensity values (low contrast). You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
JPEG &#039;&#039;&#039;Quality&#039;&#039;&#039; sets standard JPEG compression quality. The higher the quality the bigger the resulting file. It does not change the camera frame rate. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;White balance&#039;&#039;&#039; section is a drop-down menu containing four static parameters: &#039;&#039;&#039;Sunlight&#039;&#039;&#039;, &#039;&#039;&#039;Cloudy&#039;&#039;&#039;, &#039;&#039;&#039;Incandenscent&#039;&#039;&#039; and &#039;&#039;&#039;Fluorescent&#039;&#039;&#039;. You can choose one of these parameters to achieve the highest quality image depending on the lighting conditions. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Image size&#039;&#039;&#039; drop-down menu you may choose the static window size. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Resolution&#039;&#039;&#039; section there are a drop-down menu containing a few parameters (from 0 to 8) for changing resolution. 0 - full resolution, 2 - 1/2 of full resolution, 3 - 1/3 of full resolution etc.&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Binning&#039;&#039;&#039; section there are a drop-down menu containing a few parameters (from 0 to 3) which change the binning mode. A CCD chip is an array of rectangular (generally square) light detecting regions called pixels (for picture elements). Sometimes pictures can be taken by combining the information in adjacent pixels and make them one effective superpixel. The figures below represent a detector of 144 pixels with the red squares indicating the current binning mode.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=0 width=80%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Bin1.jpg]]&lt;br /&gt;
&lt;br /&gt;
Binning 1x1 (&amp;quot;No&amp;quot; mode)&lt;br /&gt;
&lt;br /&gt;
Number of pixels: 144&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Bin2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Binning 2x2 (&amp;quot;2&amp;quot; mode)&lt;br /&gt;
&lt;br /&gt;
Number of pixels: 36&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Bin3.jpg]]&lt;br /&gt;
&lt;br /&gt;
Binning 3x3 (&amp;quot;3&amp;quot; mode)&lt;br /&gt;
&lt;br /&gt;
Number of pixels: 16&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In Elphel cameras the binning works if the &#039;&#039;&#039;Resolution&#039;&#039;&#039; is changed to non full size mode. In this case the &amp;quot;passed&amp;quot; pixels are used for binning.&lt;br /&gt;
&lt;br /&gt;
[[Image:Color.jpg]] In monochrome mode (when the &#039;&#039;&#039;Color&#039;&#039;&#039; radiobutton is not checked) &amp;quot;R&amp;quot; gain settings are used for all channels and color conversion is disabled. &lt;br /&gt;
&lt;br /&gt;
Below are 3 buttons &#039;&#039;&#039;Preview&#039;&#039;&#039;, &#039;&#039;&#039;Reset&#039;&#039;&#039; and &#039;&#039;&#039;Apply&#039;&#039;&#039;. &#039;&#039;&#039;Preview&#039;&#039;&#039; button refreshes the image in the top portion on a page (ignoring selected WOI and decimation), The &#039;&#039;&#039;Reset&#039;&#039;&#039; button returns to the initial adjustment parameters. The &#039;&#039;&#039;Apply&#039;&#039;&#039; button is used to accept the new changes. &lt;br /&gt;
&lt;br /&gt;
Also there are two links after &#039;&#039;&#039;Photo&#039;&#039;&#039;: &#039;&#039;&#039;New&#039;&#039;&#039; contains a link to a camera CGI program that has all the acquisition parameters attached. You may just click it to open the image in a new window or right-click it and select &amp;quot;Save link target as...&amp;quot; (or equivalent) to save the image on your computer. The second link &#039;&#039;&#039;Last&#039;&#039;&#039; points to the last image already in the camera memory; you may use it to save the previously aquired image to your hard drive. &lt;br /&gt;
&lt;br /&gt;
[[Image:Help.png]] button opens this help page. &lt;br /&gt;
&lt;br /&gt;
[[Image:Info.png]] button opens the information window where there is a list of the acquisition parameters used during the last image/clip acquisition.&lt;br /&gt;
&lt;br /&gt;
=== Video Controls ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Video Controls&#039;&#039;&#039; in this section allow users to record a video clip in the camera memory and send it over the LAN/Internet as a Quicktime video file. All settings for the image size, resolution, compression quality, analog gains and exposure are the same as for still images described above, and that link adds extra parameters - &#039;&#039;&#039;Frame Rate&#039;&#039;&#039; and &#039;&#039;&#039;Time Scale&#039;&#039;&#039;. The first sets the desired frame rate (leave blank or set to 0 for the maximal rate), the second field sets how much the playback time is longer than the acquisition one. I.e. setting of &amp;quot;10&amp;quot; makes the clip play 10 times slower that it was shot. &lt;br /&gt;
&lt;br /&gt;
Total size of the clip (6-7MB) is determined by a camera internal buffer used for compressed image storage and the total number of frames as the frame headers are attached during the clip output and are not stored in the buffer. There are 2 ways to shoot a clip (usual duration 3-5 sec, depending on compression quality). First is to press &#039;&#039;&#039;Start stream&#039;&#039;&#039; button, wait for the event to occur and then press &#039;&#039;&#039;Acquire&#039;&#039;&#039;. In this mode after &#039;&#039;&#039;Start stream&#039;&#039;&#039; the camera continuously writes to the buffer, overwriting footage when all the available space is used. Pressing the &#039;&#039;&#039;Stop stream&#039;&#039;&#039; button ends data saving and so the buffer contains the last data recorded. Another way is to press &#039;&#039;&#039;Acquire&#039;&#039;&#039; before the event. In that mode the clip recording starts after the trigger and stops when the whole buffer is full. &lt;br /&gt;
&lt;br /&gt;
There are additional controls to preview a videoclip from the camera memory. Frame number 1 is the first one, 2 - second, etc. Frame number 0 is the last one in the clip, -1 - previous before last, etc. Any image acquisition (including &#039;&#039;&#039;Preview&#039;&#039;&#039;) erases the stored clip and makes it one frame long. &lt;br /&gt;
&lt;br /&gt;
Clicking on the &#039;&#039;&#039;Video Clip&#039;&#039;&#039; link opens the clip in the Apple QuickTime ™ (or compatible) player plugin (if installed) - you may also use this link to save the clip as a file on your computer.&lt;br /&gt;
&lt;br /&gt;
=== Advanced Panel ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 2.jpg]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Advanced Panel&#039;&#039;&#039; tab opens additional adjustment parameters for the image. In this section you may specify more exact adjustments of color levels of the image. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gains&#039;&#039;&#039; section controls the sensor analog gain settings. &#039;&#039;&#039;R&#039;&#039;&#039;, &#039;&#039;&#039;G&#039;&#039;&#039; and &#039;&#039;&#039;B&#039;&#039;&#039; input fields control color component gains. Using high gain settings increases sensor noise but is required to view fast events with 1ms exposure time with the lighting used in the current setup. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;R-Y&#039;&#039;&#039; specifies color saturation for red color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B-Y&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;W&#039;&#039;&#039; specifies level saturation for white color component. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-X&#039;&#039;&#039; button allows turning the image horizontally. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-Y&#039;&#039;&#039; button allows turning the image vertically. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;NOTE: Some parameters (e.g. window size) cannot be changed without stopping the acquisition/compression.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Technical Information for the Elphel-333 ==&lt;br /&gt;
&lt;br /&gt;
=== Default Setup ===&lt;br /&gt;
&lt;br /&gt;
The default IP address of the camera is &#039;&#039;&#039;192.168.0.9&#039;&#039;&#039; netmask &#039;&#039;&#039;255.255.255.0&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You should be able to ping the camera from another machine on the same subnet.&lt;br /&gt;
&lt;br /&gt;
By default, the following TCP ports are open:&lt;br /&gt;
&lt;br /&gt;
21/ftp&lt;br /&gt;
&lt;br /&gt;
23/telnet&lt;br /&gt;
&lt;br /&gt;
80/http&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Logging in ===&lt;br /&gt;
&lt;br /&gt;
You can log in to the camera via telnet on TCP port 23&lt;br /&gt;
&lt;br /&gt;
User: &#039;&#039;&#039;root&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Password: &#039;&#039;&#039;pass&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Serial port ===&lt;br /&gt;
&lt;br /&gt;
The serial port settings (additional board 308 needed)&lt;br /&gt;
&lt;br /&gt;
Speed: 19200 8N1&lt;br /&gt;
&lt;br /&gt;
RTS/CTS: None&lt;br /&gt;
&lt;br /&gt;
XON/XOFF : None&lt;br /&gt;
&lt;br /&gt;
=== Changing IP address of the camera ===&lt;br /&gt;
&lt;br /&gt;
The camera network settings can be changed by going to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;http://&amp;lt;camera_ip&amp;gt;/axis.html&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
from an attached computer.&lt;br /&gt;
&lt;br /&gt;
=== Multicast routing in Linux ===&lt;br /&gt;
&lt;br /&gt;
In order to use the multicast streaming from the cameras, you need to add the following route rule to an attached PC:&lt;br /&gt;
    route add -net 224.0.0.0 netmask 240.0.0.0 &amp;lt;interface&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;interface&amp;gt; is the interface connected to the camera (e.g. eth0).&lt;br /&gt;
&lt;br /&gt;
The knoppix live CD/DVD does this for you automatically.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&#039;&#039;Free Software and Open Hardware. Elphel, Inc., 2005&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7922</id>
		<title>Using the cameras</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7922"/>
		<updated>2006-03-03T18:08:55Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* General Controls */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Manual Header}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Elphel network cameras — complex devices in whose development advanced technologies and non-standard program decisions are used. We constantly improve our products so that users can use the cameras with the least expense of time and effort. In this section of Elphel Network Cameras Manual you can find detailed information about using Elphel cameras.&lt;br /&gt;
&lt;br /&gt;
== Complete set ==&lt;br /&gt;
&lt;br /&gt;
The complete camera delivery set includes the actual network camera Elphel-313/323/333, and Live-CD or Live-DVD with a special edition of the Debian-based GNU/Linux operating system Knoppix, complete with all the necessary software for the camera. &lt;br /&gt;
&lt;br /&gt;
The complete delivery set can also include lenses, an external power unit and connection cables for an additional payment.&lt;br /&gt;
&lt;br /&gt;
== Appearance ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Cam side.jpg]] The Elphel-313/333 camera case is folding and made of anodized aluminium. Overall dimensions 116х45х45 mm, weight approximately 150 g (without lens). &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam front.jpg]] The carving socket for standard C/CS-mount lenses is located on the front of the camera. &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam back.jpg]] On the back side of the camera case are located a socket for connection of a network cable, a switch-on push button for the software reloading mode, and camera&#039;s model number mark. We constantly improve our products, therefore the number and appearance of the elements placed on the back panel can change. &lt;br /&gt;
&lt;br /&gt;
On the bottom of the camera case is the standard carving socket for installation of the camera on a support.&lt;br /&gt;
&lt;br /&gt;
== Connection ==&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Power_over_Ethernet PoE] (IEEE 802.3af) technology is used to provide power to the Elphel cameras, using the same cable as that used for network connection.&lt;br /&gt;
&lt;br /&gt;
The Elphel camera has a standard RJ-45 Ethernet port, and can be connected to a local network. This port is also used to provide power to the camera. You can do it in two ways:&lt;br /&gt;
&lt;br /&gt;
1. Use the external power supply with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
2. Use the PoE switch with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
=== External power supply ===&lt;br /&gt;
&lt;br /&gt;
[[image:power_supply.png]] &lt;br /&gt;
&lt;br /&gt;
The power supply has two built in RJ-45 jacks. J1 jack provides 48VDC and is used for connection to camera. You must use CAT5 &amp;quot;Crossover&amp;quot; cable for connection between J1 and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
J2 jack is used for connection to a hub/switch. You must use standard CAT5 cable for connection between J2 and the hub/switch RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== PoE switch ===&lt;br /&gt;
&lt;br /&gt;
[[image:poe_switch.jpg]]&lt;br /&gt;
&lt;br /&gt;
PoE switches have special RJ-45 jacks which provide the 48VDC.  You must use standard CAT5 cable for connection between the PoE switch special RJ-45 jacks and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== Necessary cables ===&lt;br /&gt;
&lt;br /&gt;
[[image:cable.jpg]]&lt;br /&gt;
&lt;br /&gt;
Two cable types are necessary for Elphel cameras - standard CAT5 cable and CAT5 &amp;quot;Crossover&amp;quot; cable if &#039;&#039;the camera is connected directly to the computer&#039;&#039;. Crossover cable is the same as used to connect two computers together with a single cable. If the camera is connected to a switch/hub (directly to the powered switch or through additional &#039;&#039;midspan&#039;&#039; power supply) no crossover cable is needed, all cables are straight.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[image:cable_jack.png]]&lt;br /&gt;
&lt;br /&gt;
How to wire a &amp;amp;quot;Crossover&amp;amp;quot; Cable.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;table width=&amp;quot;600&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; &amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #1&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #2&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          2 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 WHT/BRN&amp;lt;br&amp;gt;&lt;br /&gt;
          8 BRN/WHT&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          2 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 BRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          8 WHT/BRN&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Color abbreviations:&lt;br /&gt;
&lt;br /&gt;
WHT-WHITE&lt;br /&gt;
&lt;br /&gt;
BRN-BROWN&lt;br /&gt;
&lt;br /&gt;
ORG-ORANGE&lt;br /&gt;
&lt;br /&gt;
GRN-GREEN&lt;br /&gt;
&lt;br /&gt;
BLU-BLUE&lt;br /&gt;
&lt;br /&gt;
The first color listed in the color pair is the dominant color of the wire. In other words, WHT/ORG is a white wire with orange stripes.&lt;br /&gt;
&lt;br /&gt;
== Main Control Page ==&lt;br /&gt;
&lt;br /&gt;
The Main Control Page uses javaScript to process user input (input fields and window of interest that can be selected by dragging a frame with the mouse), and combines all the camera acquisition parameters in a single GET request to a CGI program in the camera through the embedded web server (Boa). Currently the camera does not support simultaneous access as each request actually controls the camera operation mode (including sensor resolution and frame rate) and does not just connect to the camera output. &lt;br /&gt;
&lt;br /&gt;
=== Page layout ===&lt;br /&gt;
&lt;br /&gt;
On the top part of the page you should see a preview image. It is always 640x512, 800x600 or 512x386 pixels (1/2 or 1/4 of camera resolution depending on the sensor) and does not change with the selected decimation and window of interest (red rectangle over the image). &lt;br /&gt;
&lt;br /&gt;
Below the preview image there are the camera controls:&lt;br /&gt;
&lt;br /&gt;
=== General Controls ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Window&#039;&#039;&#039; section there are 2 buttons at the bottom-right corner of window. You may specify window of interest (WOI) by dragging these buttons with the mouse. You may also change it numerically by entering data to &#039;&#039;&#039;W&#039;&#039;&#039;(idth), &#039;&#039;&#039;H&#039;&#039;&#039;(eight), &#039;&#039;&#039;L&#039;&#039;&#039;(eft) and &#039;&#039;&#039;T&#039;&#039;&#039;(op) input fields below. That numbers are rounded according to the selected sensor decimation and to use integer multiples of 16x16 pixels MCUs in JPEG compression. You may also change WOI by choosing one of the frequently used size from the list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Autoexposure ====&lt;br /&gt;
&lt;br /&gt;
By default the autoexposure is enabled. There is the special multicolor button for autoexposures management. The button colors is:&lt;br /&gt;
&lt;br /&gt;
[[Image:Aegreen.png]] - Autoexposure is enabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aered.png]] - Autoexposure is disabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aeblue.png]] - The autoexposure control window is opened&lt;br /&gt;
&lt;br /&gt;
[[Image:Autoexp_1.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Exposure&#039;&#039;&#039; field there is an input field to specify frame exposure time (in ms) - it is possible to specify fractions. You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Saturation&#039;&#039;&#039; section allows adjusting contrast saturation. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gamma&#039;&#039;&#039; field controls contrast by adjusting intensity conversion, gamma=1.0 corresponds to linear response (high contrast). Values less than 1 increase input dynamic range by expanding low intensity values (low contrast). You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
JPEG &#039;&#039;&#039;Quality&#039;&#039;&#039; sets standard JPEG compression quality. The higher the quality the bigger the resulting file. It does not change the camera frame rate. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;White balance&#039;&#039;&#039; section is a drop-down menu containing four static parameters: &#039;&#039;&#039;Sunlight&#039;&#039;&#039;, &#039;&#039;&#039;Cloudy&#039;&#039;&#039;, &#039;&#039;&#039;Incandenscent&#039;&#039;&#039; and &#039;&#039;&#039;Fluorescent&#039;&#039;&#039;. You can choose one of these parameters to achieve the highest quality image depending on the lighting conditions. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Image size&#039;&#039;&#039; drop-down menu you may choose the static window size. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Resolution&#039;&#039;&#039; section there are a drop-down menu containing a few parameters (from 0 to 8) for changing resolution. 0 - full resolution, 2 - 1/2 of full resolution, 3 - 1/3 of full resolution etc.&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Binning&#039;&#039;&#039; section there are a drop-down menu containing a few parameters (from 0 to 3) which change the binning mode. A CCD chip is an array of rectangular (generally square) light detecting regions called pixels (for picture elements). Sometimes pictures can be taken by combining the information in adjacent pixels and make them one effective superpixel. The figures below represent a detector of 144 pixels with the red squares indicating the current binning mode.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=0 width=80%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Bin1.jpg]]&lt;br /&gt;
&lt;br /&gt;
Binning 1x1 (&amp;quot;No&amp;quot; mode)&lt;br /&gt;
&lt;br /&gt;
Number of pixels: 144&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Bin2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Binning 2x2 (&amp;quot;2&amp;quot; mode)&lt;br /&gt;
&lt;br /&gt;
Number of pixels: 36&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Bin3.jpg]]&lt;br /&gt;
&lt;br /&gt;
Binning 3x3 (&amp;quot;3&amp;quot; mode)&lt;br /&gt;
&lt;br /&gt;
Number of pixels: 16&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Color.jpg]] In monochrome mode (when the &#039;&#039;&#039;Color&#039;&#039;&#039; radiobutton is not checked) &amp;quot;R&amp;quot; gain settings are used for all channels and color conversion is disabled. &lt;br /&gt;
&lt;br /&gt;
Below are 3 buttons &#039;&#039;&#039;Preview&#039;&#039;&#039;, &#039;&#039;&#039;Reset&#039;&#039;&#039; and &#039;&#039;&#039;Apply&#039;&#039;&#039;. &#039;&#039;&#039;Preview&#039;&#039;&#039; button refreshes the image in the top portion on a page (ignoring selected WOI and decimation), The &#039;&#039;&#039;Reset&#039;&#039;&#039; button returns to the initial adjustment parameters. The &#039;&#039;&#039;Apply&#039;&#039;&#039; button is used to accept the new changes. &lt;br /&gt;
&lt;br /&gt;
Also there are two links after &#039;&#039;&#039;Photo&#039;&#039;&#039;: &#039;&#039;&#039;New&#039;&#039;&#039; contains a link to a camera CGI program that has all the acquisition parameters attached. You may just click it to open the image in a new window or right-click it and select &amp;quot;Save link target as...&amp;quot; (or equivalent) to save the image on your computer. The second link &#039;&#039;&#039;Last&#039;&#039;&#039; points to the last image already in the camera memory; you may use it to save the previously aquired image to your hard drive. &lt;br /&gt;
&lt;br /&gt;
[[Image:Help.png]] button opens this help page. &lt;br /&gt;
&lt;br /&gt;
[[Image:Info.png]] button opens the information window where there is a list of the acquisition parameters used during the last image/clip acquisition.&lt;br /&gt;
&lt;br /&gt;
=== Video Controls ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Video Controls&#039;&#039;&#039; in this section allow users to record a video clip in the camera memory and send it over the LAN/Internet as a Quicktime video file. All settings for the image size, resolution, compression quality, analog gains and exposure are the same as for still images described above, and that link adds extra parameters - &#039;&#039;&#039;Frame Rate&#039;&#039;&#039; and &#039;&#039;&#039;Time Scale&#039;&#039;&#039;. The first sets the desired frame rate (leave blank or set to 0 for the maximal rate), the second field sets how much the playback time is longer than the acquisition one. I.e. setting of &amp;quot;10&amp;quot; makes the clip play 10 times slower that it was shot. &lt;br /&gt;
&lt;br /&gt;
Total size of the clip (6-7MB) is determined by a camera internal buffer used for compressed image storage and the total number of frames as the frame headers are attached during the clip output and are not stored in the buffer. There are 2 ways to shoot a clip (usual duration 3-5 sec, depending on compression quality). First is to press &#039;&#039;&#039;Start stream&#039;&#039;&#039; button, wait for the event to occur and then press &#039;&#039;&#039;Acquire&#039;&#039;&#039;. In this mode after &#039;&#039;&#039;Start stream&#039;&#039;&#039; the camera continuously writes to the buffer, overwriting footage when all the available space is used. Pressing the &#039;&#039;&#039;Stop stream&#039;&#039;&#039; button ends data saving and so the buffer contains the last data recorded. Another way is to press &#039;&#039;&#039;Acquire&#039;&#039;&#039; before the event. In that mode the clip recording starts after the trigger and stops when the whole buffer is full. &lt;br /&gt;
&lt;br /&gt;
There are additional controls to preview a videoclip from the camera memory. Frame number 1 is the first one, 2 - second, etc. Frame number 0 is the last one in the clip, -1 - previous before last, etc. Any image acquisition (including &#039;&#039;&#039;Preview&#039;&#039;&#039;) erases the stored clip and makes it one frame long. &lt;br /&gt;
&lt;br /&gt;
Clicking on the &#039;&#039;&#039;Video Clip&#039;&#039;&#039; link opens the clip in the Apple QuickTime ™ (or compatible) player plugin (if installed) - you may also use this link to save the clip as a file on your computer.&lt;br /&gt;
&lt;br /&gt;
=== Advanced Panel ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 2.jpg]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Advanced Panel&#039;&#039;&#039; tab opens additional adjustment parameters for the image. In this section you may specify more exact adjustments of color levels of the image. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gains&#039;&#039;&#039; section controls the sensor analog gain settings. &#039;&#039;&#039;R&#039;&#039;&#039;, &#039;&#039;&#039;G&#039;&#039;&#039; and &#039;&#039;&#039;B&#039;&#039;&#039; input fields control color component gains. Using high gain settings increases sensor noise but is required to view fast events with 1ms exposure time with the lighting used in the current setup. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;R-Y&#039;&#039;&#039; specifies color saturation for red color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B-Y&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;W&#039;&#039;&#039; specifies level saturation for white color component. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-X&#039;&#039;&#039; button allows turning the image horizontally. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-Y&#039;&#039;&#039; button allows turning the image vertically. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;NOTE: Some parameters (e.g. window size) cannot be changed without stopping the acquisition/compression.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Technical Information for the Elphel-333 ==&lt;br /&gt;
&lt;br /&gt;
=== Default Setup ===&lt;br /&gt;
&lt;br /&gt;
The default IP address of the camera is &#039;&#039;&#039;192.168.0.9&#039;&#039;&#039; netmask &#039;&#039;&#039;255.255.255.0&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You should be able to ping the camera from another machine on the same subnet.&lt;br /&gt;
&lt;br /&gt;
By default, the following TCP ports are open:&lt;br /&gt;
&lt;br /&gt;
21/ftp&lt;br /&gt;
&lt;br /&gt;
23/telnet&lt;br /&gt;
&lt;br /&gt;
80/http&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Logging in ===&lt;br /&gt;
&lt;br /&gt;
You can log in to the camera via telnet on TCP port 23&lt;br /&gt;
&lt;br /&gt;
User: &#039;&#039;&#039;root&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Password: &#039;&#039;&#039;pass&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Serial port ===&lt;br /&gt;
&lt;br /&gt;
The serial port settings (additional board 308 needed)&lt;br /&gt;
&lt;br /&gt;
Speed: 19200 8N1&lt;br /&gt;
&lt;br /&gt;
RTS/CTS: None&lt;br /&gt;
&lt;br /&gt;
XON/XOFF : None&lt;br /&gt;
&lt;br /&gt;
=== Changing IP address of the camera ===&lt;br /&gt;
&lt;br /&gt;
The camera network settings can be changed by going to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;http://&amp;lt;camera_ip&amp;gt;/axis.html&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
from an attached computer.&lt;br /&gt;
&lt;br /&gt;
=== Multicast routing in Linux ===&lt;br /&gt;
&lt;br /&gt;
In order to use the multicast streaming from the cameras, you need to add the following route rule to an attached PC:&lt;br /&gt;
    route add -net 224.0.0.0 netmask 240.0.0.0 &amp;lt;interface&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;interface&amp;gt; is the interface connected to the camera (e.g. eth0).&lt;br /&gt;
&lt;br /&gt;
The knoppix live CD/DVD does this for you automatically.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&#039;&#039;Free Software and Open Hardware. Elphel, Inc., 2005&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7921</id>
		<title>Using the cameras</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7921"/>
		<updated>2006-03-03T18:06:39Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* General Controls */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Manual Header}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Elphel network cameras — complex devices in whose development advanced technologies and non-standard program decisions are used. We constantly improve our products so that users can use the cameras with the least expense of time and effort. In this section of Elphel Network Cameras Manual you can find detailed information about using Elphel cameras.&lt;br /&gt;
&lt;br /&gt;
== Complete set ==&lt;br /&gt;
&lt;br /&gt;
The complete camera delivery set includes the actual network camera Elphel-313/323/333, and Live-CD or Live-DVD with a special edition of the Debian-based GNU/Linux operating system Knoppix, complete with all the necessary software for the camera. &lt;br /&gt;
&lt;br /&gt;
The complete delivery set can also include lenses, an external power unit and connection cables for an additional payment.&lt;br /&gt;
&lt;br /&gt;
== Appearance ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Cam side.jpg]] The Elphel-313/333 camera case is folding and made of anodized aluminium. Overall dimensions 116х45х45 mm, weight approximately 150 g (without lens). &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam front.jpg]] The carving socket for standard C/CS-mount lenses is located on the front of the camera. &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam back.jpg]] On the back side of the camera case are located a socket for connection of a network cable, a switch-on push button for the software reloading mode, and camera&#039;s model number mark. We constantly improve our products, therefore the number and appearance of the elements placed on the back panel can change. &lt;br /&gt;
&lt;br /&gt;
On the bottom of the camera case is the standard carving socket for installation of the camera on a support.&lt;br /&gt;
&lt;br /&gt;
== Connection ==&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Power_over_Ethernet PoE] (IEEE 802.3af) technology is used to provide power to the Elphel cameras, using the same cable as that used for network connection.&lt;br /&gt;
&lt;br /&gt;
The Elphel camera has a standard RJ-45 Ethernet port, and can be connected to a local network. This port is also used to provide power to the camera. You can do it in two ways:&lt;br /&gt;
&lt;br /&gt;
1. Use the external power supply with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
2. Use the PoE switch with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
=== External power supply ===&lt;br /&gt;
&lt;br /&gt;
[[image:power_supply.png]] &lt;br /&gt;
&lt;br /&gt;
The power supply has two built in RJ-45 jacks. J1 jack provides 48VDC and is used for connection to camera. You must use CAT5 &amp;quot;Crossover&amp;quot; cable for connection between J1 and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
J2 jack is used for connection to a hub/switch. You must use standard CAT5 cable for connection between J2 and the hub/switch RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== PoE switch ===&lt;br /&gt;
&lt;br /&gt;
[[image:poe_switch.jpg]]&lt;br /&gt;
&lt;br /&gt;
PoE switches have special RJ-45 jacks which provide the 48VDC.  You must use standard CAT5 cable for connection between the PoE switch special RJ-45 jacks and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== Necessary cables ===&lt;br /&gt;
&lt;br /&gt;
[[image:cable.jpg]]&lt;br /&gt;
&lt;br /&gt;
Two cable types are necessary for Elphel cameras - standard CAT5 cable and CAT5 &amp;quot;Crossover&amp;quot; cable if &#039;&#039;the camera is connected directly to the computer&#039;&#039;. Crossover cable is the same as used to connect two computers together with a single cable. If the camera is connected to a switch/hub (directly to the powered switch or through additional &#039;&#039;midspan&#039;&#039; power supply) no crossover cable is needed, all cables are straight.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[image:cable_jack.png]]&lt;br /&gt;
&lt;br /&gt;
How to wire a &amp;amp;quot;Crossover&amp;amp;quot; Cable.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;table width=&amp;quot;600&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; &amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #1&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #2&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          2 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 WHT/BRN&amp;lt;br&amp;gt;&lt;br /&gt;
          8 BRN/WHT&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          2 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 BRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          8 WHT/BRN&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Color abbreviations:&lt;br /&gt;
&lt;br /&gt;
WHT-WHITE&lt;br /&gt;
&lt;br /&gt;
BRN-BROWN&lt;br /&gt;
&lt;br /&gt;
ORG-ORANGE&lt;br /&gt;
&lt;br /&gt;
GRN-GREEN&lt;br /&gt;
&lt;br /&gt;
BLU-BLUE&lt;br /&gt;
&lt;br /&gt;
The first color listed in the color pair is the dominant color of the wire. In other words, WHT/ORG is a white wire with orange stripes.&lt;br /&gt;
&lt;br /&gt;
== Main Control Page ==&lt;br /&gt;
&lt;br /&gt;
The Main Control Page uses javaScript to process user input (input fields and window of interest that can be selected by dragging a frame with the mouse), and combines all the camera acquisition parameters in a single GET request to a CGI program in the camera through the embedded web server (Boa). Currently the camera does not support simultaneous access as each request actually controls the camera operation mode (including sensor resolution and frame rate) and does not just connect to the camera output. &lt;br /&gt;
&lt;br /&gt;
=== Page layout ===&lt;br /&gt;
&lt;br /&gt;
On the top part of the page you should see a preview image. It is always 640x512, 800x600 or 512x386 pixels (1/2 or 1/4 of camera resolution depending on the sensor) and does not change with the selected decimation and window of interest (red rectangle over the image). &lt;br /&gt;
&lt;br /&gt;
Below the preview image there are the camera controls:&lt;br /&gt;
&lt;br /&gt;
=== General Controls ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Window&#039;&#039;&#039; section there are 2 buttons at the bottom-right corner of window. You may specify window of interest (WOI) by dragging these buttons with the mouse. You may also change it numerically by entering data to &#039;&#039;&#039;W&#039;&#039;&#039;(idth), &#039;&#039;&#039;H&#039;&#039;&#039;(eight), &#039;&#039;&#039;L&#039;&#039;&#039;(eft) and &#039;&#039;&#039;T&#039;&#039;&#039;(op) input fields below. That numbers are rounded according to the selected sensor decimation and to use integer multiples of 16x16 pixels MCUs in JPEG compression. You may also change WOI by choosing one of the frequently used size from the list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Autoexposure ====&lt;br /&gt;
&lt;br /&gt;
By default the autoexposure is enabled. There is the special multicolor button for autoexposures management. The button colors is:&lt;br /&gt;
&lt;br /&gt;
[[Image:Aegreen.png]] - Autoexposure is enabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aered.png]] - Autoexposure is disabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aeblue.png]] - The autoexposure control window is opened&lt;br /&gt;
&lt;br /&gt;
[[Image:Autoexp_1.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Exposure&#039;&#039;&#039; field there is an input field to specify frame exposure time (in ms) - it is possible to specify fractions. You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Saturation&#039;&#039;&#039; section allows adjusting contrast saturation. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gamma&#039;&#039;&#039; field controls contrast by adjusting intensity conversion, gamma=1.0 corresponds to linear response (high contrast). Values less than 1 increase input dynamic range by expanding low intensity values (low contrast). You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
JPEG &#039;&#039;&#039;Quality&#039;&#039;&#039; sets standard JPEG compression quality. The higher the quality the bigger the resulting file. It does not change the camera frame rate. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;White balance&#039;&#039;&#039; section is a drop-down menu containing four static parameters: &#039;&#039;&#039;Sunlight&#039;&#039;&#039;, &#039;&#039;&#039;Cloudy&#039;&#039;&#039;, &#039;&#039;&#039;Incandenscent&#039;&#039;&#039; and &#039;&#039;&#039;Fluorescent&#039;&#039;&#039;. You can choose one of these parameters to achieve the highest quality image depending on the lighting conditions. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Image size&#039;&#039;&#039; drop-down menu you may choose the static window size. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Resolution&#039;&#039;&#039; section there are a drop-down menu containing a few parameters (from 0 to 8) for changing resolution. 0 - full resolution, 2 - 1/2 of full resolution, 3 - 1/3 of full resolution etc.&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Binning&#039;&#039;&#039; section there are a drop-down menu containing a few parameters (from 0 to 3) which change the binning mode. A CCD chip is an array of rectangular (generally square) light detecting regions called pixels (for picture elements). Sometimes pictures can be taken by combining the information in adjacent pixels and make them one effective superpixel. The figures below represent a detector of 144 pixels with the red squares indicating the current binning mode.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=0 width=80%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Bin1.jpg]]&lt;br /&gt;
&lt;br /&gt;
Binning 1x1 (&amp;quot;No&amp;quot; option)&lt;br /&gt;
&lt;br /&gt;
Number of pixels: 144&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Bin2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Binning 2x2 (&amp;quot;2&amp;quot; option)&lt;br /&gt;
&lt;br /&gt;
Number of pixels: 36&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Bin3.jpg]]&lt;br /&gt;
&lt;br /&gt;
Binning 3x3 (&amp;quot;3&amp;quot; option)&lt;br /&gt;
&lt;br /&gt;
Number of pixels: 16&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Color.jpg]] In monochrome mode (when the &#039;&#039;&#039;Color&#039;&#039;&#039; radiobutton is not checked) &amp;quot;R&amp;quot; gain settings are used for all channels and color conversion is disabled. &lt;br /&gt;
&lt;br /&gt;
Below are 3 buttons &#039;&#039;&#039;Preview&#039;&#039;&#039;, &#039;&#039;&#039;Reset&#039;&#039;&#039; and &#039;&#039;&#039;Apply&#039;&#039;&#039;. &#039;&#039;&#039;Preview&#039;&#039;&#039; button refreshes the image in the top portion on a page (ignoring selected WOI and decimation), The &#039;&#039;&#039;Reset&#039;&#039;&#039; button returns to the initial adjustment parameters. The &#039;&#039;&#039;Apply&#039;&#039;&#039; button is used to accept the new changes. &lt;br /&gt;
&lt;br /&gt;
Also there are two links after &#039;&#039;&#039;Photo&#039;&#039;&#039;: &#039;&#039;&#039;New&#039;&#039;&#039; contains a link to a camera CGI program that has all the acquisition parameters attached. You may just click it to open the image in a new window or right-click it and select &amp;quot;Save link target as...&amp;quot; (or equivalent) to save the image on your computer. The second link &#039;&#039;&#039;Last&#039;&#039;&#039; points to the last image already in the camera memory; you may use it to save the previously aquired image to your hard drive. &lt;br /&gt;
&lt;br /&gt;
[[Image:Help.png]] button opens this help page. &lt;br /&gt;
&lt;br /&gt;
[[Image:Info.png]] button opens the information window where there is a list of the acquisition parameters used during the last image/clip acquisition.&lt;br /&gt;
&lt;br /&gt;
=== Video Controls ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Video Controls&#039;&#039;&#039; in this section allow users to record a video clip in the camera memory and send it over the LAN/Internet as a Quicktime video file. All settings for the image size, resolution, compression quality, analog gains and exposure are the same as for still images described above, and that link adds extra parameters - &#039;&#039;&#039;Frame Rate&#039;&#039;&#039; and &#039;&#039;&#039;Time Scale&#039;&#039;&#039;. The first sets the desired frame rate (leave blank or set to 0 for the maximal rate), the second field sets how much the playback time is longer than the acquisition one. I.e. setting of &amp;quot;10&amp;quot; makes the clip play 10 times slower that it was shot. &lt;br /&gt;
&lt;br /&gt;
Total size of the clip (6-7MB) is determined by a camera internal buffer used for compressed image storage and the total number of frames as the frame headers are attached during the clip output and are not stored in the buffer. There are 2 ways to shoot a clip (usual duration 3-5 sec, depending on compression quality). First is to press &#039;&#039;&#039;Start stream&#039;&#039;&#039; button, wait for the event to occur and then press &#039;&#039;&#039;Acquire&#039;&#039;&#039;. In this mode after &#039;&#039;&#039;Start stream&#039;&#039;&#039; the camera continuously writes to the buffer, overwriting footage when all the available space is used. Pressing the &#039;&#039;&#039;Stop stream&#039;&#039;&#039; button ends data saving and so the buffer contains the last data recorded. Another way is to press &#039;&#039;&#039;Acquire&#039;&#039;&#039; before the event. In that mode the clip recording starts after the trigger and stops when the whole buffer is full. &lt;br /&gt;
&lt;br /&gt;
There are additional controls to preview a videoclip from the camera memory. Frame number 1 is the first one, 2 - second, etc. Frame number 0 is the last one in the clip, -1 - previous before last, etc. Any image acquisition (including &#039;&#039;&#039;Preview&#039;&#039;&#039;) erases the stored clip and makes it one frame long. &lt;br /&gt;
&lt;br /&gt;
Clicking on the &#039;&#039;&#039;Video Clip&#039;&#039;&#039; link opens the clip in the Apple QuickTime ™ (or compatible) player plugin (if installed) - you may also use this link to save the clip as a file on your computer.&lt;br /&gt;
&lt;br /&gt;
=== Advanced Panel ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 2.jpg]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Advanced Panel&#039;&#039;&#039; tab opens additional adjustment parameters for the image. In this section you may specify more exact adjustments of color levels of the image. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gains&#039;&#039;&#039; section controls the sensor analog gain settings. &#039;&#039;&#039;R&#039;&#039;&#039;, &#039;&#039;&#039;G&#039;&#039;&#039; and &#039;&#039;&#039;B&#039;&#039;&#039; input fields control color component gains. Using high gain settings increases sensor noise but is required to view fast events with 1ms exposure time with the lighting used in the current setup. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;R-Y&#039;&#039;&#039; specifies color saturation for red color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B-Y&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;W&#039;&#039;&#039; specifies level saturation for white color component. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-X&#039;&#039;&#039; button allows turning the image horizontally. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-Y&#039;&#039;&#039; button allows turning the image vertically. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;NOTE: Some parameters (e.g. window size) cannot be changed without stopping the acquisition/compression.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Technical Information for the Elphel-333 ==&lt;br /&gt;
&lt;br /&gt;
=== Default Setup ===&lt;br /&gt;
&lt;br /&gt;
The default IP address of the camera is &#039;&#039;&#039;192.168.0.9&#039;&#039;&#039; netmask &#039;&#039;&#039;255.255.255.0&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You should be able to ping the camera from another machine on the same subnet.&lt;br /&gt;
&lt;br /&gt;
By default, the following TCP ports are open:&lt;br /&gt;
&lt;br /&gt;
21/ftp&lt;br /&gt;
&lt;br /&gt;
23/telnet&lt;br /&gt;
&lt;br /&gt;
80/http&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Logging in ===&lt;br /&gt;
&lt;br /&gt;
You can log in to the camera via telnet on TCP port 23&lt;br /&gt;
&lt;br /&gt;
User: &#039;&#039;&#039;root&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Password: &#039;&#039;&#039;pass&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Serial port ===&lt;br /&gt;
&lt;br /&gt;
The serial port settings (additional board 308 needed)&lt;br /&gt;
&lt;br /&gt;
Speed: 19200 8N1&lt;br /&gt;
&lt;br /&gt;
RTS/CTS: None&lt;br /&gt;
&lt;br /&gt;
XON/XOFF : None&lt;br /&gt;
&lt;br /&gt;
=== Changing IP address of the camera ===&lt;br /&gt;
&lt;br /&gt;
The camera network settings can be changed by going to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;http://&amp;lt;camera_ip&amp;gt;/axis.html&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
from an attached computer.&lt;br /&gt;
&lt;br /&gt;
=== Multicast routing in Linux ===&lt;br /&gt;
&lt;br /&gt;
In order to use the multicast streaming from the cameras, you need to add the following route rule to an attached PC:&lt;br /&gt;
    route add -net 224.0.0.0 netmask 240.0.0.0 &amp;lt;interface&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;interface&amp;gt; is the interface connected to the camera (e.g. eth0).&lt;br /&gt;
&lt;br /&gt;
The knoppix live CD/DVD does this for you automatically.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&#039;&#039;Free Software and Open Hardware. Elphel, Inc., 2005&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7920</id>
		<title>Using the cameras</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7920"/>
		<updated>2006-03-03T18:05:42Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* General Controls */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Manual Header}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Elphel network cameras — complex devices in whose development advanced technologies and non-standard program decisions are used. We constantly improve our products so that users can use the cameras with the least expense of time and effort. In this section of Elphel Network Cameras Manual you can find detailed information about using Elphel cameras.&lt;br /&gt;
&lt;br /&gt;
== Complete set ==&lt;br /&gt;
&lt;br /&gt;
The complete camera delivery set includes the actual network camera Elphel-313/323/333, and Live-CD or Live-DVD with a special edition of the Debian-based GNU/Linux operating system Knoppix, complete with all the necessary software for the camera. &lt;br /&gt;
&lt;br /&gt;
The complete delivery set can also include lenses, an external power unit and connection cables for an additional payment.&lt;br /&gt;
&lt;br /&gt;
== Appearance ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Cam side.jpg]] The Elphel-313/333 camera case is folding and made of anodized aluminium. Overall dimensions 116х45х45 mm, weight approximately 150 g (without lens). &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam front.jpg]] The carving socket for standard C/CS-mount lenses is located on the front of the camera. &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam back.jpg]] On the back side of the camera case are located a socket for connection of a network cable, a switch-on push button for the software reloading mode, and camera&#039;s model number mark. We constantly improve our products, therefore the number and appearance of the elements placed on the back panel can change. &lt;br /&gt;
&lt;br /&gt;
On the bottom of the camera case is the standard carving socket for installation of the camera on a support.&lt;br /&gt;
&lt;br /&gt;
== Connection ==&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Power_over_Ethernet PoE] (IEEE 802.3af) technology is used to provide power to the Elphel cameras, using the same cable as that used for network connection.&lt;br /&gt;
&lt;br /&gt;
The Elphel camera has a standard RJ-45 Ethernet port, and can be connected to a local network. This port is also used to provide power to the camera. You can do it in two ways:&lt;br /&gt;
&lt;br /&gt;
1. Use the external power supply with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
2. Use the PoE switch with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
=== External power supply ===&lt;br /&gt;
&lt;br /&gt;
[[image:power_supply.png]] &lt;br /&gt;
&lt;br /&gt;
The power supply has two built in RJ-45 jacks. J1 jack provides 48VDC and is used for connection to camera. You must use CAT5 &amp;quot;Crossover&amp;quot; cable for connection between J1 and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
J2 jack is used for connection to a hub/switch. You must use standard CAT5 cable for connection between J2 and the hub/switch RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== PoE switch ===&lt;br /&gt;
&lt;br /&gt;
[[image:poe_switch.jpg]]&lt;br /&gt;
&lt;br /&gt;
PoE switches have special RJ-45 jacks which provide the 48VDC.  You must use standard CAT5 cable for connection between the PoE switch special RJ-45 jacks and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== Necessary cables ===&lt;br /&gt;
&lt;br /&gt;
[[image:cable.jpg]]&lt;br /&gt;
&lt;br /&gt;
Two cable types are necessary for Elphel cameras - standard CAT5 cable and CAT5 &amp;quot;Crossover&amp;quot; cable if &#039;&#039;the camera is connected directly to the computer&#039;&#039;. Crossover cable is the same as used to connect two computers together with a single cable. If the camera is connected to a switch/hub (directly to the powered switch or through additional &#039;&#039;midspan&#039;&#039; power supply) no crossover cable is needed, all cables are straight.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[image:cable_jack.png]]&lt;br /&gt;
&lt;br /&gt;
How to wire a &amp;amp;quot;Crossover&amp;amp;quot; Cable.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;table width=&amp;quot;600&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; &amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #1&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #2&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          2 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 WHT/BRN&amp;lt;br&amp;gt;&lt;br /&gt;
          8 BRN/WHT&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          2 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 BRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          8 WHT/BRN&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Color abbreviations:&lt;br /&gt;
&lt;br /&gt;
WHT-WHITE&lt;br /&gt;
&lt;br /&gt;
BRN-BROWN&lt;br /&gt;
&lt;br /&gt;
ORG-ORANGE&lt;br /&gt;
&lt;br /&gt;
GRN-GREEN&lt;br /&gt;
&lt;br /&gt;
BLU-BLUE&lt;br /&gt;
&lt;br /&gt;
The first color listed in the color pair is the dominant color of the wire. In other words, WHT/ORG is a white wire with orange stripes.&lt;br /&gt;
&lt;br /&gt;
== Main Control Page ==&lt;br /&gt;
&lt;br /&gt;
The Main Control Page uses javaScript to process user input (input fields and window of interest that can be selected by dragging a frame with the mouse), and combines all the camera acquisition parameters in a single GET request to a CGI program in the camera through the embedded web server (Boa). Currently the camera does not support simultaneous access as each request actually controls the camera operation mode (including sensor resolution and frame rate) and does not just connect to the camera output. &lt;br /&gt;
&lt;br /&gt;
=== Page layout ===&lt;br /&gt;
&lt;br /&gt;
On the top part of the page you should see a preview image. It is always 640x512, 800x600 or 512x386 pixels (1/2 or 1/4 of camera resolution depending on the sensor) and does not change with the selected decimation and window of interest (red rectangle over the image). &lt;br /&gt;
&lt;br /&gt;
Below the preview image there are the camera controls:&lt;br /&gt;
&lt;br /&gt;
=== General Controls ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Window&#039;&#039;&#039; section there are 2 buttons at the bottom-right corner of window. You may specify window of interest (WOI) by dragging these buttons with the mouse. You may also change it numerically by entering data to &#039;&#039;&#039;W&#039;&#039;&#039;(idth), &#039;&#039;&#039;H&#039;&#039;&#039;(eight), &#039;&#039;&#039;L&#039;&#039;&#039;(eft) and &#039;&#039;&#039;T&#039;&#039;&#039;(op) input fields below. That numbers are rounded according to the selected sensor decimation and to use integer multiples of 16x16 pixels MCUs in JPEG compression. You may also change WOI by choosing one of the frequently used size from the list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Autoexposure ====&lt;br /&gt;
&lt;br /&gt;
By default the autoexposure is enabled. There is the special multicolor button for autoexposures management. The button colors is:&lt;br /&gt;
&lt;br /&gt;
[[Image:Aegreen.png]] - Autoexposure is enabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aered.png]] - Autoexposure is disabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aeblue.png]] - The autoexposure control window is opened&lt;br /&gt;
&lt;br /&gt;
[[Image:Autoexp_1.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Exposure&#039;&#039;&#039; field there is an input field to specify frame exposure time (in ms) - it is possible to specify fractions. You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Saturation&#039;&#039;&#039; section allows adjusting contrast saturation. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gamma&#039;&#039;&#039; field controls contrast by adjusting intensity conversion, gamma=1.0 corresponds to linear response (high contrast). Values less than 1 increase input dynamic range by expanding low intensity values (low contrast). You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
JPEG &#039;&#039;&#039;Quality&#039;&#039;&#039; sets standard JPEG compression quality. The higher the quality the bigger the resulting file. It does not change the camera frame rate. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;White balance&#039;&#039;&#039; section is a drop-down menu containing four static parameters: &#039;&#039;&#039;Sunlight&#039;&#039;&#039;, &#039;&#039;&#039;Cloudy&#039;&#039;&#039;, &#039;&#039;&#039;Incandenscent&#039;&#039;&#039; and &#039;&#039;&#039;Fluorescent&#039;&#039;&#039;. You can choose one of these parameters to achieve the highest quality image depending on the lighting conditions. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Image size&#039;&#039;&#039; drop-down menu you may choose the static window size. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Resolution&#039;&#039;&#039; section there are a drop-down menu containing a few parameters (from 0 to 8) for changing resolution. 0 - full resolution, 2 - 1/2 of full resolution, 3 - 1/3 of full resolution etc.&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Binning&#039;&#039;&#039; section there are a drop-down menu containing a few parameters (from 0 to 3) which change the binning mode. A CCD chip is an array of rectangular (generally square) light detecting regions called pixels (for picture elements). Sometimes pictures can be taken by combining the information in adjacent pixels and make them one effective superpixel. The figures below represent a detector of 144 pixels with the red squares indicating the current binning mode.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=0 widht=80%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Bin1.jpg]]&lt;br /&gt;
&lt;br /&gt;
Binning 1x1 (&amp;quot;No&amp;quot; option)&lt;br /&gt;
&lt;br /&gt;
Number of pixels: 144&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Bin2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Binning 2x2 (&amp;quot;2&amp;quot; option)&lt;br /&gt;
&lt;br /&gt;
Number of pixels: 36&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Bin3.jpg]]&lt;br /&gt;
&lt;br /&gt;
Binning 3x3 (&amp;quot;3&amp;quot; option)&lt;br /&gt;
&lt;br /&gt;
Number of pixels: 16&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Color.jpg]] In monochrome mode (when the &#039;&#039;&#039;Color&#039;&#039;&#039; radiobutton is not checked) &amp;quot;R&amp;quot; gain settings are used for all channels and color conversion is disabled. &lt;br /&gt;
&lt;br /&gt;
Below are 3 buttons &#039;&#039;&#039;Preview&#039;&#039;&#039;, &#039;&#039;&#039;Reset&#039;&#039;&#039; and &#039;&#039;&#039;Apply&#039;&#039;&#039;. &#039;&#039;&#039;Preview&#039;&#039;&#039; button refreshes the image in the top portion on a page (ignoring selected WOI and decimation), The &#039;&#039;&#039;Reset&#039;&#039;&#039; button returns to the initial adjustment parameters. The &#039;&#039;&#039;Apply&#039;&#039;&#039; button is used to accept the new changes. &lt;br /&gt;
&lt;br /&gt;
Also there are two links after &#039;&#039;&#039;Photo&#039;&#039;&#039;: &#039;&#039;&#039;New&#039;&#039;&#039; contains a link to a camera CGI program that has all the acquisition parameters attached. You may just click it to open the image in a new window or right-click it and select &amp;quot;Save link target as...&amp;quot; (or equivalent) to save the image on your computer. The second link &#039;&#039;&#039;Last&#039;&#039;&#039; points to the last image already in the camera memory; you may use it to save the previously aquired image to your hard drive. &lt;br /&gt;
&lt;br /&gt;
[[Image:Help.png]] button opens this help page. &lt;br /&gt;
&lt;br /&gt;
[[Image:Info.png]] button opens the information window where there is a list of the acquisition parameters used during the last image/clip acquisition.&lt;br /&gt;
&lt;br /&gt;
=== Video Controls ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Video Controls&#039;&#039;&#039; in this section allow users to record a video clip in the camera memory and send it over the LAN/Internet as a Quicktime video file. All settings for the image size, resolution, compression quality, analog gains and exposure are the same as for still images described above, and that link adds extra parameters - &#039;&#039;&#039;Frame Rate&#039;&#039;&#039; and &#039;&#039;&#039;Time Scale&#039;&#039;&#039;. The first sets the desired frame rate (leave blank or set to 0 for the maximal rate), the second field sets how much the playback time is longer than the acquisition one. I.e. setting of &amp;quot;10&amp;quot; makes the clip play 10 times slower that it was shot. &lt;br /&gt;
&lt;br /&gt;
Total size of the clip (6-7MB) is determined by a camera internal buffer used for compressed image storage and the total number of frames as the frame headers are attached during the clip output and are not stored in the buffer. There are 2 ways to shoot a clip (usual duration 3-5 sec, depending on compression quality). First is to press &#039;&#039;&#039;Start stream&#039;&#039;&#039; button, wait for the event to occur and then press &#039;&#039;&#039;Acquire&#039;&#039;&#039;. In this mode after &#039;&#039;&#039;Start stream&#039;&#039;&#039; the camera continuously writes to the buffer, overwriting footage when all the available space is used. Pressing the &#039;&#039;&#039;Stop stream&#039;&#039;&#039; button ends data saving and so the buffer contains the last data recorded. Another way is to press &#039;&#039;&#039;Acquire&#039;&#039;&#039; before the event. In that mode the clip recording starts after the trigger and stops when the whole buffer is full. &lt;br /&gt;
&lt;br /&gt;
There are additional controls to preview a videoclip from the camera memory. Frame number 1 is the first one, 2 - second, etc. Frame number 0 is the last one in the clip, -1 - previous before last, etc. Any image acquisition (including &#039;&#039;&#039;Preview&#039;&#039;&#039;) erases the stored clip and makes it one frame long. &lt;br /&gt;
&lt;br /&gt;
Clicking on the &#039;&#039;&#039;Video Clip&#039;&#039;&#039; link opens the clip in the Apple QuickTime ™ (or compatible) player plugin (if installed) - you may also use this link to save the clip as a file on your computer.&lt;br /&gt;
&lt;br /&gt;
=== Advanced Panel ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 2.jpg]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Advanced Panel&#039;&#039;&#039; tab opens additional adjustment parameters for the image. In this section you may specify more exact adjustments of color levels of the image. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gains&#039;&#039;&#039; section controls the sensor analog gain settings. &#039;&#039;&#039;R&#039;&#039;&#039;, &#039;&#039;&#039;G&#039;&#039;&#039; and &#039;&#039;&#039;B&#039;&#039;&#039; input fields control color component gains. Using high gain settings increases sensor noise but is required to view fast events with 1ms exposure time with the lighting used in the current setup. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;R-Y&#039;&#039;&#039; specifies color saturation for red color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B-Y&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;W&#039;&#039;&#039; specifies level saturation for white color component. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-X&#039;&#039;&#039; button allows turning the image horizontally. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-Y&#039;&#039;&#039; button allows turning the image vertically. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;NOTE: Some parameters (e.g. window size) cannot be changed without stopping the acquisition/compression.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Technical Information for the Elphel-333 ==&lt;br /&gt;
&lt;br /&gt;
=== Default Setup ===&lt;br /&gt;
&lt;br /&gt;
The default IP address of the camera is &#039;&#039;&#039;192.168.0.9&#039;&#039;&#039; netmask &#039;&#039;&#039;255.255.255.0&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You should be able to ping the camera from another machine on the same subnet.&lt;br /&gt;
&lt;br /&gt;
By default, the following TCP ports are open:&lt;br /&gt;
&lt;br /&gt;
21/ftp&lt;br /&gt;
&lt;br /&gt;
23/telnet&lt;br /&gt;
&lt;br /&gt;
80/http&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Logging in ===&lt;br /&gt;
&lt;br /&gt;
You can log in to the camera via telnet on TCP port 23&lt;br /&gt;
&lt;br /&gt;
User: &#039;&#039;&#039;root&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Password: &#039;&#039;&#039;pass&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Serial port ===&lt;br /&gt;
&lt;br /&gt;
The serial port settings (additional board 308 needed)&lt;br /&gt;
&lt;br /&gt;
Speed: 19200 8N1&lt;br /&gt;
&lt;br /&gt;
RTS/CTS: None&lt;br /&gt;
&lt;br /&gt;
XON/XOFF : None&lt;br /&gt;
&lt;br /&gt;
=== Changing IP address of the camera ===&lt;br /&gt;
&lt;br /&gt;
The camera network settings can be changed by going to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;http://&amp;lt;camera_ip&amp;gt;/axis.html&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
from an attached computer.&lt;br /&gt;
&lt;br /&gt;
=== Multicast routing in Linux ===&lt;br /&gt;
&lt;br /&gt;
In order to use the multicast streaming from the cameras, you need to add the following route rule to an attached PC:&lt;br /&gt;
    route add -net 224.0.0.0 netmask 240.0.0.0 &amp;lt;interface&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;interface&amp;gt; is the interface connected to the camera (e.g. eth0).&lt;br /&gt;
&lt;br /&gt;
The knoppix live CD/DVD does this for you automatically.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&#039;&#039;Free Software and Open Hardware. Elphel, Inc., 2005&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7919</id>
		<title>Using the cameras</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7919"/>
		<updated>2006-03-03T18:04:12Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* General Controls */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Manual Header}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Elphel network cameras — complex devices in whose development advanced technologies and non-standard program decisions are used. We constantly improve our products so that users can use the cameras with the least expense of time and effort. In this section of Elphel Network Cameras Manual you can find detailed information about using Elphel cameras.&lt;br /&gt;
&lt;br /&gt;
== Complete set ==&lt;br /&gt;
&lt;br /&gt;
The complete camera delivery set includes the actual network camera Elphel-313/323/333, and Live-CD or Live-DVD with a special edition of the Debian-based GNU/Linux operating system Knoppix, complete with all the necessary software for the camera. &lt;br /&gt;
&lt;br /&gt;
The complete delivery set can also include lenses, an external power unit and connection cables for an additional payment.&lt;br /&gt;
&lt;br /&gt;
== Appearance ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Cam side.jpg]] The Elphel-313/333 camera case is folding and made of anodized aluminium. Overall dimensions 116х45х45 mm, weight approximately 150 g (without lens). &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam front.jpg]] The carving socket for standard C/CS-mount lenses is located on the front of the camera. &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam back.jpg]] On the back side of the camera case are located a socket for connection of a network cable, a switch-on push button for the software reloading mode, and camera&#039;s model number mark. We constantly improve our products, therefore the number and appearance of the elements placed on the back panel can change. &lt;br /&gt;
&lt;br /&gt;
On the bottom of the camera case is the standard carving socket for installation of the camera on a support.&lt;br /&gt;
&lt;br /&gt;
== Connection ==&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Power_over_Ethernet PoE] (IEEE 802.3af) technology is used to provide power to the Elphel cameras, using the same cable as that used for network connection.&lt;br /&gt;
&lt;br /&gt;
The Elphel camera has a standard RJ-45 Ethernet port, and can be connected to a local network. This port is also used to provide power to the camera. You can do it in two ways:&lt;br /&gt;
&lt;br /&gt;
1. Use the external power supply with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
2. Use the PoE switch with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
=== External power supply ===&lt;br /&gt;
&lt;br /&gt;
[[image:power_supply.png]] &lt;br /&gt;
&lt;br /&gt;
The power supply has two built in RJ-45 jacks. J1 jack provides 48VDC and is used for connection to camera. You must use CAT5 &amp;quot;Crossover&amp;quot; cable for connection between J1 and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
J2 jack is used for connection to a hub/switch. You must use standard CAT5 cable for connection between J2 and the hub/switch RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== PoE switch ===&lt;br /&gt;
&lt;br /&gt;
[[image:poe_switch.jpg]]&lt;br /&gt;
&lt;br /&gt;
PoE switches have special RJ-45 jacks which provide the 48VDC.  You must use standard CAT5 cable for connection between the PoE switch special RJ-45 jacks and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== Necessary cables ===&lt;br /&gt;
&lt;br /&gt;
[[image:cable.jpg]]&lt;br /&gt;
&lt;br /&gt;
Two cable types are necessary for Elphel cameras - standard CAT5 cable and CAT5 &amp;quot;Crossover&amp;quot; cable if &#039;&#039;the camera is connected directly to the computer&#039;&#039;. Crossover cable is the same as used to connect two computers together with a single cable. If the camera is connected to a switch/hub (directly to the powered switch or through additional &#039;&#039;midspan&#039;&#039; power supply) no crossover cable is needed, all cables are straight.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[image:cable_jack.png]]&lt;br /&gt;
&lt;br /&gt;
How to wire a &amp;amp;quot;Crossover&amp;amp;quot; Cable.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;table width=&amp;quot;600&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; &amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #1&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #2&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          2 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 WHT/BRN&amp;lt;br&amp;gt;&lt;br /&gt;
          8 BRN/WHT&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          2 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 BRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          8 WHT/BRN&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Color abbreviations:&lt;br /&gt;
&lt;br /&gt;
WHT-WHITE&lt;br /&gt;
&lt;br /&gt;
BRN-BROWN&lt;br /&gt;
&lt;br /&gt;
ORG-ORANGE&lt;br /&gt;
&lt;br /&gt;
GRN-GREEN&lt;br /&gt;
&lt;br /&gt;
BLU-BLUE&lt;br /&gt;
&lt;br /&gt;
The first color listed in the color pair is the dominant color of the wire. In other words, WHT/ORG is a white wire with orange stripes.&lt;br /&gt;
&lt;br /&gt;
== Main Control Page ==&lt;br /&gt;
&lt;br /&gt;
The Main Control Page uses javaScript to process user input (input fields and window of interest that can be selected by dragging a frame with the mouse), and combines all the camera acquisition parameters in a single GET request to a CGI program in the camera through the embedded web server (Boa). Currently the camera does not support simultaneous access as each request actually controls the camera operation mode (including sensor resolution and frame rate) and does not just connect to the camera output. &lt;br /&gt;
&lt;br /&gt;
=== Page layout ===&lt;br /&gt;
&lt;br /&gt;
On the top part of the page you should see a preview image. It is always 640x512, 800x600 or 512x386 pixels (1/2 or 1/4 of camera resolution depending on the sensor) and does not change with the selected decimation and window of interest (red rectangle over the image). &lt;br /&gt;
&lt;br /&gt;
Below the preview image there are the camera controls:&lt;br /&gt;
&lt;br /&gt;
=== General Controls ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Window&#039;&#039;&#039; section there are 2 buttons at the bottom-right corner of window. You may specify window of interest (WOI) by dragging these buttons with the mouse. You may also change it numerically by entering data to &#039;&#039;&#039;W&#039;&#039;&#039;(idth), &#039;&#039;&#039;H&#039;&#039;&#039;(eight), &#039;&#039;&#039;L&#039;&#039;&#039;(eft) and &#039;&#039;&#039;T&#039;&#039;&#039;(op) input fields below. That numbers are rounded according to the selected sensor decimation and to use integer multiples of 16x16 pixels MCUs in JPEG compression. You may also change WOI by choosing one of the frequently used size from the list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Autoexposure ====&lt;br /&gt;
&lt;br /&gt;
By default the autoexposure is enabled. There is the special multicolor button for autoexposures management. The button colors is:&lt;br /&gt;
&lt;br /&gt;
[[Image:Aegreen.png]] - Autoexposure is enabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aered.png]] - Autoexposure is disabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aeblue.png]] - The autoexposure control window is opened&lt;br /&gt;
&lt;br /&gt;
[[Image:Autoexp_1.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Exposure&#039;&#039;&#039; field there is an input field to specify frame exposure time (in ms) - it is possible to specify fractions. You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Saturation&#039;&#039;&#039; section allows adjusting contrast saturation. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gamma&#039;&#039;&#039; field controls contrast by adjusting intensity conversion, gamma=1.0 corresponds to linear response (high contrast). Values less than 1 increase input dynamic range by expanding low intensity values (low contrast). You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
JPEG &#039;&#039;&#039;Quality&#039;&#039;&#039; sets standard JPEG compression quality. The higher the quality the bigger the resulting file. It does not change the camera frame rate. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;White balance&#039;&#039;&#039; section is a drop-down menu containing four static parameters: &#039;&#039;&#039;Sunlight&#039;&#039;&#039;, &#039;&#039;&#039;Cloudy&#039;&#039;&#039;, &#039;&#039;&#039;Incandenscent&#039;&#039;&#039; and &#039;&#039;&#039;Fluorescent&#039;&#039;&#039;. You can choose one of these parameters to achieve the highest quality image depending on the lighting conditions. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Image size&#039;&#039;&#039; drop-down menu you may choose the static window size. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Resolution&#039;&#039;&#039; section there are a drop-down menu containing a few parameters (from 0 to 8) for changing resolution. 0 - full resolution, 2 - 1/2 of full resolution, 3 - 1/3 of full resolution etc.&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Binning&#039;&#039;&#039; section there are a drop-down menu containing a few parameters (from 0 to 3) which change the binning mode. A CCD chip is an array of rectangular (generally square) light detecting regions called pixels (for picture elements). Sometimes pictures can be taken by combining the information in adjacent pixels and make them one effective superpixel. The figures below represent a detector of 144 pixels with the red squares indicating the current binning mode.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=0&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td wight=33%&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Bin1.jpg]]&lt;br /&gt;
&lt;br /&gt;
Binning 1x1 (&amp;quot;No&amp;quot; option)&lt;br /&gt;
&lt;br /&gt;
Number of pixels: 144&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td wight=34%&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Bin2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Binning 2x2 (&amp;quot;2&amp;quot; option)&lt;br /&gt;
&lt;br /&gt;
Number of pixels: 36&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td wight=33%&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Bin3.jpg]]&lt;br /&gt;
&lt;br /&gt;
Binning 3x3 (&amp;quot;3&amp;quot; option)&lt;br /&gt;
&lt;br /&gt;
Number of pixels: 16&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Color.jpg]] In monochrome mode (when the &#039;&#039;&#039;Color&#039;&#039;&#039; radiobutton is not checked) &amp;quot;R&amp;quot; gain settings are used for all channels and color conversion is disabled. &lt;br /&gt;
&lt;br /&gt;
Below are 3 buttons &#039;&#039;&#039;Preview&#039;&#039;&#039;, &#039;&#039;&#039;Reset&#039;&#039;&#039; and &#039;&#039;&#039;Apply&#039;&#039;&#039;. &#039;&#039;&#039;Preview&#039;&#039;&#039; button refreshes the image in the top portion on a page (ignoring selected WOI and decimation), The &#039;&#039;&#039;Reset&#039;&#039;&#039; button returns to the initial adjustment parameters. The &#039;&#039;&#039;Apply&#039;&#039;&#039; button is used to accept the new changes. &lt;br /&gt;
&lt;br /&gt;
Also there are two links after &#039;&#039;&#039;Photo&#039;&#039;&#039;: &#039;&#039;&#039;New&#039;&#039;&#039; contains a link to a camera CGI program that has all the acquisition parameters attached. You may just click it to open the image in a new window or right-click it and select &amp;quot;Save link target as...&amp;quot; (or equivalent) to save the image on your computer. The second link &#039;&#039;&#039;Last&#039;&#039;&#039; points to the last image already in the camera memory; you may use it to save the previously aquired image to your hard drive. &lt;br /&gt;
&lt;br /&gt;
[[Image:Help.png]] button opens this help page. &lt;br /&gt;
&lt;br /&gt;
[[Image:Info.png]] button opens the information window where there is a list of the acquisition parameters used during the last image/clip acquisition.&lt;br /&gt;
&lt;br /&gt;
=== Video Controls ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Video Controls&#039;&#039;&#039; in this section allow users to record a video clip in the camera memory and send it over the LAN/Internet as a Quicktime video file. All settings for the image size, resolution, compression quality, analog gains and exposure are the same as for still images described above, and that link adds extra parameters - &#039;&#039;&#039;Frame Rate&#039;&#039;&#039; and &#039;&#039;&#039;Time Scale&#039;&#039;&#039;. The first sets the desired frame rate (leave blank or set to 0 for the maximal rate), the second field sets how much the playback time is longer than the acquisition one. I.e. setting of &amp;quot;10&amp;quot; makes the clip play 10 times slower that it was shot. &lt;br /&gt;
&lt;br /&gt;
Total size of the clip (6-7MB) is determined by a camera internal buffer used for compressed image storage and the total number of frames as the frame headers are attached during the clip output and are not stored in the buffer. There are 2 ways to shoot a clip (usual duration 3-5 sec, depending on compression quality). First is to press &#039;&#039;&#039;Start stream&#039;&#039;&#039; button, wait for the event to occur and then press &#039;&#039;&#039;Acquire&#039;&#039;&#039;. In this mode after &#039;&#039;&#039;Start stream&#039;&#039;&#039; the camera continuously writes to the buffer, overwriting footage when all the available space is used. Pressing the &#039;&#039;&#039;Stop stream&#039;&#039;&#039; button ends data saving and so the buffer contains the last data recorded. Another way is to press &#039;&#039;&#039;Acquire&#039;&#039;&#039; before the event. In that mode the clip recording starts after the trigger and stops when the whole buffer is full. &lt;br /&gt;
&lt;br /&gt;
There are additional controls to preview a videoclip from the camera memory. Frame number 1 is the first one, 2 - second, etc. Frame number 0 is the last one in the clip, -1 - previous before last, etc. Any image acquisition (including &#039;&#039;&#039;Preview&#039;&#039;&#039;) erases the stored clip and makes it one frame long. &lt;br /&gt;
&lt;br /&gt;
Clicking on the &#039;&#039;&#039;Video Clip&#039;&#039;&#039; link opens the clip in the Apple QuickTime ™ (or compatible) player plugin (if installed) - you may also use this link to save the clip as a file on your computer.&lt;br /&gt;
&lt;br /&gt;
=== Advanced Panel ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 2.jpg]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Advanced Panel&#039;&#039;&#039; tab opens additional adjustment parameters for the image. In this section you may specify more exact adjustments of color levels of the image. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gains&#039;&#039;&#039; section controls the sensor analog gain settings. &#039;&#039;&#039;R&#039;&#039;&#039;, &#039;&#039;&#039;G&#039;&#039;&#039; and &#039;&#039;&#039;B&#039;&#039;&#039; input fields control color component gains. Using high gain settings increases sensor noise but is required to view fast events with 1ms exposure time with the lighting used in the current setup. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;R-Y&#039;&#039;&#039; specifies color saturation for red color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B-Y&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;W&#039;&#039;&#039; specifies level saturation for white color component. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-X&#039;&#039;&#039; button allows turning the image horizontally. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-Y&#039;&#039;&#039; button allows turning the image vertically. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;NOTE: Some parameters (e.g. window size) cannot be changed without stopping the acquisition/compression.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Technical Information for the Elphel-333 ==&lt;br /&gt;
&lt;br /&gt;
=== Default Setup ===&lt;br /&gt;
&lt;br /&gt;
The default IP address of the camera is &#039;&#039;&#039;192.168.0.9&#039;&#039;&#039; netmask &#039;&#039;&#039;255.255.255.0&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You should be able to ping the camera from another machine on the same subnet.&lt;br /&gt;
&lt;br /&gt;
By default, the following TCP ports are open:&lt;br /&gt;
&lt;br /&gt;
21/ftp&lt;br /&gt;
&lt;br /&gt;
23/telnet&lt;br /&gt;
&lt;br /&gt;
80/http&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Logging in ===&lt;br /&gt;
&lt;br /&gt;
You can log in to the camera via telnet on TCP port 23&lt;br /&gt;
&lt;br /&gt;
User: &#039;&#039;&#039;root&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Password: &#039;&#039;&#039;pass&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Serial port ===&lt;br /&gt;
&lt;br /&gt;
The serial port settings (additional board 308 needed)&lt;br /&gt;
&lt;br /&gt;
Speed: 19200 8N1&lt;br /&gt;
&lt;br /&gt;
RTS/CTS: None&lt;br /&gt;
&lt;br /&gt;
XON/XOFF : None&lt;br /&gt;
&lt;br /&gt;
=== Changing IP address of the camera ===&lt;br /&gt;
&lt;br /&gt;
The camera network settings can be changed by going to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;http://&amp;lt;camera_ip&amp;gt;/axis.html&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
from an attached computer.&lt;br /&gt;
&lt;br /&gt;
=== Multicast routing in Linux ===&lt;br /&gt;
&lt;br /&gt;
In order to use the multicast streaming from the cameras, you need to add the following route rule to an attached PC:&lt;br /&gt;
    route add -net 224.0.0.0 netmask 240.0.0.0 &amp;lt;interface&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;interface&amp;gt; is the interface connected to the camera (e.g. eth0).&lt;br /&gt;
&lt;br /&gt;
The knoppix live CD/DVD does this for you automatically.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&#039;&#039;Free Software and Open Hardware. Elphel, Inc., 2005&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7918</id>
		<title>Using the cameras</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7918"/>
		<updated>2006-03-03T18:03:14Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* General Controls */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Manual Header}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Elphel network cameras — complex devices in whose development advanced technologies and non-standard program decisions are used. We constantly improve our products so that users can use the cameras with the least expense of time and effort. In this section of Elphel Network Cameras Manual you can find detailed information about using Elphel cameras.&lt;br /&gt;
&lt;br /&gt;
== Complete set ==&lt;br /&gt;
&lt;br /&gt;
The complete camera delivery set includes the actual network camera Elphel-313/323/333, and Live-CD or Live-DVD with a special edition of the Debian-based GNU/Linux operating system Knoppix, complete with all the necessary software for the camera. &lt;br /&gt;
&lt;br /&gt;
The complete delivery set can also include lenses, an external power unit and connection cables for an additional payment.&lt;br /&gt;
&lt;br /&gt;
== Appearance ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Cam side.jpg]] The Elphel-313/333 camera case is folding and made of anodized aluminium. Overall dimensions 116х45х45 mm, weight approximately 150 g (without lens). &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam front.jpg]] The carving socket for standard C/CS-mount lenses is located on the front of the camera. &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam back.jpg]] On the back side of the camera case are located a socket for connection of a network cable, a switch-on push button for the software reloading mode, and camera&#039;s model number mark. We constantly improve our products, therefore the number and appearance of the elements placed on the back panel can change. &lt;br /&gt;
&lt;br /&gt;
On the bottom of the camera case is the standard carving socket for installation of the camera on a support.&lt;br /&gt;
&lt;br /&gt;
== Connection ==&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Power_over_Ethernet PoE] (IEEE 802.3af) technology is used to provide power to the Elphel cameras, using the same cable as that used for network connection.&lt;br /&gt;
&lt;br /&gt;
The Elphel camera has a standard RJ-45 Ethernet port, and can be connected to a local network. This port is also used to provide power to the camera. You can do it in two ways:&lt;br /&gt;
&lt;br /&gt;
1. Use the external power supply with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
2. Use the PoE switch with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
=== External power supply ===&lt;br /&gt;
&lt;br /&gt;
[[image:power_supply.png]] &lt;br /&gt;
&lt;br /&gt;
The power supply has two built in RJ-45 jacks. J1 jack provides 48VDC and is used for connection to camera. You must use CAT5 &amp;quot;Crossover&amp;quot; cable for connection between J1 and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
J2 jack is used for connection to a hub/switch. You must use standard CAT5 cable for connection between J2 and the hub/switch RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== PoE switch ===&lt;br /&gt;
&lt;br /&gt;
[[image:poe_switch.jpg]]&lt;br /&gt;
&lt;br /&gt;
PoE switches have special RJ-45 jacks which provide the 48VDC.  You must use standard CAT5 cable for connection between the PoE switch special RJ-45 jacks and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== Necessary cables ===&lt;br /&gt;
&lt;br /&gt;
[[image:cable.jpg]]&lt;br /&gt;
&lt;br /&gt;
Two cable types are necessary for Elphel cameras - standard CAT5 cable and CAT5 &amp;quot;Crossover&amp;quot; cable if &#039;&#039;the camera is connected directly to the computer&#039;&#039;. Crossover cable is the same as used to connect two computers together with a single cable. If the camera is connected to a switch/hub (directly to the powered switch or through additional &#039;&#039;midspan&#039;&#039; power supply) no crossover cable is needed, all cables are straight.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[image:cable_jack.png]]&lt;br /&gt;
&lt;br /&gt;
How to wire a &amp;amp;quot;Crossover&amp;amp;quot; Cable.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;table width=&amp;quot;600&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; &amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #1&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #2&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          2 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 WHT/BRN&amp;lt;br&amp;gt;&lt;br /&gt;
          8 BRN/WHT&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          2 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 BRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          8 WHT/BRN&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Color abbreviations:&lt;br /&gt;
&lt;br /&gt;
WHT-WHITE&lt;br /&gt;
&lt;br /&gt;
BRN-BROWN&lt;br /&gt;
&lt;br /&gt;
ORG-ORANGE&lt;br /&gt;
&lt;br /&gt;
GRN-GREEN&lt;br /&gt;
&lt;br /&gt;
BLU-BLUE&lt;br /&gt;
&lt;br /&gt;
The first color listed in the color pair is the dominant color of the wire. In other words, WHT/ORG is a white wire with orange stripes.&lt;br /&gt;
&lt;br /&gt;
== Main Control Page ==&lt;br /&gt;
&lt;br /&gt;
The Main Control Page uses javaScript to process user input (input fields and window of interest that can be selected by dragging a frame with the mouse), and combines all the camera acquisition parameters in a single GET request to a CGI program in the camera through the embedded web server (Boa). Currently the camera does not support simultaneous access as each request actually controls the camera operation mode (including sensor resolution and frame rate) and does not just connect to the camera output. &lt;br /&gt;
&lt;br /&gt;
=== Page layout ===&lt;br /&gt;
&lt;br /&gt;
On the top part of the page you should see a preview image. It is always 640x512, 800x600 or 512x386 pixels (1/2 or 1/4 of camera resolution depending on the sensor) and does not change with the selected decimation and window of interest (red rectangle over the image). &lt;br /&gt;
&lt;br /&gt;
Below the preview image there are the camera controls:&lt;br /&gt;
&lt;br /&gt;
=== General Controls ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Window&#039;&#039;&#039; section there are 2 buttons at the bottom-right corner of window. You may specify window of interest (WOI) by dragging these buttons with the mouse. You may also change it numerically by entering data to &#039;&#039;&#039;W&#039;&#039;&#039;(idth), &#039;&#039;&#039;H&#039;&#039;&#039;(eight), &#039;&#039;&#039;L&#039;&#039;&#039;(eft) and &#039;&#039;&#039;T&#039;&#039;&#039;(op) input fields below. That numbers are rounded according to the selected sensor decimation and to use integer multiples of 16x16 pixels MCUs in JPEG compression. You may also change WOI by choosing one of the frequently used size from the list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Autoexposure ====&lt;br /&gt;
&lt;br /&gt;
By default the autoexposure is enabled. There is the special multicolor button for autoexposures management. The button colors is:&lt;br /&gt;
&lt;br /&gt;
[[Image:Aegreen.png]] - Autoexposure is enabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aered.png]] - Autoexposure is disabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aeblue.png]] - The autoexposure control window is opened&lt;br /&gt;
&lt;br /&gt;
[[Image:Autoexp_1.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Exposure&#039;&#039;&#039; field there is an input field to specify frame exposure time (in ms) - it is possible to specify fractions. You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Saturation&#039;&#039;&#039; section allows adjusting contrast saturation. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gamma&#039;&#039;&#039; field controls contrast by adjusting intensity conversion, gamma=1.0 corresponds to linear response (high contrast). Values less than 1 increase input dynamic range by expanding low intensity values (low contrast). You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
JPEG &#039;&#039;&#039;Quality&#039;&#039;&#039; sets standard JPEG compression quality. The higher the quality the bigger the resulting file. It does not change the camera frame rate. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;White balance&#039;&#039;&#039; section is a drop-down menu containing four static parameters: &#039;&#039;&#039;Sunlight&#039;&#039;&#039;, &#039;&#039;&#039;Cloudy&#039;&#039;&#039;, &#039;&#039;&#039;Incandenscent&#039;&#039;&#039; and &#039;&#039;&#039;Fluorescent&#039;&#039;&#039;. You can choose one of these parameters to achieve the highest quality image depending on the lighting conditions. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Image size&#039;&#039;&#039; drop-down menu you may choose the static window size. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Resolution&#039;&#039;&#039; section there are a drop-down menu containing a few parameters (from 0 to 8) for changing resolution. 0 - full resolution, 2 - 1/2 of full resolution, 3 - 1/3 of full resolution etc.&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Binning&#039;&#039;&#039; section there are a drop-down menu containing a few parameters (from 0 to 3) which change the binning mode. A CCD chip is an array of rectangular (generally square) light detecting regions called pixels (for picture elements). Sometimes pictures can be taken by combining the information in adjacent pixels and make them one effective superpixel. The figures below represent a detector of 144 pixels with the red squares indicating the current binning mode.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=0&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td size=33%&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Bin1.jpg]]&lt;br /&gt;
&lt;br /&gt;
Binning 1x1 (&amp;quot;No&amp;quot; option)&lt;br /&gt;
&lt;br /&gt;
Number of pixels: 144&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td size=34%&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Bin2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Binning 2x2 (&amp;quot;2&amp;quot; option)&lt;br /&gt;
&lt;br /&gt;
Number of pixels: 36&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td size=33%&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Bin3.jpg]]&lt;br /&gt;
&lt;br /&gt;
Binning 3x3 (&amp;quot;3&amp;quot; option)&lt;br /&gt;
&lt;br /&gt;
Number of pixels: 16&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Color.jpg]] In monochrome mode (when the &#039;&#039;&#039;Color&#039;&#039;&#039; radiobutton is not checked) &amp;quot;R&amp;quot; gain settings are used for all channels and color conversion is disabled. &lt;br /&gt;
&lt;br /&gt;
Below are 3 buttons &#039;&#039;&#039;Preview&#039;&#039;&#039;, &#039;&#039;&#039;Reset&#039;&#039;&#039; and &#039;&#039;&#039;Apply&#039;&#039;&#039;. &#039;&#039;&#039;Preview&#039;&#039;&#039; button refreshes the image in the top portion on a page (ignoring selected WOI and decimation), The &#039;&#039;&#039;Reset&#039;&#039;&#039; button returns to the initial adjustment parameters. The &#039;&#039;&#039;Apply&#039;&#039;&#039; button is used to accept the new changes. &lt;br /&gt;
&lt;br /&gt;
Also there are two links after &#039;&#039;&#039;Photo&#039;&#039;&#039;: &#039;&#039;&#039;New&#039;&#039;&#039; contains a link to a camera CGI program that has all the acquisition parameters attached. You may just click it to open the image in a new window or right-click it and select &amp;quot;Save link target as...&amp;quot; (or equivalent) to save the image on your computer. The second link &#039;&#039;&#039;Last&#039;&#039;&#039; points to the last image already in the camera memory; you may use it to save the previously aquired image to your hard drive. &lt;br /&gt;
&lt;br /&gt;
[[Image:Help.png]] button opens this help page. &lt;br /&gt;
&lt;br /&gt;
[[Image:Info.png]] button opens the information window where there is a list of the acquisition parameters used during the last image/clip acquisition.&lt;br /&gt;
&lt;br /&gt;
=== Video Controls ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Video Controls&#039;&#039;&#039; in this section allow users to record a video clip in the camera memory and send it over the LAN/Internet as a Quicktime video file. All settings for the image size, resolution, compression quality, analog gains and exposure are the same as for still images described above, and that link adds extra parameters - &#039;&#039;&#039;Frame Rate&#039;&#039;&#039; and &#039;&#039;&#039;Time Scale&#039;&#039;&#039;. The first sets the desired frame rate (leave blank or set to 0 for the maximal rate), the second field sets how much the playback time is longer than the acquisition one. I.e. setting of &amp;quot;10&amp;quot; makes the clip play 10 times slower that it was shot. &lt;br /&gt;
&lt;br /&gt;
Total size of the clip (6-7MB) is determined by a camera internal buffer used for compressed image storage and the total number of frames as the frame headers are attached during the clip output and are not stored in the buffer. There are 2 ways to shoot a clip (usual duration 3-5 sec, depending on compression quality). First is to press &#039;&#039;&#039;Start stream&#039;&#039;&#039; button, wait for the event to occur and then press &#039;&#039;&#039;Acquire&#039;&#039;&#039;. In this mode after &#039;&#039;&#039;Start stream&#039;&#039;&#039; the camera continuously writes to the buffer, overwriting footage when all the available space is used. Pressing the &#039;&#039;&#039;Stop stream&#039;&#039;&#039; button ends data saving and so the buffer contains the last data recorded. Another way is to press &#039;&#039;&#039;Acquire&#039;&#039;&#039; before the event. In that mode the clip recording starts after the trigger and stops when the whole buffer is full. &lt;br /&gt;
&lt;br /&gt;
There are additional controls to preview a videoclip from the camera memory. Frame number 1 is the first one, 2 - second, etc. Frame number 0 is the last one in the clip, -1 - previous before last, etc. Any image acquisition (including &#039;&#039;&#039;Preview&#039;&#039;&#039;) erases the stored clip and makes it one frame long. &lt;br /&gt;
&lt;br /&gt;
Clicking on the &#039;&#039;&#039;Video Clip&#039;&#039;&#039; link opens the clip in the Apple QuickTime ™ (or compatible) player plugin (if installed) - you may also use this link to save the clip as a file on your computer.&lt;br /&gt;
&lt;br /&gt;
=== Advanced Panel ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 2.jpg]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Advanced Panel&#039;&#039;&#039; tab opens additional adjustment parameters for the image. In this section you may specify more exact adjustments of color levels of the image. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gains&#039;&#039;&#039; section controls the sensor analog gain settings. &#039;&#039;&#039;R&#039;&#039;&#039;, &#039;&#039;&#039;G&#039;&#039;&#039; and &#039;&#039;&#039;B&#039;&#039;&#039; input fields control color component gains. Using high gain settings increases sensor noise but is required to view fast events with 1ms exposure time with the lighting used in the current setup. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;R-Y&#039;&#039;&#039; specifies color saturation for red color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B-Y&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;W&#039;&#039;&#039; specifies level saturation for white color component. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-X&#039;&#039;&#039; button allows turning the image horizontally. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-Y&#039;&#039;&#039; button allows turning the image vertically. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;NOTE: Some parameters (e.g. window size) cannot be changed without stopping the acquisition/compression.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Technical Information for the Elphel-333 ==&lt;br /&gt;
&lt;br /&gt;
=== Default Setup ===&lt;br /&gt;
&lt;br /&gt;
The default IP address of the camera is &#039;&#039;&#039;192.168.0.9&#039;&#039;&#039; netmask &#039;&#039;&#039;255.255.255.0&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You should be able to ping the camera from another machine on the same subnet.&lt;br /&gt;
&lt;br /&gt;
By default, the following TCP ports are open:&lt;br /&gt;
&lt;br /&gt;
21/ftp&lt;br /&gt;
&lt;br /&gt;
23/telnet&lt;br /&gt;
&lt;br /&gt;
80/http&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Logging in ===&lt;br /&gt;
&lt;br /&gt;
You can log in to the camera via telnet on TCP port 23&lt;br /&gt;
&lt;br /&gt;
User: &#039;&#039;&#039;root&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Password: &#039;&#039;&#039;pass&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Serial port ===&lt;br /&gt;
&lt;br /&gt;
The serial port settings (additional board 308 needed)&lt;br /&gt;
&lt;br /&gt;
Speed: 19200 8N1&lt;br /&gt;
&lt;br /&gt;
RTS/CTS: None&lt;br /&gt;
&lt;br /&gt;
XON/XOFF : None&lt;br /&gt;
&lt;br /&gt;
=== Changing IP address of the camera ===&lt;br /&gt;
&lt;br /&gt;
The camera network settings can be changed by going to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;http://&amp;lt;camera_ip&amp;gt;/axis.html&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
from an attached computer.&lt;br /&gt;
&lt;br /&gt;
=== Multicast routing in Linux ===&lt;br /&gt;
&lt;br /&gt;
In order to use the multicast streaming from the cameras, you need to add the following route rule to an attached PC:&lt;br /&gt;
    route add -net 224.0.0.0 netmask 240.0.0.0 &amp;lt;interface&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;interface&amp;gt; is the interface connected to the camera (e.g. eth0).&lt;br /&gt;
&lt;br /&gt;
The knoppix live CD/DVD does this for you automatically.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&#039;&#039;Free Software and Open Hardware. Elphel, Inc., 2005&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7917</id>
		<title>Using the cameras</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7917"/>
		<updated>2006-03-03T18:01:38Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* General Controls */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Manual Header}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Elphel network cameras — complex devices in whose development advanced technologies and non-standard program decisions are used. We constantly improve our products so that users can use the cameras with the least expense of time and effort. In this section of Elphel Network Cameras Manual you can find detailed information about using Elphel cameras.&lt;br /&gt;
&lt;br /&gt;
== Complete set ==&lt;br /&gt;
&lt;br /&gt;
The complete camera delivery set includes the actual network camera Elphel-313/323/333, and Live-CD or Live-DVD with a special edition of the Debian-based GNU/Linux operating system Knoppix, complete with all the necessary software for the camera. &lt;br /&gt;
&lt;br /&gt;
The complete delivery set can also include lenses, an external power unit and connection cables for an additional payment.&lt;br /&gt;
&lt;br /&gt;
== Appearance ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Cam side.jpg]] The Elphel-313/333 camera case is folding and made of anodized aluminium. Overall dimensions 116х45х45 mm, weight approximately 150 g (without lens). &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam front.jpg]] The carving socket for standard C/CS-mount lenses is located on the front of the camera. &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam back.jpg]] On the back side of the camera case are located a socket for connection of a network cable, a switch-on push button for the software reloading mode, and camera&#039;s model number mark. We constantly improve our products, therefore the number and appearance of the elements placed on the back panel can change. &lt;br /&gt;
&lt;br /&gt;
On the bottom of the camera case is the standard carving socket for installation of the camera on a support.&lt;br /&gt;
&lt;br /&gt;
== Connection ==&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Power_over_Ethernet PoE] (IEEE 802.3af) technology is used to provide power to the Elphel cameras, using the same cable as that used for network connection.&lt;br /&gt;
&lt;br /&gt;
The Elphel camera has a standard RJ-45 Ethernet port, and can be connected to a local network. This port is also used to provide power to the camera. You can do it in two ways:&lt;br /&gt;
&lt;br /&gt;
1. Use the external power supply with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
2. Use the PoE switch with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
=== External power supply ===&lt;br /&gt;
&lt;br /&gt;
[[image:power_supply.png]] &lt;br /&gt;
&lt;br /&gt;
The power supply has two built in RJ-45 jacks. J1 jack provides 48VDC and is used for connection to camera. You must use CAT5 &amp;quot;Crossover&amp;quot; cable for connection between J1 and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
J2 jack is used for connection to a hub/switch. You must use standard CAT5 cable for connection between J2 and the hub/switch RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== PoE switch ===&lt;br /&gt;
&lt;br /&gt;
[[image:poe_switch.jpg]]&lt;br /&gt;
&lt;br /&gt;
PoE switches have special RJ-45 jacks which provide the 48VDC.  You must use standard CAT5 cable for connection between the PoE switch special RJ-45 jacks and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== Necessary cables ===&lt;br /&gt;
&lt;br /&gt;
[[image:cable.jpg]]&lt;br /&gt;
&lt;br /&gt;
Two cable types are necessary for Elphel cameras - standard CAT5 cable and CAT5 &amp;quot;Crossover&amp;quot; cable if &#039;&#039;the camera is connected directly to the computer&#039;&#039;. Crossover cable is the same as used to connect two computers together with a single cable. If the camera is connected to a switch/hub (directly to the powered switch or through additional &#039;&#039;midspan&#039;&#039; power supply) no crossover cable is needed, all cables are straight.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[image:cable_jack.png]]&lt;br /&gt;
&lt;br /&gt;
How to wire a &amp;amp;quot;Crossover&amp;amp;quot; Cable.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;table width=&amp;quot;600&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; &amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #1&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #2&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          2 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 WHT/BRN&amp;lt;br&amp;gt;&lt;br /&gt;
          8 BRN/WHT&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          2 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 BRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          8 WHT/BRN&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Color abbreviations:&lt;br /&gt;
&lt;br /&gt;
WHT-WHITE&lt;br /&gt;
&lt;br /&gt;
BRN-BROWN&lt;br /&gt;
&lt;br /&gt;
ORG-ORANGE&lt;br /&gt;
&lt;br /&gt;
GRN-GREEN&lt;br /&gt;
&lt;br /&gt;
BLU-BLUE&lt;br /&gt;
&lt;br /&gt;
The first color listed in the color pair is the dominant color of the wire. In other words, WHT/ORG is a white wire with orange stripes.&lt;br /&gt;
&lt;br /&gt;
== Main Control Page ==&lt;br /&gt;
&lt;br /&gt;
The Main Control Page uses javaScript to process user input (input fields and window of interest that can be selected by dragging a frame with the mouse), and combines all the camera acquisition parameters in a single GET request to a CGI program in the camera through the embedded web server (Boa). Currently the camera does not support simultaneous access as each request actually controls the camera operation mode (including sensor resolution and frame rate) and does not just connect to the camera output. &lt;br /&gt;
&lt;br /&gt;
=== Page layout ===&lt;br /&gt;
&lt;br /&gt;
On the top part of the page you should see a preview image. It is always 640x512, 800x600 or 512x386 pixels (1/2 or 1/4 of camera resolution depending on the sensor) and does not change with the selected decimation and window of interest (red rectangle over the image). &lt;br /&gt;
&lt;br /&gt;
Below the preview image there are the camera controls:&lt;br /&gt;
&lt;br /&gt;
=== General Controls ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Window&#039;&#039;&#039; section there are 2 buttons at the bottom-right corner of window. You may specify window of interest (WOI) by dragging these buttons with the mouse. You may also change it numerically by entering data to &#039;&#039;&#039;W&#039;&#039;&#039;(idth), &#039;&#039;&#039;H&#039;&#039;&#039;(eight), &#039;&#039;&#039;L&#039;&#039;&#039;(eft) and &#039;&#039;&#039;T&#039;&#039;&#039;(op) input fields below. That numbers are rounded according to the selected sensor decimation and to use integer multiples of 16x16 pixels MCUs in JPEG compression. You may also change WOI by choosing one of the frequently used size from the list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Autoexposure ====&lt;br /&gt;
&lt;br /&gt;
By default the autoexposure is enabled. There is the special multicolor button for autoexposures management. The button colors is:&lt;br /&gt;
&lt;br /&gt;
[[Image:Aegreen.png]] - Autoexposure is enabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aered.png]] - Autoexposure is disabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aeblue.png]] - The autoexposure control window is opened&lt;br /&gt;
&lt;br /&gt;
[[Image:Autoexp_1.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Exposure&#039;&#039;&#039; field there is an input field to specify frame exposure time (in ms) - it is possible to specify fractions. You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Saturation&#039;&#039;&#039; section allows adjusting contrast saturation. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gamma&#039;&#039;&#039; field controls contrast by adjusting intensity conversion, gamma=1.0 corresponds to linear response (high contrast). Values less than 1 increase input dynamic range by expanding low intensity values (low contrast). You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
JPEG &#039;&#039;&#039;Quality&#039;&#039;&#039; sets standard JPEG compression quality. The higher the quality the bigger the resulting file. It does not change the camera frame rate. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;White balance&#039;&#039;&#039; section is a drop-down menu containing four static parameters: &#039;&#039;&#039;Sunlight&#039;&#039;&#039;, &#039;&#039;&#039;Cloudy&#039;&#039;&#039;, &#039;&#039;&#039;Incandenscent&#039;&#039;&#039; and &#039;&#039;&#039;Fluorescent&#039;&#039;&#039;. You can choose one of these parameters to achieve the highest quality image depending on the lighting conditions. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Image size&#039;&#039;&#039; drop-down menu you may choose the static window size. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Resolution&#039;&#039;&#039; section there are a drop-down menu containing a few parameters (from 0 to 8) for changing resolution. 0 - full resolution, 2 - 1/2 of full resolution, 3 - 1/3 of full resolution etc.&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Binning&#039;&#039;&#039; section there are a drop-down menu containing a few parameters (from 0 to 3) which change the binning mode. A CCD chip is an array of rectangular (generally square) light detecting regions called pixels (for picture elements). Sometimes pictures can be taken by combining the information in adjacent pixels and make them one effective superpixel. The figures below represent a detector of 144 pixels with the red squares indicating the current binning mode.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=0&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Bin1.jpg]]&lt;br /&gt;
&lt;br /&gt;
Binning 1x1 (&amp;quot;No&amp;quot; option)&lt;br /&gt;
Number of pixels: 144&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Bin2.jpg]]&lt;br /&gt;
&lt;br /&gt;
Binning 2x2 (&amp;quot;2&amp;quot; option)&lt;br /&gt;
Number of pixels: 36&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Bin3.jpg]]&lt;br /&gt;
&lt;br /&gt;
Binning 3x3 (&amp;quot;3&amp;quot; option)&lt;br /&gt;
Number of pixels: 16&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
[[Image:Color.jpg]] In monochrome mode (when the &#039;&#039;&#039;Color&#039;&#039;&#039; radiobutton is not checked) &amp;quot;R&amp;quot; gain settings are used for all channels and color conversion is disabled. &lt;br /&gt;
&lt;br /&gt;
Below are 3 buttons &#039;&#039;&#039;Preview&#039;&#039;&#039;, &#039;&#039;&#039;Reset&#039;&#039;&#039; and &#039;&#039;&#039;Apply&#039;&#039;&#039;. &#039;&#039;&#039;Preview&#039;&#039;&#039; button refreshes the image in the top portion on a page (ignoring selected WOI and decimation), The &#039;&#039;&#039;Reset&#039;&#039;&#039; button returns to the initial adjustment parameters. The &#039;&#039;&#039;Apply&#039;&#039;&#039; button is used to accept the new changes. &lt;br /&gt;
&lt;br /&gt;
Also there are two links after &#039;&#039;&#039;Photo&#039;&#039;&#039;: &#039;&#039;&#039;New&#039;&#039;&#039; contains a link to a camera CGI program that has all the acquisition parameters attached. You may just click it to open the image in a new window or right-click it and select &amp;quot;Save link target as...&amp;quot; (or equivalent) to save the image on your computer. The second link &#039;&#039;&#039;Last&#039;&#039;&#039; points to the last image already in the camera memory; you may use it to save the previously aquired image to your hard drive. &lt;br /&gt;
&lt;br /&gt;
[[Image:Help.png]] button opens this help page. &lt;br /&gt;
&lt;br /&gt;
[[Image:Info.png]] button opens the information window where there is a list of the acquisition parameters used during the last image/clip acquisition.&lt;br /&gt;
&lt;br /&gt;
=== Video Controls ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Video Controls&#039;&#039;&#039; in this section allow users to record a video clip in the camera memory and send it over the LAN/Internet as a Quicktime video file. All settings for the image size, resolution, compression quality, analog gains and exposure are the same as for still images described above, and that link adds extra parameters - &#039;&#039;&#039;Frame Rate&#039;&#039;&#039; and &#039;&#039;&#039;Time Scale&#039;&#039;&#039;. The first sets the desired frame rate (leave blank or set to 0 for the maximal rate), the second field sets how much the playback time is longer than the acquisition one. I.e. setting of &amp;quot;10&amp;quot; makes the clip play 10 times slower that it was shot. &lt;br /&gt;
&lt;br /&gt;
Total size of the clip (6-7MB) is determined by a camera internal buffer used for compressed image storage and the total number of frames as the frame headers are attached during the clip output and are not stored in the buffer. There are 2 ways to shoot a clip (usual duration 3-5 sec, depending on compression quality). First is to press &#039;&#039;&#039;Start stream&#039;&#039;&#039; button, wait for the event to occur and then press &#039;&#039;&#039;Acquire&#039;&#039;&#039;. In this mode after &#039;&#039;&#039;Start stream&#039;&#039;&#039; the camera continuously writes to the buffer, overwriting footage when all the available space is used. Pressing the &#039;&#039;&#039;Stop stream&#039;&#039;&#039; button ends data saving and so the buffer contains the last data recorded. Another way is to press &#039;&#039;&#039;Acquire&#039;&#039;&#039; before the event. In that mode the clip recording starts after the trigger and stops when the whole buffer is full. &lt;br /&gt;
&lt;br /&gt;
There are additional controls to preview a videoclip from the camera memory. Frame number 1 is the first one, 2 - second, etc. Frame number 0 is the last one in the clip, -1 - previous before last, etc. Any image acquisition (including &#039;&#039;&#039;Preview&#039;&#039;&#039;) erases the stored clip and makes it one frame long. &lt;br /&gt;
&lt;br /&gt;
Clicking on the &#039;&#039;&#039;Video Clip&#039;&#039;&#039; link opens the clip in the Apple QuickTime ™ (or compatible) player plugin (if installed) - you may also use this link to save the clip as a file on your computer.&lt;br /&gt;
&lt;br /&gt;
=== Advanced Panel ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 2.jpg]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Advanced Panel&#039;&#039;&#039; tab opens additional adjustment parameters for the image. In this section you may specify more exact adjustments of color levels of the image. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gains&#039;&#039;&#039; section controls the sensor analog gain settings. &#039;&#039;&#039;R&#039;&#039;&#039;, &#039;&#039;&#039;G&#039;&#039;&#039; and &#039;&#039;&#039;B&#039;&#039;&#039; input fields control color component gains. Using high gain settings increases sensor noise but is required to view fast events with 1ms exposure time with the lighting used in the current setup. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;R-Y&#039;&#039;&#039; specifies color saturation for red color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B-Y&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;W&#039;&#039;&#039; specifies level saturation for white color component. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-X&#039;&#039;&#039; button allows turning the image horizontally. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-Y&#039;&#039;&#039; button allows turning the image vertically. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;NOTE: Some parameters (e.g. window size) cannot be changed without stopping the acquisition/compression.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Technical Information for the Elphel-333 ==&lt;br /&gt;
&lt;br /&gt;
=== Default Setup ===&lt;br /&gt;
&lt;br /&gt;
The default IP address of the camera is &#039;&#039;&#039;192.168.0.9&#039;&#039;&#039; netmask &#039;&#039;&#039;255.255.255.0&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You should be able to ping the camera from another machine on the same subnet.&lt;br /&gt;
&lt;br /&gt;
By default, the following TCP ports are open:&lt;br /&gt;
&lt;br /&gt;
21/ftp&lt;br /&gt;
&lt;br /&gt;
23/telnet&lt;br /&gt;
&lt;br /&gt;
80/http&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Logging in ===&lt;br /&gt;
&lt;br /&gt;
You can log in to the camera via telnet on TCP port 23&lt;br /&gt;
&lt;br /&gt;
User: &#039;&#039;&#039;root&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Password: &#039;&#039;&#039;pass&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Serial port ===&lt;br /&gt;
&lt;br /&gt;
The serial port settings (additional board 308 needed)&lt;br /&gt;
&lt;br /&gt;
Speed: 19200 8N1&lt;br /&gt;
&lt;br /&gt;
RTS/CTS: None&lt;br /&gt;
&lt;br /&gt;
XON/XOFF : None&lt;br /&gt;
&lt;br /&gt;
=== Changing IP address of the camera ===&lt;br /&gt;
&lt;br /&gt;
The camera network settings can be changed by going to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;http://&amp;lt;camera_ip&amp;gt;/axis.html&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
from an attached computer.&lt;br /&gt;
&lt;br /&gt;
=== Multicast routing in Linux ===&lt;br /&gt;
&lt;br /&gt;
In order to use the multicast streaming from the cameras, you need to add the following route rule to an attached PC:&lt;br /&gt;
    route add -net 224.0.0.0 netmask 240.0.0.0 &amp;lt;interface&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;interface&amp;gt; is the interface connected to the camera (e.g. eth0).&lt;br /&gt;
&lt;br /&gt;
The knoppix live CD/DVD does this for you automatically.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&#039;&#039;Free Software and Open Hardware. Elphel, Inc., 2005&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=File:Bin3.jpg&amp;diff=1576</id>
		<title>File:Bin3.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=File:Bin3.jpg&amp;diff=1576"/>
		<updated>2006-03-03T17:57:42Z</updated>

		<summary type="html">&lt;p&gt;Ilya: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=File:Bin2.jpg&amp;diff=1575</id>
		<title>File:Bin2.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=File:Bin2.jpg&amp;diff=1575"/>
		<updated>2006-03-03T17:57:20Z</updated>

		<summary type="html">&lt;p&gt;Ilya: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=File:Bin1.jpg&amp;diff=1574</id>
		<title>File:Bin1.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=File:Bin1.jpg&amp;diff=1574"/>
		<updated>2006-03-03T17:57:01Z</updated>

		<summary type="html">&lt;p&gt;Ilya: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7916</id>
		<title>Using the cameras</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7916"/>
		<updated>2006-03-03T17:07:09Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* Autoexposure */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Manual Header}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Elphel network cameras — complex devices in whose development advanced technologies and non-standard program decisions are used. We constantly improve our products so that users can use the cameras with the least expense of time and effort. In this section of Elphel Network Cameras Manual you can find detailed information about using Elphel cameras.&lt;br /&gt;
&lt;br /&gt;
== Complete set ==&lt;br /&gt;
&lt;br /&gt;
The complete camera delivery set includes the actual network camera Elphel-313/323/333, and Live-CD or Live-DVD with a special edition of the Debian-based GNU/Linux operating system Knoppix, complete with all the necessary software for the camera. &lt;br /&gt;
&lt;br /&gt;
The complete delivery set can also include lenses, an external power unit and connection cables for an additional payment.&lt;br /&gt;
&lt;br /&gt;
== Appearance ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Cam side.jpg]] The Elphel-313/333 camera case is folding and made of anodized aluminium. Overall dimensions 116х45х45 mm, weight approximately 150 g (without lens). &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam front.jpg]] The carving socket for standard C/CS-mount lenses is located on the front of the camera. &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam back.jpg]] On the back side of the camera case are located a socket for connection of a network cable, a switch-on push button for the software reloading mode, and camera&#039;s model number mark. We constantly improve our products, therefore the number and appearance of the elements placed on the back panel can change. &lt;br /&gt;
&lt;br /&gt;
On the bottom of the camera case is the standard carving socket for installation of the camera on a support.&lt;br /&gt;
&lt;br /&gt;
== Connection ==&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Power_over_Ethernet PoE] (IEEE 802.3af) technology is used to provide power to the Elphel cameras, using the same cable as that used for network connection.&lt;br /&gt;
&lt;br /&gt;
The Elphel camera has a standard RJ-45 Ethernet port, and can be connected to a local network. This port is also used to provide power to the camera. You can do it in two ways:&lt;br /&gt;
&lt;br /&gt;
1. Use the external power supply with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
2. Use the PoE switch with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
=== External power supply ===&lt;br /&gt;
&lt;br /&gt;
[[image:power_supply.png]] &lt;br /&gt;
&lt;br /&gt;
The power supply has two built in RJ-45 jacks. J1 jack provides 48VDC and is used for connection to camera. You must use CAT5 &amp;quot;Crossover&amp;quot; cable for connection between J1 and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
J2 jack is used for connection to a hub/switch. You must use standard CAT5 cable for connection between J2 and the hub/switch RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== PoE switch ===&lt;br /&gt;
&lt;br /&gt;
[[image:poe_switch.jpg]]&lt;br /&gt;
&lt;br /&gt;
PoE switches have special RJ-45 jacks which provide the 48VDC.  You must use standard CAT5 cable for connection between the PoE switch special RJ-45 jacks and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== Necessary cables ===&lt;br /&gt;
&lt;br /&gt;
[[image:cable.jpg]]&lt;br /&gt;
&lt;br /&gt;
Two cable types are necessary for Elphel cameras - standard CAT5 cable and CAT5 &amp;quot;Crossover&amp;quot; cable if &#039;&#039;the camera is connected directly to the computer&#039;&#039;. Crossover cable is the same as used to connect two computers together with a single cable. If the camera is connected to a switch/hub (directly to the powered switch or through additional &#039;&#039;midspan&#039;&#039; power supply) no crossover cable is needed, all cables are straight.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[image:cable_jack.png]]&lt;br /&gt;
&lt;br /&gt;
How to wire a &amp;amp;quot;Crossover&amp;amp;quot; Cable.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;table width=&amp;quot;600&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; &amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #1&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #2&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          2 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 WHT/BRN&amp;lt;br&amp;gt;&lt;br /&gt;
          8 BRN/WHT&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          2 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 BRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          8 WHT/BRN&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Color abbreviations:&lt;br /&gt;
&lt;br /&gt;
WHT-WHITE&lt;br /&gt;
&lt;br /&gt;
BRN-BROWN&lt;br /&gt;
&lt;br /&gt;
ORG-ORANGE&lt;br /&gt;
&lt;br /&gt;
GRN-GREEN&lt;br /&gt;
&lt;br /&gt;
BLU-BLUE&lt;br /&gt;
&lt;br /&gt;
The first color listed in the color pair is the dominant color of the wire. In other words, WHT/ORG is a white wire with orange stripes.&lt;br /&gt;
&lt;br /&gt;
== Main Control Page ==&lt;br /&gt;
&lt;br /&gt;
The Main Control Page uses javaScript to process user input (input fields and window of interest that can be selected by dragging a frame with the mouse), and combines all the camera acquisition parameters in a single GET request to a CGI program in the camera through the embedded web server (Boa). Currently the camera does not support simultaneous access as each request actually controls the camera operation mode (including sensor resolution and frame rate) and does not just connect to the camera output. &lt;br /&gt;
&lt;br /&gt;
=== Page layout ===&lt;br /&gt;
&lt;br /&gt;
On the top part of the page you should see a preview image. It is always 640x512, 800x600 or 512x386 pixels (1/2 or 1/4 of camera resolution depending on the sensor) and does not change with the selected decimation and window of interest (red rectangle over the image). &lt;br /&gt;
&lt;br /&gt;
Below the preview image there are the camera controls:&lt;br /&gt;
&lt;br /&gt;
=== General Controls ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Window&#039;&#039;&#039; section there are 2 buttons at the bottom-right corner of window. You may specify window of interest (WOI) by dragging these buttons with the mouse. You may also change it numerically by entering data to &#039;&#039;&#039;W&#039;&#039;&#039;(idth), &#039;&#039;&#039;H&#039;&#039;&#039;(eight), &#039;&#039;&#039;L&#039;&#039;&#039;(eft) and &#039;&#039;&#039;T&#039;&#039;&#039;(op) input fields below. That numbers are rounded according to the selected sensor decimation and to use integer multiples of 16x16 pixels MCUs in JPEG compression. You may also change WOI by choosing one of the frequently used size from the list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Autoexposure ====&lt;br /&gt;
&lt;br /&gt;
By default the autoexposure is enabled. There is the special multicolor button for autoexposures management. The button colors is:&lt;br /&gt;
&lt;br /&gt;
[[Image:Aegreen.png]] - Autoexposure is enabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aered.png]] - Autoexposure is disabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aeblue.png]] - The autoexposure control window is opened&lt;br /&gt;
&lt;br /&gt;
[[Image:Autoexp_1.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Exposure&#039;&#039;&#039; field there is an input field to specify frame exposure time (in ms) - it is possible to specify fractions. You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Saturation&#039;&#039;&#039; section allows adjusting contrast saturation. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gamma&#039;&#039;&#039; field controls contrast by adjusting intensity conversion, gamma=1.0 corresponds to linear response (high contrast). Values less than 1 increase input dynamic range by expanding low intensity values (low contrast). You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
JPEG &#039;&#039;&#039;Quality&#039;&#039;&#039; sets standard JPEG compression quality. The higher the quality the bigger the resulting file. It does not change the camera frame rate. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;White balance&#039;&#039;&#039; section is a drop-down menu containing four static parameters: &#039;&#039;&#039;Sunlight&#039;&#039;&#039;, &#039;&#039;&#039;Cloudy&#039;&#039;&#039;, &#039;&#039;&#039;Incandenscent&#039;&#039;&#039; and &#039;&#039;&#039;Fluorescent&#039;&#039;&#039;. You can choose one of these parameters to achieve the highest quality image depending on the lighting conditions. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Image size&#039;&#039;&#039; drop-down menu you may choose the static window size. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Resolution&#039;&#039;&#039; section there are radiobuttons to select sensor decimation (resolution). Selecting &#039;&#039;&#039;1&#039;&#039;&#039; uses all pixels in WOI, &#039;&#039;&#039;1/2&#039;&#039;&#039; - every other one (in both directions) - 1/4 total, &#039;&#039;&#039;1/4&#039;&#039;&#039; - 1 in 4 in each direction - 1/16 total and so on. Both WOI and decimation control the actual sensor operation that runs from the 20 MHz pixel clock, so the smaller the total number of pixels the higher the frame rate (it is actually slower as the sensor has some &amp;quot;margins&amp;quot; around the active area). &lt;br /&gt;
&lt;br /&gt;
[[Image:Color.jpg]] In monochrome mode (when the &#039;&#039;&#039;Color&#039;&#039;&#039; radiobutton is not checked) &amp;quot;R&amp;quot; gain settings are used for all channels and color conversion is disabled. &lt;br /&gt;
&lt;br /&gt;
Below are 3 buttons &#039;&#039;&#039;Preview&#039;&#039;&#039;, &#039;&#039;&#039;Reset&#039;&#039;&#039; and &#039;&#039;&#039;Apply&#039;&#039;&#039;. &#039;&#039;&#039;Preview&#039;&#039;&#039; button refreshes the image in the top portion on a page (ignoring selected WOI and decimation), The &#039;&#039;&#039;Reset&#039;&#039;&#039; button returns to the initial adjustment parameters. The &#039;&#039;&#039;Apply&#039;&#039;&#039; button is used to accept the new changes. &lt;br /&gt;
&lt;br /&gt;
Also there are two links after &#039;&#039;&#039;Photo&#039;&#039;&#039;: &#039;&#039;&#039;New&#039;&#039;&#039; contains a link to a camera CGI program that has all the acquisition parameters attached. You may just click it to open the image in a new window or right-click it and select &amp;quot;Save link target as...&amp;quot; (or equivalent) to save the image on your computer. The second link &#039;&#039;&#039;Last&#039;&#039;&#039; points to the last image already in the camera memory; you may use it to save the previously aquired image to your hard drive. &lt;br /&gt;
&lt;br /&gt;
[[Image:Help.png]] button opens this help page. &lt;br /&gt;
&lt;br /&gt;
[[Image:Info.png]] button opens the information window where there is a list of the acquisition parameters used during the last image/clip acquisition.&lt;br /&gt;
&lt;br /&gt;
=== Video Controls ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Video Controls&#039;&#039;&#039; in this section allow users to record a video clip in the camera memory and send it over the LAN/Internet as a Quicktime video file. All settings for the image size, resolution, compression quality, analog gains and exposure are the same as for still images described above, and that link adds extra parameters - &#039;&#039;&#039;Frame Rate&#039;&#039;&#039; and &#039;&#039;&#039;Time Scale&#039;&#039;&#039;. The first sets the desired frame rate (leave blank or set to 0 for the maximal rate), the second field sets how much the playback time is longer than the acquisition one. I.e. setting of &amp;quot;10&amp;quot; makes the clip play 10 times slower that it was shot. &lt;br /&gt;
&lt;br /&gt;
Total size of the clip (6-7MB) is determined by a camera internal buffer used for compressed image storage and the total number of frames as the frame headers are attached during the clip output and are not stored in the buffer. There are 2 ways to shoot a clip (usual duration 3-5 sec, depending on compression quality). First is to press &#039;&#039;&#039;Start stream&#039;&#039;&#039; button, wait for the event to occur and then press &#039;&#039;&#039;Acquire&#039;&#039;&#039;. In this mode after &#039;&#039;&#039;Start stream&#039;&#039;&#039; the camera continuously writes to the buffer, overwriting footage when all the available space is used. Pressing the &#039;&#039;&#039;Stop stream&#039;&#039;&#039; button ends data saving and so the buffer contains the last data recorded. Another way is to press &#039;&#039;&#039;Acquire&#039;&#039;&#039; before the event. In that mode the clip recording starts after the trigger and stops when the whole buffer is full. &lt;br /&gt;
&lt;br /&gt;
There are additional controls to preview a videoclip from the camera memory. Frame number 1 is the first one, 2 - second, etc. Frame number 0 is the last one in the clip, -1 - previous before last, etc. Any image acquisition (including &#039;&#039;&#039;Preview&#039;&#039;&#039;) erases the stored clip and makes it one frame long. &lt;br /&gt;
&lt;br /&gt;
Clicking on the &#039;&#039;&#039;Video Clip&#039;&#039;&#039; link opens the clip in the Apple QuickTime ™ (or compatible) player plugin (if installed) - you may also use this link to save the clip as a file on your computer.&lt;br /&gt;
&lt;br /&gt;
=== Advanced Panel ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 2.jpg]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Advanced Panel&#039;&#039;&#039; tab opens additional adjustment parameters for the image. In this section you may specify more exact adjustments of color levels of the image. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gains&#039;&#039;&#039; section controls the sensor analog gain settings. &#039;&#039;&#039;R&#039;&#039;&#039;, &#039;&#039;&#039;G&#039;&#039;&#039; and &#039;&#039;&#039;B&#039;&#039;&#039; input fields control color component gains. Using high gain settings increases sensor noise but is required to view fast events with 1ms exposure time with the lighting used in the current setup. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;R-Y&#039;&#039;&#039; specifies color saturation for red color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B-Y&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;W&#039;&#039;&#039; specifies level saturation for white color component. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-X&#039;&#039;&#039; button allows turning the image horizontally. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-Y&#039;&#039;&#039; button allows turning the image vertically. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;NOTE: Some parameters (e.g. window size) cannot be changed without stopping the acquisition/compression.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Technical Information for the Elphel-333 ==&lt;br /&gt;
&lt;br /&gt;
=== Default Setup ===&lt;br /&gt;
&lt;br /&gt;
The default IP address of the camera is &#039;&#039;&#039;192.168.0.9&#039;&#039;&#039; netmask &#039;&#039;&#039;255.255.255.0&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You should be able to ping the camera from another machine on the same subnet.&lt;br /&gt;
&lt;br /&gt;
By default, the following TCP ports are open:&lt;br /&gt;
&lt;br /&gt;
21/ftp&lt;br /&gt;
&lt;br /&gt;
23/telnet&lt;br /&gt;
&lt;br /&gt;
80/http&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Logging in ===&lt;br /&gt;
&lt;br /&gt;
You can log in to the camera via telnet on TCP port 23&lt;br /&gt;
&lt;br /&gt;
User: &#039;&#039;&#039;root&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Password: &#039;&#039;&#039;pass&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Serial port ===&lt;br /&gt;
&lt;br /&gt;
The serial port settings (additional board 308 needed)&lt;br /&gt;
&lt;br /&gt;
Speed: 19200 8N1&lt;br /&gt;
&lt;br /&gt;
RTS/CTS: None&lt;br /&gt;
&lt;br /&gt;
XON/XOFF : None&lt;br /&gt;
&lt;br /&gt;
=== Changing IP address of the camera ===&lt;br /&gt;
&lt;br /&gt;
The camera network settings can be changed by going to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;http://&amp;lt;camera_ip&amp;gt;/axis.html&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
from an attached computer.&lt;br /&gt;
&lt;br /&gt;
=== Multicast routing in Linux ===&lt;br /&gt;
&lt;br /&gt;
In order to use the multicast streaming from the cameras, you need to add the following route rule to an attached PC:&lt;br /&gt;
    route add -net 224.0.0.0 netmask 240.0.0.0 &amp;lt;interface&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;interface&amp;gt; is the interface connected to the camera (e.g. eth0).&lt;br /&gt;
&lt;br /&gt;
The knoppix live CD/DVD does this for you automatically.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&#039;&#039;Free Software and Open Hardware. Elphel, Inc., 2005&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7915</id>
		<title>Using the cameras</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7915"/>
		<updated>2006-03-03T17:06:17Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* Autoexposure */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Manual Header}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Elphel network cameras — complex devices in whose development advanced technologies and non-standard program decisions are used. We constantly improve our products so that users can use the cameras with the least expense of time and effort. In this section of Elphel Network Cameras Manual you can find detailed information about using Elphel cameras.&lt;br /&gt;
&lt;br /&gt;
== Complete set ==&lt;br /&gt;
&lt;br /&gt;
The complete camera delivery set includes the actual network camera Elphel-313/323/333, and Live-CD or Live-DVD with a special edition of the Debian-based GNU/Linux operating system Knoppix, complete with all the necessary software for the camera. &lt;br /&gt;
&lt;br /&gt;
The complete delivery set can also include lenses, an external power unit and connection cables for an additional payment.&lt;br /&gt;
&lt;br /&gt;
== Appearance ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Cam side.jpg]] The Elphel-313/333 camera case is folding and made of anodized aluminium. Overall dimensions 116х45х45 mm, weight approximately 150 g (without lens). &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam front.jpg]] The carving socket for standard C/CS-mount lenses is located on the front of the camera. &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam back.jpg]] On the back side of the camera case are located a socket for connection of a network cable, a switch-on push button for the software reloading mode, and camera&#039;s model number mark. We constantly improve our products, therefore the number and appearance of the elements placed on the back panel can change. &lt;br /&gt;
&lt;br /&gt;
On the bottom of the camera case is the standard carving socket for installation of the camera on a support.&lt;br /&gt;
&lt;br /&gt;
== Connection ==&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Power_over_Ethernet PoE] (IEEE 802.3af) technology is used to provide power to the Elphel cameras, using the same cable as that used for network connection.&lt;br /&gt;
&lt;br /&gt;
The Elphel camera has a standard RJ-45 Ethernet port, and can be connected to a local network. This port is also used to provide power to the camera. You can do it in two ways:&lt;br /&gt;
&lt;br /&gt;
1. Use the external power supply with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
2. Use the PoE switch with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
=== External power supply ===&lt;br /&gt;
&lt;br /&gt;
[[image:power_supply.png]] &lt;br /&gt;
&lt;br /&gt;
The power supply has two built in RJ-45 jacks. J1 jack provides 48VDC and is used for connection to camera. You must use CAT5 &amp;quot;Crossover&amp;quot; cable for connection between J1 and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
J2 jack is used for connection to a hub/switch. You must use standard CAT5 cable for connection between J2 and the hub/switch RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== PoE switch ===&lt;br /&gt;
&lt;br /&gt;
[[image:poe_switch.jpg]]&lt;br /&gt;
&lt;br /&gt;
PoE switches have special RJ-45 jacks which provide the 48VDC.  You must use standard CAT5 cable for connection between the PoE switch special RJ-45 jacks and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== Necessary cables ===&lt;br /&gt;
&lt;br /&gt;
[[image:cable.jpg]]&lt;br /&gt;
&lt;br /&gt;
Two cable types are necessary for Elphel cameras - standard CAT5 cable and CAT5 &amp;quot;Crossover&amp;quot; cable if &#039;&#039;the camera is connected directly to the computer&#039;&#039;. Crossover cable is the same as used to connect two computers together with a single cable. If the camera is connected to a switch/hub (directly to the powered switch or through additional &#039;&#039;midspan&#039;&#039; power supply) no crossover cable is needed, all cables are straight.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[image:cable_jack.png]]&lt;br /&gt;
&lt;br /&gt;
How to wire a &amp;amp;quot;Crossover&amp;amp;quot; Cable.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;table width=&amp;quot;600&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; &amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #1&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #2&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          2 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 WHT/BRN&amp;lt;br&amp;gt;&lt;br /&gt;
          8 BRN/WHT&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          2 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 BRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          8 WHT/BRN&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Color abbreviations:&lt;br /&gt;
&lt;br /&gt;
WHT-WHITE&lt;br /&gt;
&lt;br /&gt;
BRN-BROWN&lt;br /&gt;
&lt;br /&gt;
ORG-ORANGE&lt;br /&gt;
&lt;br /&gt;
GRN-GREEN&lt;br /&gt;
&lt;br /&gt;
BLU-BLUE&lt;br /&gt;
&lt;br /&gt;
The first color listed in the color pair is the dominant color of the wire. In other words, WHT/ORG is a white wire with orange stripes.&lt;br /&gt;
&lt;br /&gt;
== Main Control Page ==&lt;br /&gt;
&lt;br /&gt;
The Main Control Page uses javaScript to process user input (input fields and window of interest that can be selected by dragging a frame with the mouse), and combines all the camera acquisition parameters in a single GET request to a CGI program in the camera through the embedded web server (Boa). Currently the camera does not support simultaneous access as each request actually controls the camera operation mode (including sensor resolution and frame rate) and does not just connect to the camera output. &lt;br /&gt;
&lt;br /&gt;
=== Page layout ===&lt;br /&gt;
&lt;br /&gt;
On the top part of the page you should see a preview image. It is always 640x512, 800x600 or 512x386 pixels (1/2 or 1/4 of camera resolution depending on the sensor) and does not change with the selected decimation and window of interest (red rectangle over the image). &lt;br /&gt;
&lt;br /&gt;
Below the preview image there are the camera controls:&lt;br /&gt;
&lt;br /&gt;
=== General Controls ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Window&#039;&#039;&#039; section there are 2 buttons at the bottom-right corner of window. You may specify window of interest (WOI) by dragging these buttons with the mouse. You may also change it numerically by entering data to &#039;&#039;&#039;W&#039;&#039;&#039;(idth), &#039;&#039;&#039;H&#039;&#039;&#039;(eight), &#039;&#039;&#039;L&#039;&#039;&#039;(eft) and &#039;&#039;&#039;T&#039;&#039;&#039;(op) input fields below. That numbers are rounded according to the selected sensor decimation and to use integer multiples of 16x16 pixels MCUs in JPEG compression. You may also change WOI by choosing one of the frequently used size from the list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Autoexposure ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Autoexp_1.png]]&lt;br /&gt;
&lt;br /&gt;
By default the autoexposure is enabled. There is the special multicolor button for autoexposures management. The button colors is:&lt;br /&gt;
&lt;br /&gt;
[[Image:Aegreen.png]] - Autoexposure is enabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aered.png]] - Autoexposure is disabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aeblue.png]] - The autoexposure control window is opened&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Exposure&#039;&#039;&#039; field there is an input field to specify frame exposure time (in ms) - it is possible to specify fractions. You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Saturation&#039;&#039;&#039; section allows adjusting contrast saturation. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gamma&#039;&#039;&#039; field controls contrast by adjusting intensity conversion, gamma=1.0 corresponds to linear response (high contrast). Values less than 1 increase input dynamic range by expanding low intensity values (low contrast). You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
JPEG &#039;&#039;&#039;Quality&#039;&#039;&#039; sets standard JPEG compression quality. The higher the quality the bigger the resulting file. It does not change the camera frame rate. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;White balance&#039;&#039;&#039; section is a drop-down menu containing four static parameters: &#039;&#039;&#039;Sunlight&#039;&#039;&#039;, &#039;&#039;&#039;Cloudy&#039;&#039;&#039;, &#039;&#039;&#039;Incandenscent&#039;&#039;&#039; and &#039;&#039;&#039;Fluorescent&#039;&#039;&#039;. You can choose one of these parameters to achieve the highest quality image depending on the lighting conditions. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Image size&#039;&#039;&#039; drop-down menu you may choose the static window size. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Resolution&#039;&#039;&#039; section there are radiobuttons to select sensor decimation (resolution). Selecting &#039;&#039;&#039;1&#039;&#039;&#039; uses all pixels in WOI, &#039;&#039;&#039;1/2&#039;&#039;&#039; - every other one (in both directions) - 1/4 total, &#039;&#039;&#039;1/4&#039;&#039;&#039; - 1 in 4 in each direction - 1/16 total and so on. Both WOI and decimation control the actual sensor operation that runs from the 20 MHz pixel clock, so the smaller the total number of pixels the higher the frame rate (it is actually slower as the sensor has some &amp;quot;margins&amp;quot; around the active area). &lt;br /&gt;
&lt;br /&gt;
[[Image:Color.jpg]] In monochrome mode (when the &#039;&#039;&#039;Color&#039;&#039;&#039; radiobutton is not checked) &amp;quot;R&amp;quot; gain settings are used for all channels and color conversion is disabled. &lt;br /&gt;
&lt;br /&gt;
Below are 3 buttons &#039;&#039;&#039;Preview&#039;&#039;&#039;, &#039;&#039;&#039;Reset&#039;&#039;&#039; and &#039;&#039;&#039;Apply&#039;&#039;&#039;. &#039;&#039;&#039;Preview&#039;&#039;&#039; button refreshes the image in the top portion on a page (ignoring selected WOI and decimation), The &#039;&#039;&#039;Reset&#039;&#039;&#039; button returns to the initial adjustment parameters. The &#039;&#039;&#039;Apply&#039;&#039;&#039; button is used to accept the new changes. &lt;br /&gt;
&lt;br /&gt;
Also there are two links after &#039;&#039;&#039;Photo&#039;&#039;&#039;: &#039;&#039;&#039;New&#039;&#039;&#039; contains a link to a camera CGI program that has all the acquisition parameters attached. You may just click it to open the image in a new window or right-click it and select &amp;quot;Save link target as...&amp;quot; (or equivalent) to save the image on your computer. The second link &#039;&#039;&#039;Last&#039;&#039;&#039; points to the last image already in the camera memory; you may use it to save the previously aquired image to your hard drive. &lt;br /&gt;
&lt;br /&gt;
[[Image:Help.png]] button opens this help page. &lt;br /&gt;
&lt;br /&gt;
[[Image:Info.png]] button opens the information window where there is a list of the acquisition parameters used during the last image/clip acquisition.&lt;br /&gt;
&lt;br /&gt;
=== Video Controls ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Video Controls&#039;&#039;&#039; in this section allow users to record a video clip in the camera memory and send it over the LAN/Internet as a Quicktime video file. All settings for the image size, resolution, compression quality, analog gains and exposure are the same as for still images described above, and that link adds extra parameters - &#039;&#039;&#039;Frame Rate&#039;&#039;&#039; and &#039;&#039;&#039;Time Scale&#039;&#039;&#039;. The first sets the desired frame rate (leave blank or set to 0 for the maximal rate), the second field sets how much the playback time is longer than the acquisition one. I.e. setting of &amp;quot;10&amp;quot; makes the clip play 10 times slower that it was shot. &lt;br /&gt;
&lt;br /&gt;
Total size of the clip (6-7MB) is determined by a camera internal buffer used for compressed image storage and the total number of frames as the frame headers are attached during the clip output and are not stored in the buffer. There are 2 ways to shoot a clip (usual duration 3-5 sec, depending on compression quality). First is to press &#039;&#039;&#039;Start stream&#039;&#039;&#039; button, wait for the event to occur and then press &#039;&#039;&#039;Acquire&#039;&#039;&#039;. In this mode after &#039;&#039;&#039;Start stream&#039;&#039;&#039; the camera continuously writes to the buffer, overwriting footage when all the available space is used. Pressing the &#039;&#039;&#039;Stop stream&#039;&#039;&#039; button ends data saving and so the buffer contains the last data recorded. Another way is to press &#039;&#039;&#039;Acquire&#039;&#039;&#039; before the event. In that mode the clip recording starts after the trigger and stops when the whole buffer is full. &lt;br /&gt;
&lt;br /&gt;
There are additional controls to preview a videoclip from the camera memory. Frame number 1 is the first one, 2 - second, etc. Frame number 0 is the last one in the clip, -1 - previous before last, etc. Any image acquisition (including &#039;&#039;&#039;Preview&#039;&#039;&#039;) erases the stored clip and makes it one frame long. &lt;br /&gt;
&lt;br /&gt;
Clicking on the &#039;&#039;&#039;Video Clip&#039;&#039;&#039; link opens the clip in the Apple QuickTime ™ (or compatible) player plugin (if installed) - you may also use this link to save the clip as a file on your computer.&lt;br /&gt;
&lt;br /&gt;
=== Advanced Panel ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 2.jpg]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Advanced Panel&#039;&#039;&#039; tab opens additional adjustment parameters for the image. In this section you may specify more exact adjustments of color levels of the image. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gains&#039;&#039;&#039; section controls the sensor analog gain settings. &#039;&#039;&#039;R&#039;&#039;&#039;, &#039;&#039;&#039;G&#039;&#039;&#039; and &#039;&#039;&#039;B&#039;&#039;&#039; input fields control color component gains. Using high gain settings increases sensor noise but is required to view fast events with 1ms exposure time with the lighting used in the current setup. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;R-Y&#039;&#039;&#039; specifies color saturation for red color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B-Y&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;W&#039;&#039;&#039; specifies level saturation for white color component. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-X&#039;&#039;&#039; button allows turning the image horizontally. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-Y&#039;&#039;&#039; button allows turning the image vertically. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;NOTE: Some parameters (e.g. window size) cannot be changed without stopping the acquisition/compression.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Technical Information for the Elphel-333 ==&lt;br /&gt;
&lt;br /&gt;
=== Default Setup ===&lt;br /&gt;
&lt;br /&gt;
The default IP address of the camera is &#039;&#039;&#039;192.168.0.9&#039;&#039;&#039; netmask &#039;&#039;&#039;255.255.255.0&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You should be able to ping the camera from another machine on the same subnet.&lt;br /&gt;
&lt;br /&gt;
By default, the following TCP ports are open:&lt;br /&gt;
&lt;br /&gt;
21/ftp&lt;br /&gt;
&lt;br /&gt;
23/telnet&lt;br /&gt;
&lt;br /&gt;
80/http&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Logging in ===&lt;br /&gt;
&lt;br /&gt;
You can log in to the camera via telnet on TCP port 23&lt;br /&gt;
&lt;br /&gt;
User: &#039;&#039;&#039;root&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Password: &#039;&#039;&#039;pass&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Serial port ===&lt;br /&gt;
&lt;br /&gt;
The serial port settings (additional board 308 needed)&lt;br /&gt;
&lt;br /&gt;
Speed: 19200 8N1&lt;br /&gt;
&lt;br /&gt;
RTS/CTS: None&lt;br /&gt;
&lt;br /&gt;
XON/XOFF : None&lt;br /&gt;
&lt;br /&gt;
=== Changing IP address of the camera ===&lt;br /&gt;
&lt;br /&gt;
The camera network settings can be changed by going to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;http://&amp;lt;camera_ip&amp;gt;/axis.html&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
from an attached computer.&lt;br /&gt;
&lt;br /&gt;
=== Multicast routing in Linux ===&lt;br /&gt;
&lt;br /&gt;
In order to use the multicast streaming from the cameras, you need to add the following route rule to an attached PC:&lt;br /&gt;
    route add -net 224.0.0.0 netmask 240.0.0.0 &amp;lt;interface&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;interface&amp;gt; is the interface connected to the camera (e.g. eth0).&lt;br /&gt;
&lt;br /&gt;
The knoppix live CD/DVD does this for you automatically.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&#039;&#039;Free Software and Open Hardware. Elphel, Inc., 2005&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7914</id>
		<title>Using the cameras</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7914"/>
		<updated>2006-03-03T17:05:35Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* Autoexposure */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Manual Header}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Elphel network cameras — complex devices in whose development advanced technologies and non-standard program decisions are used. We constantly improve our products so that users can use the cameras with the least expense of time and effort. In this section of Elphel Network Cameras Manual you can find detailed information about using Elphel cameras.&lt;br /&gt;
&lt;br /&gt;
== Complete set ==&lt;br /&gt;
&lt;br /&gt;
The complete camera delivery set includes the actual network camera Elphel-313/323/333, and Live-CD or Live-DVD with a special edition of the Debian-based GNU/Linux operating system Knoppix, complete with all the necessary software for the camera. &lt;br /&gt;
&lt;br /&gt;
The complete delivery set can also include lenses, an external power unit and connection cables for an additional payment.&lt;br /&gt;
&lt;br /&gt;
== Appearance ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Cam side.jpg]] The Elphel-313/333 camera case is folding and made of anodized aluminium. Overall dimensions 116х45х45 mm, weight approximately 150 g (without lens). &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam front.jpg]] The carving socket for standard C/CS-mount lenses is located on the front of the camera. &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam back.jpg]] On the back side of the camera case are located a socket for connection of a network cable, a switch-on push button for the software reloading mode, and camera&#039;s model number mark. We constantly improve our products, therefore the number and appearance of the elements placed on the back panel can change. &lt;br /&gt;
&lt;br /&gt;
On the bottom of the camera case is the standard carving socket for installation of the camera on a support.&lt;br /&gt;
&lt;br /&gt;
== Connection ==&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Power_over_Ethernet PoE] (IEEE 802.3af) technology is used to provide power to the Elphel cameras, using the same cable as that used for network connection.&lt;br /&gt;
&lt;br /&gt;
The Elphel camera has a standard RJ-45 Ethernet port, and can be connected to a local network. This port is also used to provide power to the camera. You can do it in two ways:&lt;br /&gt;
&lt;br /&gt;
1. Use the external power supply with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
2. Use the PoE switch with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
=== External power supply ===&lt;br /&gt;
&lt;br /&gt;
[[image:power_supply.png]] &lt;br /&gt;
&lt;br /&gt;
The power supply has two built in RJ-45 jacks. J1 jack provides 48VDC and is used for connection to camera. You must use CAT5 &amp;quot;Crossover&amp;quot; cable for connection between J1 and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
J2 jack is used for connection to a hub/switch. You must use standard CAT5 cable for connection between J2 and the hub/switch RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== PoE switch ===&lt;br /&gt;
&lt;br /&gt;
[[image:poe_switch.jpg]]&lt;br /&gt;
&lt;br /&gt;
PoE switches have special RJ-45 jacks which provide the 48VDC.  You must use standard CAT5 cable for connection between the PoE switch special RJ-45 jacks and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== Necessary cables ===&lt;br /&gt;
&lt;br /&gt;
[[image:cable.jpg]]&lt;br /&gt;
&lt;br /&gt;
Two cable types are necessary for Elphel cameras - standard CAT5 cable and CAT5 &amp;quot;Crossover&amp;quot; cable if &#039;&#039;the camera is connected directly to the computer&#039;&#039;. Crossover cable is the same as used to connect two computers together with a single cable. If the camera is connected to a switch/hub (directly to the powered switch or through additional &#039;&#039;midspan&#039;&#039; power supply) no crossover cable is needed, all cables are straight.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[image:cable_jack.png]]&lt;br /&gt;
&lt;br /&gt;
How to wire a &amp;amp;quot;Crossover&amp;amp;quot; Cable.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;table width=&amp;quot;600&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; &amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #1&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #2&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          2 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 WHT/BRN&amp;lt;br&amp;gt;&lt;br /&gt;
          8 BRN/WHT&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          2 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 BRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          8 WHT/BRN&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Color abbreviations:&lt;br /&gt;
&lt;br /&gt;
WHT-WHITE&lt;br /&gt;
&lt;br /&gt;
BRN-BROWN&lt;br /&gt;
&lt;br /&gt;
ORG-ORANGE&lt;br /&gt;
&lt;br /&gt;
GRN-GREEN&lt;br /&gt;
&lt;br /&gt;
BLU-BLUE&lt;br /&gt;
&lt;br /&gt;
The first color listed in the color pair is the dominant color of the wire. In other words, WHT/ORG is a white wire with orange stripes.&lt;br /&gt;
&lt;br /&gt;
== Main Control Page ==&lt;br /&gt;
&lt;br /&gt;
The Main Control Page uses javaScript to process user input (input fields and window of interest that can be selected by dragging a frame with the mouse), and combines all the camera acquisition parameters in a single GET request to a CGI program in the camera through the embedded web server (Boa). Currently the camera does not support simultaneous access as each request actually controls the camera operation mode (including sensor resolution and frame rate) and does not just connect to the camera output. &lt;br /&gt;
&lt;br /&gt;
=== Page layout ===&lt;br /&gt;
&lt;br /&gt;
On the top part of the page you should see a preview image. It is always 640x512, 800x600 or 512x386 pixels (1/2 or 1/4 of camera resolution depending on the sensor) and does not change with the selected decimation and window of interest (red rectangle over the image). &lt;br /&gt;
&lt;br /&gt;
Below the preview image there are the camera controls:&lt;br /&gt;
&lt;br /&gt;
=== General Controls ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Window&#039;&#039;&#039; section there are 2 buttons at the bottom-right corner of window. You may specify window of interest (WOI) by dragging these buttons with the mouse. You may also change it numerically by entering data to &#039;&#039;&#039;W&#039;&#039;&#039;(idth), &#039;&#039;&#039;H&#039;&#039;&#039;(eight), &#039;&#039;&#039;L&#039;&#039;&#039;(eft) and &#039;&#039;&#039;T&#039;&#039;&#039;(op) input fields below. That numbers are rounded according to the selected sensor decimation and to use integer multiples of 16x16 pixels MCUs in JPEG compression. You may also change WOI by choosing one of the frequently used size from the list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Autoexposure ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Autoexp_1.png]]&lt;br /&gt;
By default the autoexposure is enabled. There is the special multicolor button for autoexposures management. The button colors is:&lt;br /&gt;
&lt;br /&gt;
[[Image:Aegreen.png]] - Autoexposure is enabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aered.png]] - Autoexposure is disabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aeblue.png]] - The autoexposure control window is opened&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Exposure&#039;&#039;&#039; field there is an input field to specify frame exposure time (in ms) - it is possible to specify fractions. You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Saturation&#039;&#039;&#039; section allows adjusting contrast saturation. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gamma&#039;&#039;&#039; field controls contrast by adjusting intensity conversion, gamma=1.0 corresponds to linear response (high contrast). Values less than 1 increase input dynamic range by expanding low intensity values (low contrast). You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
JPEG &#039;&#039;&#039;Quality&#039;&#039;&#039; sets standard JPEG compression quality. The higher the quality the bigger the resulting file. It does not change the camera frame rate. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;White balance&#039;&#039;&#039; section is a drop-down menu containing four static parameters: &#039;&#039;&#039;Sunlight&#039;&#039;&#039;, &#039;&#039;&#039;Cloudy&#039;&#039;&#039;, &#039;&#039;&#039;Incandenscent&#039;&#039;&#039; and &#039;&#039;&#039;Fluorescent&#039;&#039;&#039;. You can choose one of these parameters to achieve the highest quality image depending on the lighting conditions. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Image size&#039;&#039;&#039; drop-down menu you may choose the static window size. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Resolution&#039;&#039;&#039; section there are radiobuttons to select sensor decimation (resolution). Selecting &#039;&#039;&#039;1&#039;&#039;&#039; uses all pixels in WOI, &#039;&#039;&#039;1/2&#039;&#039;&#039; - every other one (in both directions) - 1/4 total, &#039;&#039;&#039;1/4&#039;&#039;&#039; - 1 in 4 in each direction - 1/16 total and so on. Both WOI and decimation control the actual sensor operation that runs from the 20 MHz pixel clock, so the smaller the total number of pixels the higher the frame rate (it is actually slower as the sensor has some &amp;quot;margins&amp;quot; around the active area). &lt;br /&gt;
&lt;br /&gt;
[[Image:Color.jpg]] In monochrome mode (when the &#039;&#039;&#039;Color&#039;&#039;&#039; radiobutton is not checked) &amp;quot;R&amp;quot; gain settings are used for all channels and color conversion is disabled. &lt;br /&gt;
&lt;br /&gt;
Below are 3 buttons &#039;&#039;&#039;Preview&#039;&#039;&#039;, &#039;&#039;&#039;Reset&#039;&#039;&#039; and &#039;&#039;&#039;Apply&#039;&#039;&#039;. &#039;&#039;&#039;Preview&#039;&#039;&#039; button refreshes the image in the top portion on a page (ignoring selected WOI and decimation), The &#039;&#039;&#039;Reset&#039;&#039;&#039; button returns to the initial adjustment parameters. The &#039;&#039;&#039;Apply&#039;&#039;&#039; button is used to accept the new changes. &lt;br /&gt;
&lt;br /&gt;
Also there are two links after &#039;&#039;&#039;Photo&#039;&#039;&#039;: &#039;&#039;&#039;New&#039;&#039;&#039; contains a link to a camera CGI program that has all the acquisition parameters attached. You may just click it to open the image in a new window or right-click it and select &amp;quot;Save link target as...&amp;quot; (or equivalent) to save the image on your computer. The second link &#039;&#039;&#039;Last&#039;&#039;&#039; points to the last image already in the camera memory; you may use it to save the previously aquired image to your hard drive. &lt;br /&gt;
&lt;br /&gt;
[[Image:Help.png]] button opens this help page. &lt;br /&gt;
&lt;br /&gt;
[[Image:Info.png]] button opens the information window where there is a list of the acquisition parameters used during the last image/clip acquisition.&lt;br /&gt;
&lt;br /&gt;
=== Video Controls ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Video Controls&#039;&#039;&#039; in this section allow users to record a video clip in the camera memory and send it over the LAN/Internet as a Quicktime video file. All settings for the image size, resolution, compression quality, analog gains and exposure are the same as for still images described above, and that link adds extra parameters - &#039;&#039;&#039;Frame Rate&#039;&#039;&#039; and &#039;&#039;&#039;Time Scale&#039;&#039;&#039;. The first sets the desired frame rate (leave blank or set to 0 for the maximal rate), the second field sets how much the playback time is longer than the acquisition one. I.e. setting of &amp;quot;10&amp;quot; makes the clip play 10 times slower that it was shot. &lt;br /&gt;
&lt;br /&gt;
Total size of the clip (6-7MB) is determined by a camera internal buffer used for compressed image storage and the total number of frames as the frame headers are attached during the clip output and are not stored in the buffer. There are 2 ways to shoot a clip (usual duration 3-5 sec, depending on compression quality). First is to press &#039;&#039;&#039;Start stream&#039;&#039;&#039; button, wait for the event to occur and then press &#039;&#039;&#039;Acquire&#039;&#039;&#039;. In this mode after &#039;&#039;&#039;Start stream&#039;&#039;&#039; the camera continuously writes to the buffer, overwriting footage when all the available space is used. Pressing the &#039;&#039;&#039;Stop stream&#039;&#039;&#039; button ends data saving and so the buffer contains the last data recorded. Another way is to press &#039;&#039;&#039;Acquire&#039;&#039;&#039; before the event. In that mode the clip recording starts after the trigger and stops when the whole buffer is full. &lt;br /&gt;
&lt;br /&gt;
There are additional controls to preview a videoclip from the camera memory. Frame number 1 is the first one, 2 - second, etc. Frame number 0 is the last one in the clip, -1 - previous before last, etc. Any image acquisition (including &#039;&#039;&#039;Preview&#039;&#039;&#039;) erases the stored clip and makes it one frame long. &lt;br /&gt;
&lt;br /&gt;
Clicking on the &#039;&#039;&#039;Video Clip&#039;&#039;&#039; link opens the clip in the Apple QuickTime ™ (or compatible) player plugin (if installed) - you may also use this link to save the clip as a file on your computer.&lt;br /&gt;
&lt;br /&gt;
=== Advanced Panel ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 2.jpg]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Advanced Panel&#039;&#039;&#039; tab opens additional adjustment parameters for the image. In this section you may specify more exact adjustments of color levels of the image. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gains&#039;&#039;&#039; section controls the sensor analog gain settings. &#039;&#039;&#039;R&#039;&#039;&#039;, &#039;&#039;&#039;G&#039;&#039;&#039; and &#039;&#039;&#039;B&#039;&#039;&#039; input fields control color component gains. Using high gain settings increases sensor noise but is required to view fast events with 1ms exposure time with the lighting used in the current setup. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;R-Y&#039;&#039;&#039; specifies color saturation for red color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B-Y&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;W&#039;&#039;&#039; specifies level saturation for white color component. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-X&#039;&#039;&#039; button allows turning the image horizontally. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-Y&#039;&#039;&#039; button allows turning the image vertically. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;NOTE: Some parameters (e.g. window size) cannot be changed without stopping the acquisition/compression.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Technical Information for the Elphel-333 ==&lt;br /&gt;
&lt;br /&gt;
=== Default Setup ===&lt;br /&gt;
&lt;br /&gt;
The default IP address of the camera is &#039;&#039;&#039;192.168.0.9&#039;&#039;&#039; netmask &#039;&#039;&#039;255.255.255.0&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You should be able to ping the camera from another machine on the same subnet.&lt;br /&gt;
&lt;br /&gt;
By default, the following TCP ports are open:&lt;br /&gt;
&lt;br /&gt;
21/ftp&lt;br /&gt;
&lt;br /&gt;
23/telnet&lt;br /&gt;
&lt;br /&gt;
80/http&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Logging in ===&lt;br /&gt;
&lt;br /&gt;
You can log in to the camera via telnet on TCP port 23&lt;br /&gt;
&lt;br /&gt;
User: &#039;&#039;&#039;root&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Password: &#039;&#039;&#039;pass&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Serial port ===&lt;br /&gt;
&lt;br /&gt;
The serial port settings (additional board 308 needed)&lt;br /&gt;
&lt;br /&gt;
Speed: 19200 8N1&lt;br /&gt;
&lt;br /&gt;
RTS/CTS: None&lt;br /&gt;
&lt;br /&gt;
XON/XOFF : None&lt;br /&gt;
&lt;br /&gt;
=== Changing IP address of the camera ===&lt;br /&gt;
&lt;br /&gt;
The camera network settings can be changed by going to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;http://&amp;lt;camera_ip&amp;gt;/axis.html&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
from an attached computer.&lt;br /&gt;
&lt;br /&gt;
=== Multicast routing in Linux ===&lt;br /&gt;
&lt;br /&gt;
In order to use the multicast streaming from the cameras, you need to add the following route rule to an attached PC:&lt;br /&gt;
    route add -net 224.0.0.0 netmask 240.0.0.0 &amp;lt;interface&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;interface&amp;gt; is the interface connected to the camera (e.g. eth0).&lt;br /&gt;
&lt;br /&gt;
The knoppix live CD/DVD does this for you automatically.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&#039;&#039;Free Software and Open Hardware. Elphel, Inc., 2005&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7913</id>
		<title>Using the cameras</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7913"/>
		<updated>2006-03-03T17:05:09Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* Autoexposure */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Manual Header}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Elphel network cameras — complex devices in whose development advanced technologies and non-standard program decisions are used. We constantly improve our products so that users can use the cameras with the least expense of time and effort. In this section of Elphel Network Cameras Manual you can find detailed information about using Elphel cameras.&lt;br /&gt;
&lt;br /&gt;
== Complete set ==&lt;br /&gt;
&lt;br /&gt;
The complete camera delivery set includes the actual network camera Elphel-313/323/333, and Live-CD or Live-DVD with a special edition of the Debian-based GNU/Linux operating system Knoppix, complete with all the necessary software for the camera. &lt;br /&gt;
&lt;br /&gt;
The complete delivery set can also include lenses, an external power unit and connection cables for an additional payment.&lt;br /&gt;
&lt;br /&gt;
== Appearance ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Cam side.jpg]] The Elphel-313/333 camera case is folding and made of anodized aluminium. Overall dimensions 116х45х45 mm, weight approximately 150 g (without lens). &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam front.jpg]] The carving socket for standard C/CS-mount lenses is located on the front of the camera. &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam back.jpg]] On the back side of the camera case are located a socket for connection of a network cable, a switch-on push button for the software reloading mode, and camera&#039;s model number mark. We constantly improve our products, therefore the number and appearance of the elements placed on the back panel can change. &lt;br /&gt;
&lt;br /&gt;
On the bottom of the camera case is the standard carving socket for installation of the camera on a support.&lt;br /&gt;
&lt;br /&gt;
== Connection ==&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Power_over_Ethernet PoE] (IEEE 802.3af) technology is used to provide power to the Elphel cameras, using the same cable as that used for network connection.&lt;br /&gt;
&lt;br /&gt;
The Elphel camera has a standard RJ-45 Ethernet port, and can be connected to a local network. This port is also used to provide power to the camera. You can do it in two ways:&lt;br /&gt;
&lt;br /&gt;
1. Use the external power supply with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
2. Use the PoE switch with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
=== External power supply ===&lt;br /&gt;
&lt;br /&gt;
[[image:power_supply.png]] &lt;br /&gt;
&lt;br /&gt;
The power supply has two built in RJ-45 jacks. J1 jack provides 48VDC and is used for connection to camera. You must use CAT5 &amp;quot;Crossover&amp;quot; cable for connection between J1 and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
J2 jack is used for connection to a hub/switch. You must use standard CAT5 cable for connection between J2 and the hub/switch RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== PoE switch ===&lt;br /&gt;
&lt;br /&gt;
[[image:poe_switch.jpg]]&lt;br /&gt;
&lt;br /&gt;
PoE switches have special RJ-45 jacks which provide the 48VDC.  You must use standard CAT5 cable for connection between the PoE switch special RJ-45 jacks and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== Necessary cables ===&lt;br /&gt;
&lt;br /&gt;
[[image:cable.jpg]]&lt;br /&gt;
&lt;br /&gt;
Two cable types are necessary for Elphel cameras - standard CAT5 cable and CAT5 &amp;quot;Crossover&amp;quot; cable if &#039;&#039;the camera is connected directly to the computer&#039;&#039;. Crossover cable is the same as used to connect two computers together with a single cable. If the camera is connected to a switch/hub (directly to the powered switch or through additional &#039;&#039;midspan&#039;&#039; power supply) no crossover cable is needed, all cables are straight.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[image:cable_jack.png]]&lt;br /&gt;
&lt;br /&gt;
How to wire a &amp;amp;quot;Crossover&amp;amp;quot; Cable.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;table width=&amp;quot;600&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; &amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #1&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #2&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          2 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 WHT/BRN&amp;lt;br&amp;gt;&lt;br /&gt;
          8 BRN/WHT&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          2 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 BRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          8 WHT/BRN&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Color abbreviations:&lt;br /&gt;
&lt;br /&gt;
WHT-WHITE&lt;br /&gt;
&lt;br /&gt;
BRN-BROWN&lt;br /&gt;
&lt;br /&gt;
ORG-ORANGE&lt;br /&gt;
&lt;br /&gt;
GRN-GREEN&lt;br /&gt;
&lt;br /&gt;
BLU-BLUE&lt;br /&gt;
&lt;br /&gt;
The first color listed in the color pair is the dominant color of the wire. In other words, WHT/ORG is a white wire with orange stripes.&lt;br /&gt;
&lt;br /&gt;
== Main Control Page ==&lt;br /&gt;
&lt;br /&gt;
The Main Control Page uses javaScript to process user input (input fields and window of interest that can be selected by dragging a frame with the mouse), and combines all the camera acquisition parameters in a single GET request to a CGI program in the camera through the embedded web server (Boa). Currently the camera does not support simultaneous access as each request actually controls the camera operation mode (including sensor resolution and frame rate) and does not just connect to the camera output. &lt;br /&gt;
&lt;br /&gt;
=== Page layout ===&lt;br /&gt;
&lt;br /&gt;
On the top part of the page you should see a preview image. It is always 640x512, 800x600 or 512x386 pixels (1/2 or 1/4 of camera resolution depending on the sensor) and does not change with the selected decimation and window of interest (red rectangle over the image). &lt;br /&gt;
&lt;br /&gt;
Below the preview image there are the camera controls:&lt;br /&gt;
&lt;br /&gt;
=== General Controls ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Window&#039;&#039;&#039; section there are 2 buttons at the bottom-right corner of window. You may specify window of interest (WOI) by dragging these buttons with the mouse. You may also change it numerically by entering data to &#039;&#039;&#039;W&#039;&#039;&#039;(idth), &#039;&#039;&#039;H&#039;&#039;&#039;(eight), &#039;&#039;&#039;L&#039;&#039;&#039;(eft) and &#039;&#039;&#039;T&#039;&#039;&#039;(op) input fields below. That numbers are rounded according to the selected sensor decimation and to use integer multiples of 16x16 pixels MCUs in JPEG compression. You may also change WOI by choosing one of the frequently used size from the list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Autoexposure ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Autoexp_1.png]]&lt;br /&gt;
By default the autoexposure is enabled. There is the special multicolor button for autoexposures management. The button colors is:&lt;br /&gt;
[[Image:Aegreen.png]] - Autoexposure is enabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aered.png]] - Autoexposure is disabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aeblue.png]] - The autoexposure control window is opened&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Exposure&#039;&#039;&#039; field there is an input field to specify frame exposure time (in ms) - it is possible to specify fractions. You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Saturation&#039;&#039;&#039; section allows adjusting contrast saturation. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gamma&#039;&#039;&#039; field controls contrast by adjusting intensity conversion, gamma=1.0 corresponds to linear response (high contrast). Values less than 1 increase input dynamic range by expanding low intensity values (low contrast). You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
JPEG &#039;&#039;&#039;Quality&#039;&#039;&#039; sets standard JPEG compression quality. The higher the quality the bigger the resulting file. It does not change the camera frame rate. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;White balance&#039;&#039;&#039; section is a drop-down menu containing four static parameters: &#039;&#039;&#039;Sunlight&#039;&#039;&#039;, &#039;&#039;&#039;Cloudy&#039;&#039;&#039;, &#039;&#039;&#039;Incandenscent&#039;&#039;&#039; and &#039;&#039;&#039;Fluorescent&#039;&#039;&#039;. You can choose one of these parameters to achieve the highest quality image depending on the lighting conditions. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Image size&#039;&#039;&#039; drop-down menu you may choose the static window size. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Resolution&#039;&#039;&#039; section there are radiobuttons to select sensor decimation (resolution). Selecting &#039;&#039;&#039;1&#039;&#039;&#039; uses all pixels in WOI, &#039;&#039;&#039;1/2&#039;&#039;&#039; - every other one (in both directions) - 1/4 total, &#039;&#039;&#039;1/4&#039;&#039;&#039; - 1 in 4 in each direction - 1/16 total and so on. Both WOI and decimation control the actual sensor operation that runs from the 20 MHz pixel clock, so the smaller the total number of pixels the higher the frame rate (it is actually slower as the sensor has some &amp;quot;margins&amp;quot; around the active area). &lt;br /&gt;
&lt;br /&gt;
[[Image:Color.jpg]] In monochrome mode (when the &#039;&#039;&#039;Color&#039;&#039;&#039; radiobutton is not checked) &amp;quot;R&amp;quot; gain settings are used for all channels and color conversion is disabled. &lt;br /&gt;
&lt;br /&gt;
Below are 3 buttons &#039;&#039;&#039;Preview&#039;&#039;&#039;, &#039;&#039;&#039;Reset&#039;&#039;&#039; and &#039;&#039;&#039;Apply&#039;&#039;&#039;. &#039;&#039;&#039;Preview&#039;&#039;&#039; button refreshes the image in the top portion on a page (ignoring selected WOI and decimation), The &#039;&#039;&#039;Reset&#039;&#039;&#039; button returns to the initial adjustment parameters. The &#039;&#039;&#039;Apply&#039;&#039;&#039; button is used to accept the new changes. &lt;br /&gt;
&lt;br /&gt;
Also there are two links after &#039;&#039;&#039;Photo&#039;&#039;&#039;: &#039;&#039;&#039;New&#039;&#039;&#039; contains a link to a camera CGI program that has all the acquisition parameters attached. You may just click it to open the image in a new window or right-click it and select &amp;quot;Save link target as...&amp;quot; (or equivalent) to save the image on your computer. The second link &#039;&#039;&#039;Last&#039;&#039;&#039; points to the last image already in the camera memory; you may use it to save the previously aquired image to your hard drive. &lt;br /&gt;
&lt;br /&gt;
[[Image:Help.png]] button opens this help page. &lt;br /&gt;
&lt;br /&gt;
[[Image:Info.png]] button opens the information window where there is a list of the acquisition parameters used during the last image/clip acquisition.&lt;br /&gt;
&lt;br /&gt;
=== Video Controls ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Video Controls&#039;&#039;&#039; in this section allow users to record a video clip in the camera memory and send it over the LAN/Internet as a Quicktime video file. All settings for the image size, resolution, compression quality, analog gains and exposure are the same as for still images described above, and that link adds extra parameters - &#039;&#039;&#039;Frame Rate&#039;&#039;&#039; and &#039;&#039;&#039;Time Scale&#039;&#039;&#039;. The first sets the desired frame rate (leave blank or set to 0 for the maximal rate), the second field sets how much the playback time is longer than the acquisition one. I.e. setting of &amp;quot;10&amp;quot; makes the clip play 10 times slower that it was shot. &lt;br /&gt;
&lt;br /&gt;
Total size of the clip (6-7MB) is determined by a camera internal buffer used for compressed image storage and the total number of frames as the frame headers are attached during the clip output and are not stored in the buffer. There are 2 ways to shoot a clip (usual duration 3-5 sec, depending on compression quality). First is to press &#039;&#039;&#039;Start stream&#039;&#039;&#039; button, wait for the event to occur and then press &#039;&#039;&#039;Acquire&#039;&#039;&#039;. In this mode after &#039;&#039;&#039;Start stream&#039;&#039;&#039; the camera continuously writes to the buffer, overwriting footage when all the available space is used. Pressing the &#039;&#039;&#039;Stop stream&#039;&#039;&#039; button ends data saving and so the buffer contains the last data recorded. Another way is to press &#039;&#039;&#039;Acquire&#039;&#039;&#039; before the event. In that mode the clip recording starts after the trigger and stops when the whole buffer is full. &lt;br /&gt;
&lt;br /&gt;
There are additional controls to preview a videoclip from the camera memory. Frame number 1 is the first one, 2 - second, etc. Frame number 0 is the last one in the clip, -1 - previous before last, etc. Any image acquisition (including &#039;&#039;&#039;Preview&#039;&#039;&#039;) erases the stored clip and makes it one frame long. &lt;br /&gt;
&lt;br /&gt;
Clicking on the &#039;&#039;&#039;Video Clip&#039;&#039;&#039; link opens the clip in the Apple QuickTime ™ (or compatible) player plugin (if installed) - you may also use this link to save the clip as a file on your computer.&lt;br /&gt;
&lt;br /&gt;
=== Advanced Panel ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 2.jpg]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Advanced Panel&#039;&#039;&#039; tab opens additional adjustment parameters for the image. In this section you may specify more exact adjustments of color levels of the image. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gains&#039;&#039;&#039; section controls the sensor analog gain settings. &#039;&#039;&#039;R&#039;&#039;&#039;, &#039;&#039;&#039;G&#039;&#039;&#039; and &#039;&#039;&#039;B&#039;&#039;&#039; input fields control color component gains. Using high gain settings increases sensor noise but is required to view fast events with 1ms exposure time with the lighting used in the current setup. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;R-Y&#039;&#039;&#039; specifies color saturation for red color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B-Y&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;W&#039;&#039;&#039; specifies level saturation for white color component. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-X&#039;&#039;&#039; button allows turning the image horizontally. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-Y&#039;&#039;&#039; button allows turning the image vertically. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;NOTE: Some parameters (e.g. window size) cannot be changed without stopping the acquisition/compression.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Technical Information for the Elphel-333 ==&lt;br /&gt;
&lt;br /&gt;
=== Default Setup ===&lt;br /&gt;
&lt;br /&gt;
The default IP address of the camera is &#039;&#039;&#039;192.168.0.9&#039;&#039;&#039; netmask &#039;&#039;&#039;255.255.255.0&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You should be able to ping the camera from another machine on the same subnet.&lt;br /&gt;
&lt;br /&gt;
By default, the following TCP ports are open:&lt;br /&gt;
&lt;br /&gt;
21/ftp&lt;br /&gt;
&lt;br /&gt;
23/telnet&lt;br /&gt;
&lt;br /&gt;
80/http&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Logging in ===&lt;br /&gt;
&lt;br /&gt;
You can log in to the camera via telnet on TCP port 23&lt;br /&gt;
&lt;br /&gt;
User: &#039;&#039;&#039;root&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Password: &#039;&#039;&#039;pass&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Serial port ===&lt;br /&gt;
&lt;br /&gt;
The serial port settings (additional board 308 needed)&lt;br /&gt;
&lt;br /&gt;
Speed: 19200 8N1&lt;br /&gt;
&lt;br /&gt;
RTS/CTS: None&lt;br /&gt;
&lt;br /&gt;
XON/XOFF : None&lt;br /&gt;
&lt;br /&gt;
=== Changing IP address of the camera ===&lt;br /&gt;
&lt;br /&gt;
The camera network settings can be changed by going to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;http://&amp;lt;camera_ip&amp;gt;/axis.html&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
from an attached computer.&lt;br /&gt;
&lt;br /&gt;
=== Multicast routing in Linux ===&lt;br /&gt;
&lt;br /&gt;
In order to use the multicast streaming from the cameras, you need to add the following route rule to an attached PC:&lt;br /&gt;
    route add -net 224.0.0.0 netmask 240.0.0.0 &amp;lt;interface&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;interface&amp;gt; is the interface connected to the camera (e.g. eth0).&lt;br /&gt;
&lt;br /&gt;
The knoppix live CD/DVD does this for you automatically.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&#039;&#039;Free Software and Open Hardware. Elphel, Inc., 2005&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7912</id>
		<title>Using the cameras</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7912"/>
		<updated>2006-03-03T17:04:34Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* Autoexposure */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Manual Header}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Elphel network cameras — complex devices in whose development advanced technologies and non-standard program decisions are used. We constantly improve our products so that users can use the cameras with the least expense of time and effort. In this section of Elphel Network Cameras Manual you can find detailed information about using Elphel cameras.&lt;br /&gt;
&lt;br /&gt;
== Complete set ==&lt;br /&gt;
&lt;br /&gt;
The complete camera delivery set includes the actual network camera Elphel-313/323/333, and Live-CD or Live-DVD with a special edition of the Debian-based GNU/Linux operating system Knoppix, complete with all the necessary software for the camera. &lt;br /&gt;
&lt;br /&gt;
The complete delivery set can also include lenses, an external power unit and connection cables for an additional payment.&lt;br /&gt;
&lt;br /&gt;
== Appearance ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Cam side.jpg]] The Elphel-313/333 camera case is folding and made of anodized aluminium. Overall dimensions 116х45х45 mm, weight approximately 150 g (without lens). &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam front.jpg]] The carving socket for standard C/CS-mount lenses is located on the front of the camera. &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam back.jpg]] On the back side of the camera case are located a socket for connection of a network cable, a switch-on push button for the software reloading mode, and camera&#039;s model number mark. We constantly improve our products, therefore the number and appearance of the elements placed on the back panel can change. &lt;br /&gt;
&lt;br /&gt;
On the bottom of the camera case is the standard carving socket for installation of the camera on a support.&lt;br /&gt;
&lt;br /&gt;
== Connection ==&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Power_over_Ethernet PoE] (IEEE 802.3af) technology is used to provide power to the Elphel cameras, using the same cable as that used for network connection.&lt;br /&gt;
&lt;br /&gt;
The Elphel camera has a standard RJ-45 Ethernet port, and can be connected to a local network. This port is also used to provide power to the camera. You can do it in two ways:&lt;br /&gt;
&lt;br /&gt;
1. Use the external power supply with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
2. Use the PoE switch with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
=== External power supply ===&lt;br /&gt;
&lt;br /&gt;
[[image:power_supply.png]] &lt;br /&gt;
&lt;br /&gt;
The power supply has two built in RJ-45 jacks. J1 jack provides 48VDC and is used for connection to camera. You must use CAT5 &amp;quot;Crossover&amp;quot; cable for connection between J1 and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
J2 jack is used for connection to a hub/switch. You must use standard CAT5 cable for connection between J2 and the hub/switch RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== PoE switch ===&lt;br /&gt;
&lt;br /&gt;
[[image:poe_switch.jpg]]&lt;br /&gt;
&lt;br /&gt;
PoE switches have special RJ-45 jacks which provide the 48VDC.  You must use standard CAT5 cable for connection between the PoE switch special RJ-45 jacks and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== Necessary cables ===&lt;br /&gt;
&lt;br /&gt;
[[image:cable.jpg]]&lt;br /&gt;
&lt;br /&gt;
Two cable types are necessary for Elphel cameras - standard CAT5 cable and CAT5 &amp;quot;Crossover&amp;quot; cable if &#039;&#039;the camera is connected directly to the computer&#039;&#039;. Crossover cable is the same as used to connect two computers together with a single cable. If the camera is connected to a switch/hub (directly to the powered switch or through additional &#039;&#039;midspan&#039;&#039; power supply) no crossover cable is needed, all cables are straight.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[image:cable_jack.png]]&lt;br /&gt;
&lt;br /&gt;
How to wire a &amp;amp;quot;Crossover&amp;amp;quot; Cable.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;table width=&amp;quot;600&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; &amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #1&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #2&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          2 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 WHT/BRN&amp;lt;br&amp;gt;&lt;br /&gt;
          8 BRN/WHT&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          2 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 BRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          8 WHT/BRN&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Color abbreviations:&lt;br /&gt;
&lt;br /&gt;
WHT-WHITE&lt;br /&gt;
&lt;br /&gt;
BRN-BROWN&lt;br /&gt;
&lt;br /&gt;
ORG-ORANGE&lt;br /&gt;
&lt;br /&gt;
GRN-GREEN&lt;br /&gt;
&lt;br /&gt;
BLU-BLUE&lt;br /&gt;
&lt;br /&gt;
The first color listed in the color pair is the dominant color of the wire. In other words, WHT/ORG is a white wire with orange stripes.&lt;br /&gt;
&lt;br /&gt;
== Main Control Page ==&lt;br /&gt;
&lt;br /&gt;
The Main Control Page uses javaScript to process user input (input fields and window of interest that can be selected by dragging a frame with the mouse), and combines all the camera acquisition parameters in a single GET request to a CGI program in the camera through the embedded web server (Boa). Currently the camera does not support simultaneous access as each request actually controls the camera operation mode (including sensor resolution and frame rate) and does not just connect to the camera output. &lt;br /&gt;
&lt;br /&gt;
=== Page layout ===&lt;br /&gt;
&lt;br /&gt;
On the top part of the page you should see a preview image. It is always 640x512, 800x600 or 512x386 pixels (1/2 or 1/4 of camera resolution depending on the sensor) and does not change with the selected decimation and window of interest (red rectangle over the image). &lt;br /&gt;
&lt;br /&gt;
Below the preview image there are the camera controls:&lt;br /&gt;
&lt;br /&gt;
=== General Controls ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Window&#039;&#039;&#039; section there are 2 buttons at the bottom-right corner of window. You may specify window of interest (WOI) by dragging these buttons with the mouse. You may also change it numerically by entering data to &#039;&#039;&#039;W&#039;&#039;&#039;(idth), &#039;&#039;&#039;H&#039;&#039;&#039;(eight), &#039;&#039;&#039;L&#039;&#039;&#039;(eft) and &#039;&#039;&#039;T&#039;&#039;&#039;(op) input fields below. That numbers are rounded according to the selected sensor decimation and to use integer multiples of 16x16 pixels MCUs in JPEG compression. You may also change WOI by choosing one of the frequently used size from the list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Autoexposure ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Autoexp_1.png]]&lt;br /&gt;
By default the autoexposure is enabled. There is the special multicolor button for autoexposures management. The button colors is:&lt;br /&gt;
&lt;br /&gt;
[[Image:Aegreen.png]] - Autoexposure is enabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aered.png]] - Autoexposure is disabled&lt;br /&gt;
&lt;br /&gt;
[[Image:Aeblue.png]] - The autoexposure control window is opened&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Exposure&#039;&#039;&#039; field there is an input field to specify frame exposure time (in ms) - it is possible to specify fractions. You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Saturation&#039;&#039;&#039; section allows adjusting contrast saturation. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gamma&#039;&#039;&#039; field controls contrast by adjusting intensity conversion, gamma=1.0 corresponds to linear response (high contrast). Values less than 1 increase input dynamic range by expanding low intensity values (low contrast). You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
JPEG &#039;&#039;&#039;Quality&#039;&#039;&#039; sets standard JPEG compression quality. The higher the quality the bigger the resulting file. It does not change the camera frame rate. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;White balance&#039;&#039;&#039; section is a drop-down menu containing four static parameters: &#039;&#039;&#039;Sunlight&#039;&#039;&#039;, &#039;&#039;&#039;Cloudy&#039;&#039;&#039;, &#039;&#039;&#039;Incandenscent&#039;&#039;&#039; and &#039;&#039;&#039;Fluorescent&#039;&#039;&#039;. You can choose one of these parameters to achieve the highest quality image depending on the lighting conditions. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Image size&#039;&#039;&#039; drop-down menu you may choose the static window size. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Resolution&#039;&#039;&#039; section there are radiobuttons to select sensor decimation (resolution). Selecting &#039;&#039;&#039;1&#039;&#039;&#039; uses all pixels in WOI, &#039;&#039;&#039;1/2&#039;&#039;&#039; - every other one (in both directions) - 1/4 total, &#039;&#039;&#039;1/4&#039;&#039;&#039; - 1 in 4 in each direction - 1/16 total and so on. Both WOI and decimation control the actual sensor operation that runs from the 20 MHz pixel clock, so the smaller the total number of pixels the higher the frame rate (it is actually slower as the sensor has some &amp;quot;margins&amp;quot; around the active area). &lt;br /&gt;
&lt;br /&gt;
[[Image:Color.jpg]] In monochrome mode (when the &#039;&#039;&#039;Color&#039;&#039;&#039; radiobutton is not checked) &amp;quot;R&amp;quot; gain settings are used for all channels and color conversion is disabled. &lt;br /&gt;
&lt;br /&gt;
Below are 3 buttons &#039;&#039;&#039;Preview&#039;&#039;&#039;, &#039;&#039;&#039;Reset&#039;&#039;&#039; and &#039;&#039;&#039;Apply&#039;&#039;&#039;. &#039;&#039;&#039;Preview&#039;&#039;&#039; button refreshes the image in the top portion on a page (ignoring selected WOI and decimation), The &#039;&#039;&#039;Reset&#039;&#039;&#039; button returns to the initial adjustment parameters. The &#039;&#039;&#039;Apply&#039;&#039;&#039; button is used to accept the new changes. &lt;br /&gt;
&lt;br /&gt;
Also there are two links after &#039;&#039;&#039;Photo&#039;&#039;&#039;: &#039;&#039;&#039;New&#039;&#039;&#039; contains a link to a camera CGI program that has all the acquisition parameters attached. You may just click it to open the image in a new window or right-click it and select &amp;quot;Save link target as...&amp;quot; (or equivalent) to save the image on your computer. The second link &#039;&#039;&#039;Last&#039;&#039;&#039; points to the last image already in the camera memory; you may use it to save the previously aquired image to your hard drive. &lt;br /&gt;
&lt;br /&gt;
[[Image:Help.png]] button opens this help page. &lt;br /&gt;
&lt;br /&gt;
[[Image:Info.png]] button opens the information window where there is a list of the acquisition parameters used during the last image/clip acquisition.&lt;br /&gt;
&lt;br /&gt;
=== Video Controls ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Video Controls&#039;&#039;&#039; in this section allow users to record a video clip in the camera memory and send it over the LAN/Internet as a Quicktime video file. All settings for the image size, resolution, compression quality, analog gains and exposure are the same as for still images described above, and that link adds extra parameters - &#039;&#039;&#039;Frame Rate&#039;&#039;&#039; and &#039;&#039;&#039;Time Scale&#039;&#039;&#039;. The first sets the desired frame rate (leave blank or set to 0 for the maximal rate), the second field sets how much the playback time is longer than the acquisition one. I.e. setting of &amp;quot;10&amp;quot; makes the clip play 10 times slower that it was shot. &lt;br /&gt;
&lt;br /&gt;
Total size of the clip (6-7MB) is determined by a camera internal buffer used for compressed image storage and the total number of frames as the frame headers are attached during the clip output and are not stored in the buffer. There are 2 ways to shoot a clip (usual duration 3-5 sec, depending on compression quality). First is to press &#039;&#039;&#039;Start stream&#039;&#039;&#039; button, wait for the event to occur and then press &#039;&#039;&#039;Acquire&#039;&#039;&#039;. In this mode after &#039;&#039;&#039;Start stream&#039;&#039;&#039; the camera continuously writes to the buffer, overwriting footage when all the available space is used. Pressing the &#039;&#039;&#039;Stop stream&#039;&#039;&#039; button ends data saving and so the buffer contains the last data recorded. Another way is to press &#039;&#039;&#039;Acquire&#039;&#039;&#039; before the event. In that mode the clip recording starts after the trigger and stops when the whole buffer is full. &lt;br /&gt;
&lt;br /&gt;
There are additional controls to preview a videoclip from the camera memory. Frame number 1 is the first one, 2 - second, etc. Frame number 0 is the last one in the clip, -1 - previous before last, etc. Any image acquisition (including &#039;&#039;&#039;Preview&#039;&#039;&#039;) erases the stored clip and makes it one frame long. &lt;br /&gt;
&lt;br /&gt;
Clicking on the &#039;&#039;&#039;Video Clip&#039;&#039;&#039; link opens the clip in the Apple QuickTime ™ (or compatible) player plugin (if installed) - you may also use this link to save the clip as a file on your computer.&lt;br /&gt;
&lt;br /&gt;
=== Advanced Panel ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 2.jpg]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Advanced Panel&#039;&#039;&#039; tab opens additional adjustment parameters for the image. In this section you may specify more exact adjustments of color levels of the image. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gains&#039;&#039;&#039; section controls the sensor analog gain settings. &#039;&#039;&#039;R&#039;&#039;&#039;, &#039;&#039;&#039;G&#039;&#039;&#039; and &#039;&#039;&#039;B&#039;&#039;&#039; input fields control color component gains. Using high gain settings increases sensor noise but is required to view fast events with 1ms exposure time with the lighting used in the current setup. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;R-Y&#039;&#039;&#039; specifies color saturation for red color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B-Y&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;W&#039;&#039;&#039; specifies level saturation for white color component. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-X&#039;&#039;&#039; button allows turning the image horizontally. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-Y&#039;&#039;&#039; button allows turning the image vertically. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;NOTE: Some parameters (e.g. window size) cannot be changed without stopping the acquisition/compression.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Technical Information for the Elphel-333 ==&lt;br /&gt;
&lt;br /&gt;
=== Default Setup ===&lt;br /&gt;
&lt;br /&gt;
The default IP address of the camera is &#039;&#039;&#039;192.168.0.9&#039;&#039;&#039; netmask &#039;&#039;&#039;255.255.255.0&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You should be able to ping the camera from another machine on the same subnet.&lt;br /&gt;
&lt;br /&gt;
By default, the following TCP ports are open:&lt;br /&gt;
&lt;br /&gt;
21/ftp&lt;br /&gt;
&lt;br /&gt;
23/telnet&lt;br /&gt;
&lt;br /&gt;
80/http&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Logging in ===&lt;br /&gt;
&lt;br /&gt;
You can log in to the camera via telnet on TCP port 23&lt;br /&gt;
&lt;br /&gt;
User: &#039;&#039;&#039;root&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Password: &#039;&#039;&#039;pass&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Serial port ===&lt;br /&gt;
&lt;br /&gt;
The serial port settings (additional board 308 needed)&lt;br /&gt;
&lt;br /&gt;
Speed: 19200 8N1&lt;br /&gt;
&lt;br /&gt;
RTS/CTS: None&lt;br /&gt;
&lt;br /&gt;
XON/XOFF : None&lt;br /&gt;
&lt;br /&gt;
=== Changing IP address of the camera ===&lt;br /&gt;
&lt;br /&gt;
The camera network settings can be changed by going to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;http://&amp;lt;camera_ip&amp;gt;/axis.html&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
from an attached computer.&lt;br /&gt;
&lt;br /&gt;
=== Multicast routing in Linux ===&lt;br /&gt;
&lt;br /&gt;
In order to use the multicast streaming from the cameras, you need to add the following route rule to an attached PC:&lt;br /&gt;
    route add -net 224.0.0.0 netmask 240.0.0.0 &amp;lt;interface&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;interface&amp;gt; is the interface connected to the camera (e.g. eth0).&lt;br /&gt;
&lt;br /&gt;
The knoppix live CD/DVD does this for you automatically.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&#039;&#039;Free Software and Open Hardware. Elphel, Inc., 2005&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7911</id>
		<title>Using the cameras</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=7911"/>
		<updated>2006-03-03T17:04:08Z</updated>

		<summary type="html">&lt;p&gt;Ilya: /* Autoexposure */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Manual Header}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Elphel network cameras — complex devices in whose development advanced technologies and non-standard program decisions are used. We constantly improve our products so that users can use the cameras with the least expense of time and effort. In this section of Elphel Network Cameras Manual you can find detailed information about using Elphel cameras.&lt;br /&gt;
&lt;br /&gt;
== Complete set ==&lt;br /&gt;
&lt;br /&gt;
The complete camera delivery set includes the actual network camera Elphel-313/323/333, and Live-CD or Live-DVD with a special edition of the Debian-based GNU/Linux operating system Knoppix, complete with all the necessary software for the camera. &lt;br /&gt;
&lt;br /&gt;
The complete delivery set can also include lenses, an external power unit and connection cables for an additional payment.&lt;br /&gt;
&lt;br /&gt;
== Appearance ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Cam side.jpg]] The Elphel-313/333 camera case is folding and made of anodized aluminium. Overall dimensions 116х45х45 mm, weight approximately 150 g (without lens). &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam front.jpg]] The carving socket for standard C/CS-mount lenses is located on the front of the camera. &lt;br /&gt;
&lt;br /&gt;
[[Image:Cam back.jpg]] On the back side of the camera case are located a socket for connection of a network cable, a switch-on push button for the software reloading mode, and camera&#039;s model number mark. We constantly improve our products, therefore the number and appearance of the elements placed on the back panel can change. &lt;br /&gt;
&lt;br /&gt;
On the bottom of the camera case is the standard carving socket for installation of the camera on a support.&lt;br /&gt;
&lt;br /&gt;
== Connection ==&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Power_over_Ethernet PoE] (IEEE 802.3af) technology is used to provide power to the Elphel cameras, using the same cable as that used for network connection.&lt;br /&gt;
&lt;br /&gt;
The Elphel camera has a standard RJ-45 Ethernet port, and can be connected to a local network. This port is also used to provide power to the camera. You can do it in two ways:&lt;br /&gt;
&lt;br /&gt;
1. Use the external power supply with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
2. Use the PoE switch with integral DC Injector&lt;br /&gt;
&lt;br /&gt;
=== External power supply ===&lt;br /&gt;
&lt;br /&gt;
[[image:power_supply.png]] &lt;br /&gt;
&lt;br /&gt;
The power supply has two built in RJ-45 jacks. J1 jack provides 48VDC and is used for connection to camera. You must use CAT5 &amp;quot;Crossover&amp;quot; cable for connection between J1 and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
J2 jack is used for connection to a hub/switch. You must use standard CAT5 cable for connection between J2 and the hub/switch RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== PoE switch ===&lt;br /&gt;
&lt;br /&gt;
[[image:poe_switch.jpg]]&lt;br /&gt;
&lt;br /&gt;
PoE switches have special RJ-45 jacks which provide the 48VDC.  You must use standard CAT5 cable for connection between the PoE switch special RJ-45 jacks and the camera&#039;s RJ-45 jack.&lt;br /&gt;
&lt;br /&gt;
=== Necessary cables ===&lt;br /&gt;
&lt;br /&gt;
[[image:cable.jpg]]&lt;br /&gt;
&lt;br /&gt;
Two cable types are necessary for Elphel cameras - standard CAT5 cable and CAT5 &amp;quot;Crossover&amp;quot; cable if &#039;&#039;the camera is connected directly to the computer&#039;&#039;. Crossover cable is the same as used to connect two computers together with a single cable. If the camera is connected to a switch/hub (directly to the powered switch or through additional &#039;&#039;midspan&#039;&#039; power supply) no crossover cable is needed, all cables are straight.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[image:cable_jack.png]]&lt;br /&gt;
&lt;br /&gt;
How to wire a &amp;amp;quot;Crossover&amp;amp;quot; Cable.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;table width=&amp;quot;600&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; &amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #1&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td&amp;gt; &lt;br /&gt;
        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;connector #2&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;tr&amp;gt; &lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          2 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 WHT/BRN&amp;lt;br&amp;gt;&lt;br /&gt;
          8 BRN/WHT&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;td height=&amp;quot;135&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;p align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
          1 WHT/GRN&amp;lt;br&amp;gt;&lt;br /&gt;
          2 GRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          3 WHT/ORG&amp;lt;br&amp;gt;&lt;br /&gt;
          4 BLU/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          5 WHT/BLU&amp;lt;br&amp;gt;&lt;br /&gt;
          6 ORG/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          7 BRN/WHT&amp;lt;br&amp;gt;&lt;br /&gt;
          8 WHT/BRN&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Color abbreviations:&lt;br /&gt;
&lt;br /&gt;
WHT-WHITE&lt;br /&gt;
&lt;br /&gt;
BRN-BROWN&lt;br /&gt;
&lt;br /&gt;
ORG-ORANGE&lt;br /&gt;
&lt;br /&gt;
GRN-GREEN&lt;br /&gt;
&lt;br /&gt;
BLU-BLUE&lt;br /&gt;
&lt;br /&gt;
The first color listed in the color pair is the dominant color of the wire. In other words, WHT/ORG is a white wire with orange stripes.&lt;br /&gt;
&lt;br /&gt;
== Main Control Page ==&lt;br /&gt;
&lt;br /&gt;
The Main Control Page uses javaScript to process user input (input fields and window of interest that can be selected by dragging a frame with the mouse), and combines all the camera acquisition parameters in a single GET request to a CGI program in the camera through the embedded web server (Boa). Currently the camera does not support simultaneous access as each request actually controls the camera operation mode (including sensor resolution and frame rate) and does not just connect to the camera output. &lt;br /&gt;
&lt;br /&gt;
=== Page layout ===&lt;br /&gt;
&lt;br /&gt;
On the top part of the page you should see a preview image. It is always 640x512, 800x600 or 512x386 pixels (1/2 or 1/4 of camera resolution depending on the sensor) and does not change with the selected decimation and window of interest (red rectangle over the image). &lt;br /&gt;
&lt;br /&gt;
Below the preview image there are the camera controls:&lt;br /&gt;
&lt;br /&gt;
=== General Controls ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 1.jpg]]&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Window&#039;&#039;&#039; section there are 2 buttons at the bottom-right corner of window. You may specify window of interest (WOI) by dragging these buttons with the mouse. You may also change it numerically by entering data to &#039;&#039;&#039;W&#039;&#039;&#039;(idth), &#039;&#039;&#039;H&#039;&#039;&#039;(eight), &#039;&#039;&#039;L&#039;&#039;&#039;(eft) and &#039;&#039;&#039;T&#039;&#039;&#039;(op) input fields below. That numbers are rounded according to the selected sensor decimation and to use integer multiples of 16x16 pixels MCUs in JPEG compression. You may also change WOI by choosing one of the frequently used size from the list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=1&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Autoexposure ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Autoexp_1.png]]&lt;br /&gt;
By default the autoexposure is enabled. There is the special multicolor button for autoexposures management. The button colors is:&lt;br /&gt;
[[Image:Aegreen.png]] - Autoexposure is enabled&lt;br /&gt;
[[Image:Aered.png]] - Autoexposure is disabled&lt;br /&gt;
[[Image:Aeblue.png]] - The autoexposure control window is opened&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Exposure&#039;&#039;&#039; field there is an input field to specify frame exposure time (in ms) - it is possible to specify fractions. You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Saturation&#039;&#039;&#039; section allows adjusting contrast saturation. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gamma&#039;&#039;&#039; field controls contrast by adjusting intensity conversion, gamma=1.0 corresponds to linear response (high contrast). Values less than 1 increase input dynamic range by expanding low intensity values (low contrast). You may change this parameter by dragging the slider with the mouse. &lt;br /&gt;
&lt;br /&gt;
JPEG &#039;&#039;&#039;Quality&#039;&#039;&#039; sets standard JPEG compression quality. The higher the quality the bigger the resulting file. It does not change the camera frame rate. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;White balance&#039;&#039;&#039; section is a drop-down menu containing four static parameters: &#039;&#039;&#039;Sunlight&#039;&#039;&#039;, &#039;&#039;&#039;Cloudy&#039;&#039;&#039;, &#039;&#039;&#039;Incandenscent&#039;&#039;&#039; and &#039;&#039;&#039;Fluorescent&#039;&#039;&#039;. You can choose one of these parameters to achieve the highest quality image depending on the lighting conditions. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Image size&#039;&#039;&#039; drop-down menu you may choose the static window size. &lt;br /&gt;
&lt;br /&gt;
In the &#039;&#039;&#039;Resolution&#039;&#039;&#039; section there are radiobuttons to select sensor decimation (resolution). Selecting &#039;&#039;&#039;1&#039;&#039;&#039; uses all pixels in WOI, &#039;&#039;&#039;1/2&#039;&#039;&#039; - every other one (in both directions) - 1/4 total, &#039;&#039;&#039;1/4&#039;&#039;&#039; - 1 in 4 in each direction - 1/16 total and so on. Both WOI and decimation control the actual sensor operation that runs from the 20 MHz pixel clock, so the smaller the total number of pixels the higher the frame rate (it is actually slower as the sensor has some &amp;quot;margins&amp;quot; around the active area). &lt;br /&gt;
&lt;br /&gt;
[[Image:Color.jpg]] In monochrome mode (when the &#039;&#039;&#039;Color&#039;&#039;&#039; radiobutton is not checked) &amp;quot;R&amp;quot; gain settings are used for all channels and color conversion is disabled. &lt;br /&gt;
&lt;br /&gt;
Below are 3 buttons &#039;&#039;&#039;Preview&#039;&#039;&#039;, &#039;&#039;&#039;Reset&#039;&#039;&#039; and &#039;&#039;&#039;Apply&#039;&#039;&#039;. &#039;&#039;&#039;Preview&#039;&#039;&#039; button refreshes the image in the top portion on a page (ignoring selected WOI and decimation), The &#039;&#039;&#039;Reset&#039;&#039;&#039; button returns to the initial adjustment parameters. The &#039;&#039;&#039;Apply&#039;&#039;&#039; button is used to accept the new changes. &lt;br /&gt;
&lt;br /&gt;
Also there are two links after &#039;&#039;&#039;Photo&#039;&#039;&#039;: &#039;&#039;&#039;New&#039;&#039;&#039; contains a link to a camera CGI program that has all the acquisition parameters attached. You may just click it to open the image in a new window or right-click it and select &amp;quot;Save link target as...&amp;quot; (or equivalent) to save the image on your computer. The second link &#039;&#039;&#039;Last&#039;&#039;&#039; points to the last image already in the camera memory; you may use it to save the previously aquired image to your hard drive. &lt;br /&gt;
&lt;br /&gt;
[[Image:Help.png]] button opens this help page. &lt;br /&gt;
&lt;br /&gt;
[[Image:Info.png]] button opens the information window where there is a list of the acquisition parameters used during the last image/clip acquisition.&lt;br /&gt;
&lt;br /&gt;
=== Video Controls ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Video Controls&#039;&#039;&#039; in this section allow users to record a video clip in the camera memory and send it over the LAN/Internet as a Quicktime video file. All settings for the image size, resolution, compression quality, analog gains and exposure are the same as for still images described above, and that link adds extra parameters - &#039;&#039;&#039;Frame Rate&#039;&#039;&#039; and &#039;&#039;&#039;Time Scale&#039;&#039;&#039;. The first sets the desired frame rate (leave blank or set to 0 for the maximal rate), the second field sets how much the playback time is longer than the acquisition one. I.e. setting of &amp;quot;10&amp;quot; makes the clip play 10 times slower that it was shot. &lt;br /&gt;
&lt;br /&gt;
Total size of the clip (6-7MB) is determined by a camera internal buffer used for compressed image storage and the total number of frames as the frame headers are attached during the clip output and are not stored in the buffer. There are 2 ways to shoot a clip (usual duration 3-5 sec, depending on compression quality). First is to press &#039;&#039;&#039;Start stream&#039;&#039;&#039; button, wait for the event to occur and then press &#039;&#039;&#039;Acquire&#039;&#039;&#039;. In this mode after &#039;&#039;&#039;Start stream&#039;&#039;&#039; the camera continuously writes to the buffer, overwriting footage when all the available space is used. Pressing the &#039;&#039;&#039;Stop stream&#039;&#039;&#039; button ends data saving and so the buffer contains the last data recorded. Another way is to press &#039;&#039;&#039;Acquire&#039;&#039;&#039; before the event. In that mode the clip recording starts after the trigger and stops when the whole buffer is full. &lt;br /&gt;
&lt;br /&gt;
There are additional controls to preview a videoclip from the camera memory. Frame number 1 is the first one, 2 - second, etc. Frame number 0 is the last one in the clip, -1 - previous before last, etc. Any image acquisition (including &#039;&#039;&#039;Preview&#039;&#039;&#039;) erases the stored clip and makes it one frame long. &lt;br /&gt;
&lt;br /&gt;
Clicking on the &#039;&#039;&#039;Video Clip&#039;&#039;&#039; link opens the clip in the Apple QuickTime ™ (or compatible) player plugin (if installed) - you may also use this link to save the clip as a file on your computer.&lt;br /&gt;
&lt;br /&gt;
=== Advanced Panel ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Control panel 2.jpg]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Advanced Panel&#039;&#039;&#039; tab opens additional adjustment parameters for the image. In this section you may specify more exact adjustments of color levels of the image. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gains&#039;&#039;&#039; section controls the sensor analog gain settings. &#039;&#039;&#039;R&#039;&#039;&#039;, &#039;&#039;&#039;G&#039;&#039;&#039; and &#039;&#039;&#039;B&#039;&#039;&#039; input fields control color component gains. Using high gain settings increases sensor noise but is required to view fast events with 1ms exposure time with the lighting used in the current setup. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;R-Y&#039;&#039;&#039; specifies color saturation for red color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B-Y&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B&#039;&#039;&#039; specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;W&#039;&#039;&#039; specifies level saturation for white color component. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-X&#039;&#039;&#039; button allows turning the image horizontally. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Flip-Y&#039;&#039;&#039; button allows turning the image vertically. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;NOTE: Some parameters (e.g. window size) cannot be changed without stopping the acquisition/compression.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Technical Information for the Elphel-333 ==&lt;br /&gt;
&lt;br /&gt;
=== Default Setup ===&lt;br /&gt;
&lt;br /&gt;
The default IP address of the camera is &#039;&#039;&#039;192.168.0.9&#039;&#039;&#039; netmask &#039;&#039;&#039;255.255.255.0&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You should be able to ping the camera from another machine on the same subnet.&lt;br /&gt;
&lt;br /&gt;
By default, the following TCP ports are open:&lt;br /&gt;
&lt;br /&gt;
21/ftp&lt;br /&gt;
&lt;br /&gt;
23/telnet&lt;br /&gt;
&lt;br /&gt;
80/http&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Logging in ===&lt;br /&gt;
&lt;br /&gt;
You can log in to the camera via telnet on TCP port 23&lt;br /&gt;
&lt;br /&gt;
User: &#039;&#039;&#039;root&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Password: &#039;&#039;&#039;pass&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Serial port ===&lt;br /&gt;
&lt;br /&gt;
The serial port settings (additional board 308 needed)&lt;br /&gt;
&lt;br /&gt;
Speed: 19200 8N1&lt;br /&gt;
&lt;br /&gt;
RTS/CTS: None&lt;br /&gt;
&lt;br /&gt;
XON/XOFF : None&lt;br /&gt;
&lt;br /&gt;
=== Changing IP address of the camera ===&lt;br /&gt;
&lt;br /&gt;
The camera network settings can be changed by going to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;http://&amp;lt;camera_ip&amp;gt;/axis.html&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
from an attached computer.&lt;br /&gt;
&lt;br /&gt;
=== Multicast routing in Linux ===&lt;br /&gt;
&lt;br /&gt;
In order to use the multicast streaming from the cameras, you need to add the following route rule to an attached PC:&lt;br /&gt;
    route add -net 224.0.0.0 netmask 240.0.0.0 &amp;lt;interface&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;interface&amp;gt; is the interface connected to the camera (e.g. eth0).&lt;br /&gt;
&lt;br /&gt;
The knoppix live CD/DVD does this for you automatically.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&#039;&#039;Free Software and Open Hardware. Elphel, Inc., 2005&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
	</entry>
</feed>