USB Webcam

dmesg on ps2:


[759277.751303] usb 1-1.2.2: new full speed USB device using orion-ehci and address 8
[759277.864144] usb 1-1.2.2: New USB device found, idVendor=093a, idProduct=2463
[759277.871339] usb 1-1.2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[759277.878946] usb 1-1.2.2: Product: CIF Single Chip
[759277.884231] usb 1-1.2.2: Manufacturer: Pixart Imaging Inc.
[759277.892818] usb 1-1.2.2: configuration #1 chosen from 1 choice
[759278.135030] Linux video capture interface: v2.00
[759278.176359] gspca: main v2.7.0 registered
[759278.196219] gspca: probing 093a:2463
[759278.294569] pac207: Pixart Sensor ID 0x27 Chips ID 0x00
[759278.299952] pac207: Pixart PAC207BCA Image Processor and Control Chip detected (vid/pid 0x093A:0x2463)
[759278.319863] gspca: probe ok
[759278.323236] usbcore: registered new interface driver pac207
[759278.330828] pac207: registered

Chickoree mit Lavendel

500 g Chicoreé
Gemüsebrühe
1- 2 EL Honig oder brauner Zucker
1 EL Lavendelblüten
Olivenöl
Salz/Pfeffer
Halbierten Chickoree in der Pfanne mit reichlich Olivenöl heiß anbraten. Honig oder Zucker mit Lavendel zugeben und den braunen, karamelisierenden Chickoree wenden. Danach Brühe langsam zugeben und verkochen lassen. Heiß servieren

Mayonaise

1 Ei
1EL Senf
Salz/Pfeffer
1/2 Zitrone
1TL Zucker
1TL Sojasosse hell
0.25l Öl (neutral)

Alle Zutaten bei Zimmertemperatur in einem schmalen Gefäß mit dem Zauberstab mixen. Mixer anfangs nicht bewegen und bei einsetzender Emulsion langsam schräg aus dem Gefäß ziehen. fertig

apache config – wordpress

    wordpress

##############################################
ServerAdmin olkn@gmx.net
DocumentRoot /var/www/wordpress/
DirectoryIndex index.php
ProxyRequests off
SSLProxyEngine On
# ProxyHTMLLogVerbose On
ProxyPreserveHost On
##############################################

# problem with wordpress image upload
Options FollowSymlinks
Order Deny,Allow
Allow from all
AllowOverride All

apache config – squirrel

    squirrelmail

##############################################
# squirrel webmail
##############################################
Alias /squirrelmail /usr/share/squirrelmail

Options FollowSymLinks

php_flag register_globals off


DirectoryIndex index.php

# access to configtest is limited by default to prevent information leak

order deny,allow
deny from all
allow from 127.0.0.1

apache config – owncloud

    owncloud

##############################################
# owncloud
##############################################
Alias /owncloud /var/www/owncloud

Options +FollowSymLinks
AllowOverride None
order deny,allow
allow from all
# AuthType Basic
# AuthName “owncloud”
# AuthUserFile /etc/apache2/htpasswd
# Require user olkn

apache config – tine

    tine2.0

##############################################
# Tine2.0 installation
##############################################
Alias /tine /var/www/tine

Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# tine needs some memory
php_admin_value memory_limit 64M
# tine insists on this
php_admin_flag magic_quotes_gpc off

RewriteEngine on
RewriteRule /Microsoft-Server-ActiveSync(.*) /var/www/tine/index.php$1 [E=REDIRECT_ACTIVESYNC:true,E=REMOTE_USER:%{HTTP:Authorization}]

linux read only root filesystem

To create a read only root file system we need to know which processes access which files and which files must be accessible. So here is a list of files to take care of. Everything below /var is assumed of being accessible as it makes no sense from my point of view to restrict access for everything, which could nevertheless also be achieved by following this instructions.

There are already some special file systems available in a standard linux installation, so we do not need to take care about:

  • /tmp – tmpfs
  • /sys – sysfs
  • /proc – procfs
  • /dev – udev

So we finally will have:

/  root as extended fs read only mounted

/var as exteneded fs mounted read writable

/tmp as temp fs ounted read writable

And now to the tricks. We need to take care about /etc as there are some files which need special preparation:

adjtime – should be linked to somewhere beyond /var; /etc/init.d/hwclockfirst.sh and hwclock.sh should be adjusted to show the option –noadjtime

 

blkid.tab – should be linked to somewhere beyond /var; the environement variable BLKID_FILE must be set to  /var/local/blkid.tab in /etc/environment

 

mtab – Create a symlink from /etc/mtab to /proc/self/mounts

 

network/run – ifupdown links /etc/network/run to /dev/shm/network in postinst if /dev/shm exists and /etc/network/run does not; my installation was not successful without an existing network/run/ifstates, so I copied the complete directory once the network was up and running.

 

nologin – This should already be a symlink to /var/lib/initscripts/nologin

 

resolv.conf – no problem with static nameserver configurations

 

passwd, shadow – may be modified by user interaction

 

apt-get could be modified to remount before installing anything:

DPkg {
    // Auto re-mounting of a readonly /
    Pre-Invoke { "mount -o remount,rw /"; };
    Post-Invoke { "test ${NO_APT_REMOUNT:-no} = yes || mount -o remount,ro / || true"; };
};

Use lsof to find processes blocking the readonly mount.


There are some additional tricks to check:
  • reduce swappiness in /proc/sys/vm/swappiness
  • enable laptop mode
  • reduce cache writeback time /proc/sys/vm/dirty_writeback_centisecs and dirty_expire_centisecs
  • filesystem relatime
  • reduce syslog file syncing by putting a “-” in front of the syslog lines

 

android-x86

USB install:
zcat android-x86-….img.gz |dd of=/dev/sdb

How to wake up:
the following keys are working: ESC, Menu, left, right, up, down

to wake up the machine the keys must be pressed for at least one second

you may use the mouse wheel to unlock the screen

if you encounter graphics problems you may use the following options:

kernel initrd=/initrd.img root=/dev/ram0
androidboot_hardware=generic_x86 acpi_sleep=s3_bios,s3_mode video=-16 SRC=DATA=DPI=240

the parameter xforcevesa enables VESA graphics driver for X

nomodeset disables the kernel mode setting

Both options may be used to play around and getting graphics to work.

Navigation:
HOME – windows key left
BACK – ESC
MENU – menu-key