<?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=Gabriel</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=Gabriel"/>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/wiki/Special:Contributions/Gabriel"/>
		<updated>2026-05-12T09:29:13Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.28.0</generator>

	<entry>
		<id>https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=2432</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=2432"/>
				<updated>2006-01-04T16:11:46Z</updated>
		
		<summary type="html">&lt;p&gt;Gabriel: &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'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;
== 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 '''Window''' 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 '''W'''(idth), '''H'''(eight), '''L'''(eft) and '''T'''(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. &lt;br /&gt;
&lt;br /&gt;
In the '''Exposure''' 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;
'''Saturation''' section allows adjusting contrast saturation. &lt;br /&gt;
&lt;br /&gt;
'''Gamma''' 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 '''Quality''' 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;
'''White balance''' section is a drop-down menu containing four static parameters: '''Sunlight''', '''Cloudy''', '''Incandenscent''' and '''Fluorescent'''. 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 '''Image size''' drop-down menu you may choose the static window size. &lt;br /&gt;
&lt;br /&gt;
In the '''Resolution''' section there are radiobuttons to select sensor decimation (resolution). Selecting '''1''' uses all pixels in WOI, '''1/2''' - every other one (in both directions) - 1/4 total, '''1/4''' - 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 '''Color''' 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 '''Preview''', '''Reset''' and '''Apply'''. '''Preview''' button refreshes the image in the top portion on a page (ignoring selected WOI and decimation), The '''Reset''' button returns to the initial adjustment parameters. The '''Apply''' button is used to accept the new changes. &lt;br /&gt;
&lt;br /&gt;
Also there are two links after '''Photo''': '''New''' 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 '''Last''' 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;
'''Video Controls''' 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 - '''Frame Rate''' and '''Time Scale'''. 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 '''Start stream''' button, wait for the event to occur and then press '''Acquire'''. In this mode after '''Start stream''' the camera continuously writes to the buffer, overwriting footage when all the available space is used. Pressing the '''Stop stream''' button ends data saving and so the buffer contains the last data recorded. Another way is to press '''Acquire''' 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 '''Preview''') erases the stored clip and makes it one frame long. &lt;br /&gt;
&lt;br /&gt;
Clicking on the '''Video Clip''' 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;
'''Advanced Panel''' 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;
'''Gains''' section controls the sensor analog gain settings. '''R''', '''G''' and '''B''' 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;
'''R-Y''' specifies color saturation for red color component. &lt;br /&gt;
&lt;br /&gt;
'''B-Y''' specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
'''B''' specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
'''W''' specifies level saturation for white color component. &lt;br /&gt;
&lt;br /&gt;
The '''Flip-X''' button allows turning the image horizontally. &lt;br /&gt;
&lt;br /&gt;
The '''Flip-Y''' button allows turning the image vertically. &lt;br /&gt;
&lt;br /&gt;
''NOTE: Some parameters (e.g. window size) cannot be changed without stopping the acquisition/compression.''&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 '''192.168.0.9''' netmask '''255.255.255.0'''&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: '''root'''&lt;br /&gt;
&lt;br /&gt;
Password: '''pass'''&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;
http://&amp;lt;camera_ip&amp;gt;/axis.html&lt;br /&gt;
&lt;br /&gt;
from an attached computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
''Free Software and Open Hardware. Elphel, Inc., 2005''&lt;/div&gt;</summary>
		<author><name>Gabriel</name></author>	</entry>

	<entry>
		<id>https://wiki.elphel.com/index.php?title=Live_CD&amp;diff=2396</id>
		<title>Live CD</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Live_CD&amp;diff=2396"/>
				<updated>2005-12-28T20:19:07Z</updated>
		
		<summary type="html">&lt;p&gt;Gabriel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Manual Header}}&lt;br /&gt;
The Live CD is based on [http://knopper.net/knoppix/ Knoppix] which is based on [http://www.debian.org/ Debian].&lt;br /&gt;
== Structure ==&lt;br /&gt;
The Live CD contains multipurpose GNU/Linux software and special software for elphel cameras.&lt;br /&gt;
The software is organized as debian packages.&lt;br /&gt;
Our debian packages are presented on our [http://sourceforge.net/projects/elphel/ SourceForge page] in&lt;br /&gt;
the [http://sourceforge.net/project/showfiles.php?group_id=105686&amp;amp;package_id=130302 Live-CD] and [http://sourceforge.net/project/showfiles.php?group_id=105686&amp;amp;package_id=120785 Players] sections.&lt;br /&gt;
&lt;br /&gt;
The root file system of Knoppix is compressed and the cloop kernel module is needed to decompress it on-the-fly when it is necessary.&lt;br /&gt;
The CD contains the compressed root file system, boot loader and flash tarballs for different models of our cameras.&lt;br /&gt;
&lt;br /&gt;
If you already have a Debian or Knoppix system installed, you can add some of our debs to work with our cameras.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;We recommend installing the following packages from our SourceForge page:&lt;br /&gt;
&amp;lt;li&amp;gt;[http://prdownloads.sourceforge.net/elphel/elphel-pack_1.4.0.4_i386.deb?download elphel-pack]&lt;br /&gt;
has utilities to configure the network specifically for the cameras (for rtp stream receiving), search for cameras on the LAN, update flash, and a helper for Mozilla/Firefox to work with .sdp files.&lt;br /&gt;
&amp;lt;li&amp;gt;[http://prdownloads.sourceforge.net/elphel/netcardconfig-knoppix_0.5-20-elphel-3_all.deb?download netcardconfig-knoppix elphel clone]&lt;br /&gt;
to configure network cards and to make a simple bridge from several cards.&lt;br /&gt;
&amp;lt;li&amp;gt;[http://prdownloads.sourceforge.net/elphel/mplayer_1.0pre7-elphel-1_i386.deb?download patched MPlayer]&lt;br /&gt;
to watch and to record the rtp stream from our cameras.&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To install the selected package(s) you may use the following command:&lt;br /&gt;
 # dpkg -i --force-overwrite &amp;lt;deb-file-name&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Our version of netcardconfig-knoppix is dependant on the iputils-arping package.&lt;br /&gt;
You may install it with:&lt;br /&gt;
 # apt-get install iputils-arping&lt;br /&gt;
&lt;br /&gt;
Our other packages and applied patches contain common minor improvements and bug fixes for the base distro.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
=== Boot and use ===&lt;br /&gt;
Currently we have a Live CD only for the i386 architecture.&lt;br /&gt;
&lt;br /&gt;
The Boot CD allows you to use Linux with the necessary network settings and utilities for our cameras without any modification of data on your hard drive.&lt;br /&gt;
&lt;br /&gt;
Insert our CD in the CD drive and let the computer boot from this CD.&lt;br /&gt;
It is possible you may need to change some BIOS settings to do it.&lt;br /&gt;
&lt;br /&gt;
You may simply wait until the system is ready.&lt;br /&gt;
&lt;br /&gt;
First you will see the Knoppix boot menu.&lt;br /&gt;
To continue the boot you can wait longer or simply press Enter. The most common intervention during the boot process is setting the screen resolution to match your monitor (details below - [[http://wiki.elphel.com/index.php?title=Live_CD#Knoppix_cheat_codes_.28boot_parameters.29]]):&lt;br /&gt;
 knoppix screen=1600x1200&lt;br /&gt;
&lt;br /&gt;
In most cases Knoppix starts succesfully and automatically detects the computer hardware.&lt;br /&gt;
&lt;br /&gt;
Then network cards will next be configured.&lt;br /&gt;
The config script may ask you whether to make a bridge if your computer has several network cards.&lt;br /&gt;
Press Enter or wait longer for the default configuration.&lt;br /&gt;
&lt;br /&gt;
Then it automatically searches for elphel cameras on your LAN and makes a static html page with links.&lt;br /&gt;
&lt;br /&gt;
After the boot completes you will see the page with cameras.&lt;br /&gt;
&lt;br /&gt;
==== Knoppix cheat codes (boot parameters)====&lt;br /&gt;
Special parameters can be set at the boot prompt.&lt;br /&gt;
&amp;lt;dl&amp;gt;The first word must be a name of a boot variant.&lt;br /&gt;
&amp;lt;dt&amp;gt;knoppix&amp;lt;dd&amp;gt;Default mode.&lt;br /&gt;
&amp;lt;dt&amp;gt;expert&amp;lt;dd&amp;gt;Verbose interactive mode.&lt;br /&gt;
&amp;lt;dt&amp;gt;debug&amp;lt;dd&amp;gt;Debug mode.&lt;br /&gt;
&amp;lt;dt&amp;gt;failsafe&amp;lt;dd&amp;gt;Boot without hardware autodetection.&lt;br /&gt;
&amp;lt;dt&amp;gt;memtest&amp;lt;dd&amp;gt;RAM test.&lt;br /&gt;
&amp;lt;/dl&amp;gt;&lt;br /&gt;
&amp;lt;dl&amp;gt;Some further parameters separated by spaces can follow in any order.&lt;br /&gt;
&amp;lt;dt&amp;gt;screen=1280x1024&amp;lt;dd&amp;gt;Use this if you have a monitor resolution higher than 1024x768 pixels and autodetection does not work.&lt;br /&gt;
&amp;lt;dt&amp;gt;lang=XX&amp;lt;dd&amp;gt;Specify the two-letter designation of your language.&lt;br /&gt;
&amp;lt;/dl&amp;gt;&lt;br /&gt;
See the file &amp;quot;KNOPPIX/knoppix-cheatcodes.txt&amp;quot; on the Live CD for more in-depth information. Or online - [http://www.knoppix.net/wiki/Cheat_Codes here]&lt;br /&gt;
&lt;br /&gt;
=== Common software for video ===&lt;br /&gt;
==== mplayer ====&lt;br /&gt;
This is a movie player. It can play files and streams with many different video and audio formats.&lt;br /&gt;
&lt;br /&gt;
To watch an rtp stream from our cameras you may use the following command:&lt;br /&gt;
 mplayer rtsp://camera-ip:7070/&lt;br /&gt;
Where '''camera-ip''' is the ip address of the camera.&lt;br /&gt;
&lt;br /&gt;
To play a file recorded with mencoder or any other videofile you may use the following command:&lt;br /&gt;
 mplayer path-to-file&lt;br /&gt;
&lt;br /&gt;
Or you may use the KDE menu to run mplayer in dialog mode&lt;br /&gt;
&lt;br /&gt;
You can use the keyboard to control playing&lt;br /&gt;
*'''space''' pause/continue&lt;br /&gt;
*'''Q''' quit&lt;br /&gt;
&lt;br /&gt;
See the mplayer man page and [http://www.mplayerhq.hu/homepage/design7/info.html site] for more information.&lt;br /&gt;
&lt;br /&gt;
==== mencoder ====&lt;br /&gt;
This program is included in the mplayer package.&lt;br /&gt;
It can transcode video and audio to and from many different formats.&lt;br /&gt;
For more about this see the man page. Type:&lt;br /&gt;
 man mencoder&lt;br /&gt;
To record the rtp stream from our cameras it is better to use mencoder in copy mode (without reencoding):&lt;br /&gt;
 mencoder rtsp://camera.ip:7070 -ovc copy -fps &amp;lt;fps&amp;gt; -o filename.avi&lt;br /&gt;
where:&lt;br /&gt;
*'''camera.ip''' - DNS name or IP address of the camera;&lt;br /&gt;
*'''&amp;lt;fps&amp;gt;''' - approximate value of the frame frequency (this parameter is mandatory);&lt;br /&gt;
*'''filename.avi''' - the name of an output file.&lt;br /&gt;
Close the terminal window or press Ctrl+C to finish recording.&lt;br /&gt;
&lt;br /&gt;
The following program written in unix shell will split recording video into blocks with the specified number of frames:&lt;br /&gt;
 while true ; do&lt;br /&gt;
 f=`date -Iseconds`&lt;br /&gt;
 mencoder rtsp://camera.ip:7070 -ovc copy -fps &amp;lt;fps&amp;gt; -frames 1000 -o $f.avi&lt;br /&gt;
 done&lt;br /&gt;
You can enter these strings &amp;quot;as is&amp;quot; at the command prompt.&lt;br /&gt;
&lt;br /&gt;
==== ElphelOgm ====&lt;br /&gt;
A receiver for the multicast RTP stream. It generates ogg/mjpeg stream on stdout.&lt;br /&gt;
You can use it with mplayer or another video player to watch the RTP stream from the camera:&lt;br /&gt;
 ElphelOgm -a &amp;lt;multicast address&amp;gt; -p &amp;lt;multicast port&amp;gt; | mplayer -nocache -&lt;br /&gt;
Or to record stream to a file:&lt;br /&gt;
 ElphelOgm -a &amp;lt;multicast address&amp;gt; -p &amp;lt;multicast port&amp;gt; -f &amp;lt;fps&amp;gt; &amp;gt; video.ogm&lt;br /&gt;
Other tested players: VLC(some performance).&lt;br /&gt;
&lt;br /&gt;
See also [[Recorder| detailed description and roadmap]]&lt;br /&gt;
&lt;br /&gt;
==== ogm2mov ====&lt;br /&gt;
This program is used to recode ogg/mjpeg file to QuickTime .mov format.&lt;br /&gt;
Usage:&lt;br /&gt;
 ogm2mov -o &amp;lt;output file name&amp;gt; &amp;lt;input_file_name or &amp;quot;-&amp;quot; for stdin&amp;gt;&lt;br /&gt;
The program cannot write to a pipe, only to a file.&lt;br /&gt;
&lt;br /&gt;
==== GenReS plugin for Firefox ====&lt;br /&gt;
This is a plugin for Mozilla/Firefox to allow embedding of external applications like mplayer in the browser window.&lt;br /&gt;
&lt;br /&gt;
See also [[GenReS|description for javascript programmers]].&lt;br /&gt;
&lt;br /&gt;
=== Special software ===&lt;br /&gt;
==== netcardconfig ====&lt;br /&gt;
netcardconfig is an improved version of knoppix network configurator.&lt;br /&gt;
It needs root privileges.&lt;br /&gt;
It has two modes: interactive and batch.&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
It is called from the startup script on our Live CD.&lt;br /&gt;
If you have installed netcardconfig-knoppix separately from our distro, it is possible you need to insert a call to the script in a system startup script.&lt;br /&gt;
Our version uses arping to check the IP address.&lt;br /&gt;
&lt;br /&gt;
==== netcamconfig ====&lt;br /&gt;
Run &amp;quot;netcamconfig&amp;quot; as user &amp;quot;root&amp;quot; to apply additional network settings and some kernel parameters.&lt;br /&gt;
&lt;br /&gt;
This script adds aliases for network cards with the most popular LAN ip adresses,&lt;br /&gt;
adds route records for multicast ip addresses&lt;br /&gt;
and changes kernel parameters to prevent long i/o operations blocking the hard drive, &lt;br /&gt;
&lt;br /&gt;
It is called from the startup script on our Live CD after netcardconfig.&lt;br /&gt;
If you have installed elphel-pack separately from our distro, you possibly need to insert a call for the script in a system startup script.&lt;br /&gt;
==== camsearch ====&lt;br /&gt;
This shell script scans the LAN using broadcast ping and detects elphel cameras.&lt;br /&gt;
It creates the file &amp;quot;cameras.html&amp;quot; in the current directory with links to found cameras and information about&lt;br /&gt;
software versions.&lt;br /&gt;
It is called from the system startup script after network configuration and can be restarted using the &amp;quot;Find cameras again&amp;quot; link on the KDE desktop.&lt;br /&gt;
&lt;br /&gt;
==== flashit ====&lt;br /&gt;
This program uses Axis low-level Ethernet packets [http://developer.axis.com/doc/old/software/tools/network_boot.html see &amp;quot;Theory&amp;quot;](some details do not apply to the camera) to communicate with a network bootloader hard-wired in the CPU internal ROM. This makes firmware upgrade a safe process - even if the process was interrupted and the camera was left in non-bootable state, it is always possible to start over again.&lt;br /&gt;
&lt;br /&gt;
When the program is started without arguments (e.g. by just clicking the icon on the desktop) it offers a choice of images available on the DVD. You may also download flash image files (elphel3?3*-flash.tar.bz2) from the files section on [https://sourceforge.net/projects/elphel Elphel project page at SourceForge.net], save them and use as an argument to flashit (i.e. drag-and-drop the file icon over flashit).&lt;br /&gt;
&lt;br /&gt;
To use the flashit utility, the camera should be started in firmware updgrade mode - the green button on the back panel should be held pressed down when the power is applied to the camera. You may do this in any sequence - if the program was started first, you will see the program output messages immediately after the camera is started in this special mode. The flashing process takes several minutes - both LEDs on the network connector stay on until it is over.&lt;br /&gt;
&lt;br /&gt;
==== sdp-helper ====&lt;br /&gt;
This script is designed for calling from a browser. It accepts a temporary &amp;quot;sdp&amp;quot; file downloaded from camera and calls [[#mplayer|mplayer]] to view the stream or [[#mencoder|mencoder]] to record it.&lt;br /&gt;
On the CD it processes files with the mime type text/sdp. The script deletes the given temporary file.&lt;br /&gt;
&lt;br /&gt;
=== Installing to hard drive ===&lt;br /&gt;
=== Working with packages  ===&lt;br /&gt;
Knoppix is based on Debian. So it uses the debian package system.&lt;br /&gt;
To list the installed packages use:&lt;br /&gt;
 dpkg -l [&amp;lt;shell-like-template&amp;gt;]&lt;br /&gt;
To install a new package from file:&lt;br /&gt;
 dpkg -i &amp;lt;deb-filename&amp;gt;&lt;br /&gt;
To install from servers:&lt;br /&gt;
 apt-get install &amp;lt;package-name&amp;gt;&lt;br /&gt;
To remove a package:&lt;br /&gt;
 dpkg -r &amp;lt;package-name&amp;gt;&lt;br /&gt;
To get a description:&lt;br /&gt;
 dpkg -s &amp;lt;package-name&amp;gt;&lt;br /&gt;
When booting from CD/DVD you can install/remove packages, but all changes will be temporary until reboot.&lt;br /&gt;
Due to use of unionfs with ramfs you may temporarily change any file in the compressed filesystem,&lt;br /&gt;
but changes are stored in RAM.&lt;br /&gt;
&lt;br /&gt;
You can get a package file from any installed package:&lt;br /&gt;
 dpkg-repack &amp;lt;package-name&amp;gt;&lt;br /&gt;
And convert it to tar.gz format which is used in Slackware, and which is easy to install in any GNU/Linux system without a package manager:&lt;br /&gt;
 alien -t &amp;lt;file-name.deb&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to Make a New CD Image ==&lt;br /&gt;
Here we describe the usage of the Live CD maker which can be downloaded from our SourceForge page.&lt;br /&gt;
The tar archive contains several shell scripts and directories with patches and files for the CD.&lt;br /&gt;
=== Debs ===&lt;br /&gt;
This directory contains packages to install on the new CD and files with a list of packages and file names to remove.&lt;br /&gt;
The script recognizes deb, rpm, and compressed tar archives.&lt;br /&gt;
Use of debs is preferred.&lt;br /&gt;
&lt;br /&gt;
Files '''&amp;quot;00remove-debs&amp;quot;''' and '''&amp;quot;00remove-files&amp;quot;''' contain, respectively, a list of debian packages, and files to remove '''''before''''' installing and updating new packages.&lt;br /&gt;
Files '''&amp;quot;zzremove-debs&amp;quot;''' and '''&amp;quot;zzremove-files&amp;quot;''' are used similarly only '''''after''''' installation of new packages.&lt;br /&gt;
&lt;br /&gt;
When the result is a DVD remastering the script uses some filenames but with -DVD suffixes.&lt;br /&gt;
&lt;br /&gt;
=== Patches ===&lt;br /&gt;
there are 4 types of objects:&lt;br /&gt;
* diff patches, to be applied as patches to the knoppix root;&lt;br /&gt;
* tar.bz2 archives, to be unpacked in the knoppix root file system;&lt;br /&gt;
* executable files which will run with knoppix root as the current directory;&lt;br /&gt;
* directories which are ignored by the script, and can contain data for the executables.&lt;br /&gt;
Before application the initrd image is unpacked to the knoppix root and repacked after.&lt;br /&gt;
So patches can modify the content of initrd.&lt;br /&gt;
&lt;br /&gt;
Diff patches will be tested before application: they will be tried with --dry-run and -p0 and p1 options.&lt;br /&gt;
&lt;br /&gt;
Executables are first run with --dry-run, with this option the files will be checked but it will not modify files.&lt;br /&gt;
&lt;br /&gt;
=== Files to Be Placed on CD ===&lt;br /&gt;
The directory &amp;quot;newcd&amp;quot; contains files wich will be placed on the CD as is.&lt;br /&gt;
Put here new flash tarballs and HTML files which can be accessed without booting from the CD.&lt;br /&gt;
&lt;br /&gt;
=== Scripts ===&lt;br /&gt;
==== download-debs ====&lt;br /&gt;
==== livecd-make ====&lt;br /&gt;
&lt;br /&gt;
=== Other Files ===&lt;br /&gt;
&lt;br /&gt;
== Diagnostic ==&lt;br /&gt;
&lt;br /&gt;
== Road map ==&lt;br /&gt;
see [[LiveCD Realease Notes]]&lt;br /&gt;
----&lt;br /&gt;
''Free Software and Open Hardware. Elphel, Inc., 2005''&lt;/div&gt;</summary>
		<author><name>Gabriel</name></author>	</entry>

	<entry>
		<id>https://wiki.elphel.com/index.php?title=Using_the_cameras&amp;diff=2395</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=2395"/>
				<updated>2005-12-28T18:49:16Z</updated>
		
		<summary type="html">&lt;p&gt;Gabriel: &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'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;
== 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 '''Window''' 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 '''W'''(idth), '''H'''(eight), '''L'''(eft) and '''T'''(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. &lt;br /&gt;
&lt;br /&gt;
In the '''Exposure''' 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;
'''Saturation''' section allows adjusting contrast saturation. &lt;br /&gt;
&lt;br /&gt;
'''Gamma''' 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 '''Quality''' 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;
'''White balance''' section is a drop-down menu containing four static parameters: '''Sunlight''', '''Cloudy''', '''Incandenscent''' and '''Fluorescent'''. 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 '''Image size''' drop-down menu you may choose the static window size. &lt;br /&gt;
&lt;br /&gt;
In the '''Resolution''' section there are radiobuttons to select sensor decimation (resolution). Selecting '''1''' uses all pixels in WOI, '''1/2''' - every other one (in both directions) - 1/4 total, '''1/4''' - 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 '''Color''' 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 '''Preview''', '''Reset''' and '''Apply'''. '''Preview''' button refreshes the image in the top portion on a page (ignoring selected WOI and decimation), The '''Reset''' button returns to the initial adjustment parameters. The '''Apply''' button is used to accept the new changes. &lt;br /&gt;
&lt;br /&gt;
Also there are two links after '''Photo''': '''New''' 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 '''Last''' 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;
'''Video Controls''' 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 - '''Frame Rate''' and '''Time Scale'''. 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 '''Start stream''' button, wait for the event to occur and then press '''Acquire'''. In this mode after '''Start stream''' the camera continuously writes to the buffer, overwriting footage when all the available space is used. Pressing the '''Stop stream''' button ends data saving and so the buffer contains the last data recorded. Another way is to press '''Acquire''' 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 '''Preview''') erases the stored clip and makes it one frame long. &lt;br /&gt;
&lt;br /&gt;
Clicking on the '''Video Clip''' 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;
'''Advanced Panel''' 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;
'''Gains''' section controls the sensor analog gain settings. '''R''', '''G''' and '''B''' 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;
'''R-Y''' specifies color saturation for red color component. &lt;br /&gt;
&lt;br /&gt;
'''B-Y''' specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
'''B''' specifies color saturation for blue color component. &lt;br /&gt;
&lt;br /&gt;
'''W''' specifies level saturation for white color component. &lt;br /&gt;
&lt;br /&gt;
The '''Flip-X''' button allows turning the image horizontally. &lt;br /&gt;
&lt;br /&gt;
The '''Flip-Y''' button allows turning the image vertically. &lt;br /&gt;
&lt;br /&gt;
''NOTE: Some parameters (e.g. window size) cannot be changed without stopping the acquisition/compression.''&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 '''192.168.0.9''' netmask '''255.255.255.0'''&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: '''root'''&lt;br /&gt;
&lt;br /&gt;
Password: '''pass'''&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;
&lt;br /&gt;
----&lt;br /&gt;
''Free Software and Open Hardware. Elphel, Inc., 2005''&lt;/div&gt;</summary>
		<author><name>Gabriel</name></author>	</entry>

	<entry>
		<id>https://wiki.elphel.com/index.php?title=Camera_hardware&amp;diff=2394</id>
		<title>Camera hardware</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Camera_hardware&amp;diff=2394"/>
				<updated>2005-12-28T18:32:28Z</updated>
		
		<summary type="html">&lt;p&gt;Gabriel: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Manual Header}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
All the FPGA code is provided under the terms of GNU General Public License. All the source code is available inside the camera but you may want to visit the Elphel web site for the latest version.&lt;br /&gt;
&lt;br /&gt;
== Board design ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Board side.png]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Board overside.png]]&lt;br /&gt;
&lt;br /&gt;
== Logics ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Logic.png]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Schematic.png]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
''Free Software and Open Hardware. Elphel, Inc., 2005''&lt;/div&gt;</summary>
		<author><name>Gabriel</name></author>	</entry>

	<entry>
		<id>https://wiki.elphel.com/index.php?title=Camera_software&amp;diff=2393</id>
		<title>Camera software</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Camera_software&amp;diff=2393"/>
				<updated>2005-12-28T18:31:19Z</updated>
		
		<summary type="html">&lt;p&gt;Gabriel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Manual Header}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
All the camera software is provided under the terms of the GNU General Public License. All the source code is available inside the camera but you may want to visit [http://www.elphel.com Elphel web site] for the latest version.&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 has 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;
=== Camera Interface ===&lt;br /&gt;
&lt;br /&gt;
=== Client Software ===&lt;br /&gt;
See [[Live CD]]&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 standards and compatible with 3rd party legacy software.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
[[Roadmap#Software Architecture of Elphel 3x3 cameras]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
''Free Software and Open Hardware. Elphel, Inc., 2005''&lt;/div&gt;</summary>
		<author><name>Gabriel</name></author>	</entry>

	<entry>
		<id>https://wiki.elphel.com/index.php?title=Live_CD&amp;diff=2392</id>
		<title>Live CD</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Live_CD&amp;diff=2392"/>
				<updated>2005-12-28T18:28:05Z</updated>
		
		<summary type="html">&lt;p&gt;Gabriel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Manual Header}}&lt;br /&gt;
The Live CD is based on [http://knopper.net/knoppix/ Knoppix] which is based on [http://www.debian.org/ Debian].&lt;br /&gt;
== Structure ==&lt;br /&gt;
The Live CD contains multipurpose GNU/Linux software and special software for elphel cameras.&lt;br /&gt;
The software is organized as debian packages.&lt;br /&gt;
Our debian packages are presented on our [http://sourceforge.net/projects/elphel/ SourceForge page] in&lt;br /&gt;
the [http://sourceforge.net/project/showfiles.php?group_id=105686&amp;amp;package_id=130302 Live-CD] and [http://sourceforge.net/project/showfiles.php?group_id=105686&amp;amp;package_id=120785 Players] sections.&lt;br /&gt;
&lt;br /&gt;
The root file system of Knoppix is compressed and the cloop kernel module is needed to decompress it on-the-fly when it is necessary.&lt;br /&gt;
The CD contains the compressed root file system, boot loader and flash tarballs for different models of our cameras.&lt;br /&gt;
&lt;br /&gt;
If you already have a Debian or Knoppix system installed, you can add some of our debs to work with our cameras.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;We recommend installing the following packages from our SourceForge page:&lt;br /&gt;
&amp;lt;li&amp;gt;[http://prdownloads.sourceforge.net/elphel/elphel-pack_1.4.0.4_i386.deb?download elphel-pack]&lt;br /&gt;
has utilities to configure the network specifically for the cameras (for rtp stream receiving), search for cameras on the LAN, update flash, and a helper for Mozilla/Firefox to work with .sdp files.&lt;br /&gt;
&amp;lt;li&amp;gt;[http://prdownloads.sourceforge.net/elphel/netcardconfig-knoppix_0.5-20-elphel-3_all.deb?download netcardconfig-knoppix elphel clone]&lt;br /&gt;
to configure network cards and to make a simple bridge from several cards.&lt;br /&gt;
&amp;lt;li&amp;gt;[http://prdownloads.sourceforge.net/elphel/mplayer_1.0pre7-elphel-1_i386.deb?download patched MPlayer]&lt;br /&gt;
to watch and to record the rtp stream from our cameras.&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To install the selected package(s) you may use the following command:&lt;br /&gt;
 # dpkg -i --force-overwrite &amp;lt;deb-file-name&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Our version of netcardconfig-knoppix is dependant on the iputils-arping package.&lt;br /&gt;
You may install it with:&lt;br /&gt;
 # apt-get install iputils-arping&lt;br /&gt;
&lt;br /&gt;
Our other packages and applied patches contain common minor improvements and bug fixes for the base distro.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
=== Boot and use ===&lt;br /&gt;
Currently we have a Live CD only for the i386 architecture.&lt;br /&gt;
&lt;br /&gt;
The Boot CD allows you to use Linux with the necessary network settings and utilities for our cameras without any modification of data on your hard drive.&lt;br /&gt;
&lt;br /&gt;
Insert our CD in the CD drive and let the computer boot from this CD.&lt;br /&gt;
It is possible you may need to change some BIOS settings to do it.&lt;br /&gt;
&lt;br /&gt;
You may simply wait until the system is ready.&lt;br /&gt;
&lt;br /&gt;
First you will see the Knoppix boot menu.&lt;br /&gt;
To continue the boot you can wait longer or simply press Enter. The most common intervention during the boot process is setting the screen resolution to match your monitor (details below - [[http://wiki.elphel.com/index.php?title=Live_CD#Knoppix_cheat_codes_.28boot_parameters.29]]):&lt;br /&gt;
 knoppix screen=1600x1200&lt;br /&gt;
&lt;br /&gt;
In most cases Knoppix starts succesfully and automatically detects the computer hardware.&lt;br /&gt;
&lt;br /&gt;
Then network cards will next be configured.&lt;br /&gt;
The config script may ask you whether to make a bridge if your computer has several network cards.&lt;br /&gt;
Press Enter or wait longer for the default configuration.&lt;br /&gt;
&lt;br /&gt;
Then it automatically searches for elphel cameras on your LAN and makes a static html page with links.&lt;br /&gt;
&lt;br /&gt;
After the boot completes you will see the page with cameras.&lt;br /&gt;
&lt;br /&gt;
==== Knoppix cheat codes (boot parameters)====&lt;br /&gt;
Special parameters can be set at the boot prompt.&lt;br /&gt;
&amp;lt;dl&amp;gt;The first word must be a name of a boot variant.&lt;br /&gt;
&amp;lt;dt&amp;gt;knoppix&amp;lt;dd&amp;gt;Default mode.&lt;br /&gt;
&amp;lt;dt&amp;gt;expert&amp;lt;dd&amp;gt;Verbose interactive mode.&lt;br /&gt;
&amp;lt;dt&amp;gt;debug&amp;lt;dd&amp;gt;Debug mode.&lt;br /&gt;
&amp;lt;dt&amp;gt;failsafe&amp;lt;dd&amp;gt;Boot without hardware autodetection.&lt;br /&gt;
&amp;lt;dt&amp;gt;memtest&amp;lt;dd&amp;gt;RAM test.&lt;br /&gt;
&amp;lt;/dl&amp;gt;&lt;br /&gt;
&amp;lt;dl&amp;gt;Some further parameters separated by spaces can follow in any order.&lt;br /&gt;
&amp;lt;dt&amp;gt;screen=1280x1024&amp;lt;dd&amp;gt;Use this if you have a monitor resolution higher than 1024x768 pixels and autodetection does not work.&lt;br /&gt;
&amp;lt;dt&amp;gt;lang=XX&amp;lt;dd&amp;gt;Specify the two-letter designation of your language.&lt;br /&gt;
&amp;lt;/dl&amp;gt;&lt;br /&gt;
See the file &amp;quot;KNOPPIX/knoppix-cheatcodes.txt&amp;quot; on the Live CD for more in-depth information. Or online - [http://www.knoppix.net/wiki/Cheat_Codes here]&lt;br /&gt;
&lt;br /&gt;
=== Common software for video ===&lt;br /&gt;
==== mplayer ====&lt;br /&gt;
This is a movie player. It can play files and streams with many different video and audio formats.&lt;br /&gt;
&lt;br /&gt;
To watch an rtp stream from our cameras you may use the following command:&lt;br /&gt;
 mplayer rtsp://camera-ip:7070/&lt;br /&gt;
Where '''camera-ip''' is the ip address of the camera.&lt;br /&gt;
&lt;br /&gt;
To play a file recorded with mencoder or any other videofile you may use the following command:&lt;br /&gt;
 mplayer path-to-file&lt;br /&gt;
&lt;br /&gt;
Or you may use the KDE menu to run mplayer in dialog mode&lt;br /&gt;
&lt;br /&gt;
You can use the keyboard to control playing&lt;br /&gt;
*'''space''' pause/continue&lt;br /&gt;
*'''Q''' quit&lt;br /&gt;
&lt;br /&gt;
See the mplayer man page and [http://www.mplayerhq.hu/homepage/design7/info.html site] for more information.&lt;br /&gt;
&lt;br /&gt;
==== mencoder ====&lt;br /&gt;
This program is included in the mplayer package.&lt;br /&gt;
It can transcode video and audio to and from many different formats.&lt;br /&gt;
For more about this see the man page. Type:&lt;br /&gt;
 man mencoder&lt;br /&gt;
To record the rtp stream from our cameras it is better to use mencoder in copy mode (without reencoding):&lt;br /&gt;
 mencoder rtsp://camera.ip:7070 -ovc copy -fps &amp;lt;fps&amp;gt; -o filename.avi&lt;br /&gt;
where:&lt;br /&gt;
*'''camera.ip''' - DNS name or IP address of the camera;&lt;br /&gt;
*'''&amp;lt;fps&amp;gt;''' - approximate value of the frame frequency (this parameter is mandatory);&lt;br /&gt;
*'''filename.avi''' - the name of an output file.&lt;br /&gt;
Close the terminal window or press Ctrl+C to finish recording.&lt;br /&gt;
&lt;br /&gt;
The following program written in unix shell will split recording video into blocks with the specified number of frames:&lt;br /&gt;
 while true ; do&lt;br /&gt;
 f=`date -Iseconds`&lt;br /&gt;
 mencoder rtsp://camera.ip:7070 -ovc copy -fps &amp;lt;fps&amp;gt; -frames 1000 -o $f.avi&lt;br /&gt;
 done&lt;br /&gt;
You can enter this string &amp;quot;as is&amp;quot; on command prompt.&lt;br /&gt;
&lt;br /&gt;
==== ElphelOgm ====&lt;br /&gt;
A receiver for the multicast RTP stream. It generates ogg/mjpeg stream on stdout.&lt;br /&gt;
You can use it with mplayer or another video player to watch the RTP stream from the camera:&lt;br /&gt;
 ElphelOgm -a &amp;lt;multicast address&amp;gt; -p &amp;lt;multicast port&amp;gt; | mplayer -nocache -&lt;br /&gt;
Or to record stream to a file:&lt;br /&gt;
 ElphelOgm -a &amp;lt;multicast address&amp;gt; -p &amp;lt;multicast port&amp;gt; -f &amp;lt;fps&amp;gt; &amp;gt; video.ogm&lt;br /&gt;
Other tested players: VLC(some performance).&lt;br /&gt;
&lt;br /&gt;
See also [[Recorder| detailed description and roadmap]]&lt;br /&gt;
&lt;br /&gt;
==== ogm2mov ====&lt;br /&gt;
This program is used to recode ogg/mjpeg file to QuickTime .mov format.&lt;br /&gt;
Usage:&lt;br /&gt;
 ogm2mov -o &amp;lt;output file name&amp;gt; &amp;lt;input_file_name or &amp;quot;-&amp;quot; for stdin&amp;gt;&lt;br /&gt;
The program cannot write to a pipe, only to a file.&lt;br /&gt;
&lt;br /&gt;
==== GenReS plugin for Firefox ====&lt;br /&gt;
This is a plugin for Mozilla/Firefox to allow embedding of external applications like mplayer in the browser window.&lt;br /&gt;
&lt;br /&gt;
See also [[GenReS|description for javascript programmers]].&lt;br /&gt;
&lt;br /&gt;
=== Special software ===&lt;br /&gt;
==== netcardconfig ====&lt;br /&gt;
netcardconfig is an improved version of knoppix network configurator.&lt;br /&gt;
It needs root privileges.&lt;br /&gt;
It has two modes: interactive and batch.&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
It is called from the startup script on our Live CD.&lt;br /&gt;
If you have installed netcardconfig-knoppix not from our distro, it is possible you need to insert a call to the script in a system startup script.&lt;br /&gt;
Our version uses arping to check the IP address.&lt;br /&gt;
&lt;br /&gt;
==== netcamconfig ====&lt;br /&gt;
Run &amp;quot;netcamconfig&amp;quot; as user &amp;quot;root&amp;quot; to apply additional network settings and some kernel parameters.&lt;br /&gt;
&lt;br /&gt;
This script adds aliases for network cards with the most popular LAN ip adresses,&lt;br /&gt;
adds route records for multicast ip addresses&lt;br /&gt;
and changes kernel parameters to prevent long i/o operations blocking the hard drive, &lt;br /&gt;
&lt;br /&gt;
It is called from the startup script on our Live CD after netcardconfig.&lt;br /&gt;
If you have installed elphel-pack not from our distro, you possibly need to insert a call for the script in a system startup script.&lt;br /&gt;
==== camsearch ====&lt;br /&gt;
This shell script scans the LAN using broadcast ping and detects elphel cameras.&lt;br /&gt;
It creates the file &amp;quot;cameras.html&amp;quot; in the current directory with links to found cameras and information about&lt;br /&gt;
software versions.&lt;br /&gt;
It is called from the system startup script after network configuration and can be restarted using the &amp;quot;Find cameras again&amp;quot; link on the KDE desktop.&lt;br /&gt;
&lt;br /&gt;
==== flashit ====&lt;br /&gt;
This program uses Axis low-level Ethernet packets [http://developer.axis.com/doc/old/software/tools/network_boot.html see &amp;quot;Theory&amp;quot;](some details do not apply to the camera) to communicate with a network bootloader hard-wired in the CPU internal ROM. This makes firmware upgrade a safe process - even if the process was interrupted and the camera was left in non-bootable state, it is always possible to start over again.&lt;br /&gt;
&lt;br /&gt;
When the program is started without arguments (e.g. by just clicking the icon on the desktop) it offers a choice of images available on the DVD. You may also download flash image files (elphel3?3*-flash.tar.bz2) from the files section on [https://sourceforge.net/projects/elphel Elphel project page at SourceForge.net], save them and use as an argument to flashit (i.e. drag-and-drop the file icon over flashit).&lt;br /&gt;
&lt;br /&gt;
To use the flashit utility, the camera should be started in firmware updgrade mode - the green button on the back panel should be held pressed down when the power is applied to the camera. You may do this in any sequence - if the program was started first, you will see the program output messages immediately after the camera is started in this special mode. The flashing process takes several minutes - both LEDs on the network connector stay on until it is over.&lt;br /&gt;
&lt;br /&gt;
==== sdp-helper ====&lt;br /&gt;
This script is designed for calling from a browser. It accepts a temporary &amp;quot;sdp&amp;quot; file downloaded from camera and calls [[#mplayer|mplayer]] to view the stream or [[#mencoder|mencoder]] to record it.&lt;br /&gt;
On the CD it processes files with the mime type text/sdp. The script deletes the given temporary file.&lt;br /&gt;
&lt;br /&gt;
=== Installing to hard drive ===&lt;br /&gt;
=== Working with packages  ===&lt;br /&gt;
Knoppix is based on Debian. So it uses the debian package system.&lt;br /&gt;
To list the installed packages use:&lt;br /&gt;
 dpkg -l [&amp;lt;shell-like-template&amp;gt;]&lt;br /&gt;
To install a new package from file:&lt;br /&gt;
 dpkg -i &amp;lt;deb-filename&amp;gt;&lt;br /&gt;
To install from servers:&lt;br /&gt;
 apt-get install &amp;lt;package-name&amp;gt;&lt;br /&gt;
To remove a package:&lt;br /&gt;
 dpkg -r &amp;lt;package-name&amp;gt;&lt;br /&gt;
To get a description:&lt;br /&gt;
 dpkg -s &amp;lt;package-name&amp;gt;&lt;br /&gt;
When booting from CD/DVD you can install/remove packages, but all changes will be temporary until reboot.&lt;br /&gt;
Due to use of unionfs with ramfs you may temporarily change any file in the compressed filesystem,&lt;br /&gt;
but changes are stored in RAM.&lt;br /&gt;
&lt;br /&gt;
You can get a package file from any installed package:&lt;br /&gt;
 dpkg-repack &amp;lt;package-name&amp;gt;&lt;br /&gt;
And convert it to tar.gz format which is used in Slackware, and for easy install to any GNU/Linux system without a package manager:&lt;br /&gt;
 alien -t &amp;lt;file-name.deb&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to Make a New CD Image ==&lt;br /&gt;
Here we describe the usage of the Live CD maker which can be downloaded from our SourceForge page.&lt;br /&gt;
The tar archive contains several shell scripts and directories with patches and files for the CD.&lt;br /&gt;
=== Debs ===&lt;br /&gt;
This directory contains packages to install on the new CD and files with a list of packages and file names to remove.&lt;br /&gt;
The script recognizes deb, rpm, and compressed tar archives.&lt;br /&gt;
Use of debs is preferred.&lt;br /&gt;
&lt;br /&gt;
Files '''&amp;quot;00remove-debs&amp;quot;''' and '''&amp;quot;00remove-files&amp;quot;''' contain, respectively, a list of debian packages, and files to remove '''''before''''' installing and updating new packages.&lt;br /&gt;
Files '''&amp;quot;zzremove-debs&amp;quot;''' and '''&amp;quot;zzremove-files&amp;quot;''' are used similarly only '''''after''''' installation of new packages.&lt;br /&gt;
&lt;br /&gt;
When the result is a DVD remastering the script uses some filenames but with -DVD suffixes.&lt;br /&gt;
&lt;br /&gt;
=== Patches ===&lt;br /&gt;
there are 4 types of objects:&lt;br /&gt;
* diff patches, to be applied as patches to the knoppix root;&lt;br /&gt;
* tar.bz2 archives, to be unpacked in the knoppix root file system;&lt;br /&gt;
* executable files which will run with knoppix root as the current directory;&lt;br /&gt;
* directories which are ignored by the script, and can contain data for the executables.&lt;br /&gt;
Before application the initrd image is unpacked to the knoppix root and repacked after.&lt;br /&gt;
So patches can modify the content of initrd.&lt;br /&gt;
&lt;br /&gt;
Diff patches can be tested before application: they can be tried with --dry-run and -p0 and p1 options.&lt;br /&gt;
&lt;br /&gt;
Executables are first run with --dry-run, with this option the files will be checked but it will not modify files.&lt;br /&gt;
&lt;br /&gt;
=== Files to Be Placed on CD ===&lt;br /&gt;
The directory &amp;quot;newcd&amp;quot; contains files wich will be placed on the CD as is.&lt;br /&gt;
Put here new flash tarballs and HTML files which can be accessed without booting from the CD.&lt;br /&gt;
&lt;br /&gt;
=== Scripts ===&lt;br /&gt;
==== download-debs ====&lt;br /&gt;
==== livecd-make ====&lt;br /&gt;
&lt;br /&gt;
=== Other Files ===&lt;br /&gt;
&lt;br /&gt;
== Diagnostic ==&lt;br /&gt;
&lt;br /&gt;
== Road map ==&lt;br /&gt;
see [[LiveCD Realease Notes]]&lt;br /&gt;
----&lt;br /&gt;
''Free Software and Open Hardware. Elphel, Inc., 2005''&lt;/div&gt;</summary>
		<author><name>Gabriel</name></author>	</entry>

	<entry>
		<id>https://wiki.elphel.com/index.php?title=Linux_Tuning&amp;diff=2391</id>
		<title>Linux Tuning</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Linux_Tuning&amp;diff=2391"/>
				<updated>2005-12-28T17:23:44Z</updated>
		
		<summary type="html">&lt;p&gt;Gabriel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Data about kernel tuning will be collected here.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
[http://sourceforge.net/search/?type_of_search=forums&amp;amp;forum_id=371579&amp;amp;group_id=105686&amp;amp;atid=0&amp;amp;words=proc%2F&amp;amp;Search=Search Old discussions on SourceForge]&lt;br /&gt;
&lt;br /&gt;
[http://www.laukas.com/knbase/linux_special/ Linux Tuning Guide] (for 2.4 kernels)&lt;br /&gt;
&lt;br /&gt;
[http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/ref-guide/s1-proc-directories.html Red Hat Enterprise Linux 4: Reference Guide: Directories within /proc/]&lt;/div&gt;</summary>
		<author><name>Gabriel</name></author>	</entry>

	</feed>