2007年3月16日

Temperature viewing in Ubuntu

How to detect CPU temperature, fan speeds and voltages (lm-sensors)
Monitoring CPU and HDD temperature
apt-get install sensors-applet
apt-get install hddtemp
Athlon-Powersaving-HOWTO
For A7V333-X
enable:
setpci -v -H1 -s 0:0.0 D2=$(printf %x $((0x$(setpci -H1 -s 0:0.0 D2) | 0x80)))
setpci -v -H1 -s 0:0.0 D5=$(printf %x $((0x$(setpci -H1 -s 0:0.0 D5) | 0x02)))
disable:
setpci -v -H1 -s 0:0.0 D2=$(printf %x $((0x$(setpci -H1 -s 0:0.0 D2) & 0x7f)))
setpci -v -H1 -s 0:0.0 D5=$(printf %x $((0x$(setpci -H1 -s 0:0.0 D5) & 0xfd)))

2007年3月4日

[轉貼] How to extract a system file from the Windows XP CD-ROM?

There are situations where you need to expand a DLL file or any other system file from the Windows XP CD-ROM, in order to replace a corrupt or missing file in the system. Here are the instructions to expand a file from the source CD.

Note: If you have a Service Pack installed, you need to extract the latest copy of the DLL. Your base Windows XP CD (without any Service Packs included) will not help if you already have a Service Pack installed in your system. Therefore, make sure that you're extracting the system file from a slipstreamed Windows XP CD-ROM (SP2 integration), or get the updated files from %Windir%\ServicePackFiles\i386 folder.

Extracting a file from Windows XP CD-ROM

Insert your Windows XP CD-ROM into the drive. Click Start, Run and type CMD.EXE. Use the Expand command. Here are some examples - to expand a file from the CD:

Example 1

expand X:\i386\sysoc.in_ -r c:\windows\inf

Example 2

expand X:\i386\sysoc.in_ c:\windows\inf\sysoc.inf

Where X:\ is your CD-ROM drive letter. The above command assumes Windows is installed in C:\ drive. If not, change the drive letter / Path accordingly.

Example: expand H:\i386\sysoc.in_ -r g:\windows\inf

See also: Microsoft Windows XP - Expand

Ref: http://www.winxptutor.com/expand.htm

2007年3月3日

Note for setuping Ubuntu

http://ubuntuguide.org/wiki/Ubuntu:Edgy

sp. problems:
realplay Segmentation fault Problem

file:/usr/lib/realplay-10.0.8/realplay
#!/bin/sh
Add:
export GTK_IM_MODULE=xim


no sound problem of reaplay
sudo apt-get install alsa-oss
edit /usr/lib/realplay-10.0.8/realplay:73
aoss $REALPLAYBIN “$@”


ATI driver installation
http://wiki.cchtml.com/index.php/Ubuntu_Edgy_Installation_Guide


Mounting smb server for non-gnome-vfs program
mount -t cifs //sambaserver/共享1 /mnt/smb/ -o username=xxxx,iocharset=utf8


HP 1020 setup
getweb 1020
arm2hpdl sihp1020.img > sihp1020.dl
sudo cp sihp1020.dl /usr/share/foo2zjs/firmware/
sudo cat /usr/share/foo2zjs/firmware/sihp1020.dl > /dev/usb/lp0

sudo ln -s /usr/bin/usb_printerid /bin/usb_printerid
sudo ln -s /usr/bin/hplj1000 /usr/sbin/hplj1020
edit /etc/udev/rules.d/11-hplj10xx.rules:
KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", SYSFS{product}=="HP LaserJet 1020", NAME="usb/%k", SYMLINK="hplj1020%e", MODE="0666", RUN+="/usr/bin/hplj1020"

#For 2/4-UP CAPABILITY
sudo apt-get install psutils

ref:
Bug #65618 in foo2zjs (Ubuntu Edgy)
OpenPrinting database - Printer: HP LaserJet 1020
foo2zjs: a linux printer driver for ZjStream protocol


To find out the UUID of your partition just use the following command:
sudo vol_id -u device

2007年3月2日

Microsoft Network Monitor 3

Network Protocol Analyzer
Tool to allow capturing and protocol analysis of network traffic.
下載頁面