Notebooks
http://thinkwiki.de/
http://en.wikipedia.org/wiki/HP_EliteBook
Memtest
# bootable floppy image
https://www.memtest86.com/downloads/memtest86-4.3.7-floppy.img.zip
USB_PEN=/dev/sdc URL=https://www.memtest.org/download/v6.00b1/mt86plus_6.00b1_64.iso.zip wget -q ${URL} -P /tmp/ unzip /tmp/mt86plus_6.00b1_64.grub.iso.zip -d /tmp/ dd if=/tmp/mt86plus_64.iso of=${USB_PEN}
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)
sudo apt 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
https://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
badblocks
# read only badblocks -wv /dev/sdb -b 4096 # write (destory all data) 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
# in case of issues with ACPI "-disable DMI"
lshw -short
Software RAID
cat /proc/mdstat
mdadm --misc --detail /dev/md0
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/
# Fujitsu
http://support.ts.fujitsu.com/IndexWarranty.asp?lng=COM
simple permomance tests
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 # generate inventary rm /tmp/hwlist.out IFS=$(echo -en "\n\b") for HOST in $(wget -q http://auth.example.com/agent/pawkon/accounts -O - | cut -d "@" -f2 | sort -u); do TYPE=$(ssh ${HOST} -o ConnectTimeout=3 dmesg | grep -i xen 1>/dev/null && echo XEN || echo PHY) DIST=$(ssh ${HOST} -o ConnectTimeout=3 lsb_release -cs 2> /dev/null) [ -z ${DIST} ] && DIST=$(ssh ${HOST} -o ConnectTimeout=3 cat /etc/apt/sources.list 2> /dev/null | grep main | head -1 | cut -d" " -f3) CORE=$(ssh ${HOST} -o ConnectTimeout=3 cat /proc/cpuinfo | grep processor | wc -l) CPU=$(ssh ${HOST} -o ConnectTimeout=3 cat /proc/cpuinfo | grep "model name" | head -1 | cut -d ":" -f2 | sed "s/[ ][ ]*/ /g") RAM=$(ssh ${HOST} -o ConnectTimeout=3 free -m | head -2 | tail -1 | sed "s/[ ][ ]*/ /g" | cut -d" " -f2) LOAD=$(ssh ${HOST} -o ConnectTimeout=3 cat /proc/loadavg | cut -d" " -f1,2,3 2> /dev/null) printf "%-51s: %-4s %-10s %-10s %-3s %-45s %s\n" ${HOST#*@} ${TYPE} ${DIST} "${RAM} MB" "${CORE} Cores" ${CPU} ${LOAD}| tee -a /tmp/hwlist.out done # 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
Memtest86 UEFI
https://www.memtest86.com/download.htm
https://liranv.github.io/post/booting-memtest86-uefi/
Show CPU frequency
# get available governors cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors # get current governor cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor # set governor echo performance | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor # show CPU frequency watch -n 0.5 "cat /proc/cpuinfo | grep MHz"
Disable UAS temporary for a device
https://www.smartmontools.org/wiki/SAT-with-UAS-Linux
echo "0bc2:ab28:u" > /sys/module/usb_storage/parameters/quirk
Samsung SSD firmware download
https://www.samsung.com/semiconductor/minisite/ssd/download/tools/
DisplayLink
https://www.displaylink.com/downloads/file?id=1576
sudo bash displaylink-driver-*.run
Logitech LED keyboard
https://github.com/MatMoul/g810-led
apt install g810-led g810-led -a 006666
PS4 recovery
https://darksoftware.xyz/PS4/FWlist
# folder on USB pen /PS4/UPDATE/PS4UPDATE.PUP
Show the topology of the system
apt install hwloc-nox
lstopo
Reset USB device
usbreset 0d8c:0102
DisplayLink USB adapter
# https://www.synaptics.com/products/displaylink-graphics/downloads
https://www.synaptics.com/products/displaylink-graphics/downloads/ubuntu
# lsusb Bus 003 Device 059: ID 17e9:6000 DisplayLink USB 3.0 Dual 4K Displayport adapter sudo ./displaylink-driver-5.5.0-beta-59.118.run
SPARC T4-2
sudo screen /dev/ttyUSB0 9600 # Reset/Recover lost/Unknown iLOM password for SPARC T4-2 https://solarisway.wordpress.com/2013/06/15/resetrecover-lostunknown-ilom-password-for-t4-1/ login: default Press and release the physical presence button > press phisical presence button on the back of the server (right hole) > press ENTER Type the password for the default user account: defaultpassword # Reset the SP to Default Values https://docs.oracle.com/cd/E23075_01/html/E23076/z4000d791391870.html set /SP reset_to_defaults=factory stop /SYS reset /SP > or disconnect server from power and restore power # show hardware details show /System show /System/Memory/ show /System/Processors/CPUs/CPU_0 # show hardware problems show /System/Open_Problems # console start /SP/console start /SP/faultmgmt/shell fmadm repaired /SYS/MB/CMP1/MR1/BOB1/CH0/D0 # default password root changeme
Squeezebox SSH
user: root pass: 1234 ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -oPubkeyAcceptedKeyTypes=+ssh-rsa -oHostKeyAlgorithms=+ssh-rsa -c aes128-cbc root@192.168.178.53
Test SD card capacity
https://handyman.dulare.com/testing-sd-card-capacity-and-speed-in-linux/
https://computertruhe.de/2020/08/09/integritaetspruefung-und-sichere-datenloeschung-von-flash-speichern-mit-f3-und-h2testw/
sudo apt install -y f3 # sudo umount /dev/mmcblk0p1 # sudo parted /dev/mmcblk0 -s rm 1 # sudo parted /dev/mmcblk0 -s mklabel msdos # sudo parted /dev/mmcblk0 -s mkpart primary fat32 0% 100% # sudo mkfs.vfat /dev/mmcblk0p1 # sudo mount /dev/mmcblk0p1 /mnt sudo f3probe --destructive --time-ops /dev/mmcblk0 sudo f3write /mnt sudo f3read /mnt
Reformat 520 byte drives to 512 bytes sector
https://github.com/ahouston/setblocksize/wiki
https://forum.level1techs.com/t/how-to-reformat-520-byte-drives-to-512-bytes-usually/133021
# use /dev/sgX device sg_format -v --format --size=520 /dev/sg2 sg_format /dev/sg2 sg_format -v --format --size=512 /dev/sg2 # reinsert disk or rescan controller ./setblocksize -b512 /dev/sg2