Jim Moy

3/10/2006

Origin of TWAIN

Filed under: — jbm @ 6:06 pm

Over the years, there has been discussion on the Internet about origin of the name of the software protocol known as TWAIN, a standard allowing diverse applications to connect with sources of image data like scanners. Nobody seems to know exactly why it was given its name. Even the standards body that created it (and ought to know) references the Free Online Dictionary entry with no further comment.

The definition there is largely accurate, but incomplete. Because no official acronym was chosen, confusion occurs as people make up their own meanings and then assert or argue it based on hearsay. Amusingly, I saw the issue discussed in the alt.battlestar-gallactica Usenet groups as recently as Oct 2005.

As I was present in the meeting where the name TWAIN was selected for the standard, I thought I might add some background to the issue for the curious. Not that I think it’s a particularly interesting discussion. But the fact that the name is in capital letters combined with nobody knowing for sure why there is no official acronym seems to produce a sort of cognitive dissonance where the void requires filling by whatever means available.

HP Greeley R&D

So. Back in 1992 the meeting took place in a Dilbert-style cubicle at Hewlett-Packard’s Greeley, Colorado office, the source of the original ScanJet line of scanners. HP was involved in the standard’s working group committee, and the cubicle was occupied by Kevin Biers, an R&D engineer who was serving as HP’s representative to the committee, and who had been serving as its chairman. Also present was Jim Graham and myself, engineers in the same R&D lab, and working on various projects related to scanners, back in the day when they were designed and manufactured in one building with no overseas assistance.

It was more of a gripe session than an official meeting. Jim and Kevin were lamenting news from corporate legal that the most recent in a string of rejected standards names, “Direct Connect,” was also unavailable due to trademark conflicts. This was back in the day when you couldn’t just Google a name to see whether it was being used commercially. I was present only because my cubicle was directly across the divider from Kevin’s and I was investigating an expletive followed by a slam of a telephone handset into its cradle.

There was a deadline for a name because the initial PR for the standard was being prepared, to be introduced in Byte magazine, at the time a popular rag for the personal computer crowd. Teresa Simske, a colleague at HP, was doing the preparation and had been asking Kevin what the standard should be called. With a hint of exasperation, Kevin commented that he was going to have to call her back and say that she would have call it “the spec without a name,” referring to the “specification” – the document which described the exact functioning of the standard, down to the API level.

Refinement

A split-second later, either Kevin or Jim (I can’t remember precisely which, or in what order because of the commotion it caused) lit up and said “The spec without an interesting name!” and “Hey, Twain, then it’s actually a word!” Hilarity ensued, with references to Mark Twain and the Kipling poem, and with the winking acknowledgement that it would be fun to take an absurd chain of events like this and get to put it into what would otherwise be a dry, technical document. The 1.0 version of the standard was almost completed, and there was some punchiness about this because of the irony of doing all that work, and having the most pressing issue being the bestowing of a name.

I didn’t participate in the phone calls and whatever other activity it took to make the name official. Presumably the other members of the working group were also weary of the name search and so did not take much convincing. Like many people who successfully chair standards committees, Kevin had good people skills and so I guess that had no difficulty convincing them. Another detail is that Kevin recounted a phone conversation with Teresa about the unwieldiness of the name, and they came to agreement that the word “spec” was not important, and so “Technology” would replace “The spec” to produce Technology Without An Interesting Name for the PR release.

Toolkit

There have also been references to “Toolkit” instead of “Technology” Without an Interesting Name as well. One example is this post from Bob Gann, who was also an R&D engineer on the hardware side of the original ScanJet projects:

The word “toolkit” refers to the various software components that accompanied the specification, with reference source implementations, C programming language headers, example programs, etc. I remember the term being used within the lab in the months after the naming incident – note the date of the post – and so one might interpret it as an equally valid expansion of the acronym.

And that’s the story, for what it’s worth. So the acronym does “haunt” the standard as FOLDOC says, but only because the working group doesn’t state there existed an actual acronym, or is hesitant to adopt it (grin).

And Who are You?

The reader might ask what qualification I have to state this information authoritatively, to which I can only answer, “I was there,” which has its limits. I went on to author the original Macintosh TWAIN source for the HP ScanJet series that served as an early implementation reference, as well as performed application side implementation for the Macintosh version of Adobe Photoshop. Mike Niquette, another HP engineer performed similarly on the Windows side. Later, I authored the ScannerBe standard for the now defunct BeOS. Jim Graham, Kevin Biers, and Teresa Simske have gone on to other things, both in and out of HP. Having left HP in 1993, I can’t comment on whether the FOLDOC description about an acronym contest actually occurred, but it hadn’t to my knowledge before then. Some other engineers I knew at HP are still there, I wonder what they might say about it?

Cross-posted to the Wikipedia.

3/6/2006

IndieVolume

Filed under: — jbm @ 11:08 am

Oh, nice, per-application volume control in a little app called IndieVolume. I can wait for the feature in Vista, but for now on XP I can crank up the volume on my tunes and not get blasted out of my seat when an IM or email comes in. Besides, waiting for it in Vista is kind of like waiting for tabbed-browsing in IE7, when it finally arrives it’s way anti-climactic.

1/31/2006

Choices, choices…

Filed under: — jbm @ 11:55 pm

Time to learn something new. I’ve been through the tutorials on both Ruby on Rails and Seaside. I’m not sure to which I’m going to devote my limited spare time outside of work. Not enough bandwidth for both, at least not at the same time. Rails is all the rage, and Ruby is great, but it’s still the familiar MVC and DB kind of thing. Seaside is a complete brain-inside-out experience, so I’m leaning that way…

8/29/2005

Style wars

Filed under: — jbm @ 7:15 pm

ROTFL

http://www.artima.com/weblogs/viewpost.jsp?thread=74230

“…coding style is an essentially solved problem, and we ought to stop worrying about it. And to stop worrying about it will require worrying about it a lot first, because the only way to get from where we are to a place where we stop worrying about style is to enforce it as part of the language.”

“Perl is a vast swamp of lexical and syntactic swill and nobody knows how to format even their own code well, but it’s the only major language I can think of … that doesn’t have at least one style that’s good enough.”

11/22/2004

Adam Bosworth

Filed under: — jbm @ 2:55 pm

My hero, at least, for the geek in me.

8/20/2004

>95% CPU!

Filed under: — jbm @ 3:24 pm

Hey, Acrobat 5 on Windows XP consumes greater than 95% CPU (according to Task Manager) when you use the hand tool, even if you’re not moving the mouse, just sitting there with the mouse button down! I see some postings about CPU overuse on the Adobe forums for specific hardware, but not in this case. Probably just another poorly written Windows message loop.

7/26/2004

New WISP

Filed under: — site admin @ 12:31 pm

I’m on Digis now for my Internet access, they’re one of the local wireless folk. I’m hoping to keep my old connection as a backup and do some experimenting with multi-connection routing on my firewall.

7/19/2004

Move to WordPress

Filed under: — site admin @ 10:29 pm

Switched to WordPress today. Too much blog spam on my old MovableType system, and I couldn’t get the “type the number in this image” feature working because of a weird dependency with the graphical generation package in Perl.

It’s weird, I’m caught in a dependency loop I can’t easily resolve via CPAN, and it’s easier to get this whole new blog package downloaded, installed, working, configured, data migrated, and learn how to use it, rather than get my system re-configured for a newer version of Perl because of fear of what I might break. I think just to be positive, I’ll attribute this as a testament to WordPress’ ease of use rather than complain about the usual Linux/Perl config headaches.

But anyway, I can moderate/approve comments now, and server load is not a problem so coming off a PHP/MySQL generated page is fine, and I really don’t miss rebuilding pages on my creaky old web server. So WordPress fits my needs here. I’ve been a happy, donating MovableType user, and it’s served me well, but I’ve moved on.

It looks like the WordPress pointers on how to generate 301 pages from MovableType is working, so I’ll have to poke around to see if anything got left behind.

6/19/2004

Happy Camper

Filed under: — jbm @ 8:35 am

I’m in an article about the company I work for and its products on Symbian devices.

There’s a funny reference in it where we “dug through the suitcase.” Probably nobody will understand what that means except maybe other software developers writing code for Symbian, it’s kind of a joke about the packaging of the development tools.

It’s basically a CD and a phone, but it also came with a shirt, lots of foam padding, and other stuff that apparently is supposed to appeal to us geeks, all packed into this hardshell plastic briefcase that we started calling the suitcase.

I also wonder if my using the phrase “happy camper” means anything outside of the US?

4/15/2004

Google OS

Filed under: — jbm @ 5:57 pm

Great articles on Google [1], [2]. What company will be in the best position to write SkyNet for the government, or the real Matrix :-)

4/9/2004

ScannerBe is Open Source

Filed under: — jbm @ 5:35 pm

It’s odd to have a bunch of source code I used to hold closely now out there for everyone to see. Koki and Simon at BeUnited made the process easy. A quick skim through the archive reminded me of the old joke about the definition of “Senior Programmer” meaning that you’ve forgotten more than you currently know. It was also a quick reminder of how nice it was to code under BeOS. Hope there aren’t any off-color jokes in the comments…

2/24/2004

Memory is Cheap

Filed under: — jbm @ 2:31 pm

I don’t know how many times I’ve heard or read that while developing software, memory footprint considerations are no longer important. RAM is cheap, default configurations have plenty, software development resources are expensive in comparison, so go ahead, throw that library in the link, instantiate those STL templates!

And here I am on a 2.4GHz P4 with a half-Gig of RAM, wondering why the heck I’m swapping so much, and feeling like my system is weighted down, groaning under the pressure. Sure, blame it on WinXP’s swapping tendencies, but at least some of the blame is on these huge footprint programs, my Blackberry IDE wants 110MB, iTunes wants 25. Gallery Remote wants 20, as does any Swing-based Java app, Acrobat Reader needs 32. Even my AOL/IM client wants to open an Ad now and then that launches a JVM.

So, like a breath of fresh air, I fire up Miranda, and note that it sits in the background very nicely waiting for IM’s, occupying only a couple Meg of VM space. Gripe, gripe… I suppose I betray my age and duration in this industry.

You know, young whippersnapper, when I was your age I only had 16KB of RAM to work with, and that was a luxury!

2/11/2004

Ruby & SQLite on Windows

Filed under: — jbm @ 12:17 pm

I’ve been learning Ruby and wanted to use SQLite for an application, but there didn’t seem to be a pre-built package for Windows that would drop in and work with the quick-install distribution of Ruby for Windows. Read on for steps I took to get it to work, or just unpack this archive into your ruby 1.8 install directory and skip to the examples/reference section of the README file in the sqlite-ruby package. (more…)

2/4/2004

Bering is up

Filed under: — jbm @ 9:03 pm

I’ve been fiddling with Bering on and off for months before I finally got a configuration to the point where it could substitute for my Dachstein firewall. The two primary advantages for me are its stock 2.4 kernel configuration, and Shorewall.

Since I don’t “do” router configuration every day, every time I got back in to open up a port for ssh or a service running on my web server or whatever, I felt like I had to re-learn ipchains before I was comfortable tweaking settings. Iptables plus shorewall puts a model on it that makes it easy to use.

With the 2.4 kernel the LRP modules for supporting my PCMCIA wireless cards as well as volume support becomes easier too, everything is just download and run and there’s not much re-configuring from the stock version that comes on the floppy. Satisfied user.

1/18/2004

Adopt ScannerBe

Filed under: — jbm @ 10:24 pm

Here are a couple of links to the new articles that the BeUnited announcement put in motion: ZetaNews, BeOS Journal.

There have been occasions where an interested engineer stepped forward to take on ownership of the ScannerBe project, but we never achieved full follow through. This is a body of code I spent a lot of time on purely from a joy of programming standpoint, so I’d be happy to see it gain a new home instead of sitting on a CD in my office.

12/18/2003

ScannerBe

Filed under: — jbm @ 4:57 pm

A blast from the past, Koki from Beunited got in touch with me about a piece of software I haven’t worked on for years, ScannerBe.

I’d attempted to get other developers to adopt it but failed on a couple of attempts. Maybe this time, seeing as there seems to be a devoted community for BeOS (at least, more devoted than I was…)

Being young (ahem) and idealistic, I thoroughly enjoyed my experience writing software for BeOS. Fun community, crazy-devoted company, a BeBox to play with to my heart’s content. Which is fortunate because financially it turned out to bupkis.

Mandrake 9.1 Update Notes

Filed under: — jbm @ 4:46 pm

I know Mandrake 9.2 is out, but 9.1 is the set of CDs I had lying around from CheapBytes waiting for my attention, so that’s what got installed.

After my relatively positive experience with this upgrade, I’m satisfied that if I want to go for for upgrade it’ll be straightforward. The rest of this article is some notes on things that prevented this from being a perfectly seamless upgrade.

And speaking of Mandrake, I gotta try this, portable OS and apps, data on my USB key, cool. (more…)

12/17/2003

Mandrake 9.1

Filed under: — jbm @ 10:28 pm

Up and running on Mandrake 9.1 now. Things seem to be operating smoothly except for a couple of custom server components where I’ll need to tweak the perl configuration. Nice to have MandrakeUpdate running again with updated packages.

11/17/2003

ProFont for Windows

Filed under: — jbm @ 5:11 pm

Yay! Somebody’s given me a blast from my Mac programming past and provided a version of ProFont for Windows.

9/5/2003

Java App User’s Tip

Filed under: — jbm @ 5:55 pm

Are you tired of that ugly console window that comes up when you open a Java desktop application on Windows?

One way to deal with it as a developer is to use one of these to create a transparent launcher for you. But here’s a relatively easy way that an app user can do it, and not need to know anything about Java app development. (more…)

6/18/2003

wxWindows - Mac

Filed under: — jbm @ 11:25 pm

I’ve been doing a little experimenting with wxWindows as a way to achieve cross-platform compatibility with an Open Source framework.

Here are a few notes on additional work necessary to bring wxWindows 2.4.0 over to the Mac and compile under CodeWarrior 8. The last set of project files distributed with wxMac was in the 5.3-7 period. (more…)

6/16/2003

Symbian Coder Tips

Filed under: — jbm @ 4:26 pm

I’ve recently completed a project writing code for two devices based on the Symbian OS platform, specifically the Sony Ericsson P800 and the Nokia 60 Series phones. I gained from the experience of many others in the form of forum posts and sample code, so I thought I’d share a few notes for prospective Symbian coders coming from other platforms like I did. (more…)

11/25/2002

The Bering Leap?

Filed under: — jbm @ 3:22 pm

I’ve downloaded Bering, which is an updated version of Dachstein that I’ve been using to run my firewall.

It should be interesting to see how long it takes to get an equivalent Bering configuration, with all the accumulated little changes that I’ve made over the past months.

9/1/2002

Interference

Filed under: — jbm @ 8:33 pm

Bill tells me our main wireless link to the co-op point of presence is getting some interference, possibly from a neighboring office where the antenna is located. I’ve noticed a bit of downtime but it hasn’t interfered with work.

For a couple of weeks I had a PocketPC unit until it went flaky and had to be returned for a replacement. The built-in Wi-fi was fun for its gee-whiz effect, but was only good for an hour or so at which point the battery was drained. Also the “browsing” experience with Pocket Internet Explorer leaves quite a bit to be desired. Or at least, I won’t be surfing from PocketPC while sitting on the couch when there’s a full system in the next rootm.

6/10/2002

Paths to Obsolescence

Filed under: — jbm @ 10:40 am

One of the problems with being in an unregulated band is that there are rules to the game, but they’re just not published. So you have to keep your ears a little closer to the ground. Forced upgrade because of streetlights?

5/14/2002

Wireless Politics

Filed under: — jbm @ 6:25 pm

Back to wireless. Here is an excellent article on the situation wireless Internet access is in, with respect to the FCC and existing carriers.

5/11/2002

Step by Step

Filed under: — jbm @ 12:21 am

I just noticed that my neighbor has put up the step-by-step instructions he created for assembling a wireless gateway, without having to compile kernels or otherwise learn too much Linux to get it working. His research was a large part of making our neighborhood WLAN work. Thanks, Pete.

Mac OS-X

Filed under: — jbm @ 12:03 am

I’ve been playing with an iMac that’s on loan to me for some volunteer web work. It has OS-X on it. A number of years ago, I was a pretty good Mac hacker. And in a lifetime even before that, I cut my teeth in the profession on Unix machines. Because those periods were so independent, and focused on such different products, code, and development strategies, it’s strange now, to see them together, and in a fashion that blends them so nicely. For the first time in a long time, I wouldn’t mind being a Mac programmer again.

The default installation of OS-X comes with Apache and Perl, already installed and running. Instead of turning on the internal toy web server like it used to, clicking the Start button for Web Sharing now fires up Apache. “Look, httpd.conf, wonderful!” The collective wisdom of Unix, and the happy Mac face up front, very nice.

4/12/2002

Linksys Mail

Filed under: — jbm @ 11:52 pm

I’ve been receiving some email about my Linksys articles. Some are general BEFVP41 questions, but more than I would’ve guessed are about my network configuration. The price is low enough, and the setup effort is low compared to the equivalent Linux system, so I guess it’s not surprising.

The setup described in that article has remained the same since I wrote about it, while other tweaks I’ve made have been on the firewall and other systems on the network. The VPN has been working flawlessly for two months. Even with temporary network outages, the tunnel has re-connected automatically, and for the most part I don’t even pay attention to it any more. Network configuration changes on the office end have forced a manual trip to the Linksys box’s admin page to disconnect and re-connect, which wasn’t surprising. And I’m still on the 1.39.64 firmware.

The only thing I need to tweak during my day-to-day activities is when I unplug from the wired net, and plug in an 802.11b card so I can roam around the house, my connection going through an access point. The static route on my Win2k laptop for VPN traffic gets dropped because my interface changes. I have a little script I wrote that checks what my new IP address is, and if I’m at home on either interface, it sets up the custom route. Otherwise, I’m somewhere “else” and the home Linksys box isn’t available. It’s still very convenient.

4/7/2002

MovableType 2.0 & mod_perl

Filed under: — jbm @ 12:53 am

I’ve got MovableType 2.0 running under mod_perl, with good performance enhancements. But I needed to make a couple of changes to my server that apparently aren’t needed in a more vanilla setup.

The machine running MT is on Mandrake 8.1 which installs an Advanced Extranet configuration of Apache that I’ve updated with the latest security fixes, of course. It splits the server into two logically separate servers, one that handles normal requests for performance, and another that handles the mod_perl requests. The expected configuration setup as documented by MT is fine, but I also had to tweak the portion of the httpd.conf file dealing with the URL rewrite of the requests that are redirected to the httpd-perl instance:

RewriteRule ^(.*/mt/.*.cgi)$ http://localhost:8200$1 [P]

I also needed to add a statement to get the MT libraries located by the Perl @INC list, though I haven’t heard back on whether this is specific to my configuration, or required for any MT/mod_perl setup. The documentation says that @INC is frozen when the server starts up, so it would see like this affects everyone because mt.cgi tries to modify that list. This goes in httpd-perl.conf:

PerlSetEnv PERL5LIB /var/mt/lib

No More Hangs on Comments

Filed under: — jbm @ 12:39 am

Just a bit of housekeeping: I had a configuration problem that prevented the comment feature on the web log from functioning properly. It wasn’t MovableType’s fault, I just tried to have it talk to a server it couldn’t contact. The symptom was that a person making a comment on an entry would successfully post the article, but their browser hung as if the operation failed. Then they’d try again and I’d end up with multiple, duplicate comments.

MT tries to send me email every time someone makes a comment to a weblog entry. In my case, I had the SMTP server address configured with a name that resolved to a public address. However, my server is on a DMZ and the firewall was preventing connections from the internal network. So although outgoing packets were being passed just fine (the email server works fine, relaying outgoing mail), the dropped incoming packets made it appear as if the mail operation was hung, and prevented the MT process from completing the mail delivery.

Simple fix: change the configuration to point to the internal network name of the server instead of the publicly resolved address.

3/25/2002

Self-Amalgamating?

Filed under: — jbm @ 7:42 pm

This stuff is great. I tell my wife how cool I think it is, and she says “What’s the big deal? It’s just tape…” Not just electrical tape. It’s self-amalgamating tape! Just the thing for us folks with antennas subject to wind, rain, and snow. Wrap it around those N connectors between my antenna and the LMR400 to my wireless network card, and feel safe that it’s a weather-tight seal.

I guess it’s also called Tommy Tape, or self-fusing tape. My neighbor turned me onto this stuff as he was investigating our 802.11b neighborhood WLAN. I haven’t found any really good pictures on the web of its use yet, but here’s one. And the first link has some instructions on how it’s used. Better yet, just Google it. Looks pretty ordinary, so I guess I see what she means. I just got my connectors wrapped up again after moving my antenna. All ready for the Spring rains.

3/24/2002

Moving Email Addresses

Filed under: — jbm @ 5:05 pm

Now that Yahoo has decided to charge for POP3 access to email, I’m becoming more serious about using my public server as an email server. Up until now I’ve only beeen using it as a forwarder for my domain, to get mail to my “real” address, which has typically been a Yahoo address or some other place easily abandoned for spam control. I could just switch to another free service, but that’s not the point. Having my own domain should really mean that I have more control over my email. So now I’m using Postfix as my SMTP server. Not that it’s particularly better than Sendmail or Qmail, but it’s what came with my Mandrake distribution! Not that I’ll push the envelope on any of these programs with my email needs. It sure is nice to have unlimited aliases though.

3/17/2002

Local Restrictions on Wireless

Filed under: — jbm @ 11:38 pm

Here are a couple of FCC links regarding RF safety, and the Federal rule that preempts local restriction on access to wireless signals, including Internet access. Basically, if your antenna is less than a meter in diameter and on a mast less than 12 feet above your roofline, the preemption applies. But there are plenty of exceptions (ham radio, common areas, etc.) answered by the Q/A in the article.

3/16/2002

Fixed Wireless Regulation?

Filed under: — jbm @ 10:53 pm

Of course, our 802.11b connections are too much of a good thing, you knew someone had to start. (From one of my favorite 802.11b resources.)

Better Antenna Performance

Filed under: — jbm @ 10:41 pm

The new antenna location is working great. It appears to solve the weird behavior I was seeing before, and even stand up to some accumulation of snow and ice with headroom to spare. Over the past few days we’ve had a snowstorm that caused a half-inch of snow and ice to accumulate on the antenna overnight. You can see the signal strength effect on the MRTG graph shown here.

The accumulation begins a little before midnight, and by the time I got started at work the next morning the signal strength had dropped a good ten points. The new location has greater fade margin, so I never noticed the difference. I would typically see the full “11Mbps” 802.11b speed if my signal strength was greater than 30. These are Linux Aironet driver numbers, which have been discussed, but I’m still not exactly sure what relation, if any, these are to dBm, although the 2nd technique described here gives numbers that are consistent with my experiences with an OmniSky CDPD modem, to compare apples and oranges.

3/11/2002

New Antenna Location

Filed under: — jbm @ 11:02 pm

I’ve moved my antenna. The new location has clearer line of sight to the access point on the barn, my first wireless hop to the Internet, and is farther away from the picture window and my house. The downside is that it’s closer to the ground and more likely to be blocked occasionally. But, it’s a good tradeoff visually so I’ll have to see how it fares this Spring and Summer when everyone’s out in the yard.

It took a longer length of LMR400 than I had before, 80 feet, very promptly delivered by the Davis RF folks. But I’m showing better signal strength compared to the old location, and it was behaving well even when we still had snow on the ground.

3/6/2002

Bash Login Shell in Dachstein

Filed under: — jbm @ 6:26 pm

The default shell in Dachstein is ash, a lightweight shell that handles most of the system scripting chores. I prefer bash as my login shell to get features like command line history, and whatever other behaviors I’ve become used to over the years.

A bash LRP package is available for Dachstein, and what this does via a link from /bin/sh is make bash the default shell for the entire system. There is an incompatibility between bash and some LRP packages in Dachstein, dnscache and tinydns are a couple of examples. One way to work around this problem is to install bash and fix up the incompatible scripts to use ash instead.

However, replacing a shell wholesale like that doesn’t make me feel confident that I’m getting the tested behavior, so I’ve created a modified version of the bash LRP package that can be downloaded here which simply omits the link from /bin/sh. Then I edit /etc/password for those users I want bash to be their login shells, and ash continues to be the shell for the rest of the system scripts.

3/4/2002

Wireless Oddities

Filed under: — jbm @ 6:42 pm

My domain is hosted on a machine that is twice removed from a wired connection to the Internet. That is, traffic to my site goes through two 802.11b connections, one provided by the local neighborhood WLAN, and another provided by the local co-op, largely because I live in a somewhat rural area not serviced by DSL or Cable Internet. The first hop from my site is a half-mile, and the second hop is four miles.

Over the past few months, I’ve noticed some odd behavior. My signal appears to drop off dramatically for periods of time, most pronounced when there is snow on the ground, which I haven’t figured out. Most of the time the connection is perfect, but the occasional behavior is to lose signal strength during the day, and it comes back up at night. I have clear line of sight over that first hop, so it’s not something simple like snowplows parking in the way. I watch signal strength on the /proc entry for the driver that I use for my Aironet 340.

Today when I noticed the signal strength was down pretty low, I tore down my firewall with my wireless NIC and took it out on my deck. I didn’t use my fixed antenna, I used the little rubber-ducky that came with the NIC, and got better signal strength than the fixed antenna was providing. The fixed antenna has a little bit of obscuring by my neighbors trees, but the main difference may be that the fixed location is under the eaves of my house, and only a few inches from a picture window. But it doesn’t explain that it works fine most of the time, and I’ve only been able to correlate it with the snowfall. I’m going to move the antenna.

3/2/2002

Dachstein /proc/cmdline Fix

Filed under: — jbm @ 12:09 am

One of the warm-fuzzies you get from running a LEAF based firewall like Dachstein is that it’s not a full-blown Linux distribution. You start with just the stuff you need for a firewall, and add other things you want.

But… there can be gotchas. I bumped into the /proc/cmdline limit on kernel params recently, while adding some more LRP packages to my 1.0.2 Dachstein system. You can tell if you’ve got the problem by comparing the LRP= list in your syslinux.cfg file, and what you see when you type

cat /proc/cmdline

If it’s getting truncated, then you’ve got a problem. I fixed the problem by moving the LRP package list out of syslinux.cfg, and into a separate file. Look for the line in /linuxrc that says
ROOTMAP="`sed 's/.*LRP=/1/; s/ .*//1' /proc/cmdline`"
and change it to two lines like this:
pkglist=`cat /boot/etc/lrppkgs.cfg`
ROOTMAP=`echo $pkglist | sed ’s/ /,/g’`

then put your list of LRP packages in /boot/etc/lrppkgs.cfg in a simple list, one per line, no punctuation. Backup root.lrp and boot, and you should see all your packages loading.

2/26/2002

Linksys VPN Configuration

Filed under: — jbm @ 1:05 am

I have an inexpensive home network setup that allows me to use a Linksys BEFVP41 to access my office network, without having to ditch my Linux firewall that I’ve become fond of, and without giving up fast access to my internal network.

(more…)

2/24/2002

Bandwidth Measurement

Filed under: — jbm @ 7:42 pm

I just learned about 95th percentile bandwidth measurement. Since I’m not hidden behind your typical ISP or telco service any more, I’m going to start seeing some of the real effects of providing bandwidth, and what it takes to make it economically feasible. Old hat for ISPs, I know, but I’ve paid flat rate ISP fees for so long, I’ve never seen anything else. MRTG is making this very nice to keep an eye on.

2/23/2002

Old BeOS Links

Filed under: — jbm @ 11:06 pm

My BeOS web site that used to live at http://www.frii.com/~jbm are archived for posterity, and can be reached under the Links section of the home page. I see now Be is an empty, litigating body now, not much left. Guess we wait and see what Palm does with the technology now.

Linksys VPN and Win2k

Filed under: — jbm @ 11:00 pm

I’ve spent a fair number of hours getting Win2k working with the Linksys BEFVP41, but after all that I’ve found it isn’t a workable solution.

There’s a good Microsoft page on setting up IPSec on Win2k, but the problem comes about a third of the way down in the page where you have to ping the destination LAN, wait to see it fail with Negotiating IP Security messages, and then keep trying until the negotiation completes. This just doesn’t work, and I didn’t realize it until I had this whole thing working and saw how disruptive it was to my work flow and train of thought. If, for whatever reason, my connection goes away and comes back, the two ends don’t automatically come back up and establish the VPN tunnel, so I have to go ping it to bring it back up.

There has also been some flakiness that hasn’t been reported by my co-worker who has been using a second BEFVP41 unit at home to talk to the one at the office, so I’ve moved to that kind of setup (possible, because the Linksys boxes are so cheap) and that configuration will be the subject of another entry.

Powered by WordPress