Thursday, 18 March 2010

On the web

Or, subtitled, how I fought the Verizon modem and won.

For DSL service, Verizon supplies a model 7500 Versalink modem. This modem is also a router and I have it set up to be our DHCP server as well. It certainly works well and I am fairly content with it. But recently, I was threatened with the loss of my web page. This was enough for me to swing into action and put an ancient Sparcy (Ultra 2) into action. It's interesting to note that the current version of Solaris is incompatible with ancient hardware like this. So, my next choice was something secure, so I went for OpenBSD. I had various adventures with the dead CD-ROM reader, the incompatible external CD-ROM reader, etc. I finally was able to netboot it only to discover that OpenBSD didn't like the onboard SCSI drives. Say what? Well, that meant NetBSD. And you know what? It worked right out of the box. I had to get the package manager up and running so I could get apache. And apache also worked straight up. So, onto the web... And the router.

It seemed simple enough: just enable port 80 (HTTP) and we'll be ready to go. Not so fast! First, there's the issue of host addresses: I wanted the machine (now named "cullen" after the town in Scotland named for skink, a certain stew) to have a static IP address. Well, if I did that then the router had trouble (I went for a different subnet and it didn't like that). I eventually figured out that I could have it both ways! In the deep recesses of my mind was the notion of aliases and this is what I did: One static, one dynamic.

Back to the router. I tried to open up port 80 by creating a new profile called "cullen" (shock). Didn't work. All the external tools said it was closed. After sleeping on it, I decided that maybe this additional port forwarding didn't work... Maybe I should add it to the "default" profile. And lo and behold. The port was open.

One of the interesting tidbits from this is that in spite of registering with dyndns.org, if I try and put the symbolic host address into the brower, I'll get the modem/router home page. But if I am external, I definitely get the right page. At this point I don't care. Originally, I was also going to enable SSH but I am tired of script kiddies, so for the time being it's closed. I might open it when I go away...

The machine also had two ethernet ports --- I might use one for a direct connection to the router and the other for internal net traffic. It should handle that. Famous last words.

White Sauce Pizza

I know, it's an abomination, but I've been working on "white sauce pizza". As I see it currently (subject to change), there are 3 (count 'em) methods of pizza construction: (1) red sauce (2) white sauce (3) no sauce. The typical american pizza is of course #1. Escarole and caper is an example of #3. So, what about #2? Well, it all starts with salsa besciamella (a.k.a. bechamel). So, it follows the following "rule": 2:2:1 --- 2 T butter, 2 T flour and 1 cup of milk. A whisk is a good accessory here. It's also important to keep the heat low so that the butter doesn't brown and the flour doesn't toast (this isn't a cajun roux after all). I add parmesan and romano cheese to the finished product. The last step is to add the vegie (last experiment involved swiss chard and carmelized onions). It was tasty but I thought it had a few faults: (a) the sauce should be thick --- if it's too loose, it will be too wet and so will the pizza. Which leads me to (b) Perhaps a light coating of olive oil would prevent the dough from getting excessively soggy. Other toppings I've done with a white sauce include baby artichokes with pancetta (a power combination if there ever was one).