Cheap PowerPole Splitter

PowerPoles are neat little modular power connectors used commonly in amateur radio. But often, you’ve got one power source, for example, a battery, and want to power more than one piece of equipment from it. You can make a separate set of cables for each piece of equipment and run it all the way to the battery, or you can use a power splitter. Much like a standard power strip used for AC power in your home.

You can certainly buy power splitters from various retailers. There are several manufacturers with a variety of products to suit different needs. I didn’t really want to pay for one, and my needs were very simple, so I made one. Here’s how.

Take a small piece of double sided copper clad PC board. Easily found a radio shack. Run short wires from a few sets of powerpole connectors, and solder them to the board. (Obviously making sure that one side of the board is for one polarity) I for the wires, I used small chunks of standard house wiring (Romex). Tape it up so you don’t short anything out or shock yourself. DONE!

This method lets you connect as many devices as you want. Just make sure not to overload the current rating of the powerpoles themselves or your wires feeding the splitter. Make sure you throw some fuses somewhere in there too!

Posted in Ham Radio, Technology | Leave a comment

Proxies

Proxies offer a lot of control for providing a means of managing what people in their enterprises can (or can’t) view on the internet, caching files to reduce bandwidth usage, and scan incoming files for viruses before then even end up on an end user machine.

For a desktop system that stays put and is always connected to the corporate network, this is a simple matter of configuring the browsers with the proxy information and you’re all set. However, in the case of a laptop, it’s not quite this easy.

If you configure a laptop in the same way that you configure a desktop, as soon as the employee takes their laptop home, or on a business trip, or to the coffee shop down the street, their internet won’t work. For an IT guy, it’s a simple fix. Just disable the proxy settings in the browser while you’re out, and re-enable them when you’re back in the office. In reality, end users aren’t IT guys. That’s why they hire IT guys instead of doing it themselves. We need an automatic solution for configuring the proxy based on where the user is.

Well, one option would be to install some third party piece of software to manage that for you. I’m not very inclined towards that. That means that each laptop needs to be manually configured each time there is a change, and you’re also adding another puzzle piece to an already complicated puzzle of systems administration.

The second option is what’s known as WPAD. It’s a system designed by Netscape back in 1996 (yes, 15 years ago). That relies on two options. One is that you can use the DHCP server to point a client towards a javascript file that tells the browser how to connect to the proxy. Problems are that not all DHCP servers support this, and not all browsers support this. In some cases, those are some big pitfalls. The second option is via DNS. In this option you create a subdomain of your local network for WPAD. So say your laptop’s hostname was laptop01.dyn.example.org, the system would look for wpad.dyn.example.org/wpad.dat, failing that would search for wpad.example.org/wpad.dat, failing that would search for wpad.org/wpad.dat, failing that would fail. Now I’m sure you can see where the issue is with this, “But wait! We don’t own wpad.org! We own example.org.” My answer to that is “Exactly.” This can and has been exploited. Also, like in the DHCP example, wpad.dat is a javascript file, and is executed EVEN IF JAVASCRIPT IS TURNED OFF IN THE BROWSER. NOT GOOD!

This is where I was stuck. Recently, I was setting up a new macbook for one of my end users, and had to configure the proxy. We discounted the idea of third party software right away, we toyed with the idea of the DNS option, didn’t like it, DHCP might have been an option for us, but our DHCP is served by a windows domain controller, and macs don’t like how they pass the extra information like the bits for WPAD. Hmmm… Then I found this…

It seems that Apple has provided me an out. Automatic proxy configuration lets me put in the address of the server and the filename for our wpad file, as wpad.dat and whatever.pac both do the same thing in the same way, and in the case that the system can’t reach our server, it fails over to running with NO proxy. Sounds perfect!

But wait! There’s more! Macs don’t configure the proxy settings in the browser. Proxy settings are a system wide setting. This way, it’s not only the browsers that automatically work, it’s everything on the system that uses the internet.

Apple may have a garden with some damn high walls around some of its products, but damn do they do a good job of making them easy to use.

Posted in Technology | Leave a comment

New Mac

So I picked up a new Mac Mini Server recently, and have been going through the process of setting it up to replace a bunch of stuff here at the house. During the process, I wanted to switch the hard drive configuration from two 500GB drives adding to 1TB, to having the two 500GB drives mirrored. As such, this required a reinstall of the OS. No big deal. Except the new mac mini doesn’t have a cd drive. It’s got a bit of firmware that will download OSX 10.7 Lion from Apple’s servers. No big deal, about 4GB with kick ass internet like I’ve got, should be quick.

Wrong. The installer said it would take about 5.5 to 6 hours to download. Bullshit, I said to myself, and to the google I went. I figured out that Akamai is hosting the Lion downloads for Apple, and I know I use the google DNS servers. So perhaps Akamai thinks I’m actually somewhere far from here. Changed my DNS server settings to SpeakEasy’s Seattle server. Marginally faster, claimed maybe four hours. Still bullshit. Next try was SpeakEasy’s San Fransisco server. Much better. Down to under an hour. That’s at least reasonable and I let it run. I could probably find a better one, but for now that’s good enough.

Posted in Life, Technology | Leave a comment

ARISSat1 Tracking

Recently ARISSat1 was deployed from the ISS, and off and on since then I have been turning my radios over to the downlink frequency and have been listening for it. As such, I’ve managed to get a couple (of somewhat poor quality) SSTV images from the satellite, and I thought I would share them.

Posted in Ham Radio | Leave a comment

UPS Resurrection

Several years back now, I was browsing around a yard sale over on Whidbey Island. Apparently some guy moved out of his apartment and left his stuff. The landlord, as is their right, was selling it off. Anyway, to get to the point, I ran across a large Uninterruptible Power Supply (UPS). So, knowing how nice they were, and how expensive they are, I bought it. (Think I paid about $10). Anyway, It’s an APC SmartUPS 2000XL. One of the big ones designed for server use.

Anyway, when I got it home, I took some time dinking with it to see what it’s status was. Plugged it in. Started up fine. Plugged a lamp into the output, works fine. Unplug the input to see if the batteries will hold it up, lasted about 5 seconds. “Ok”, I thought, “Maybe the batteries are low, and it needs some time to charge.” So I left it plugged in overnight to charge. Unplugged it, 5 seconds. So the batteries were toast. Theoretically the rest of the unit worked fine. Just didn’t have the money to dump on four new 12V 18AH lead acid batteries for it.

So it sat. It sat in a storage locker for a couple years, then it sat on a covered porch for a year (even got a bit of snow on it), then it sat in my shed for 6 months. Finally, I got around to buying batteries for it. I figured to myself, “Well, if it doesn’t work, I’ll have some nice new batteries to power things when I go camping.” Turns out it was just fine. Opened up the case, clean as a whistle. Plugged it in, started up just fine. Whined about not having batteries of course, but started up.

So the batteries arrived yesterday, and I went about hooking them up and installing them. Fortunately, I had saved all the cabling and fuses, and the bottom half of the case that the batteries sit in. (In one of my fits of stupidity, I threw away the top half of the battery case thinking I wouldn’t ever get around to getting new batteries, but for some reason didn’t throw away the rest of the stuff.) Anyway, got it all wired up, and now it’s sitting happily under my desk, providing clean backup power to my office. Also, the load on it is so minimal, it’ll probably run for hours.

Here’s the photos!

The whole setup under my desk. Technically the battery box will stack on top of the UPS unit, but it’s too tall to fit under my desk. So batteries are on the right, UPS is on the left, and I put a sheet of plexiglas over the batteries so objects/pets cannot get to them. I’ll make a better case here soon to replace the leaning sheet of plexiglas.

Tadaa! New giant UPS for my office. Now my old UPS which is much smaller can go out and protect the TV and whatnot.

Posted in Random, Technology | Leave a comment