Tuesday, May 29, 2007

Playing with Solaris, Perl, and Virtual Machines

This morning I installed Solaris 10 into a virtual machine in Parallels Desktop on my MacBook Pro. Recently I've had the chance to work on a few Solaris boxen at work, and I've found my Sun knowledge lacking. So, a week or so ago I ordered a free media kit from Sun, who sent it to me very quickly. Although I asked for only the Solaris 10 x86 and Developer Tools DVDs, they also sent the DVD with Solaris 10 for SPARC.

Anyway, the install went pretty smoothly. Before attempting the install I read the blog entry here, which was helpful. I didn't have the mouse problems he mentioned, but the default screen resolution was much to large for my MBP. So, I ran kdmconfig and scaled it back so that my Solaris desktop fits on my screen.

The default GUI in Solaris 10 is the Java Enterprise Desktop, which is really GNOME as tweaked and themed by Sun. It's pretty nice. I like it better than Ubuntu's GNOME desktop. I did try logging in and using CDE, the default desktop for earlier versions of Solaris. It's FUGLY, being based on Motif.

Anyway, I plan to dink around with Solaris a bit, diving under the hood on the command line. I'm somewhat tempted to rebuild Bagend, my Althon XP box at home, with Solaris.

Aside from futzing with Sun stuff today I tested a Perl script which one of our developers wrote for us. We need to login remotely to a few thousand routers and change DNS settings. So, he wrote us a script in Perl using the Net::Telnet::Cisco module. I tested it in my Kubuntu 6.10 VM on the MBP. At first it wouldn't run, so he sent me the Cisco.pm file from his Fedora Core 4 box. I backed up my Cisco.pm file then copied his over. This got it working. Tomorrow, I plan to try it using OS X, and also my CentOS 4.4 box. When I document how to use the script I want to be able to point to a specific, tested setup. That will be some Linux distro, since it's unlikely that whoever actually implements the DNS changes will have access to a Mac. But they should have no problem scrounging up a PC to run the script on Linux.

Monday, May 28, 2007

Memorial Day

Thank you to all the American servicemen and women who gave their lives so that we are free.

Photo Sharing and Video Hosting at Photobucket

Friday, May 25, 2007

A Long Time Ago ...

You didn't think I would not have a post about the 30th anniversary of Star Wars, did you?

Yup, today is the 30th anniversary of the release of Star Wars. I was not quite nine years old. I saw it shortly after it was released, at the theater in the Security Mall outside of Baltimore, Maryland. The first night we went to see it traffic backed up from the mall parking lot onto the Baltimore Beltway (I-695), and by the time we got into the lot, the only available seats were way up front. My parents didn't want to sit there, so we left and came back the next night. I recall seeing the poster in the theater's lobby and thinking that I might or might not like the movie.

It turned out to be a defining moment in my life. I've been a Star Wars nerd ever since.

Thursday, May 24, 2007

REI Basecamp 6 Tent

On Sunday I posted to the Survival and Emeregency Preparedness Blog a review of the REI Basecamp 6 tent which I bought a few weeks ago. Forgot to mention it here.

Sunday, May 20, 2007

BitTorrent Follow Up

After a bit of futzing around, Friday night I got Azureus setup on Bagend to both track and seed the torrents of the four DVDs. Aside from Azureus, I had to open up ports 6969 and 50995 on my router and forward them to Bagend's private IP. Port 6969 is for the tracker, while 50995 is for the actual file sharing.

About five other people started downloading them, and the last time I checked this morning I'm uploading at around 40 kbps for each disc.

Distributing content this way can take more time than more traditional means like FTP, but because it distributes the bandwidth needed to do so, makes the ability to share content more accessible to people without fat pipes.

Friday, May 18, 2007

Playing with BitTorrent

A member of one of the mailing lists to which I subscribe made a set of DVDs of a seminar available to interested members for the cost of duplication. I mentioned that BitTorrent would be a good way of distributing copies of the DVDs, rather than snail-mailing out discs. After some discussion, including getting permission from the copyright owner, I volunteered to handle BT distribution. The guy who made the dupes mailed me a copy and I'm in the process of making them available through BT.

See, peer-to-peer technology can be used for more than sharing pR0n and warez.

My first task was to create .ISOs of each of the four DVDs. Actually, I copied each disc to Bagend's hard disk last night, then made the .ISOs this morning while logged in remotely using XP's built-in Remote Desktop Protocol functionality. Because creating and compressing each .ISO took some time, I could start each task then put the MS RDP client into the background on my Mac, then periodically check on things. If I ever do this again I'll skip the initial copy and just use DVD Shrink to create the .ISOs directly from the discs.

As an aside, RDP seems to be one thing Microsoft got right. Even with my RDP client set to display thousands of colors, the refresh times were very quick, much better than VNC. It helps that I have a 1.5 Mbps upstream connection at home. I am using MS's RDP client for OS X. Even though it's a PPC app it seems to run fine. I also use it for remote administration of a client's Windows servers, so this isn't the first time I'm playing with it.

Because I am using Bagend for this, I used the free Windows program DVD Shrink to make the .ISO images. To reduce their size and save some bandwidth, I compressed each image using gzip (I have Cygwin installed on Bagend). The people who will be downloading the DVDs are Mac users, so they already have gzip installed for decompression; they should actually be able to decompress the images in Finder.

Later, I plan to create and host the torrents using Azureus. Hopefully tonight. I'll post an update after doing so to comment on this.

Saturday, May 12, 2007

Client Visit and Plans

This morning I paid a visit to one of my clients to apply some server updates and have a planning session. Unlike a lot of small businesses, they are astute enough to realize that their business depends on their IT systems being reliable and performing well.

Our first priority is to get them setup with a backup Internet connection. Their current cable modem service is very reliable, but on rare occasions it does go down, during which time their productivity goes in the crapper. So, they're going to look into a DSL line to complement the cable modem.

With two Internet services, ideally they'll automatically switch to the backup if the primary goes down. Load balancing the two connections would be good, as well. I'm going to look into both failover and load balancing.

Along with a backup ISP, they need a backup email server at a second location. Due to the file sizes they send and receive through email, they are not a good candidate for hosted mail. One more thing for me to look into.

Sometime in the next year or so, they will probably upgrade their LAN from 100 Mbps switched Ethernet to Gig-E. I'm leaning in the direction of HP ProCurve switches, based on what I've heard (i.e., that they are reliable but significantly cheaper than Cisco). If any readers can offer suggestions here I'd appreciate them. Their current backbone switch has 24 ports and it's maxed out. I'm just starting to look at this so a 36 port switch (if such exists) or a 48 port switch is needed. Or maybe two 24 port switches.

They have a second site that is small but has growing storage needs. A Buffalo Terastation NAS box like they have at the main site may be ideal. How to back it up is also under consideration.

A longterm need they may have is VPN connectivity between their two locations. For this I'm looking at either a Netscreen or SonicWALL solution. Both vendors have good solutions at reasonable prices. Also, both should be easier to configure than something that's Cisco-based.

This stuff should keep me busy for awhile.

Tuesday, May 08, 2007

D.C. Court of Appeals Denies En Banc Hearing for Parker

{H/T ChestyP at THR}

The Court of Appeals for the District of Columbia Circuit denied the city's petition for an en banc rehearing of the Parker case. Thus, the city has two options:

  1. Drop it and let the court's ruling stand, and modify their gun control law accordingly.
  2. Petition the United States Supreme Court for a writ of certiorari, i.e., appeal it.
If DC picks number two and SCOTUS grants cert, this will be the case in which it is decided whether the Second Amendment to the US Consitition protects an indivdual right, and to what extent.

Stayed tuned, folks.

Monday, May 07, 2007

Another Full Weekend

We had another full weekend.

Friday on my lunch hour I swung by Holt's Cigars and picked up a few stogies, along with a new pipe. The pipe wasn't expensive, but it's made of briar with a curved stem, and was made in the Czech Republic. I also picked up a couple ounces of natural cavendish tobacco, and smoked it Friday night. Very nice.

Saturday I did some more yard work. Cleaning up some branches which I cut down, cutting them to length and stacking them to season, taking down a small scraggly tree, and raking up a few years' worth of pine needles. I filled four yard cleanup bags with needles and still have a pretty big pile remaining.

Later in the day we went to a birthday party for the son of one of my friends.

Yesterday I hit the sale at REI where I bought a pair of Merrell Pulse boots and an REI Basecamp 6 tent.

The Merrells are very comfortable and fit like heavy duty high-top sneakers. I have flat feet so I'm particular about footwear. If they last me as long as my last set of Merrells, I'll need to replace them in 2020. And I'm not planning on tossing my old boots, they are still quite wearable but they are looking raggedy. I'll keep them as a backup and for when I might not want to wear nice boots.

My plans for the tent include family camping trips, and a three-day trip to the wilds of Central PA that I'm planning with my brother for this Summer. I wanted something a little larger than a 4-man tent but not something as big as one of those gigantic cabin tents that you can buy. It'll also become part of our emergency kit, just in case. Since our emergency plans involve evacuating by truck, the extra weight of the 6-man vs. 4-man tent isn't a problem.

I wrapped things up last night by participating in the weekly MARC club net.

Extending the Reach of a Wireless Network

My latest article, Extending the Reach of a Wireless Network, is up on CMP's ChannelWeb, formerly TechBuilder.org. Alas, TB appears to be going by the wayside and I won't be writing any more articles for them. Hopefully, I can link up with other publishers, because I really enjoy doing these articles.

Monday, April 30, 2007

A Full Weekend

It was a full weekend, starting out Friday night when we had my folks, my MIL, BIL and his wife over for dinner. We had Chinese takeout so at least we didn't have to cook.

After everyone left I got on a radio net for the first time in awhile.

Saturday Judith took the girls to the next township over for their township day. Think "fair at the park." While they were out having fun I did yard work -- pruning one of the big pine trees and taking out a bush. Our backyard is bordered by bushes and trees on the left, right, and rear. This provides a lot of privacy but unfortunately provides places for skeets and gnats to live, making it unusable for a few months of the year. So, I am partially defoliating the hedgerows to allow more breezes in, and reduce the amount of hiding places for the bugs.

Saturday night we went to Chickie's & Pete's on Roosevelt Blvd. in Philly for mussels. C's & P's has the best mussels I've ever had -- they are large and served up in your choice of a garlicky red or white sauce.

Yesterday morning we went over to my MIL's for brunch. While the girls were crashing afterwards I farted around on the Intarweb and J. went out shopping. Later, everyone came over for a barbecue.

Again, after everyone went home I got on the radio. I also ordered a PanelRelief adjustable coax feed-through panel from Quicksilver Radio. It's an adjustable Lexan panel with two SO239-to-SO239 connectors on it, for mounting in a window. Now, when I want to use my FT-7800R I have to open the window in my office and connect the antenna cable which sits coiled up on the sill. This isn't a problem when it's warm but it gets a bit chilly during the winter, even if I put a rolled up towel in the window to block the breeze. The PanelRelief will allow me to semi-permanently connect the coax cable coming from antenna. I'll then connect a 3-foot patch cord from the radio to the panel, and will be able to easily detach it in the event of a thunderstorm.

Friday, April 27, 2007

Getting a few things out of the way

I took the day off yesterday so that I could be home while a contractor came out to install Comcast Digital Voice. With my employee discount, I'll be saving about $10 per month compared to Vonage. (I don't mention my employer by name very often but I've disclosed it here previously.)

According to the tech, my RF levels are perfect, which is good to know. Before installing the Arris MTA (Multimedia Terminal Adapter -- fancy name for a cable modem which supports telephone connections) he replaced the ground block for my cable drop, and the splitter out back. He also cleaned up some of the spaghetti where the drop comes into the house by shortening the coax patch cords.

I now have both the Arris MTA and my regular SMC8014 modems. The Arris is being used only for my phone service, while the SMC, with its built-in router, will continue to provide my Internet service. The SMC and my phone are plugged into an APC Back-UPS 650 for electricity. The Arris has a built-in battery that should provide up to 6 hours of standby power in case of an electrical outage.

Because Comcast CDV packets are prioritized on our network I am hoping that the quality will be better than Vonage's. Vonage packets are treated like any other packet, so they'll be more susceptible to network congestion. So far the only call I've made was to call Vonage to cancel my service, and it sounded fine.

After taking care of the phones I ran down to Microcenter to pick up new speakers for Bagend. Awhile ago I'd removed the old Altec-Lansing satellite/subwoofer speaker system and just had a headset connected. We now use Bagend sometimes for Skype calls to my brother-in-law, who lives in Okinawa, Japan. So, we needed speakers so that we could all see and talk at the same time. I wanted a two-piece speaker set due to space constraints, and Microcenter had a set of Altec-Lansing speakers w/o a subwoofer for $30. I hooked them up yesterday afternoon and they sound decent. For a mic we use the one built-in to my Logitech webcam. This setup works well.

The last thing I accomplished was to get my wheelbarrow back in service. I found a new wheel with a solid tire at Lowe's and used it to replace the original wheel which uses an inflateable tire. The original tire had long since gone flat and I'd never gotten around to fixing it. Now I'll never have to worry about it. I see no need for an inflateable on a wheelbarrow, at least for my use, it's not like I care about dirt getting a smoother ride. If the weather is decent this weekend I'll see about refinishing the wooden handles. They've been exposed to weather for about five or six years and need it. I'll probably just slather on some linseed oil and call it good.

Wednesday, April 25, 2007

Flashback

Ack. I think I'm having a flashback to my life as a field engineer.

I'm working with a vendor who is trying to setup a new application in our demo lab. Their app runs on a couple Sun boxen in our data center and displays data on a couple of PCs connected to it via the Internet. The problem we're seeing is a delay of about 10 seconds between the time the server sees something then relays it to the PC. The response should be nearly instantaneous.

So, I'm sitting here in the lab mostly twiddling my thumbs, communicating with the vendor with AIM, and occassionally doing something when he needs someone local.

It feels like all those times I was out on a service call and waiting for the NOC to do something.

Wednesday, April 18, 2007

Marlin Camp 45 Tips

In the past I've written about my Marlin Camp 45. This a very fun, reliable, and accurate little rifle. Although Marlin discontinued them around 2000 or 2001, they remain popular and prices have gone up quite a bit in the past few years. If you see a Camp 45 in good condition for under $500 get it. Aside from being popular as the host for a suppressor, I suspect that when Kim du Toit wrote about his a few years ago he caused a surge in demand.

Ever since I first wrote about my Camp 45 I've occasionally received requests for guidance on them. Here are some tips to keep them running well:

1. Before you even shoot it, replace the wimpy 11# factory recoil spring with a 21# Wolff. The 11# spring is OK for the Camp 9, but the Camp 45 is grossly undersprung from the factory. If I got a Camp 9 I'd put a 16# Wolff in it. (Actually, I'd originally put a 16# in it, but then shot GeekWithA45's Camp 45, which sold me on the 21# spring. It functions well with the heavy spring, the recoil is almost zero, and as a lefty I no longer get stuff in my face shooting out the ejection port.) Caveat: With the 21# spring the action is very stiff, so if you have weak hands you may be better off with the 16# spring.

2. Ensure that the screws holding the action in the stock are tight. A loose fit, plus the OEM spring, are probably the reasons that the Camp 45 has the reputation for cracking stocks.

3. As you may know they use M1911 magazines. However, you must use mags which have a squared cutout on the top rear. Those with a semicircular cut will not seat all the way in the mag well. Chip McCormick Shooting Stars and Power Mags work well in my Camp 45.

4. The Camp 45 has a buffer in the back of the receiver which keeps the steel bolt from smacking the aluminum receiver. With a lot of shooting they can wear out, although this is less of a problem if you install a heavier recoil spring per #1, above. Pick up a spare from Marlin or Blackjack Buffers.

5. The trigger housing, which holds most of the guts of the gun, is made of plastic. It's not some fancy modern polymer so keep solvents away from it. I use nothing stronger than FP-10. Ballistol, Break Free CLP or automatic transmission fluid should also be fine. I've read from people who've learned the hard way that Gun Scrubber (AKA non-chlorinated brake cleaner) will melt it into a pile of black goo, so keep it far away.

6. Camp 45s have Marlin's Microgroove rifling, which has the reputation of shooting lead bullets poorly. I've shot only jacketed bullets in mine, so I can't speak from experience. However, it's something to be aware of before you loading up a pile of .45 ACP with lead bullets. Try a box or two of lead loads before stocking up.

Oh yeah, mine ain't for sale.

Monday, April 16, 2007

VA Tech Tragedy

Unless you've been under a rock, you've heard by now that today marks the deadliest school shooting in US history. Today, a gunman killed at least 31 people at Virginia Tech, and wounded many more.

As if on cue, the Brady Bunch and fellow gun banners are saying that we need more gun control.

BULLSHIT.

GUN CONTROL IS LARGELY RESPONSIBLE FOR TODAY'S TRAGEDY.

Gun control created the environment in which a killer could run rampant without fear of being stopped.

As long as man is a social animal there will be bad members of society. Criminals, whether they are cold blooded killers, crazed psychotics, or terrorists, do not obey the law. VA Tech was a "gun-free zone" according to school policy. It should be obvious by now that "gun-free zone" = "target-rich environment." The school's policy is tantamount to unilateral victim disarmament. How many times in the past has that stopped predators? In 1915 Armenia? In Nazi Germany? In the killing fields of Cambodia? Today in Darfur? In numerous school shootings here in the US?

VA Tech has about 25,000 students. Let's say, for the sake of discussion, that concealed carry was legal on campus but only 1% of the student body took advantage of the ability to be legally armed. There would have been 250 persons on campus who could have responsed to the gunman's attack.

Years ago, Israel was plagued with school shootings perpetrated by Palestinian terrorists. Those shootings stopped when the Israelis started arming school staff with Uzis and M1 Carbines. No longer juicy pickings, the Pali terrorists moved onto easier targets.

In the US, the majority of college students are legally adults. They should be encouraged to take responsibility for themselves, not hindered in doing so. Society should view someone willing to equip himself with a gun and training for defense in the same way it looks at someone who keeps a fire extinguisher in his kitchen. Carry a gun for self-defense doesn't make someone a vigilante or cop wannabe, just like having fire extinguishers at home doesn't make someone a fireman wannabe.

Ironically, last year there was an effort in the Virginia legislature to lift the ban on legal CCW at VA's universities, but sadly it died in committee. At the time, a VA Tech spokesman was quoted:

Virginia Tech spokesman Larry Hincker was happy to hear the bill was defeated. "I'm sure the university community is appreciative of the General Assembly's actions because this will help parents, students, faculty and visitors feel safe on our campus."


As usual, reflexive hoplophobia based on "feelings" ultimately resulted in dozens of dead and wounded innocents.

It's time to bury the pernicious myth that disarming good people can save them from evil.

A Few Inches of Global Warming

This morning I came out of the house to a few inches of global warming. Aside from the rain, the Nor'Easter which has slammed the NE US for the past day dumped a few inches of snow. After I got to the train station I took this pic of the parking lot with my cell phone:



That's a few inches of snow/slush. Location is the Chestnut Hill West station in NW Philadelphia, PA.

All of SEPTA's commuter rail lines were delayed, and I had to walk over to the CH East line, because I just missed the last train leaving from the West. Several other lines were down, so the office is a bit empty today. New Jersey got it much worse and is experiencing widespread flooding.

Somehow, I think we'll get by without FEMA, though.

Friday, April 13, 2007

Put the Blame Where it Lies

From the Philadelphia Stinky, no less:

We have to stop pointing the finger everywhere but at the very people who prey on us each day. Over time we have allowed our value system to erode. We refuse to hold people accountable for their actions and constantly make excuses for their inexcusable behavior. The incessant cry for tougher gun laws is a good example. Until we're ready to strictly enforce the current laws there is no reason for tougher ones.

...

Joseph Fox
Chief of Detectives
Philadelphia Police Department
Philadelphia

LINKY.

Sunday, April 08, 2007

Saturday Night Range Report

Last night the girls stayed over at my parents' house, allowing Judith and I to get to the range with my dad.

Judith shot the Ruger 22/45 Mark III that I bought her last summer. This was the fourth time she's been to the range and the first time she shot this Ruger. She kept most of her shots on a pie plate at 7 yards, which was pretty good shooting for someone who's still a rank beginner. The Ruger functioned perfectly with CCI Mini Mag solids.

We had only 100 rounds of the Mini Mags, so after they were gone we tried some CCI Subsonics. It worked OK for about a mag then locked up when a round failed to fire. It took me pulling on the bolt while my dad inserted a flat tip screwdriver between the bolt and the breech face to get it open. After getting the round out, I ran a BoreSnake through the gun a couple of times to clean the chamber. I was then able to fire the offending round and 5 more shots. However, when Judith tried to put another magazine-full through the gun, it started failing to eject, with one empty caught between the bolt and the breech. At that point we gave up on the Subsonics. I'll be ordering a good supply of Mini Mags today from Natchez Shooters Supply.

Incidentally, that .22 LR Subsonic that misfired was the first time I've ever had a round of CCI ammunition fail to function correctly, and I've seen thousands of CCI ammo shot.

Dad shot an M-1895 Nagant revolver and his Colt 1911. He had some new production Hotshot ammo for the Nagant, made in Serbia. We figure it was probably made by Prvi Partizan. Anyway, it shoots well, is pretty accurate, and the empty cases fell right out of the cylinder. None of the case mouths split, something he's seen with other 7.62 Nagant ammo. He's shot Fiocchi 7.62 Nagant before and prefers this stuff.

Dad shot some of his handloads in the Colt, 230 grain full power Ball. It shot well.

Finally, I brought my Browning High Power Practical along with CCI Blazer Brass 9x19 115 grain FMJ ammo. This was my first time out with the BHP since I removed the magazine disconnector. The improvement was very noticeable. It is much easier to shoot accurately without the creepy trigger induced by the mag disconnector. I was using two Mec Gar 15 round magazines. I need to get a few more of them. As expected, the Browning worked perfectly.

Saturday, April 07, 2007

Pennsylvanians: Say NO To More Gun Control

Article I, Section 21 of the Pennsylvania State Constitution reads:

The right of the people to keep and bear arms in defense of themselves and the state shall not be questioned.

Unlike the Second Amendment to the US Consitution, there is no debate that this protects an individual right. In Ortiz v. Commonwealth (1996), the Pennsylvania Supreme Court recognized that it protects an individual right of all Pennsylvanians, including those in Philadelphia and Pittsburgh, from where most PA gun control proposals emanate.

Lately, unable to control spiraling crime and aided by their fellow travelers in the press, several liberal members of the Pennsylvania state legislature have introduced gun control proposals. E.g., House Bill 760 would require mandatory gun registration and payment of a $10 per gun annual fee.

State Representative Samuel Rohrer (R-Berks) has created a petition -- Say NO to More Gun Control -- which may be signed at his office or online, HERE. I urge all Pennsylvanians to sign Representative Rohrer's petition, which, coming from a member of the legislature, should carry more weight than most online petitions.

Thursday, April 05, 2007

Google Desktop for Mac Eval OVER

I ended my evaluation of Google Desktop for Mac after reading this. So much for "do no evil."