Category Archives: Technology

Ham Radio… Now What?

I was looking for something to watch/listen to while tidying up my inbox today after being away for three weeks or so.  We took in the ARRL/TAPR Digital communications conference while in Florida. As I enjoyed this years DCC so much,  i went looking for last years DCC banquet speech.  Ward Silver, N0AX, gave an excellent talk on the direction the hobby should take for it’s second century.  I particularly liked his comment about contesting and being “able to heard the world turn”. Thanks to Gary Pearce, KN4AQ for attending the DCC and working so hard to make the videos available (feed the pig!).

Irish Summers getting brighter?

I’ve been recording the “Monthly Average” output from my PV system for a while (Since 2011). Looking at the figures for this summer.  The “Sunniest” month was June (91 Watts), followed by August (83 Watts) and then July (81 Watts).

Ok, so July sucked, I think we all knew that.  However what surprised me was when I looked at the results from previous years. It appears that the system has produced more power on average this year than any previous year.

To be continued…

Staying secure

Taken from Schneier on Security:

  1. Hide in the network. Implement hidden services. Use Tor to anonymize yourself. Yes, the NSA targets Tor users, but it’s work for them. The less obvious you are, the safer you are.
  2. Encrypt your communications. Use TLS. Use IPsec. Again, while it’s true that the NSA targets encrypted connections — and it may have explicit exploits against these protocols — you’re much better protected than if you communicate in the clear.
  3. Assume that while your computer can be compromised, it would take work and risk on the part of the NSA — so it probably isn’t. If you have something really important, use an air gap. Since I started working with the Snowden documents, I bought a new computer that has never been connected to the Internet. If I want to transfer a file, I encrypt the file on the secure computer and walk it over to my Internet computer, using a USB stick. To decrypt something, I reverse the process. This might not be bulletproof, but it’s pretty good.
  4. Be suspicious of commercial encryption software, especially from large vendors. My guess is that most encryption products from large US companies have NSA-friendly back doors, and many foreign ones probably do as well. It’s prudent to assume that foreign products also have foreign-installed backdoors. Closed-source software is easier for the NSA to backdoor than open-source software. Systems relying on master secrets are vulnerable to the NSA, through either legal or more clandestine means.
  5. Try to use public-domain encryption that has to be compatible with other implementations. For example, it’s harder for the NSA to backdoor TLS than BitLocker, because any vendor’s TLS has to be compatible with every other vendor’s TLS, while BitLocker only has to be compatible with itself, giving the NSA a lot more freedom to make changes. And because BitLocker is proprietary, it’s far less likely those changes will be discovered. Prefer symmetric cryptography over public-key cryptography. Prefer conventional discrete-log-based systems over elliptic-curve systems; the latter have constants that the NSA influences when they can.

If you haven’t already read the full post, you should.

Mirabox Kernel update

So the background is that I have a lovely little unit called a Mirabox but I need to update the kernel on it.   I spent a good bit of time looking at various forums and eventually managed to piece together enough information to get a 3.9 kernel to boot for me.

First, I installed a cross compiler, then I built a kernel, with default options, like so.


PATH="/home/build/smile/armv7-marvell-linux-gnueabi/bin:$PATH" make ARCH=arm CROSS_COMPILE=arm-marvell-linux-gnueabi- mvebu_defconfig

PATH="/home/build/smile/armv7-marvell-linux-gnueabi/bin:$PATH" make ARCH=arm CROSS_COMPILE=arm-marvell-linux-gnueabi- zImage

PATH="/home/build/smile/armv7-marvell-linux-gnueabi/bin:$PATH" make ARCH=arm CROSS_COMPILE=arm-marvell-linux-gnueabi- armada-370-mirabox.dtb

cp arch/arm/boot/zImage zImage-with-dtb

cat arch/arm/boot/dts/armada-370-mirabox.dtb >> zImage-with-dtb

./scripts/mkuboot.sh -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n 'Linux-marvell' -d zImage-with-dtb uImage

This kernel booted, but could not find a root filesystem. After a spending a bit of time looking, I could not find a NAND driver, so I opted for a filesystem on MicroSD instead.

Next, I replaced the kernel configuration with the one in this post, and rebuilt it. While that was building, I followed the instructions in this post, to create the filesystem on a MicroSD card.

Finally, I dropped the uImage created above onto a tftp server, loaded it with

tftpboot 0x6400000 10.4.50.166:uImage
set bootargs 'console=ttyS0,115200 root=/dev/sdb2 rootwait'
bootm

and the result is a working system.

root@dreamplug-debian:~# cat /proc/version
Linux version 3.9.0 (root@ubuntu-smile-build) (gcc version 4.2.0 20070413 (prerelease) (CodeSourcery 2007q1-10. Marvell 2009q3-11 20090730)) #2 Fri May 3 15:27:05 IST 2013
root@dreamplug-debian:~#

A very satisfying way to finish up before a long weekend!

Micro PV

So, having moved the garden shed and the PV panels in August/September 2011 to a more sun friendly position, I was pretty sure that there would be more output from the system over the next 12 months. Now, that 12 month interval is just coming to an end.

When I checked this evening, the average power generated 24×7 for the last 12 months as per rrdtool is 40 Watts, with a peak of 357 Watts. Which equates to approximately 350kWh, or somewhere between 70 and 90 Euro worth of Electricity for the year.

So in short, yes there was an increase in output, an approximate 42% increase in average power and a 100% increase in peak power. At least now I can tell myself it was worth the effort!

Moving on.

About 9 Years ago I got involved in IrishWAN. It was great fun at the time getting links set up, upgrading to the newest and coolest kit, helping others get nodes running, getting new people connected, all who hadn’t a hope of getting Internet from any available commercial offering.

For some months, before Eircom enabled the local DSL exchange, one of the only ways to get Internet in my town was through a WiFi node on my roof, 5.8Ghz Backhaul, 2 x 2.4Ghz Access.

Recently the last person that was using my node for Internet access moved over to a 3G dongle, so today I pulled the plug on the node, and took down the last of the WiFi antennas.

One of the Westflex 103 cables has been re-used for a 70Mhz (the Amateur Radio 4 Meter band) antenna that I put up today, the other is now spare. Surprisingly enough both seem perfect after 9 or so years exposed to the elements, as was the 2.4Ghz Omni-directional antenna from Wi-Pipe. Now I just need to “upgrade” to a 70Mhz radio, and the fun begins again…

YFKtest on LHS#86

I finally got a chance to listen to Linux in the Ham Shack, Episode 86 in the last few days. I was delighted to hear Bob,W9YA on there being interviewed about YFKtest.

I have mentioned YFKtest explicitly before (here and here), its the only contest logger I use as my “roadkill” laptop is a bit too old to run windows. As Bob points out in the interview, YFKtest doesn’t need a GUI or a mouse to control it, so it’s pretty frugal with resources, and I share his hatred of being forced to use a mouse when it is completely unnecessary. I would like to think I have been doing my bit to assist Bob in improving it over the last while (a few minor fixes), along with trying to help him debug a few issues and quite a few of those fixes were tested recently when operating EI2WRC/p for the IRTS 80m Counties Contest, and it worked great. Now I just need to get on air a bit more!

Micro PV two years on.

Some changes since last year. Firstly the panels have a different orientation from last year.  I moved the shed last August/September and both panels are now facing South West (220deg), still at the tilt of about 5-10 degrees (which I really must measure), not ideal but better than before.

The same two Evergreen panels are in use, but I’ve a new Mastervolt Soladin Inverter from Nigel in Mysolarshop. Unfortunately I accidentally let the magic smoke out of the Steca, when moving things around and it had to be replaced. I might try and get the smoke back in some rainy afternoon when I’m bored. The measurement set-up is still the same using the Envi CC-128.

So for the last 12 months rrdtool is saying an ‘average’ of 28 watts is produced every day. So from the back-of-an-envelope, we get 0.028*24*365 or approximately 245 kWh produced, with a value of approximately €49.

However, I have reason to believe that output will be better this year. The first picture below is from the 3rd of June last year.

This one is from today:

Two things are immediately obvious. The peak instantaneous value, and the average are both higher. This should help increase the output from the system for 2012.

The experiment continues!

The Kilogram

So I thought I knew what a kilogram was until I read this.

Photo: Robert Rathe/National Institute of Standards and Technology

Once a year, three officials bearing three separate keys meet at the bottom of a stairwell at the International Bureau of Weights and Measures, in Sèvres, France. There they unlock a vault to check that a plum-size cylinder of platinum iridium alloy is exactly where it should be. Then they close the vault and leave the cylinder to sit alone, under three concentric bell jars, as it has for most of the past 125 years.

“So what?” you say.

The trouble posed by the master kilogram is apparent in the many friction-filled steps by which it calibrates other masses. Once every few decades, a scientist plucks the cylinder from its perch with chamois-leather-padded pincers, rubs its surface with a cloth soaked in alcohol and ether, and steam-cleans it. Then he puts the prototype in a precise balance that compares it to the bureau’s official copies, which are in turn compared to copies kept by member countries. And thus the prototype’s mass trickles down to set the standard for the rest of the world.

The system has been far from seamless. When the cylinder was last removed from the vault in 1988, the bureau’s metrologists were disappointed to discover that its mass and those of its official copies had drifted apart by as much as 70 micrograms since 1889. That discrepancy is tiny—comparable to the mass of a small grain of sugar—but it confirmed a troubling instability. All that metrologists can say is that the master kilogram seems to have lost as much as 50 µg over the course of a century relative to its siblings. But the actual drift could be up or down, and it might even be a lot more than 50 µg, because the prototype and its metallurgically identical copies could all be changing as an ensemble.

It is a long article, but worth a read.