Netgear

htop on the Netgear RN312

Just a quick post on how easy it is to set up the invaluable htop package on the Netgear RN312.  For those not familiar with htop, it’s a super-powered process monitor, way way better than the old legacy top command. Nice stuff, must have.

Turns out the pre-built package for htop is borked though (apt-get install htop fails) . Bummer.  Time to pull out the command line magic..

ssh into the NAS, then set up a build environment and a couple of dependencies. Compile and install (set the debconf to dialog and medium level):

dpkg-reconfigure debconf

apt-get install build-essential

<wait for looooong time>

cd /root/dl

wget http://downloads.sourceforge.net/project/htop/htop/1.0.2/htop-1.0.2.tar.gz

tar -xvzf htop-1.0.2.tar.gz

./configure; make; make install

Fail:

checking for refresh in -lncursesw… no

configure: error: You may want to use –disable-unicode or install libncursesw.

Ok, so let’s fix that, we need dev libs:

apt-get install libncursesw5-dev

./configure; make; make install

Fail 2, we need another set of ncurses dev libs:

apt-get  install libncurses5-dev

./configure; make; make install

… and that does it. Enjoy htop on your x86 based Netgear ReadyNAS!

Göran Sander Stockholm, Sweden

Qlik Sense consultant and toolmaker at Ptarmigan Labs. Ten years at Spotify, Qlik Luminary and Partner Ambassador, author of the open source Butler tools.

All posts by Göran Sander
Keep reading

More about

Netgear

ReadyNAS RN312 + 8GB RAM = FAIL

My RN312 has worked flawlessly since the upgrade from the standard 2 GB RAM to 4 GB ditto. I would however like to run some memory intensive applications on the NAS, so an upgrade to 8GB would be nice. Turns out this is not as easy – might not even be

1 min read
Netgear

Netgear RN312 firmware upgrade 6.0.8 to 6.1.2

Seems Netgear just released firmware version 6.1.2 for those products that support the new UI (I believe UltraNAS and other non-Intel based devices does not get the benefits of the new version 6 and above firmware – or maybe they have reconsidered – not sure). Updating is always a

1 min read
Netgear

Moving CrashPlan cache and log directories to new locations

As discussed in a previous post, the ReadyNAS might run out of disk space on the 4 GB root partition if you install software other than that provided by NetGear. In my case it was CrashPlan’s cache and log files that were filling up the root partition, with warning

3 min read