== Debian Rep. ==
deb http://www.debian-multimedia.org testing main #(für etch)
== Tools ==
um Bilder in mpeg zu wandeln
aptitude install mjpegtools mpeg2dec
jpeg2yuv -Ip -L0 -f 25 -j cam%05d.jpg -v0 | \
mpeg2enc -b3 -f3 -F3 -o ../mpg/out.mpeg
= XSERVER =
Section "ServerFlags"
Option "AllowMouseOpenFail"
EndSection
== 2 Monitore (GeForce? 5200) ==
{{{
##########################################################################
# Server flags section.
##########################################################################
Section "ServerFlags"
# Uncomment this to cause a core dump at the spot where a signal is
# received. This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging
#NoTrapSignals
# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.
#DontZap
# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences. This allows clients to receive these key events.
#DontZoom
# This allows the server to start up even if the
# mouse device can't be opened/initialised.
AllowMouseOpenFail
EndSection
##########################################################################
# Input devices
##########################################################################
#
# Keyboard section
#
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
EndSection
#
# Pointer section
#
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
##########################################################################
# Module section
##########################################################################
Section "Module"
Load "dbe"
# Load the glx module.
Load "glx"
Load "extmod"
Load "type1"
Load "freetype"
EndSection
##########################################################################
# Monitor section
##########################################################################
Section "Monitor"
Identifier "MyMonitor"
Option "DPMS"
HorizSync 28-64
VertRefresh 43-60
Modeline "1280x800@60" 83.91 1280 1312 1624 1656 800 816 824 841
EndSection
##########################################################################
# Graphics device section(s)
##########################################################################
Section "Device"
Identifier "NV AGP TwinView"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "RenderAccel" "true"
Option "NvAGP" "1"
Option "AllowGLXWithComposite" "true"
EndSection
##########################################################################
# Screen sections
##########################################################################
#
# screen section for an nvidia AGP TwinView card
# (look at the appropriate Device section)
#
Section "Screen"
Identifier "Screen AGP TwinView"
Device "NV AGP TwinView"
Monitor "MyMonitor"
DefaultColorDepth 24
Option "TwinView" "true"
# Option "SecondMonitorHorizSync" "30-70"
# Option "SecondMonitorVertRefresh" "50-120"
Option "MetaModes" "1280x10241280x1024; 1024x768,1024x768;"
Option "TwinViewOrientation" "RightOf"
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubsection
EndSection
#
# just one agp twinview card
#
Section "ServerLayout"
Identifier "AGPTwinView"
Screen "Screen AGP TwinView"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/CID"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection
}}}
== Image erstellung im Netzwerk ==
dd ist ein bekantes Linux tool um Festplatten Images zu erzeugen.
wenn mal alles ins Netz geschickt werden muss weil man keine Festplatte ausbauen möchte.
installiert man sich am besten netcat (nc)
apt-get install netcat
=== Server starten ===
nc -v -w 120 -p 3333 -l < /dev/null > image.gz
Server auf Port 3333 und wartet 120 sec.
=== Client sendet ===
dd if=/dev/hda bs=512 | gzip -c | nc -v -w 60 <image server ip> 3333
== Kommunikation ==
* minicom
* scmxx