fogbound.net




Sat, 7 Jan 2006

Ker-Ash!

— SjG @ 12:03 am

So, courtesy of the DWP, the Meier Quagg was without power for about 7.5 hours today. It’s not clear what was wrong. The other side of the street had power, as did several parallel streets nearby, but this side of Meier was out, as were patches of Venice like the Oakwood.
Anyway, when the power came back up, most of the servers came back with it. Intervention was required for the Golem, Pylonhead, and Sekhmet. Sekhmet was the worst. I only got the “LI” of LILO, which says that the /boot/boot.b file was bad, or the drive geometry was hosed.

So I tried my trusty Debian rescue disk. Typed rescue root=/dev/hda1 at the boot: prompt. The boot failed with a complaint that /dev/hda1 was an MSDOS partition. uh-oh… MSDOS?

Of course, it turns out that I was using the wrong rescue disk. I was using a Woody ISO, and I had upgraded the machine to Sarge — and EXT3, which evidently was not compiled into the rescue disk. When I finally tried the correct rescue disk, it came up neatly, repaired the journals, and gave me my precious root prompt.

I did the LILO replacement trick (lilo -u /dev/hda; lilo), popped out the CD, rebooted, and held my breath. Then I decided to breathe. It’s my second fastest server, but it’s still a four-plus-year-old Dell Optiplex. In any case, it came up cleanly and there was much rejoicing.

Now it’s just a matter of waiting for the mail secondary to forward on all the queued up spam.


Wed, 20 Jul 2005

Gadspot IP Camera

— SjG @ 8:27 pm

How could I resist a $150 wireless network camera? Well, the answer is I couldn’t.

This is one of the NC1000-W10 systems. It has, according to this site, an embedded Linux kernel running on an ARM processor.

It seems pretty slick. It has dual network interfaces, and, web-based access. The image quality is acceptable for a security camera, or for doing long-term timelapse (my purpose). It’ll do short-range IR illumination, will email images if motion is detected, etc. It requires Windows for its initial setup, but once you get network access, it will work and be further configurable with any Java-enabled browser.

One quirk is that you seem to have to power cycle it (or perhaps reboot it) to get it to utilize any new Network settings. The one snag is that if you configure it to listen on both wired and unwired networks, and it’s unable to connect to the wireless network, it seems to stall out and fail to boot correctly. This is a problem when I have wired and wireless connections out in the office, but only wireless (on a separate wireless network) in the eventual destination. I’ll have to run a long cable to configure it for its final use.


Tue, 18 Jan 2005

Slow POP connections

— SjG @ 12:29 pm

OK, this is an esoteric one, but I’m happy to report there is a simple solution.

We migrated Stacy over to using Thunderbird (from Outlook Express) on her Mac to cut down on the spam. In the process, we upgraded her to OS X.
Strangely, while POP connections to our local QMail server are nearly instantaneous on the Windows machines, there would be a 30-40 second delay for her. It wasn’t a Thunderbird problem — we could replicate the problem by telnetting to port 110 — and only from the Mac OS X machines.

Karl finally succeeded in diagnosing the problem. QMail uses tcpserver to wrap connections. tcpserver, in turn, checks back via ident. The Mac OS machines don’t have identd running by default. By running tcpserver with the “-R” option (disabling the ident lookup), everything works brilliantly as it should.