hardware

warning: Creating default object from empty value in /data/web/1/000/027/003/273448/htdocs/panticz.de/modules/taxonomy/taxonomy.pages.inc on line 33.

Hitachi Drive Fitness Test over PXE

#!/bin/bash
 
URL=http://www.hitachigst.com/hdd/support/downloads/dft32_v414_b00_install.IMG
 
# download dft image
wget ${URL} -O /var/lib/tftpboot/hitachi_dtf.img
 
# create config for pxe boot
cat <<EOF> /var/lib/tftpboot/pxelinux.cfg/hitachi_dtf.cfg
LABEL linux
   MENU LABEL Hitachi Drive Fitness Test
   kernel memdisk
   append initrd=hitachi_dtf.img
EOF
 
# add config to default config
echo "MENU INCLUDE pxelinux.cfg/hitachi_dtf.cfg" >> /var/lib/tftpboot/pxelinux.cfg/default
 
 
# LINKS
# http://www.hitachigst.com/hdd/support/download.htm

PHLASH16.exe command line parameter

Phoenix WinPhlash Utility for DOS - Version 1.6.4.2
Copyright (c) Phoenix Technologies Ltd., 2000-2006
USAGE: PHLASH16 [options] [@rspfile] [romfile]
   romfile      Override the default BIOS image name BIOS.WPH with "file".
   @rspfile     Response file containing more options
   /A:n         32 bit address where to put the File Image.
   /B:file      Override the default BIOS image name BIOS.WPH with "file".
   /BBL         Program boot block.
   /BU[=name]   Backup flash memory into BIOS.BAK before programming.
                If "name" specified, override the default filename BIOS

Pirelli DP-L10 / Arcor TwinTel

Links
http://www.kessler-design.com/speedport-w700v/tc300.html
http://twintel-fw.arcor.de/
http://www.ip-phone-forum.de/showthread.php?t=132162
http://www.sipgate.de/faq/index.php?do=displayArticle&article=1038&id=184
(Hilfe-Center > Endgeräte - Konfiguration und Problemlösungen > Weitere Endgeräte > Pirelli DualPhone DP-L10)
http://www.sipgate.de/downloads/pirelli/Firmware.zip

Codes
###000#: help screen
###09000#: Log script on/off
###09010#: Timer Log script on/off
###4444#: Super reset
###520#: display version number

Compile CTCS

sudo su
 
cd /usr/src/
apt-get install dpkg-dev lm-sensors dialog build-essential
echo "deb-src http://archive.ubuntu.com/ubuntu hardy main universe multiverse restricted" >> /etc/apt/sources.list
apt-get update
apt-get source linux-image-$(uname -r)
ln -sf /usr/src/linux-2.6.24/ /usr/src/linux
 
# 1.3.0
wget http://downloads.sourceforge.net/sourceforge/va-ctcs/ctcs-1.3.0.tgz -P /tmp
tar xzf /tmp/ctcs-*.tgz -C /tmp
cd /tmp/ctcs-*/
make all
 
# 1.3.1
wget http://downloads.sourceforge.net/sourceforge/va-ctcs/ctcs-1.3.1-pre1.tgz -P /tmp
tar xzf /tmp/ctcs-*.tgz -C /tmp
cd /tmp/ctcs-

HP Compaq t5510 Thin Client

Links
http://h18000.www1.hp.com/products/quickspecs/12081_ca/12081_ca.html

Xorg -version
X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: Linux Ubuntu
Current Operating System: Linux ubuntu 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686
Build Date: 04 April 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present

HP J4813A ProCurve Switch 2524

Update firmware
1. save firmware file in root dir on a TFTP server
2. telnet SWITCH_IP
3. copy tftp flash TFTP_SERVER_IP FLASH_FILE.svi

TerraTec Aureon 7.1 Space (Optical SPDIF output)

# create /etc/asound.conf
cat <<EOF> /etc/asound.conf
pcm.!default {
	type plug
	slave.pcm {
		type dmix
		ipc_key 1478
		slave {
			pcm "hw:0,1"
	 		format S32_LE
			period_time 0 
			period_size 1024
			buffer_size 8192
		}
	}
}
 
pcm.!iec958 {
   type plug
   slave.pcm "hw:0,1"
}
EOF
 
# test with Mplayer
mplayer -ao alsa:device=iec958 FILE_TO_PLAY
 
# LINKS
http://alsa.opensrc.org/index.php/Ice1724

memtest86+ PXE boot

# check for current version
# http://www.memtest.org/#downiso
 
URL=http://www.memtest.org/download/5.01/memtest86+-5.01.bin
 
wget ${URL} -P /tmp/
 
mkdir /var/lib/tftpboot/memtest
mv /tmp/memtest86+-*.bin /var/lib/tftpboot/memtest
cd /var/lib/tftpboot/memtest
ln -s memtest86+-*.bin memtest86+
 
echo "confiure tftpboot..." 
cat <<EOF>  /tftpboot/pxelinux.cfg/memtest86+.conf
LABEL linux
   MENU LABEL memtest86+
   KERNEL /memtest/memtest86+
EOF
 
echo "MENU INCLUDE pxelinux.cfg/memtest86+.conf" >> /tftpboot/pxelinux.cfg/default

Create printer on command line

List all installed printer
lpstat -p -d

Kyocera FS-C5016N
lpadmin -p LaserColor -v ipp://192.168.1.11:631/ipp -E -P /usr/share/ppd/openprinting/Kyocera/en/Kyocera_Mita_FS-C5016N_en.ppd.gz

PDF Printer
sudo sudo apt-get install -y cups-pdf
#sudo lpadmin -p PDF -v cups-pdf:/ -E -P /usr/share/ppd/cups-included/postscript.ppd
#/usr/share/ppd/cups-pdf/PostscriptColor.ppd

Define default prnter
lpadmin -d printer1

Syndicate content