2008-11-22

photobucket + tinyurl

I used the toolbar button code provided to create a tinyurl button on the toolbar of my browser (Bon Echo [Firefox] on Damn Small Linux [DSL]).

Unfortunately, bookmarks that contain Javascript code for the URL do not automajickally bring in the correct favicon image, so I had to fiddle with it a bit. Here is a link to a screenshot of my browser with the tinyurl "make tinyurl" button installed:

  http://tinyurl.com/6c9ga6

consider the differences

http://i27.photobucket.com/albums/c174/piedpiper6996/Teresa-Heinz-Kerry-.jpg

http://s27.photobucket.com/albums/c174/piedpiper6996/?action=view&current=Teresa-Heinz-Kerry-.jpg

libflashplayer dependencies, Damn Small Linux

dsl@box:~$ ldd /opt/firefox-2.0-gtk1/plugins/libflashplayer.so                                       
/opt/firefox-2.0-gtk1/plugins/libflashplayer.so: /lib/libc.so.6: version `GLIBC_2.4' not found (required by /opt/firefox-2.0-gtk1/plugins/libflashplayer.so)
        libstdc++.so.6 => not found
        libpthread.so.0 => /lib/libpthread.so.0 (0x40a78000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40aca000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40b86000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40b93000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40bdd000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x40c47000)
        libgtk-x11-2.0.so.0 => not found
        libgdk-x11-2.0.so.0 => not found
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x40c6f000)
        libgdk_pixbuf-2.0.so.0 => not found
        libpangocairo-1.0.so.0 => not found
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x40c8a000)
        libcairo.so.2 => not found
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x40cc0000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x40cfa000)
        libdl.so.2 => /lib/libdl.so.2 (0x40cfe000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x40d01000)
        libnss3.so => not found
        libsmime3.so => not found
        libssl3.so => not found
        libplds4.so => not found
        libplc4.so => not found
        libnspr4.so => not found
        libm.so.6 => /lib/libm.so.6 (0x40d83000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40da5000)
        libc.so.6 => /lib/libc.so.6 (0x40dae000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40ee1000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40ee9000)
        libz.so.1 => /usr/lib/libz.so.1 (0x40f00000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x40f13000)
dsl@box:~$ 

2008-11-12

Speed Testing Cricket Wireless Broadband

Test Location:Phenix City, Alabama
Area Code: 706
Provider: Cricket

2008-11-06

Copy Knoppix to HD

# How to set up a "Poor Man's Install" so that the machine boots from a CD
# image that's been copied to the hard disk.  GRUB is used as the boot loader.
# It is assumed that you are booted to Knoppix CD 5.1.1, and ALL HARD DISK
# CONTENTS WILL BE ERASED!!!

#  0.  Switch to root with su -

#  1.  Partition the hard disk as follows (minimum 20GB hard disk recommended)
#      10GB /dev/hda1, type 83
#      2GB /dev/hda2, type 82
#      (the rest of the disk) /dev/hda3, type 83
#

# determine the disk device name, which is usually /dev/hda for IDE and
# /dev/sda for SATA

DEVICE=`fdisk -l 2>/dev/null | head -2 | tail -1 | awk '{print $2}' | sed 's/\:$//'`

# print warning and confirmation
clear
echo "This CD will install Knoppix 5.1 on your hard disk."
echo "The system will then boot from the hard disk as if you had booted from"
echo "the Knoppix CD, also known as a Poor Man's Install."
echo
echo "WARNING:"
echo "ALL EXISTING DATA ON THE HARD DISK $DEVICE WILL BE ERASED BY THIS PROCESS!!!"
echo
echo -n "Do you wish to continue? (y/n): "
read ANSWER
if [ "$ANSWER" = "y" -o "$ANSWER" = "Y" ]
then
:
else
  echo "Installation aborted!"
  sleep 3
  exit
fi


# clear the old partition table
dd if=/dev/zero of=$DEVICE bs=512 count=1

# determine the cylinder size
CYL_SIZE=`fdisk -l $DEVICE 2>/dev/null | grep "Units = cylinders" | awk '{print $9}'`

# determine the number of cylinders in 10GB
SIZE1=`echo "1073741824 * 10 / $CYL_SIZE" | bc`

# determine the number of cylinders in 2GB
SIZE2=`echo "1073741824 * 2 / $CYL_SIZE" | bc`

# partition the disk
sfdisk -f $DEVICE <<EOF
,$SIZE1,L
,$SIZE2,S
,,L
EOF


#  2.  Create an ext3 filesystem on the first and third partitions
mke2fs -j -m0 ${DEVICE}1
mke2fs -j -m0 ${DEVICE}3


#  3.  Create a swap area on the second partition
mkswap ${DEVICE}2


#  4.  Mount first partition on /media/p1
mkdir /media/p1
mount ${DEVICE}1 /media/p1


#  5.  Copy the contents of the Knoppix CD to /media/p1
echo
echo "Copying CD contents to hard drive.  This will take a few minutes."
/bin/cp -af /cdrom/KNOPPIX /media/p1

# remove /media/p1/KNOPPIX/knoppix.sh
/bin/rm -f /media/p1/KNOPPIX/knoppix.sh


#  6.  Create a boot directory on /media/p1 and copy the kernel and initrd
#      there
mkdir /media/p1/boot
/bin/cp -af /boot/vmlinuz-2.6.19 /media/p1/boot
/bin/cp -af /cdrom/boot/isolinux/minirt.gz /media/p1/boot


#  7.  Create a directory for GRUB
mkdir /media/p1/boot/grub


#  8.  Populate the GRUB config file.  If you require different default boot
#      options, include them in the kernel line.
cat <<EOF > /media/p1/boot/grub/menu.lst
default=0
timeout=10

title Knoppix 5.1 (Poor Man's HD install)
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.19 ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=normal initrd=minirt.gz nomce loglevel=0 quiet BOOT_IMAGE=knoppix BOOT_IMAGE=linux lang=us fromhd=${DEVICE}1 noeject noprompt
        initrd /boot/minirt.gz
EOF
cd /media/p1/boot/grub
ln -s menu.lst grub.conf


#  9.  Install GRUB
cd /media/p1
grub-install --root-directory=/media/p1 --no-floppy $DEVICE


#  10.  Reboot (and remove CD)
reboot

Now on Cricket Broadband

Posting this over a local wireless network behind a cricket broadband connection from a Windows Vista machine conntected to the USB dongle, and running Windows' Internet Connection Sharing or wtf it's called ... will connect eth and linksys wifi router to ICS-enabled and connect linux boxen wifi-ly.

Hello KNOPPIX. Insufficient bandwidth to practically d/l OpenSUSE 11 DVD ISO? testing one two three...

linux hack wanted, cheep/chirp

over

2008-11-04

OpenSuSE 11 on Toshiba Satellite

Installed the OpenSuSE 11.0 Linux distribution to a Toshiba Satellite M55-S3512 laptop from the Live/Installer DVD.

Screen Size: 14.1 inches
Weight: 5 lbs
Processor Options: Intel Pentium M,Intel Celeron
Graphics Options: Integrated

Toshiba Support Page for Satellite M55-S3512

Note that the URLs for the Yast online repositories listed in the default Yast configuration are still not right (last dealt with this under SuSE 9.2, iirc) - add the text 'suse/' to the end of the repository path settings to get the online update and software installation functions to work.

There is some OpenSuSE documentation still on the Novell site: Novell Doc: OpenSUSE 11.0 - Table of Contents

2008-05-20

Google API Example Code [Obtained Key]

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>My Google Data API Application</title>
    <script src="http://www.google.com/jsapi?key=ABQIAAAAEF0hbwoIdolnKjr5eMdCPRR65_V0rae5Sii3SwQWquZGohjOQRRV-du2YimkeA46q7aGVN6U-luT3w" type="text/javascript"></script>
    <script type="text/javascript">
    //<![CDATA[

    google.load("gdata", "1");

    function OnLoad() {
      // Fill out
    }

    //]]>
    </script>
  </head>
  <body onload="OnLoad()">
    <div id="panel"/>
  </body>
</html>

2008-03-27

New Speed Tests

A batch of speed tests for our new ATT/Bellsouth FastAccess™ DSL connection. Nice stuff, this, compared to that incredibly slow East Alabama Cable-provided cable modem...