Category Archives: creativity

Transmission, Screen, etc. on your Storcenter NAS.

storcenter ix2 running transmission
As I guessed in a previous ix2 post – there is a better, thinner, BitTorrent client. Abhilash suggested checking out Vladimir Vuksan’s blog post about customizing iomega storcenter with ipkg.

I’m going to do some more research into all of this, but right off the bat I was able to install ‘screen’ and ‘transmission’.
This page on setting up transmission on a headless machine (NSLU2) was the ticket.
The only hard part I had was finding and editing the settings.json – in order to add 10.0.1.* (my local subnet) to ‘rpc-whitelist’ like this: “rpc-whitelist”: “,10.0.1.*”, The trick is to start the daemon and let it run for a few seconds, then the file will be created.

vi /.config/transmission-daemon/settings.json

Once added, I re-started the daemon and opened – the web client opened right up. In the preferences I set the directory to: /nfs/public/Media/Torrent/ (an existing share called public where my BitTorrent files are stored on the ix2) I started up a few torrents and checked my CPU with ‘top’. 10% is a lot better then 70%. The interface is much better then the stock ix2 version 2 firmware. You can set limits as well as “Temporary Speed Limits” for making sure your ix2 is in top form when you’re awake.

Further study:
1. I just heard of synology NAS drives this morning. I’m going to take another guess that their related in some way to the Storcenter.
2. Those repositories are from nslu2-linux. Knowing this from the start might have made my mucking about in the SSH a bit better…

Iomega Storcenter ix2 – SSH, email notifications, and BusyBox init.d

Iomega Storcenter ix2 ssh root access
Iomega Storcenter ix2 SSH access! (for firmware 2+ ; this works for the ix2, ix4, etc.) First – big ups to Christopher Kusek over at for getting this on the web. I’ve already had people comment asking how to do it – so I’ll cover it again here.

Login to your Storcenter with the admin user.
In your browser replace the /home.html?t=1 file at the end of the IP address with /support.html
You will now see the support.html page. There is an icon called Support Access.
Select this link and click the SSH access check box.
Now get on your *nix box or open Putty SSH. Type in your NAS IP address (mine happens to be
Login as root, and the SSH password for your box is: soho[youradminpassword]
That’s “soho” with your current admin password tacked onto the end without brackets.
Thanks again to Christopher Kusek!

We have lift-off. Now what can we do with it? Well, at this point, that depends on how creative you are. So I typed “busybox” at the prompt and a list of currently defined functions came up. If you are handy in Linux you’re probably going to go further and faster then I did. If you have any suggestions after you read what could be a tragic Linux hack – hit up the comments.

How email notification works, why it broke, and how you might fix it.
I was less then excited when I discovered “sendmail” missing from the list of BusyBox functions. How in the hell does this thing send email? I started poking around and the “find -name” command is helpful. I logged into the html settings page on the machine and hit apply to send a test email. At the same time I had “top” running in the shell.

2466 postfix 3744 S smtpd -n smtp -t inet -u
2467 postfix 3492 S proxymap -t unix -u

Okay – smtpd sounded promising. I looked around and found that the Storcenter uses a stripped down version of postfix smtp to send email. Interesting side note: the config files are all there but commented out. As a side project, this device is pretty much ready to be an email server. Postfix uses /usr/local/postfix/ to configure outgoing smtp. The storcenter points to on the default port smtp 25. It sends the outgoing mail directly to with a password in the config file.

AuthCheck.exe from authsmtp.comAuthsmtp has a dandy little tester exe for Windows – AuthChk.exe found here This shows me that my Storcenter was not the issue, but it was my ISP (Verizon) blocking port 25 outgoing. This is to be expected, and Iomega should realize that a specified port number in their next release would be a good idea.

How can I fix outgoing email right now? For I AM root.
I first discovered that code in the javascript of the Storcenter’s web interface is what’s dropping any “” because of the @ sign. This code is buried in the read only flash and it’s not clear to me how you could change it without breaking open the flash. Probably built with buildroot. I then looked at the port issue and figured that if I could get the NAS to send email out on a different port that could receive, (25, 26, 2525) I’d be in business. In the postfix file on this machine it says:

# In the case of SMTP, specify a domain, host, host:port, [host]:port,
# [address] or [address]:port; the form [host] turns off MX lookups.
relayhost = []

So all we have to do is change this to read:

relayhost = []:26

If only it survived a reboot… The file is located in /usr/local/postfix and symlinked to /tmp – this file gets created and written by the system every time it starts up. I’m pretty sure /sbin/executord -c /etc/sohoConfig.xml is doing it. If you look in sohoConfig.xml you see the specified. All of this is on the read only flash portion of the unit. I looked into BusyBox some more and found that /etc/init.d is doing the startup work. Long story short, rcS runs all the S?? numbered files one at a time in order. An example: “S20urandom, S39interfaces, S40bond-init, etc, etc…” mounts the drives, starts samba, makes toast, starts interfaces, etc. All I had to do was copy over the file with an edited one and restart the postfix email service.

What I came up with is a file in /etc/init.d called S73mailport (the 73 is a ham reference, and as long as it’s higher then 60, it runs this last)
Don’t forget to chmod 755 this file to make it executable.

sleep 15
cp /etc/mailport/ /tmp/
/mnt/apps/usr/sbin/postfix -c /usr/local/postfix reload

As you can see there is a modified file that I stored in /etc/mailport. I wait for executord to finish writing the config (sleep 6 is too soon) and I copy over it. I then restart the postfix services with the whole command postfix -c /usr/local/postfix reload. If you just type postfix reload it won’t find the config. Now my Iomega Storcenter sends me email on port 26! It survives a reboot, but I’ll admit it’s probably not the sexiest way to do this. Another caveat is that upon a hard shutdown (which I’m not going to test as I have active data on this NAS) I’m willing to bet that it executord will signal the Storcenter to send out an email as soon as it starts up. This will most likely never be sent as it will attempt to go out on the default port 25, before my S73mailport script changes it after waiting 15 seconds. So I won’t get the first email, but I’ll get the “Data Protection Reconstruction Complete: The storage device has completed data protection reconstruction,” once that’s finished. This will clue me into the fact that there is a serious problem on my NAS that needs to be looked at.

Other observations:
* The torrent downloader seems to be written into appweb and uses 60 – 70% CPU when running. It lags the interface and shell hard. So hard that I thought I broke it poking around. This is probably fine when I want to setup a download while I’m in Tahiti, but no good if I’m actively looking at pictures stored on the device. Is there a tiny linux torrent program that can run on this device in the shell? I’m sure.
* The read only file system is kind of BS. The flash and Iomega stuff is stored here, but the device boots off the physical hard drives… So config changes are overwritten, but if a drive were to die – you’re SOL with the interface. Time for the SATA cables and the Linux box to come out.
* Now that I know that I can, I have access to a little computer that can move files around, run little scripts, and possibly provide other network functions like TFTP PXE boot for some old thin clients I have hanging around.

Got ideas? Got a better implementation? Let me know!
– Kris

Iomega Storcenter ix2 – the update hack.

storcenter ix2I’m posting this basically because I know others are out there on your own. Cold and wandering through the internets looking for something about how to mod and update this device. I’m talking about the (EMC) Iomega Storecenter ix2. I picked up this little guy a little more then a year ago for some cheap money. Then I found out that they were discontinuing the model because of some pretty obvious problems. :|

Pretty obvious problem #1. The fan is horrible and you probably have already done something about it. Along with the fan the airflow through the device is just as bad. You can see that Iomega took a complete 180 when they came out with “the new model“** What I suggest is you get out your Dremel and cut a nice hole in the back panel. I put an over-sized ultra quiet fan with a dust filter on it. It’s already back in the closet, so I’m not getting a picture of it… Hell, you don’t want to see a picture of it. It’s a 80mm PC fan bolted to the back of a $200 NAS drive. It’s goofy looking utilitarian hardware that needs to be in the closet. Let the sexy laptops and iPods take the credit while the hacked Linux device with wires and fans all over it gets the job done. *cough **For reasons of ‘search’ the next model up is the ‘eye ex two hundred’

Problemo #2. I have been looking for a USB aware UPS (Uninterruptible Power Supply) for this device from day one. Having a ‘self aware’ storage device is pretty cool. Enable write caching and don’t worry when the power goes out when your in Tahiti. I finally obtained a Tripp Lite UPS and replaced the battery on it. Fresh USB cable plugged in and – nothing. Then it gets worse. I restart the device and it just hangs. So – Are you having a problem where your Storcenter ix2 won’t recognize your Uninterruptible Power Supply?

Final Problem #3. Every time you try to search for Iomega Storcenter ix2 (or maybe storecenter?) you get a thousand ‘re-view’s’ of how awesome it is and nothing about helping you solve issues or fix problems. Even after you use a crazy Google search like this…

I’m here to help!
Not with the fan though – you’re clever, you’ll come up with something. :p

Iomega Link to all the files and info for the Storcenter ix2

Good news / Bad news. You hit ‘update’ and your device tells you that you have the latest firmware! You don’t. The latest firmware would be or higher. The good news is that along with potentially fixing the UPS not recognized problem, you will get the torrent downloader. This means that while your desktop is off and not using 500watts an hour your little ix2 can stay busy getting ‘the latest release of Fedora’***.
***or movies and pr0n.

Other bad news is you’re going to have to sign up to the Iomega site with an email. It’s not nearly as bad as Cisco is – but you have to get a valid email. Or an alias that forwards to your real email that you can shut down after you hit accept.

While your doing that – Might as well sign up for the Iomega Support Forums Lots of moderated fun in there… :)

Backup your data. Hack the fan. Load the firmware file and hit update. Wait a while in a panic. Login. Connect your UPS. Hopefully it now recognizes it! Torrent movies and pr0n. Set quotas. Oh – and because it can’t possibly all be good. You will lose the ability to get email updates from the unit… This is a gem – exhange?? :confused:

Update – I got SSH access!
Easy as HTML. Here’s how you get SSH access to your ix2. Now to FIX the email notification port and configuration… Initial look tells me that it doesn’t use sendmail :(

Inexpensive Charging Station

Phone Charging Station
Here’s my take on an inexpensive charging station that stops vampire power and keep our phones / bluetooth / radios in one location ready to use. The soft box was found at The Container Store. The switch is for the Belkin Remote Power Strip. These days most of the smart phone chargers suck very little vampire power, but I have a couple of hand-held transceivers from Yaesu and Icom that are the old transformer type. The power strip has a couple of outlets that are powered all the time, so I plugged one of our phone chargers in there as it’s needed the most.

Belkin Power Strip ModificationThe one dislike I had with the Belkin big ON / OFF switch is you really have to push it hard and it makes a big snapping CLICK when it goes on or off. It almost feels like you’re going to break it. I was hoping for a sexy smooth touch button. I achieved this by taking the switch apart and removing some of the CLICK plastic on both the ON and the OFF side. Notice the black arrows in the picture. Now the switch sits centered between ON / OFF and with a soft tap I can control power to my inexpensive (slightly hacked) charging station.

Stand up desk for home.

Stand up while you work at home! There is a time and a place for a super comfy chair and that time has passed. All Ikea inexpensive, the BJÖRKUDDEN is a kitchen table that is at the perfect height for someone above 6′. The 29″ FRANKLIN is a ‘chair stool’ that folds up flat and is just nice for when you occasionally want a seat, but not comfy enough that you want to sit in it all day. The PC sits on a TRULS which has wheels and makes frequent PC upgrades a snap. I found you can’t clutter your desk when you only have four square feet of space. The paperwork hits the cabinet while you get down to business.

This continues my work done four years ago on converting my cubicle to a stand up workstation.

Setting up a Kenwood TM-V71A for APRS.

6-pin PS/2 mini din hack
Kenwood is pro APRS. Something must have been lost in the translation when the marketing guys wrote up the specs for the TM-V71A. It lists APRS, and then to the right it says: NO.

What does that mean? It certainly can transmit and receive on 144.390. So, it doesn’t have a built in TNC like its older brother the 710. So? It’s certainly an APRS capable radio. It even has the industry standard 6-pin mini din ready for packet data on the back of the rig. The TM-V71A is great for APRS duties.

Something tells me that the marketing department wants you to steer over to the RC-D710. It’s a ready to go TNC with all sorts of options that make your V71A ‘feel’ like you spent the big bucks. Well, the small bucks are okay with me. Matter of fact, with this unit connected to an Argent Tracker2 and a Garmin Nuvi 350 – it’s about $1500 worth of kit for about $600. Stay tuned as I install it over the next few weeks.

First challenge: Getting the radio to talk to your TNC (tracker).
I guess I could blame those marketing guys again, but I don’t know who messed up the verbiage in the manual on the pin-outs for the DATA jack. I opened up the manual and flipped to the section on packet operation. Easy enough, I just have to provide audio in/out, PTT and ground. Wait… What pin is PTT?

1 PKD input, 2 DE, 3 PKS input, 4 PR9 output, 5 PR1 output, 6 SQC output
Seriously Kenwood? Where did these abbreviations come from?

The description is just as confusing. For pin 3: ‘L’ is transmitted and the microphone is muted. The letter L? The low? What?!
Does that give one any indication that pin 3 is the PTT? Leading to the confusion is the ability to set the “baud rate” for the radio. (Please take note the quotes…) This had me questioning if there actually was a TNC in the radio and whether to pass audio data or digital data to the unit.
Panicked, I called Brian NJ6N for some help. He chuckled at the descriptions and pointed me to where a handy reference sheet tells us the following.

Now that’s more like it. Brian also explained that the baud rate has to do with the filtering the unit is doing. For very high data rates it skips some of the internal circuitry that could lead to some issues with received packets. For our purposes, APRS is 1200 baud and the default settings will be fine.

Cable time: Because I’m super impatient, I scrounged the house looking for a 6-pin mini din connector. “Hey, that PS/2 keyboard / mouse connector looks like it could do the trick!” Before you could say “e-waste” I had the end off a PS/2 keyboard on the desk hooked to an ohm meter. Bad news – They don’t use pin 2, and they don’t even bother to leave an un-used wire in there. Don’t bother tearing open the mouse – it also doesn’t utilize pin 2 at all. Thinking that this is the end of my experiments I slice the connector open and take a closer look. Pin 2 is there and, sure enough, nothing is connected to it. After digging a channel with a sharp knife I find there is enough there to solder. The elegant solution I came up with is to ground the pin to the outer shield and use that for pin 2 ground. A little heat shrink and we’re back in business. For those of you with patience, it looks like this cable from Byonics should do the trick.

Using the Tracker2 manual I came up with the following pin configuration:
Argent Tracker2 >>> Kenwood TM-V71A
DB9 >>> 6-pin mini
1 audio out >>> 1 data in
2 squelch input >>> 6 squelch out
3 ptt >>> 3 ptt
5 audio in >>> 5 af out
6 ground >>> 2 ground

Plugged in and ready to go:
I turned on the radio and tuned to 144.390. I specified in the menu which side my packet operations would be on. My Tracker2 blinked to confirm it was hearing packets! A quick test and I was able to send a message to K6SOA-9. Receive and transmit both work. Now, one side of the radio will be dedicated to APRS, but this is no different then the D700. A remote switch is in the works to allow me to turn off the tracker and regain the use of both A and B sides, should I need a cross-band repeat or dual receive.

12v socket and power pole additions
Next time I’ll be detailing the entire install. From hacking the existing FM antenna mount, to Garmin Nuvi 350 APRS messaging. I even tackle getting the Honda Fit amplified antenna working inside the car. As you can see I’ve added a 12v cig jack and Anderson power pole panel. Stay tuned!