Hardware

Notebooks
http://thinkwiki.de/
http://en.wikipedia.org/wiki/HP_EliteBook

Test tools
http://code.google.com/p/inxi/ - a full featured system information script
http://www.advancedclustering.com/software/breakin.html - Breakin
http://www.hdt-project.org/ - Hardware Detection Tool
http://www.stresslinux.org - stresslinux
http://ezix.org/project/wiki/HardwareLiSter - Hardware Lister (lshw)
http://www.hitachigst.com/hdd/support/download.htm?linkto=QL#DFT - Hitachi Drive Fitness Test
http://www.memtest.org/ - Memtest86+ (Advanced Memory Diagnostic Tool)
http://memtest.org/download/beta/?C=M;O=D - memtest86+ beta version
http://pyropus.ca/software/memtester - memtester (userspace utility for testing the memory
http://www.nongnu.org/dmidecode/ - get BIOS informations
http://smartmontools.sourceforge.net/ - smartmontools (monitor hdd's using the SMART system built into the hard drive)
http://www.supermicro.com/support/faqs/faq.cfm?faq=8659 - Supermicro BIOS recovery procedure

Links
http://de.wikipedia.org/wiki/RJ-Steckverbindung - RJ Steckverbindung
http://pciids.sourceforge.net/ - The Linux PCI ID Repository
http://sispmctl.sourceforge.net/ - Silver Shield PM (Control for Linux)
CHDK - Open-Source extension for Canon cameras
http://www.ocforums.com/showthread.php?t=486495
http://domesdomain.de/blog/2008/01/13/howto-harmony-555-mit-ubuntu-konfigurieren/ - Configure Harmony 555 with Ubuntu
http://www.bohne-lang.de/spec/linux/modeline/ - Monitor modeline tool
http://www.cyberciti.biz/tips/fdisk-unable-to-create-partition-greater-2tb.html - Partition Size Larger than 2TB
http://www.thomas-krenn.com/de/wiki/IPMI_Passwort_zur%C3%BCcksetzen - IPMI password reset
http://www.thomas-krenn.com/de/wiki/Konsistenz_des_RAIDs_%C3%BCberpr%C3%BCfen - RAID Controller CLI (german)

Wake on lan
wakeonlan -i 192.168.2.255 00:11:22:33:44:55

Tegra2
http://www.elinux.org/Installation_Detail
http://forum.xbmc.org/showthread.php?t=71297

Apple TV2
http://support.firecore.com/entries/387605 - Jailbreaking 101 - Seas0nPass

Bios
PHLASH16.exe command line parameter

Stress
stress --cpu 8 --io 8 --vm 2 --vm-bytes 2048M --hdd 4 --timeout 3600s

Harddisk
# get reallocated count with smartctl
smartctl /dev/sda -a | grep Reallocated
http://www.schirmacher.de/display/INFO/Defekte+Festplatten+finden

LSI RAID controller
smartctl -a -d megaraid,0 /dev/sda

Calculate total writen GB from a disc (SSD)
apt-get install -y bc smartmontools --no-install-recommends
echo "Total GB written: $(echo "scale=3; $(sudo /usr/sbin/smartctl -A /dev/sda | grep "Total_LBAs_Written" | awk '{print $10}') * 512 / $((1024*1024*1024))" | bc)"

AMT (Intel vPro)
http://www.panticz.de/Intel-AMT-vPro-under-Linux
http://manpages.ubuntu.com/manpages/jaunty/man7/amt-howto.7.html

Change PIN from your mobile
**04**[OLD_PIN]*[NEW_PIN]*[NEW_PIN]#[ANSWER_KEY]

Bonnie++ (HDD perfomance check)
http://www.jamescoyle.net/how-to/599-benchmark-disk-io-with-dd-and-bonnie
bonnie++ -f -u root -d /mnt -r 4g -s 256g -n 512
cat bonnie.out.csv | bon_csv2html > bonnie.out.html

Bonnie++ results
160GB FUJITSU MHW2160B,4G,37442,77,37637,9,19241,4,45381,76,46092,6,139.7,0,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++
160GB ST9160310AS,4G,45247,91,46763,11,23317,4,53899,89,52040,6,198.9,0,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++

fio (IO performance)
http://www.bluestop.org/fio/HOWTO.txt
http://www.thomas-krenn.com/de/wiki/Fio_Grundlagen
fio --rw=randrw --name=test --size=16M --bs=4k --direct=1 --numjobs=1024
fio --rw=readwrite --name=test --size=16M --direct=1 --bs=4k --numjobs=128 --group_reporting --runtime=10 --time_based | grep iops

Bios flash under Linux
http://www.coreboot.org/

cpufrequtils
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies

check harddrive for bad blocks (this destroy all data on your harddrive!!!)
badblocks -wv /dev/sdb -b 4096

# check bad blocks
badblocks -svw -b 512 -c 65536 /dev/sdb -o badblocks.out
badblocks -b 4096 -c 32768 -t ${PATTERN} -w -f ${DEVICE}

# mark sectors as unusable
fsck -l badblocks.out /dev/sdb

Intel GMA500 Poulsbo graphic chip (NOT working for me)
apt-get install -y wget build-essential linux-headers-$(uname -r)
wget http://gma500re.altervista.org/scripts/poulsbo_ppa.sh && sh ./poulsbo_ppa.sh

Intel GMA4500 black screen
sed -i 's|quiet splash|quiet splash nomodeset|g' /etc/default/grub
update-grub

lshw
# squeeze
wget http://ftp.us.debian.org/debian/pool/main/l/lshw/lshw_02.14-1_amd64.deb -O /tmp/lshw_02.14-1_amd64.deb
dpkg -x /tmp/lshw_02.14-1_amd64.deb /tmp

# lenny
wget http://archive.kernel.org/debian-archive/debian/pool/main/l/lshw/lshw_02.13-2_amd64.deb -O /tmp/lshw_02.13-2_amd64.deb
dpkg -x /tmp/lshw_02.13-2_amd64.deb /tmp

/tmp/usr/bin/lshw -short

# bei problemen mit ACPI "-disable DMI"

Software RAID
cat /proc/mdstat
mdadm --misc --detail /dev/md0

Supermicro Recovery BIOS
1. Download the latest BIOS from our web site and rename it to SUPER.ROM, put SUPER.ROM and afudos.exe into an USB Flash Drive.
2. Attached this USB Flash Drive to rear USB port, and press power button to power the system up.
3. When system powers on, press hot key Ctrl + Home.
4. System will read recovery image and starts BIOS recovery flash operation.
5. When BIOS recovery flash completed, system will reset automatically.

IPMI Supermicro management
# install
wget -q ftp://ftp.supermicro.com/utility/IPMICFG/IPMICFG_1.26.0_20161227.zip -P /tmp/
unzip /tmp/IPMICFG_*.zip -d /tmp/
chmod +x /tmp/IPMICFG_*/Linux/64bit/IPMICFG-Linux.x86_64
/tmp/IPMICFG_*/Linux/64bit/IPMICFG-Linux.x86_64 -m
sudo cp /tmp/IPMICFG_*/Linux/64bit/IPMICFG-Linux.x86_64 /usr/local/sbin/ipmicfg

# list user
IPMICFG-Linux.x86_64 -user list

# configure user 3 as admin
IPMICFG-Linux.x86_64 -user level 3 4

# configure password for a user 2 (admin)
ipmicfg-linux.x86_64 -user setpwd 2

# delete user
ipmicfg-linux.x86_64 -user del 2

# set administrative privilege of user
ipmicfg-linux.x86_64 -user level 2 4

# reset to factory default
ipmicfg-linux.x86_64 -fd

# For privilege level:
Administrator level : 4
Operator level : 3
User level : 2
Callback level : 1

# allow user to controll whole IPMI
/tmp/ipmicfg-linux.x86_64 -user level 3 4

Radeon
http://wiki.ubuntuusers.de/Grafikkarten/ati/radeon

Lantronix SLS Spider Remote KVM default login
user: sysadmin
pass: PASS

Mobistel Cynus T1
http://www.android-hilfe.de/thema/os-4-4-2-kitkat-fuer-cynus-t1-imo-s88-myphone-a898-portiert-kein-fake.643379/

FRITZ!Box firmware
ftp://ftp.avm.de/fritz.box/

# fix 1h VPN timeout
CONNECTION=MR
while true
do

 || nmcli con up id ${CONNECTION}
	sleep 10
done
 
<strong>identify by serial number</strong>
# HP
http://h20564.www2.hpe.com/hpsc/wc/public/viewDetails?index=0
 
# Fujitsu
http://support.ts.fujitsu.com/IndexWarranty.asp?lng=COM
 
<strong>simple permomance tests</strong>
echo HOST: $(hostname -f)
echo CPU: $(cat /proc/cpuinfo  | grep "model name" | head -1 | cut -d":" -f2)
echo Cores: $(cat /proc/cpuinfo | grep processor | wc -l)
 
# cpu
openssl speed
time echo "scale=5000; 4*a(1)" | bc -l
 
# hdd (with signature)
dd if=/dev/zero of=testfile bs=512 count=100000 oflag=direct | md5sum
dd if=/dev/zero of=testfile bs=512 count=100000 oflag=dsync | md5sum
dd if=/dev/zero of=testfile bs=1G count=4 oflag=direct | md5sum
dd if=/dev/zero of=testfile bs=1G count=4 oflag=dsync | md5sum