Wednesday, August 13, 2014

New life for old computers

Back in late February 2009 I purchased a Dell Mini-9 netbook. The specs on this are quite low, compared with modern systems. It came with a 1.6GHz Intel Atom processor, 1 GB of RAM, and a 16GB SSD drive. It originally came with Ubuntu 8.04.1, which I quickly replaced with Ubuntu 8.10. Over the intervening years, I've had several versions of Ubuntu, along with Slackware, installed on this little netbook. My wife actively used this as her "living room" computer for a few months, until I got her a tablet. Since then, this little netbook has been tucked away in it's wee little netbook case.

This past weekend I read a short article on Lubuntu on older, more resource constrained computers. I've never tried Lubuntu (or the LXDE desktop), so I thought I'd give it a try. Being as that Atom processor is a 32-bit processor, I downloaded the 32-bit ISO image, installed it to a USB thumb drive using Unetbootin, popped the thumb drive in an available USB slot, rebooted the computer and went from there.

The actual install is pretty much straight forward, as it uses the Ubuntu installer. I chose the manual partition option, so I could repartition the drive. After the install finished, and the netbook rebooted, I began to play around with it. The UI, which vaguely resembles the Windows 95/98/ME/XP UI, is quite usable, and would probably be good for someone coming over from Windows XP.

I'm generally pleased with the performance of the netbook running Lubuntu. I was having trouble getting Conky to run on this (couldn't get the transparency to work correctly), until I installed Conky-Manager from TeeJee Tech. There is no disputing the lower resource usage. I'm currently using about 154MB and my "two" CPUs (one CPU with Hyperthreading) are both reading 1-2% usage. Here's a screenshot of my "new" Lubuntu desktop on my Dell Mini-9:


I think I will re-image the Dell Xino I'm using for my Broadband-Hamnet MESH network, and replace Debian with Lubuntu, for a more in-depth trial.

Saturday, August 2, 2014

No open source for this year's ARRL Field Day

Well, I'm a day late and a dollar short (OK, a month late, happy?) with this entry, but here goes...

This past June 28th and 29th was the ARRL Field Day 2014 weekend. Unlike the past three years, this year my wife and I (she's also a ham radio operator) decided to participate. With just days before the event, I remembered I no longer had a Windows XP laptop to use. I took my copy of Windows XP and loaded it up on my venerable Dell Inspiron 1000 laptop (which I bought in December 2004). That went fine, until I tried to do some updates. Yup, caught by the dreaded XP end of support. This was not good. My only other option was to install Windows 7 Pro on my new Dell Inspiron 15 laptop (the one I wrote about having to figure a way around EUFI Secure Boot). This was not my favorite option, but I figured I could just re-install Linux after Field Day. Anyhow, the installation of Windows 7 was straight forward, and after downloading some drivers from Dell, I had all of the hardware working. Madeline and I attended Field Day, our laptop and HF radio worked without a hitch, and all was good.

The reason for the last paragraph is this: Amateur Radio operators are by nature experimentalists. Most of us have built our own electronic creations at one point or another (including myself), but the thing that puzzles me the most is, the vast majority of Amateur Radio operators still use Windows. I think this stems back to the early days of micro computers, when the first Amateur Radio applications started to appear. Sure, there were applications for Apple, Commodore, and even Tandy computers, but the largest repository of Amateur Radio applications were developed for MS-DOS, then Windows, computers. This carried over to Windows 95, 98, and then to XP and beyond. Sure, there are Amateur Radio applications for Linux and open source. And there are good ones at that. In fact, I use several of them here at my house (Xlog for logging, fldigi for digital, etc...), but the problem is, when you have a dozen Amateur Radio operators who get together for an event like Field Day, and you are one of the two Linux and open source users in the club, something has to give.

As you can tell, Field Day 2014 has come and gone. No, I did not install Linux back over Windows 7 on that laptop hard drive. I ordered a matching drive from Amazon.com (for $50), replaced the Windows 7 drive with the new one, and installed Xubuntu 14.04 on that one. I now have a Windows 7 drive for next year's Field Day. I wish I could find a decent Field Day logging program that runs on Windows, Linux, and OSX. Something that uses a shared database (our club uses the N3FJP Field Day logging program, written in C#), so users of alternate operating systems and mainstream operating systems, could work together. Perhaps I will finally get off of my back-side and write one myself ;)

Wednesday, June 4, 2014

Open Source to the Rescue!

As many of you should know by now, I am an Amateur Radio operator. In addition to computers, open source software, and photography, I dabble with ham radio from time to time. My wife and I have been members of one of our local Amateur Radio clubs for many years now, and regularly attend meetings and other functions of the club. One thing I did for the club was to develop my own cheap & dirty photo gallery application using PHP. It wasn't intended to be a "forever" kind of thing, it was only supposed to be a stop-gap strategy until I could find just the right photo gallery package. We all know what happens when you have a stop-gap strategy :D Needless to say, this photo gallery program has been in use now since August of 2007.

While I wrote the software and managed the photo galleries, general website design and maintenance was taken care of by another of our members, one that has a bit more of an eye for design than I do. This generally worked pretty well, until he took a job in another city, a couple of years ago, and moved away. All of a sudden the website got dumped on me to maintain. While I've done web development in the past, it was mostly CGI, done back in 1998 through the early 2000's. I had never really worked much with CSS and modern JavaScript. Needless to say, I was somewhat overwhelmed by all of this. I could keep up the maintenance of the site, but adding new features was a royal pain.

After the May 2014 club meeting had ended last Wednesday, the club president approached me about our website. We've both talked about replacing it, many times before, but I just hadn't managed to get around to it.


Well, when we got home after the meeting, the first thing I did was set up a facebook page for our radio club. My fist step in modernizing our approach to advertising and recruiting. Two days later, on Friday, I was talking with my good friend Robert. Robert builds websites for a living, and does a damn good job of it too. His main tool is WordPress, which I had always dismissed as plain old blogging software. After seeing some of the sites he has built with it, over the past couple of years, I started having second thoughts. I installed WordPress on our club's site, in another directory, and went to work on it Saturday morning. By late Sunday afternoon, the new site was complete, and I sent out an email to our club's Yahoo group, announcing the new site's availability. My friend Robert played no small part in this, his knowledge and insight helped me get the site built and ready in such short notice, and I thank him for that.

I never cease to be amazed at the progress of open source software! By using WordPress, which is most certainly open source, I was able to completely rebuild our club's website, in one weekend, and give it a fresh new look as well. Oh, that photo gallery software I wrote in PHP those many years ago? It has *finally* been replaced on this new site, with the WordPress Photo Album Plus plugin. What a fantastic piece of software, and fairly easy to use as well.

Thursday, May 1, 2014

Back to the Future...

This entry is very special for me. Today marks the 50th anniversary of the BASIC language, developed at Dartmouth College. This is special to me, because the very first program I ever created was in BASIC, back in 1982, on a DEC PDP-11/780 system, while in the Navy. BASIC went on to play a leading role in my first few years of micro-computing as well. From my very first computer, a Commodore VIC-20, through the end of my "8-bit" years (mid-1985, when I got my first IBM PC-clone), I programmed exclusively in BASIC. With the advent of my first IBM PC-clone, I switched to 8086 assembly language, but that's a story for another time.

I also worked in Visual Basic (3, 4, 5, and 6) both privately, and for pay, during the mid-1990's through the early 2000's. My last purely BASIC job was a contract job in QBASIC, back in October/November 2000. As you can tell, BASIC has been a big part of my professional computing life, and I owe a lot to those gentlemen in Dartmouth College, who took that big step on May 1st, 1964.

In keeping with the theme of this blog entry, I also wanted to report that the OpenBSD 5.5 release notice came in this morning. I had already received the CD set that I pre-ordered, and now just need to move the other computer over here and do the install. It will be nice having an OpenBSD computer up and running again. Btw, in case you're wondering how this ties in with the blog post, the theme for the 5.5 release is "Back to the Future". See the "What's New" section for details.

A note not in keeping with this blog post theme: Ubuntu 14.04 LTS was released on April 24th. I waited a few days, then upgraded Xubuntu on my notebook to 14.04 LTS, from Xubuntu 13.10. The upgrade went smoothly. I plan on backing up my wife's Xubuntu 12.04 LTS desktop in the next few days, and running the upgrade on it as well. I'm hoping for a smooth upgrade.

Thursday, April 17, 2014

April showers bring... New Releases!!!

Ah, spring. The season of renewal. The cold and snows of winter retreat, and the warmer days and growing grass and flowers return. Spring is also a time for distro releases. Today marks the release of Ubuntu 14.04 LTS. The Internet is practically dragging to a stand still from all of the Ubuntu users, eagerly downloading ISO images, or performing live updates. I plan on waiting a week or so, then looking into updating my wife's computer from Xubuntu 12.04 LTS, to Xubuntu 14.04 LTS.

A quick check of DistroWatch shows no less than seven distribution releases, and another two development releases this week, with more to come in the near future, no doubt. Amble on over to DistroWatch and check out what's new and hot!

OpenBSD, another of my favorite operating systems will be pushing out a new release soon (historically around the first of May). I'm really looking forward to this release, as I will finally have the hardware to run it again. I've been without an OpenBSD system for almost a year now, and have really missed it. The list of changes and improvements is somewhat staggering, which really makes me want to get it back up and running on actual hardware.

Anyway, that's all I've got for this entry. I'll leave you with this picture of a cute squirrel walking along my back fence, that I took today. Another sure sign of spring:


Monday, March 3, 2014

It's March already???

Oops! I guess I kind of skipped completely over February. To be honest, I was sick for most of February, and when I wasn't sick, I was enjoying my photography hobby. When I got back into photography last May, I used just three software tools: ImageMagick on the CLI, mostly for resizing my pictures, Geeqie, for viewing my pictures, and The Gimp, for cropping and rotating my pictures. That's all the post processing I currently do, as I'm striving to "get it right" in the camera. That works some times, other times not so much :D

Like most digital photographers, I will eventually start using more post processing methods on my pictures. To that end, I've been scouring the Internet for good open source photography programs. The Gimp will be my first go-to program, but there are so many other things out there. If I ever start shooting using RAW mode on my camera, I will need a program for post processing (adjust light levels, brightness, contrast, colors, etc...) and to convert it to JPEG format, for posting on the Internet. I've found two so far (and there are probably loads more): RawTherapee and darktable. Both of these are very good, and I'm sure they compliment each other. Since these are open source programs, I can install them both and play around with them. Another area I'm interested in is High Dynamic Range (HDR) photography, and I've already found an open source program to experiment with, when I get to that point: Luminance HDR. OpenSourcePhotography.org is an excellent source for open source photography software listing and reviews, if you are a photographer, and use open source software, I highly suggest you bookmark this link.

I have found that, in any particular market segment, you can find good to outstanding open source alternatives to commercial software products. My wife and I are, for the most part, Linux-only, and we do not use Wine in order to run Windows programs. We do keep one Windows computer (Windows XP Professional, right now, but I will be upgrading it to Windows 7 Professional soon), for our Amateur Radio station, because we use the same software other hams in our area use. The rest of our desktops and notebook computers run some flavor of Linux, with only open source software on them.

We are approaching distro release season, and I would suggest you check distrowatch.com frequently, to see what is coming out next. As this blog entry is mainly about open source photography software, I will leave you with this picture I took yesterday, of a scenic little canal in my town. Again, the only post processing done to it has been resizing (smaller) using ImageMagick:



Monday, January 20, 2014

Broadband-Hamnet: A broadband mesh network for Amateur Radio

Last year I hinted at something I had been playing around with: Broadband-Hamnet, previously called HSMM-MESH. Broadband-Hamnet is an open source project, build around OpenWrt, that allows Amateur Radio operators to set up arbitrarily large networks on the fly. Broadband-Hamnet mesh nodes are self discovering, self configuring, self advertising and fault tolerant. This means that to create a BBHN mesh network, all you need to do is bring two mesh nodes within a distance close enough for them to detect each other. To extend that network, just add more mesh nodes. BBHN mesh nodes work in ad-hoc mode, and use channel 1 to link to each other.

One of the beauties of the Broadband-Hamnet software is that it runs on relatively inexpensive, easily available hardware: The Linksys WRT54G family of consumer grade WiFi routers. Work is underway to port the BBHN firmware to the Ubiquiti family of WiFi routers. To get the BBHN firmware on a router, you simply follow the directions to "flash" it with the new firmware. After the initial reboot, you go in and configure the node. The only caveats to this are, for a BBHN mesh node, the SSID must be "BroadbandHamnet-v1", to match all of the other mesh nodes, and the node must remain on channel 1.

Since the mesh nodes use the WiFi radio to establish the network, in order to attach computers, IP video cameras, or other equipment to the mesh network, you will need to plug them in to the router using one of the four available Ethernet ports. If you wish to connect multiple users at the same time, you can flash another router and turn it into a Mesh Access Point. This access point will then connect to one of the mesh nodes via their Ethernet ports, and any suitable WiFi wireless device (laptop computer, tablet, smart phone, etc...) can then connect to the mesh network using WiFi.

So, what does all of this mean to me, and what can I use it for? It means that you (as an Amateur Radio operator) can create a network where one did not exist before, or you can extend an existing network. Be advised, BBHN networks are for Amateur Radio use only, and can not be used to replace your home network, to communicate over the Internet. This doesn't mean that you *can't* communicate over the Internet, it just means you have to restrict your communications over the Internet to Amateur Radio related tasks. There are tons of uses for a BBHN mesh network. They can be used at special events to provide video (using IP video cameras), voice (using VOIP), or text (using IRC) communications. Since they are ad-hoc, and self-discovering, all you need to do is get enough mesh nodes in place to cover a fairly large area. Any service that is currently on the mesh network, can easily be made available to all nodes and users on that mesh network.

I'm currently running a small BBHN mesh network at my house, for experimental purposes. My BBHN network is comprised of two nodes, AC4FS-1 and AC4FS-2. Both of these nodes use the Linksys WRT54GL routers. I have a Raspberry Pi single board computer, running an IRC server, connected to AC4FS-1. AC4FS-1 is in the ham shack, on the south side of the house. The other mesh node, AC4FS-2, is on the extreme north side of the house, in the office. I have a Linux desktop computer connected to this mesh node. I also have another WRT54GL router, configured as a mesh access point, connected to AC4FS-1. This allows me to access the mesh network using my tablet or smart phone, from anywhere in the house. Here's a network diagram of my BBHN mesh network:


I first heard of the Broadband-Hamnet project from an article in the October 2013 CQ Amateur Radio magazine, written by J. Gordon Beattie, Jr., W2TTT. If you can get your hands on a copy, it makes for a really good read, and is what inspired me to try creating my own BBHN mesh network. In the near future, I plan on creating two portable BBHN mesh nodes, and one portable mesh access point, to test during special events (parades, fireworks displays, races, etc...). At the same time I was building out my mesh network, I found out that the Flagler County ARES group was also experimenting with Broadband-Hamnet, for use in connecting the local hospital to the County Emergency Operations Center (EOC). What a worthy project for BBHN!