11h.net

The blog of 11h

January 13th, 2008

How to: Make a cheap monitor stand

A while ago, I picked up a several 17″ LCD monitors for pocket change. They were old monitors from a school district in the Seattle area that had upgraded their computers. The only problem with the screens was that they didn’t have any stands. I’ve had the screens for almost a year and I haven’t used them solely because I haven’t found a stand for them. Today, I finally gave up finding cheap stands and just made some. The following is a quick how to make a LCD monitor stand.

Materials:
acrylic sheet (anything larger than 32cm x 12cm and 0.23622 cm thickness)
aluminum foil
ruler
drill
drill bits
screws
heat source
plastic cutting knife

First, cut a piece of acrylic about 1cm wider than the center of the mounting holes on each side on the mounting area on the screen and long enough to reach the bottom of the screen plus a little extra. The extra is so that you can bend and create a base for the screen. For my Dell screen I cut a 12cm x 32cm piece. That leaves 1cm width of extra acrylic on each side and a lot on the bottom.

Next, mark on the acrylic where the mounting holes reside on the back of the screen. The holes on my screen were 10cm apart in a square. Drill the required number of holes in the diameter of the screws. Make sure it mounts properly.

Measure or eye where the acrylic will need to bend to be effective to hold up the screen.  Cover the acrylic that you do not want to bend in aluminum foil. Leave about a 1cm gap where the acrylic will bend. The foil will help protect the acrylic from getting hot enough to be malleable.

Use a heat source to heat the acrylic. I used my stove. Hold the work piece over the heat source until it begins to bend on it’s own. Why work when gravity will do it for you!

Once the work piece is hot, bend to a 90 degree angle. The weight of the screen will cause this thin acrylic to bend a bit.

If you feel adventurous, you can repeat the heat bending process to make a neat base.

September 4th, 2007

Eric’s got new swag!

Although I cannot compete with Brian’s pinball repair, I do have some of my own that I should post one of these days. However, since I’m too busy playing my Night Rider it’ll be a rainy day when I do post something about it.
Instead I’d like to offer a beginners guide to lighting an MSR Whisperlite liquid gas stove. For those of you who know me, yes I have all of my fingers and toes but an appropriate quote would be from Adam Savage “Am I missing an eyebrow?”MSR Whisperlite

Back in the 20th century, when I was a boy scout, I recall going on back-packing trips and someone always had a funny looking miniature stove with a bottle and a pump. I knew that the pump was used to pressurize a fuel that was in the bottle and then burned, what I didn’t know was how or why they worked.

REI had a big labor day sale. One of the things that was on sale was a liquid gas stove. I figured it was about time that I step-up and get a real backpacking stove versus the coleman LP gas stove [that I stole from my parents power outtage supply kit]. Most of the liquid fuel stoves use a variety of white gas (also known as Naphtha), diesel, unleaded, alcohol, or oil but they are about twice as expensive. A little research shows that the aperture of the fuel areator jet is larger for the more viscus fuels. MSR states that in a pinch unleaded fuel could be used with the Whisperlite but it will require more cleaning.

So, There I was sitting outside my apartment with the stove assembled, filled with fuel, and pressurized. I’m reading the manual (this way Brian won’t say did you RTFM?) and following each instruction very carefully. The manual says to open the fuel valve 1.5 times to fill the ‘primer pan.’ The fuel that is in the primer pan is then lit. Well, this step is much easier said than done. After several failed attempts to ‘fill’ the primer cup I finally let the valve stay open for a while. Eventually I saw a nice little puddle of gas in the primer pan. OK, I’m ready to light.

The reason the primer pan is filled with fuel is to get the metal and the fuel line hot. This stove uses a what EE’s call a feedback loop. Heat from the stove pre-heats and vaporizes the fuel in the fuel line which is then pressurized to spray out of the aerator jet and into flame ring. It’s a bit odd to think that you have to heat the fuel line to get it to work.

I have a lighter in one hand and the stove in the other. Pay no attention to the fact that the air was perfectly still, not a single breeze in sight, nor that I had been fiddling with the fuel for 10 or 15 minutes prior to this. Funny thing about fuel vapors, they are much heavier than air and tend to be invisible until some sort of ignition system is used.

My thumb rolls down the BIC roller and the flint makes a marvelous spark which catches the lighters gas afire. I bring the lighter close to the primer pan and in an instant it lights up. A brillant flame that only the crew aboard the international space station could enjoy engulfed the patio which included the sage and lavender plants and moi. I jumped for cover - which I realized was futile as everywhere I looked was glowing.

A few seconds later and everything seemed to put itself out. Now I had to contend with the fireball that is now my stove. I followed the instruction to leave the valve open a little while the primer cup was burning, but I’d have to say that it’s much safer and easer to just turn the fuel off until the primer cup has burned all the fuel up. If the stove is hot, it will easily re-light.

The next day I learned from a friend at work that the best thing to do is to carry fire paste or a small squeeze bottle of rubbing alcohol. That night I tried rubbing alcohol. It was much easier to use and it didn’t leave any soot residue on the stove like the white gas.

The best way that I have found to light the Whisperlite is to fill the primer cup with alcohol, light it, wait for the flames to go out or most of the way out, and then light the fire rings like a normal stove.

March 25th, 2007

Using cloop in FreeBSD

There are lots of Linux distributions that have a ‘Live CD’ that allow you to rescue your system or try before you bu… install.

Let’s take a look at Knoppix. It is one of the most popular Live CD’s. In the CD structure of Knoppix there is a file that contains the root file system (rootfs). That file is a cloop image file. Each block is compressed individually which allows decompression on the fly or at a specific point in the file.

This allows a rootfs to be about 1 GB in actual size but compressed it will fit into about 700 MB.

When a system boots from this CD [image], a kernel loads the cloop device and then opens the rootfs cloop file. Viola! The root file system is loaded into a ramdisk and is accessible as if it was an installed distribution.

This is great for Linux – not so great for FreeBSD. There are many Linux only or FreeBSD only file types and differences that make using the two systems on the same network very difficult.

I prefer FreeBSD because of its sheer solidness. It’s like comparing a car that uses a gasoline engine (Linux) versus a diesel engine (BSD). Linux is the new hot-ness; fast, sleek, portable, adaptable, pump-n-go. FreeBSD is like the 80s era of cars; cast aside because they aren’t sexy, requires the right glow plugs, needs patience, but it will run on any thing that has enough compression and it will go forever.

By default, FreeBSD lacks the ability to mount cloop images. Luckily, Klaus Knopper wrote a FreeBSD module that allows mounting of a cloop image. This allows someone that uses FreeBSD to modify a cloop image with out needing a Linux box.

To install the cloop module for FreeBSD, build and install the cloop-utils.

# cd /usr/ports/sysutils/cloop-utils/
# make && make install

Now to mount the cloop image.

In this example I am using Damn Small Linux tftpboot.

# unzip dsl-1.5-tftpboot.zip

Unzips the PXE Damn Small Linux release

# gunzip minirt24.gz

Gunzips the root file system

# mdconfig –a –t vnode –f minirt24

Creates a virtual device from the minirt24

# mount –t ext2fs /dev/md0 /mnt/dsl

Mounts the ext2 file system inside the minirt24 file that was created from mdconfig as /dev/md0

#kldload geom_uzip

Loads the cloop device so FreeBSD can rw cloop files

# mdconfig –a –t vnode –f /mnt/dsl/cdrom/KNOPPIX/KNOPPIX

Creates a virtual device from the KNOPIX root file system inside minirt24

# mount –t cd9660 /dev/md1.uzip /dev/dslcdrom

Mounts the cloop device from md1 using the geom._uzip device

Now you should have access to the cloop ‘KNOPPIX’ root file system in /mnt/dslcdrom. Follow the steps in reverse to close and re-zip the files I my case, it allows me to update any part of the rootfs from the PXE server which is not Linux.

February 18th, 2007

Dead iPod

It really sucks when all of a sudden your digital music player just goes belly up.

My iPod mini did just that Friday evening. It had a good life from 8th June 2005 until 16th February 2007. Of course, I’m pretty sure that I was the direct cause of its demise.

I had the mini in my back pocket and I sat down. The hold switch was activated so that the key press wouldn’t stop the music. When I removed the mini from my pocket, the forward and play/pause buttons where stuck in the ‘pressed’ position. It seemed that the buttons were caught on the aluminum case. I gently taped the mini on my desk to un-stick the buttons. Worked great; the buttons returned to their normal position.

Shortly after, the mini began to skip through all the songs. No problem I thought, I’ll just reboot it. As soon as I pressed the select and menu button, the mini reset and displayed a ‘sad iPod‘ icon. And I could hear what sounded like hard drive heads clicking. All this time I have always though that my iPod mini was a flash based player. Apparently, it’s has a Microdrive in it.

After disassembling my iPod mini, I removed the Microdrive(R) and replaced it with a 1 GB CF memory card that I was planning on using for another project. The CF card was going to be used for ZeroShell. Oh well.

Once the Microdrive(R) was replaced with the CF memory card I had to put the mini into disk mode to reformat the ‘drive’ using an iPod Updater (it was not the latest and greatest but it worked perfectly). Once the update was complete, I reset the iPod again and started iTunes. When iTunes finally loaded, it asked what I wanted to name the iPod and informed me that my entire music library wasn’t going to fit on the device (which was down to 1GB from 4GB).

Changing the mini from a Microdrive(R) to flash really increased the update speed. After a few minutes, iTunes had loaded as much audio onto the mini as it could fit.

When I was disassembling the mini, I managed to scratch the select button on the touch pad and mauled the aluminum case. Since it still works, I’m not that upset about it.

UPDATE:

30 June 2007 - I’ve updated my iPod with a pqi 8GB CF. iTunes 7 will restore the firmware/format on the new disk which makes the iPod updater obsolete.

November 19th, 2006

X forwarding - my reminder

Every once and a while, I have a brain lapse.

A long time ago, my father showed me how to forward X applications from another system to my localhost with Cygwin.

Unfortunately, between that time and now, I had forgotten what he had showed me.

So, as a reminder for myself, here’s how:

The classic is assumed here:

  • Cygwin is installed with X.
  • Putty
  • Remote system with X utilities

On the localhost:
Start Cygwin then type

$ X -multiwindow &
$ export DISPLAY=127.0.0.1:0.0

Start putty:

Under Connection -> SSH -> X11 -> Forwarding
Check the ‘Enable X11 forwarding’
In the ‘X display location’, enter:
127.0.0.1:0.0

Open the connection to the remote host as normal from this point.
Once logged in, you can now open your X apps from the server

$ gschem

gschem in Windows from FreeBSD system