hardware

AXIS M1144-L network camera

# configure password
Basic Setup > Users > User Settings
Enable anonymous viewer login (no user name or password required)

Basic Setup > Date & Time > Time zone
GMT+01 (Amsterdam, Berlin, Rome, Stockholm, Warsaw)

Basic Setup > Video Stream > Overlay Settings
Rotate image
180

Include date
check
Include time
check

Text background color
transparent

Detectors > Motion Detection
Add Window
slect full window

save

Events > Action Rules
Add
Name
Motion

DHCPD

Add static DHCP entry
# create new entry
uci add dhcp host
uci set dhcp.@host[-1].name='srv1'
uci set dhcp.@host[-1].mac='00:01:02:25:96:99'
uci set dhcp.@host[-1].ip='192.168.2.55'
uci commit dhcp

# restart dhcpd server
/etc/init.d/dnsmasq restart

Ubuntu / Debian: Install and configure lm-sensors

<?php
$URL="https://raw.githubusercontent.com/panticz/installit/master/install.lm-sensors.sh";
echo "wget -q $URL -O - | bash -";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

Search for motherboard configuration
sudo dmidecode -t baseboard | grep "Product Name"
http://www.lm-sensors.org/wiki/Configurations/

Ignore sensors
# /etc/sensors.d/f71882fg-isa-0a00
chip "f71882fg-isa-0a00"
ignore fan2
ignore fan4

Motherboard configurations
# MSI X58 Pro-E (MS-7522) / Fintek f71882fg
echo "f71882fg" >> /etc/modules
echo "#coretemp" >> /etc/modules
modprobe f71882fg
wget http://dl.panticz.de/lm-sensors/ms-7522.conf -O /etc/sensors.d/f71882fg.conf
sensors -s

# ASUS M2N32 WS Professional
cat /etc/sensors.d/asus_m2n.conf
wget http://dl.panticz.de/lm-sensors/m2n32_ws_professional.conf -O /etc/sensors.d/m2n32_ws_professional.conf

# SuperMicro PDSMi-LN4+
wget http://dl.panticz.de/lm-sensors/pdsmi-ln4.conf -O /etc/sensors.d/pdsmi-ln4.conf

View raw sensor data
sensors -u

# default config file
/etc/sensors3.conf

# view hardwired? fan alarm value
cat /sys/class/hwmon/hwmon8/device/fan1_alarm

OPTIONAL: check with icinga
/usr/lib/nagios/plugins/check_sensors

Links
http://www.lm-sensors.org/wiki/Configurations/MSI/X58-Pro-E
http://www.lm-sensors.org/wiki/FAQ/Chapter3#HowdoIsetnewlimits

Pogoplug: Install Debian

Install Debian
# connect to PogoPlug
ssh root@192.168.2.155
ceadmin

# prepare USB flash (1GB root, 256MB swap)
printf "o\nn\np\n1\n\n+1G\nn\np\n2\n\n+256M\nt\n2\n82\nw\n" | fdisk /dev/sda

# download and execute debian installation script
cd /tmp
wget http://projects.doozan.com/debian/dockstar.debian-squeeze.sh
chmod +x dockstar.debian-squeeze.sh
export PATH=$PATH:/usr/sbin:/sbin
./dockstar.debian-squeeze.sh
ok

# login to new debian intallation
ssh root@192.168.1.X
pass: root

# change root password
passwd

Configure netconsole

LSI MegaRAID 9240-4i / 9260-4i perfomance

LSI MegaRAID 9240-4i / TOSHIBA MK1001TRKB SAS 1TB
1x HDD RAID0
write ? MB/s
read ? MB/s
2x HDD RAID1
write ? MB/s
read ? MB/s
4x HDD RAID5
write ~28 MB/s
read ? MB/s
4x HDD RAID10
write 300 MB/s
read ? MB/s

LSI MegaRAID 9260-4i / TOSHIBA MK1001TRKB SAS 1TB
1x HDD RAID0
write 145 MB/s
read 147 MB/s
2x HDD RAID1
write 145 MB/s
read 160 MB/s
4x HDD RAID5
write ~18 MB/s
read 430 MB/s
4x HDD RAID10