04/08/2001

How far we’ve come… While I was hunting down tax paperwork yesterday (found it!), I ran across a stash of ancient computer magazines. For grins, I pulled out the May 1992 issue of Compute, which celebrated the release of Windows 3.1. I would have received this magazine nine years ago this month.

Some tidbits I liked:

“Windows 3.0… entered a hostile world. OS/2 loomed on the horizon like a dragon ready to devour us, and MS-DOS, stuck in version 4.0, had lost its momentum. It looked as if Digital Research…was the only company trying to make DOS better.” –Clifton Karnes, pg 4

That’s what happens when there’s no strong competition. I don’t get the OS/2 and dragon metaphor though. What, people didn’t want a computer that worked right? I didn’t get it at the time. I had an Amiga, which at the time offered OS/2 features and a good software library.

“Some people even started talking about Unix.” Ibid.

Some things never change.

“The masses are happy, and nobody talks about Unix much anymore.” Ibid.

That certainly changed.

“You can now buy a 200 MB drive for just $500.” –Mark Minasi, pg 58

That now-laughable line was from a Mark Minasi column that talked about strategies for getting drives larger than 512 MB working. Strangely, that problem still rears its ugly head more often than it should, and its descendant problem, getting a drive bigger than 8 gigs working, is even more common.

“A 286-based notebook is a very capable machine; with a decent-size hard disk and a portable mouse, you could even run Windows applications on one (except for those requiring enhanced mode performance such as Excel).” –Peter Scisco, pg 72

Don’t let any of the end users I support read that line. That’s funny. Later in the same article, Scisco discusses the problem of battery life, a struggle we still live with.

“The last dozen modems I’ve installed here at Compute have been compact models. It’s almost like the manufacturers are trying to get better mileage by leaving out parts and making the cards smaller. These modems don’t reject line noise very well.” –Richard Leinecker, pg. 106

Now there’s a problem that only got worse with time.

An ad from Computer Direct on page 53 offered a 16 MHz 386SX with a meg of RAM and dual floppy drives (no hard drive) for $399. Your $399 gets you a lot more these days, but that price got a second look for sure. A complete system with a 14-inch VGA monitor and 40-meg HD ran $939. The same vendor offered an external CD-ROM drive (everything was a 1X in these days) for $399.

An ad on page 63 proclaimed the availability of the epic game Civilization, for “IBM-PC/Tandy/Compatibles.” Yes, these were the days when you could still buy a PC at Radio Shack and expect to be taken seriously.

A free memory tester and a Linux tip

I lost my notes for today somehow, and I’ve been home a grand total of 14 hours the past 48 hours (I think), so you’ll have to excuse this quickie.

Free memory tester. I found this over the weekend:

www.memtest86.com

It’s a memory test disk. Self-booting, about 74K in memory, builds from DOS, Windows, or Linux (and possibly others too). I use and recommend RAM Stress Test, by Ultra-X Inc. ( www.uxd.com ), but this seems nearly as good and it’s free. If you’ve got frequent bluescreens, download this and try it on your PC. A lot of problems are caused by bad memory, and the power-on memory test usually won’t find it. Neither will most DOS-based memory utilities.

MemTest is still no substitute for buying brand-name memory, though I’d never let commodity memory sit on the same table with my hardware without testing it first. About 1 in 1,000 brand-name sticks are bad, as opposed to about 1 in 12 commodity sticks, in my extensive experience. One of the first things I do when faced with an unstable system is test the memory overnight, just in case.

Linux (and Unix) tip of the day. If you vaguely remember a command but can’t completely recall it, type the part you remember, then hit tab. A list of possibilities will appear. Hopefully the command you’re looking for is among them.

And if any of the possibilities sound interesting, type man command. The online documentation will come up and explain usage.

Don’t let anyone fool you. You never master this OS. You just learn how to find what you need to get a job done quickly. And hopefully you develop a long memory.

Outta here. And if you’ve mailed me over the last couple of days, my apologies. I’ll get back to you tonight after work.

Playing with Squid

Mandrake Squid. To turn a Mandrake server install into a Squid server, here’s all you have to do. Issue the command squid -NCd1 to build the cache directory structure. Then, issue the command mv /etc/rc.d/rc3.d/K25squid /etc/rc.d/rc3.d/S25squid so that Squid runs at startup (assuming your server’s set to run in text mode, as servers should be–why waste all that memory and CPU cycles keeping a GUI running when those resources can be dedicated to server tasks?). If it you boot and run GUI mode automatically, (maybe you want to run Squid on your workstation), add the command mv /etc/rc.d/rc5.d/K25squid /etc/rc.d/rc5.d/S25squid to the mix.

Now to start Squid, you can do one of two things. You can reboot, which is the Windows way of doing things, or you can just start the daemon, which is the Unix way of doing things. I like the Unix way. Run Squid’s startup script manually by issuing the command /etc/rc.d/rc3.d/S25squid restart. (There are other ways to do it too of course but I like this way.)

Single-floppy Squid. And just in case you haven’t seen everything yet, you can get a single-floppy FreeBSD-based Squid server. Head over to www.ryuchi.org/~ilovefd/1fdsquid/1fdsquidus.shtml for the goods. It uses the system’s hard drive for storage. You want a semi-powerful CPU (a Pentium-133 is sufficient for a small workgroup) and a fair bit of memory (I’m thinking 64 megs is the minimum). That’s less power than you need for a Windows workstation these days, but considering you can do a light-duty Unix-based fileserver with a 33 MHz 486, it’s a comparatively powerful machine.

Rare DOS disk utilities

Mailbag:

RAM disk; Your book; Mobos; Monitors; Net folders

I’ve been doing a bunch of work in DOS the past few days, and I’ve found some useful disk tools. A lot of people use the shareware WinImage or GRDUW to create images of floppy disks. That’s with good reason, seeing as floppies are so unreliable–this way, you’ve got a backup on a hard drive or CD-ROM drive, and it’s so much more convenient when you need a particular disk to just grab a blank, make a fresh copy from an image, and go do your thing. But I found some DOS utilities, some recent and others oldies but goodies, that give you the functionality of these shareware utilities but with the advantage of being free, smaller, faster, and in most cases running on a wider variety of operating systems–all good things. So they don’t have a nice clicky mousey interface… I don’t like using a mouse anyway. Maybe you’re like me, or maybe you like powerful utilities and don’t mind giving up the mouse to be able to use them.

So here goes.

Creating disk images. My favorite is  Diskwarez DF — of course I like this utility, seeing as it bears my initials. DF is a short and sweet utility for creating and writing disk images compatible with Rawrite and the Unix dd utility. Runs under DOS and under Windows 9x and NT in a command window. There are dozens of DOS disk imaging utilities out there, but this one has the advantage of being compatible with a very common cross-platform standard. Check out the Diskwarez site, as it’s got tons of info on disk programming, as well as some other utilities like free disk editors. Despite the name, it’s not a pirate site–Diskwarez software is distributed under a free license somewhat similar to the GPL.

If you prefer self-extracting images, you can use the similarly named DOSDF to create them.

Bigger, faster, better floppies. The other feature of GRDUW is to format high-capacity floppy disks and floppies that give faster access than disks formatted with Windows Explorer or the DOS format utility. Enter FDFORMAT . You can do that and plenty of other cool things with this utility. You can gain more usable space on a 1.44-meg floppy without resorting to weird disk formats just by reserving fewer root directory entries. For example, FDFORMAT A: /D:16 gives you the maximum available space on a 1.44-meg floppy by reserving just 16 root directory entries (if you’re storing large files you don’t need more than 16 anyway, probably).

For extra speed, use Sector Sliding: FDFORMAT A: /X:2 /Y:3 speeds up the disk by 50-100 percent by arranging the tracks in a more optimal order. Supposedly you can gain even more speed by playing around with the gap length, but the author says disks are less reliable when you do this. If you’re more interested in speed than in reliability, add the /G:32 switch to the command listed above.

And by default, the boot sector on disks formatted by FDFORMAT automatically try to boot to the hard drive rather than giving you the dreaded “Non-system disk or disk error” message. Why couldn’t Microsoft think of that?

And of course you can also format high-capacity disks. Use the /F168 option to format a 1.68-MB floppy, and the /F172 option to format a 1.72-meg floppy. These switches can be combined with the others as well. Keep in mind that extra-capacity disks aren’t bootable.

FDFORMAT’s downside is it won’t run from inside Windows NT or Windows 9x. The best thing to do with it is to format a disk with it on a PC booted into DOS (DOS mode from Windows 9x’s boot menu is sufficient), then take that disk and use the aforementioned DF or DOSDF utilities to make an image of that disk, then when you need to format a new high-speed disk or a new disk that won’t give you errors when you leave it in the drive, use the image.

Formatting bad disks. And finally, for those dreaded Track 0 Bad errors that render a disk unusable, there’s FR , which uses workarounds to try to make the disk usable again. Typically I get rid of floppies with bad sectors pretty quickly, but if it’s an emergency, this program might bail you out. I used to get around Track 0 errors by formatting the disk in my Amiga–for some reason the disk always worked after that–but seeing as I usually don’t have my Amiga set up, this is an alternative.

And wouldn’t you know it, as soon as I wrote that I found a better way. SmartFormat also does Track 0 workarounds, uses the date and time to create unique disk serial numbers (instead of Microsoft’s license-plate method), provides a fast format that’s up to 60% faster than Microsoft’s method, and can optionally format 1.72-meg disks. SmartFormat runs within Windows, usually.

Mailbag:

RAM disk; Your book; Mobos; Monitors; Net folders

02/17/2001

Fixing an NT server. Or, troubleshooting Ghost on SCSI drives. One of the week’s challenges was figuring out how to Ghost an NT server. I wanted to back up a current configuration of a test server, but when I ran Ghost, it would die about 80 megs into the backup with a sector not found error or some other weirdness.

So I went back into NT, copied a ton of Ghost images to the drive, and watched. No problems. Hmm. So I called in some help. I showed him I could copy effortlessly to the server’s FAT partition. So then I deleted the files, booted off a DOS floppy, and at the command prompt I got ready to fill the disk. First, MD 1 to make a destination directory. Error. Crap!

We thought it over for a while, then he thought of something: what’s that partition’s placement on the drive? So we fired up Partition Magic and looked–it ran into cylinder 1152. Bingo. The 1024-sector limit isn’t a problem with IDE drives these days, but depending on your SCSI BIOS, it can be a problem with SCSI drives. And any self-respecting server uses SCSI drives.

So I deleted the FAT partition, moved the NTFS partition to the end, then created a new FAT partition in the middle of the drive. Bingo. No more complaints from Ghost.

I know it’s tempting to put your FAT disaster-recovery partition at the end of the drive, where performance is slowest, since you’ll rarely touch the thing. Unfortunately, if you cross cylinder 1024, you’ll get burned. So remember this rhyme while setting up servers: Keep FAT before cylinder 1024. You’ll be glad you did.

What, nothing on yesterday? Surely you jest. Of course there’s mail. But after fighting an NT server and Macs yesterday, did I want to deal with mail? Of course not. Look for it tomorrow.

Can’t resist a preview? Fine. One reader quoted The Great Benjamin Franklin: “Those who are willing to sacrifice a little liberty to gain a little safety deserve neither liberty nor safety.” Amen, Ben. Were that there were more like you…

Linux. Well, if you’re chasing single-disk Linux projects, you can do much, much worse than to play with Freesco ( http://www.freesco.org/ ), which crams more onto a single floppy than anything else I’ve seen. So dig out your 386, slap in a pair of dusty ISA NICs, disconnect the hard drive to save power, throw in a couple of SIMMs to get it up to 6 MB RAM, boot off the disk, and tell it what you want. You can have an Ethernet bridge, a modem-to-Ethernet router, an Ethernet-to-Ethernet router, Cable/DSL-to-Ethernet router, or a print server. It even includes a DHCP server and caching DNS, if you like that sort of thing. (If you don’t like a caching DNS, it’s obviously because you’ve never seen one in action.)

Even if you have no need for its routing capabilities, it’s nice to be able to take an obsolescent PC, throw in a cheap NIC if it lacks one, and configure Freesco just as a caching DNS. Stick the PC in a corner anywhere you have a free drop and set it up to boot without a keyboard, configure your desktop PCs to use it, and you’ll reduce network traffic. With one caching DNS per subnet, you’ll get speed gains worth far more than it would cost to haul that old PC away. (And trust me, you want one on your local network–it’s worth the effort to get your 386 or 486 working again, even if you have to go buy a $12 ISA NE2000 clone NIC to drop in it.)

If you want a fast boot, you can install Freesco to a smallish hard drive, but if you do that, set it to spin down the drive because as long as you’ve got 6-8 MB of RAM, it’ll never touch the drive after it’s done booting.

Setup is insanely easy. Boot off the floppy, type setup, login as root, and follow the menu options. Even if you know no Unix whatsoever, you’ll be able to configure this. Check it out–you’ll be glad you did.

Unlike a lot of similar projects, Freesco is based on the 2.0.38 kernel, which is smaller than more recent kernels but networking’s not quite as fast. Still, in most cases the inclusion of the caching nameserver more than makes up the performance difference–not to mention the five-minute configuration time. And its network performance is still faster than NT.

Early experiments in building gateways

Gateways. I worked with Gatermann last night after I got back from church (three Macs and an NT server died yesterday–I needed it last night) on trying to get his Linux gateway running under FloppyFW . We were finally able to get it working with dual NICs, able to ping both inside and outside his LAN (I finally found an old Pentium-75 board that didn’t have compatibility issues). But we weren’t able to actually get his Web browsers working.

I suspect something about the IP masquerading configuration just isn’t right, but it’s been so long since I wrote one of those by hand (and it was really just copycating an existing configuration), so since I have working Linux boxes at home I finally just gave up and downloaded the shell script version of Coyote Linux and ran it. It’s not foolproof because you have to know what kernel module your Ethernet cards use, but assuming you know that (make it easy on yourself–get a pair of Netgear 10/100 cards, which use the Tulip module), but it’s definitely a two-edged sword. It makes it a little harder to configure, but it means it’ll work with a much wider variety of cards. If Linux supports it, so does Coyote, whereas a lot of the other single-floppy distributions just support the three most common types (NE2000, 3Com 3c509, and DEC Tulip). So an old DEC Etherworks3 card will work just fine with Coyote, while getting it to work with some of the others can be a challenge.

I’m disappointed that Coyote doesn’t include the option to act as a caching DNS, because you can fit caching DNS on the disk, and it’s based on the Linux Router Project, for which a BIND tarball is certainly available. I’ll have to figure out how to add BIND in and document that, because there’s nothing cooler than a caching nameserver.

I was messing around briefly with PicoBSD , a microdistribution of FreeBSD, but the configuration is just different enough that I wasn’t comfortable with it. FreeBSD would be ideal for applications like this though, because its networking is slightly faster than Linux. But either Linux or FreeBSD will outperform Windows ICS by a wide margin, and the system requirements are far lower–a 386, 8 megs of RAM, floppy drive, and two NICs. Can’t beat that.

Rarely used trivia department: Using Linux to create disk images. To create an image of a floppy under Unix, use this command: dd if=/dev/fd0 of=filename.img bs=10k . There’s no reason why this command couldn’t also be used to clone other disks, making a single-floppy Linux or FreeBSD distribution an alternative to DriveImage or Ghost, so long as the disks you’re cloning have the same geometry.

Test this before you rely on it, but the command to clone disk-to-disk should be dd if=/dev/hda of=/dev/hdb while the command to clone disk-to-image should be dd if=/dev/hda of=filename.img and image-to-disk should be dd if=filename.img of=/dev/hda .

And yesterday. While the computers (and I’ll use that phrase loosely when referring to those Macs) were going down all around me at work, the mail was pouring in. Needless to say, some people agree and others don’t. We’ll revisit it tomorrow. I’ve gotta go to work.

02/12/2001

Mailbag:

Keyboards; Optimizing Windows

Sweet! In Optimizing Windows, I lamented that no one had made a hardware RAM disk. Leave it to the Aussies, someone did it. I found a reference to Platypus Technologies ( www.platypus.net ) on Storage Review’s forum. It’s pricey–a half-gig disk will run $1,500, while an 8-gig job runs into five figures–but you’ll never find anything faster. It’s a plug-in PCI card that uses SDRAM DIMMs. Whether it’ll take off-the-shelf DIMMs or just Platypus-manufactured DIMMs, I’m not sure.

I’d love to see this catch on and drive the price down. The size seems a bit small, but keep in mind that for, say, a Web server, speed is much more important than size, and a half gig will hold an awful lot of HTML. And there was a time when operating systems and a reasonable number of apps easily fit in half a gig, if you’re thinking workstations.

I’d say I think I’m in love, but that’s not true. This device is 100% Grade-A lust. Now the question becomes how do I convince Computer Shopper UK that they’ve really got to do an in-depth look at this killer device, and that I’m absolutely, positively the guy they have to have do it…?

One-button Linux shutdowns. Here’s a great idea.  A lot of people run headless Linux boxes for firewalls or routers or Web servers or other things. But that once or twice a year you need to shut the machine down–due to power failures, for instance–becomes a real pain without a keyboard or mouse. You have to telnet or ssh in, issue the command… Or keep a monitor and keyboard handy, which just wastes space most of the time.

Here’s a solution: a case-mounted pushbutton with a pair of LEDs. Push the button, the PC shuts down. It plugs into a serial port and needs a small daemon to monitor the serial line.

And it occurs to me that nothing stops you from using the PC’s reset switch and its power and HDD LEDs–or turbo LED if it has one–and with that slight modification, it would require no modification to the case. Just put connectors on the PCB for the switch and LEDs and mount it somewhere inside.

Also, I looked at the source code for the daemon, and it would be extremely easy to mofify this project to do any other task–just go to the runshutdown() function and change the system(“/sbin/shutdown -t2 -h now”); command to execute any other Unix command. The C source code is so simple, even a journalist like me can modify it.

If I were building another Linux-based Cable/DSL gateway, I’d probably pull that line and replace it with these two:

   system(“kill -9 $(pidof -x pumpd)”);
   system(“/etc/rc.d/init.d/network restart”);
  
That way, with the push of a button, the gateway could go grab a new IP address.

And if you have multiple serial ports, nothing stops you from building one of these switches for each port and modifying this daemon to run additional commands. A throwback to the Imsai and Altair days, to be sure.

Too bad you don’t see much of this kind of stuff anymore.

Samba. Speaking of Linux, that was one of the weekend’s projects. My church ran out of IP addresses, so I took an old P166, threw a pair of NICs in it, and set up IP masquerading on it (Mandrake 7.2 makes this so nice–just run DrakConf, run Internet Connection Sharing, answer its questions, and you’re in business), then I started assigning 192-net numbers to the PCs that didn’t have addresses. It worked great. Since I had a Linux box with an 8-gig drive just sitting there, I decided I also wanted to set it up as a server. So I tried to configure Samba as an NT domain controller and fell flat on my face. It showed up in Network Neighborhood, but I couldn’t authenticate against it no matter what I tried.

I decided yesterday I was being too ambitious. I reformatted my P120, installed Mandrake 7.2 on it, and configured Samba to just look like a plain old Win95 box. It worked great. They’re not used to having a big network at church, and they’re all on Win98 boxes anyway, so I think I’ll just configure Samba to do user-level authentication, create a few shares, and let it go at that. The primary convenience of the server is the AV booth; one of the staff puts together PowerPoint presentations for the service, which are then loaded on a pair of PCs up in the AV booth for projection on Sundays and Wednesdays. The server will allow them to edit in their office, then go to the AV booth without shuttling around Zip disks. Chances are the DCE, who also serves as the resident PC expert, will also use a share there to store device drivers and other downloaded stuff he finds himself using often. Other than that, the server probably won’t get a lot of work, so trying to create an NT domain with hardcore security probably isn’t a good investment of my time.

So I’ll probably just create an AV share, create a public share that’s read/write accessible to anyone, then I’ll share out home directories and show him how to create user accounts. That way if anyone else wants to use a network drive, it’s there, but not mandatory.

Mailbag:

Keyboards; Optimizing Windows

02/05/2001

Mailbag:

Windows 98 in a Ram Disk

Defeating Web ads. I’ve read enough talk of ads on the ‘net recently that I think it’s time I share a little secret. This is from an upcoming Shopper UK article, but seeing as it probably won’t hit the streets until May, why not talk about it now?

A lot of sites are putting policies in place to ban ad-blocking software. I think that’s a bit ridiculous. I didn’t used to have a problem with ads online. They were small and unobtrusive. Then people started using animation to get more out of the tiny space. I thought that was clever. Then the animations started speeding up immensely, and that was when I started getting annoyed. I don’t like movement on Web pages. Movement is inherently distracting. We naturally pay attention to movement, because way back when, movement meant lunch. Or it meant something thought we were lunch. So we instinctively give the moving priority over the static.

I don’t have a philosophical problem with advertising, but when you force me to look at blinky stuff while I’m trying to read text, it starts to bug me. Blinky stuff that’s also sexually suggestive really gets on my nerves. No wonder guys think about sex 72 times a day–it’s flashed in front of our faces constantly! So I normally block ads, using one of the many great ad-blocking programs out there.

But IE has a feature that makes ad-blocking less necessary. If it’s just the blinky stuff that bugs you, turn off GIF animation. Go to Tools, Internet Options, Advanced, then scroll down to Multimedia and clear the checkbox labeled Play Animations. That’ll tone down the GIF-based ads. Java and Javascript-based ads will still get through, but you can disable those there as well. Unfortunately there’s not much you can do about Flash, though if you right-click on some Flash ads, there’s an option that comes up called Play. Clear that checkmark, and the ad stops. It doesn’t always work but it does sometimes.

O’Reilly online. Frank McPherson noted the existance of O’Reilly books online.  Yes, they launched a subscription e-book service this summer. Authors are supposed to get unlimited access to the library (they never got around to sending me account information… big surprise), and we do get a very small royalty. Basically if someone subscribes to one of our e-books for a full year, we’ll get about the same amount as we would have if the subscriber had bought a paper copy. I know Optimizing Windows was available for a while as an e-book; one quarter its e-book sales actually outsold the paper copy by a pretty wide margin.

I really don’t expect this initiative to succeed long-term, but maybe I’ll be surprised.

Frank noted a conspicuous absence of Windows titles in the e-books selection. O’Reilly’s trying to de-emphasize their Windows books, and they may pull their Windows lines altogether due to slow sales. I talked to a marketing wizard I know about this. Books aren’t his thing. Food packaging, banks, and churches are–odd combination, I know, but this guy is one of those people who never meets expectations, but rather, exceeds them beyond anyone’s wildest dreams, so I listen to him. I took him a copy of Optimizing Windows one day and asked him if he had any idea why it didn’t sell. He gave it a really funny look, so I explained to him what the book’s about.

He said it sounded like an outstanding product. He said he had an aging PC at home and his kids were bugging him for a new one, but he’d rather wait another year. I told him that’s probably feasible–the machine’s only a couple of years old. He said there must be a million people in his boat, so why can’t you tell that this product is a solution to that problem by looking at the cover? I explained O’Reilly’s history as a publisher of Unix books and how they came to put animals on the cover. “So you’re telling me they’re selling this like a Unix book. But this isn’t a Unix book. Is your target audience Unix guys, or is it people like me? I wouldn’t buy this book because I have no way of knowing what’s in it. And Unix guys won’t either, because it’s not a Unix book. It just looks like one.”

I thought about that observation for a long, long time. Animals on the cover of Unix books works, partly because there’s such a dearth of good Unix books. O’Reilly could have come along when it was getting started and printed plain brown covers with the word “BIND” or “Sendmail” or “Perl” in block letters on the cover and spine and it would have sold. All you have to do to succeed in the Unix market is exist with a halfway readable and halfway correct product, and you’ll own it (that’s harder to do than it sounds). Plus, animals on the covers of Unix books appeal to the warped sense of humor of the Unix sysadmin.

But Windows is a different audience for the most part, and should be a different product line with a different approach. It’s consumer-driven. It’s pop. Sure, pop’s less sophisticated than AOR, but pop potentially makes you more money. “Your cover should have, I don’t know, two window washers cleaning a computer monitor.” Or the great new logo that Shopper UK came up with for my “Optimise Your PC” series for next month–what looks like a bottle of glass cleaner with the words “Maximum optimisation” sprawled on the label. Brilliant. It gives you the same “what the heck is this?” reaction that the animals on the cover of a Unix book give, but require less thought to figure out what it means. You see the glass cleaner, then suddenly it hits you: “Oh, this is how I clean up my PC!”

I told him about those great designs that Shopper UK comes up with. “Can’t you get one of those guys to design you a new cover for your book?” he asked me.

I told him that wouldn’t be the O’Reilly Way.

Mailbag:

Windows 98 in a Ram Disk

01/31/2001

Mailbag:

Music, HD, Linux modem

Sick. Something you’ll (hopefully) never see: DefragCam. I can blame one of my twisted coworkers for that idea.

A sad referrer showed up in my logs yesterday. It was a search request, from Hotbot, on the string, “I’ve never had a girlfriend.” I’m pretty sure that phrase appears as part of a sentence in Are we talking about more than just sunsets? but as part of a phrase. I seem to remember writing, “I’ve never had a girlfriend outside the winter months,” or something like that. I have no way of knowing where that request came from. Probably a bored, lonely teenager. More people have never had a girlfriend than anyone’s willing to admit. Including a majority of teenagers.

It’s only a problem if you let it be one. Unfortunately a lot of people do, and that makes them vulnerable to all sorts of scum, like advertisers and fringe religious fanatics and seedy individuals, all promising things they can’t or won’t deliver.

Not that I’m much of an advice-giver (unless you’ve got a slow computer, then I’m pretty good), but the best suggestion I’ve got is to find something you’re good at. Lose yourself in that. If you’re not good at anything, find something you enjoy and lose yourself in it. You’ll get good at it. That alleviates the boredom, and it builds confidence, which makes you good at other things. Does it make girls notice you? Only indirectly. But it’s better to be a winner who only occasionally has girlfriends (and remember, ideally you should only be in a successful relationship once anyway) than to be a loser who always has a girl.

I hate to sound callous, but given the choice between having a book published to my name, or having any of my ex-girlfriends back, I’d choose the book. I wouldn’t even hesitate. When I find a girl who’s cooler than writing magazine articles, and she thinks I’m pretty cool too, then I’ll know it’s time to settle down.

I guess that’s the other good thing about losing yourself in other interests. If a girl starts hanging around who’s more interesting than those things, great. If she’s not, that’s your subconscious mind’s way of telling you to keep looking.

A new way to benchmark. Finally, there’s a multitasking-oriented benchmark, available from www.csaresearch.com . Keep an eye on these guys. I didn’t use any benchmarks in Optimizing Windows, because they don’t reflect real-world performance and they generally test your hardware, not the operating system as it stands on your machine. This benchmark uses new methods that try to take multitasking into account, so it will do a better job of reflecting how a system feels. It was like I was telling my sister yesterday. If I put two computers in front of her, she doesn’t care which one puts up better numbers. She knows which one’s faster. But with a lot of the benchmarks today, the faster machine doesn’t put up the best numbers. Or a PC might put up numbers that appear to kill another, but when you sit down to use the two, you can’t tell a difference.

Time for a review. I’ve been so critical of reviews lately I decided to try my hand at writing one myself, to see if I’ve still got what it takes.

Linksys Etherfast Cable/DSL Router

Broadband Internet connections are increasingly common, and it’s hard for a single PC to use up all the available bandwidth. Plus, more and more homes have multiple PCs, and it’s a shame to spend $50 a month for Internet access and limit its use to a single PC. A number of third-party programs for sharing an Internet connection exist, and recenolution. These devices are about the size of a hub, plug into your cable/DSL modem, have a built-in firewall, and include one or more ports. You can plug your PCs into these ports and/or plug in a hub or switch so you can support a larger number of PCs. Another advantage of a standalone router is additional security against hackers. A Unix box can be very secure, but if a hacker does get into it, he can do a lot of unpleasant things, to you or to someone else (but make it look like you’re the one doing it). A hacker can’t do much to a router besides mess up its configuration. You can reset it and reconfigure it in five minutes. So the security of one of these devices is very tough to beat.

One of the most popular standalone cable/DSL routers is the Linksys BEFSR41, also known simply as the EtherFast Cable/DSL Router. It’s widely available for around $150. The best price I could find on it was $131. I tested the 4-port version. A 1-port and 8-port version is also available. The 1-port version is less expensive but requires a separate hub or switch. If you already have one of those, you can save some money, but the 4- or 8-port version is ideal since it includes a built-in switch. I have an 8-port dual 10/100 hub; the Linksys router therefore gives me three additional higher-speed network ports, since switches are faster than hubs. Most people will probably want the 4- or 8-port version, because it’s easy to get spoiled really quickly by a 100-megabit switched Ethernet LAN.

Configuration is wickedly easy. Plug it into your cable/DSL modem, plug a computer into it, turn all of it on, configure the PC for DHCP if it isn’t already, then open a Web browser and go to http://192.168.1.1 . Feed it the factory password (which is undoubtedly documented all over the Web, but I won’t document it here as well), then make the changes you need. Most people won’t have to do any configuration other than changing the configuration password. If you want to put it on a different subnet, do it, then run winipcfg, push the release all button, then the renew all button, reconnect to the router, and make other changes if need be.

Administration is easy too. Just connect to the router via its Web interface, and click on the Status tab. You instantly get your network status. If your ISP drops your connection, hit the Release, then the Renew button. From the DHCP tab, you can tell the router how many clients to support. You can go to the advanced tab to configure port forwarding or a DMZ if you want such a thing–most of us won’t.

The only thing I had difficulty doing was upgrading the firmware from the browser interface. The router must not have liked the version of IE I was using. However, nothing stops you from downloading and running the firmware upgrade directly–as long as you’ve got a Windows box handy. Mac and Linux users may have problems there. Firmware updates seem to come every couple of months.

The firewall built into the router is unable to pass Steve Gibson’s LeakTest, but all hardware routers have this weakness–it’s virtually impossible for a hardware router to tell the difference between innocent traffic and malicious traffic caused by a Trojan Horse. However, the router passes ShieldsUp! ( www.grc.com ) with flying colors.

The speed of the connection is certainly acceptable; with me running a caching nameserver on the Linux box it replaced that machine should be able to outperform any standalone router any time. Of course this is purely subjective; the speed of the Internet changes constantly. Nothing stops me from running a caching nameserver behind this router, which will help performance significantly. Local network performance on the built-in 10/100 switch is outstanding.

Appearance-wise, it’s a solid product, made of two-tone blue and black plastic but it’s not cheap plastic. Styling is modern but tasteful–no wild colors or translucent parts. It has indicator lights up front, a reset switch up front, and ports in the back. It also has built-in legs, so presumably it’s stackable with other Linksys hardware (I don’t have any Linksys switches or hubs, so I can’t check that).

The only flaw I can really find with this router is that the MAC address can’t be changed. Some ISPs authenticate against the card’s MAC address, which allows them to control how you connect to them. It also prevents you from using this type of device. Some competing routers allow you to change their MAC address, so they can spoof that card and get around the limitation.

I read of problems using it with services that use PPPoE (PPP over Ethernet). My service doesn’t, so I can’t test this. Buyer beware.

I was disappointed that the 45-page manual didn’t have an index, but it had a lot of nice information in it, such as pinouts for Ethernet cables. It’s written in clear, plain and straightforward English. Manuals of this length and quality are rare these days.

I think it’s a decent product, but for my purposes I want something else. I don’t want something so easy to reset to factory defaults and configure. Why? It’s getting corporate use, and I want it to be complex enough to scare people away. I want the user interface of an HP LaserJet printer control panel. It’s a pain to configure, so therefore end-users don’t mess with it. I’m not sure if I’ll find such a beast, but you bet I’ll look for it.

Mailbag:

Music, HD, Linux modem

01/13/2001

Have I been brainwashed by Redmond? In the wake of MacWorld, Al Hawkins wrote a piece that suggested maybe so. My post from Thursday doesn’t suggest otherwise.

So let’s talk about what’s wrong with the PC industry. There are problems there as well–problems across the entire computer industry, really. The biggest difference, I think, is that the big guns in the PC industry are better prepared to weather the storm.

IBM’s PC business has been so bad for so long, they’ve considered pulling out of the very market they created. They seem to be turning it around, but it may only be temporary, and their profits are coming at the expense of market share. They retreated out of retail and eliminated product lines. Sound familiar? Temporary turnarounds aren’t unheard of in this industry. IBM as a whole is healthy now, but the day when they were known as Big Black & Blue isn’t so distant as to be forgotten. But IBM’s making their money these days by selling big Unix servers, disk drives, PowerPC CPUs and other semiconductors, software, and most of all, second-to-none service. The PC line can be a loss leader, if need be, to introduce companies to the other things IBM has to offer.

Compaq is a mess. That’s why they got a new CEO last year. But Compaq is a pretty diverse company. They have DEC’s old mini/mainframe biz, they have DEC’s OpenVMS and Digital Unix (now Tru64 Unix) OSs, they have DEC’s Alpha CPU architecture, and DEC’s widely acclaimed service division, which was the main thing that kept DEC afloat and independent in its day. Compaq also has its thriving server business, a successful line of consumer PCs and a couple of lines of business PCs. The combined Compaq/DEC was supposed to challenge IBM as the 800-pound gorilla of the industry, and that hasn’t happened. Compaq’s a big disappointment and they’re having growing pains. They should survive.

HP’s not exactly in the best of shape either. They’ve made a lot of lunkhead decisions that have cost them a lot of customers, most notably by not releasing drivers for their widely popular printers and scanners for newer Microsoft operating systems. While developing these drivers costs money, this will cost them customers in the long run so it was probably a very short-sighted decision. But HP’s inkjet printers are a license to print money, with the cartridges being almost pure profit, and HP and Compaq are the two remaining big dogs in retail. Plus they have profitable mainframe, Unix, and software divisions as well. They’ve got a number of ways to return to profitability.

The holidays weren’t kind to Gateway. They actually had to resort to selling some of their surplus inventory in retail stores, rather than using the stores as a front for their build-to-order business as intended.

Dell’s not happy with last year’s results either, so they’re looking to diversify and give themselves less dependence on desktop PCs. They’re growing up, in other words. They’re killing IBM and Compaq in PCs, and those companies are still surviving. Dell wants a piece of that action.

Intel botched a number of launches this year. They had to do everything wrong and AMD had to do everything right in order for AMD to continue to exist. That happened. AMD’s past problems may have been growing pains, and maybe they’re beyond it now. We shall see. Intel can afford to have a few bad quarters.

As for their chips, we pay a certain price for backward compatibility. But, despite the arguments of the Apple crowd, x86 chips as a rule don’t melt routinely or require refrigerants unless you overclock. All of my x86 chips have simple fans on them, along with smaller heatsinks than a G4 uses. I’ve seen many a Pentium III run on just a heatsink. The necessity of a CPU fan depends mostly on case design. Put a G4 in a cheap case with poor airflow and it’ll cook itself too.

Yes, you could fry an egg on the original Pentium-60 and -66. Later revisions fixed this. Yet I still saw these original Pentiums run on heat sinks smaller than the sinks used on a G4. The Athlon is a real cooker, so that argument holds, but as AMD migrates to ever-smaller trace widths, that should improve. Plus AMD CPUs are cheap as dirt and perform well. The Athlon gives G4-like performance and high clock speeds at a G3 price, so its customers are willing to live with some heat.

And Microsoft… There are few Microsoft zealots left today. They’re rarer and rarer. Microsoft hasn’t given us anything, yet we continue to buy MS Office, just like Mac users. We curse Microsoft and yet send millions and billions their way, just like Mac users. We just happen to buy the OS from them too. And while we curse Microsoft bugs and many of us make a living deploying Windows-based PCs (but the dozen or so Macs I’m responsible for keep me busier than the couple of hundred PCs I’m responsible for), for the most part Windows works. Mac owners talk about daily blue screens of death, but I don’t know when I last got one. I probably get one or two a year. I currently have eight applications running on my Windows 98 box. OS/2 was a far better system than Windows, but alas, it lost the war.

I can’t stand Microsoft’s imperialism and I don’t like them fighting their wars on my hardware. They can pay for their own battlefield. So I run Linux on some of my boxes. But sometimes I appreciate Windows’ backward compatibility.

I always look for the best combination of price, performance, and reliability. That means I change platforms a lot. I flirted with the Mac in 1991, but it was a loveless relationship. The PCs of that era were wannabes. I chose Amiga without having used one, because I knew it couldn’t possibly be as bad as Windows 3.0 or System 7.0. I was right. By 1994, Commodore had self-destructed and the Amiga was perpetually on the auction block, so I jumped ship and bought a Compaq. Windows 3.1 was the sorriest excuse I’d seen for a multitasking environment since System 7.0 and Windows 3.0. I could crash it routinely. So I switched to OS/2 and was happy again. I reluctantly switched to Windows 95 in 1996. I took a job that involved a lot of Macs in 1998, but Mac OS 8.5 failed to impress me. It was prettier than System 7 and if you were lucky you could use it all day without a horrible crash, but with poor memory management and multitasking, switching to it on an everyday basis would have been like setting myself back 12 years, so the second date wasn’t any better than the first.

Linux is very interesting, and I’ve got some full-time Linux PCs. If I weren’t committed to writing so much about Windows 9x (that’s where the money is), Linux would probably be my everyday OS. Microsoft is right to consider Linux a threat, because it’s cheaper and more reliable. Kind of like Windows is cheaper and more reliable than Mac OS. Might history repeat itself? I think it could.

The computer industry as a whole isn’t as healthy this year as it was last year. The companies with the most resources will survive, and some of the companies with fewer will fold or be acquired. The reason the industry press is harder on Apple than on the others is that Apple is less diversified than the others, and thus far more vulnerable.