Category Archives: Hacking Linksys NSLU2

Debian NSLU2 upgrade Etch to Lenny

So it’s time to upgrade the slug’s Debian NSLU2 from Etch to Lenny. Every upgrade carried a risk, depending on how much you have customised the installation. In my case, the risk was small since I have made little change to the default install. In spite of that, the hassle and significant time penalty in [...]

Chronicles of iplist in Debian NSLU2 part 5

Part 5 chronicles my investigation of the various issues, after getting iplist to work on the Debian NSLU2 in part 4. In summary, the issues I found were: 1. iplist did not start; 2. iplist did not properly stop; 3. iplist not working after automatic update of blocklists; 4. not enough physical memory.

Chronicles of iplist in Debian NSLU2 part 4

Part 4 chronicles my third attempt to build iplist on the Debian NSLU2. In previous attempts, I have been using libnfnetlink and libnetfilter_queue from the official Debian repository. However, iplist has failed to work due to “error: can’t set packet_copy mode”.

The Debian Etch repository held libnfnetlink version 0.0.16 and libnetfilter_queue version 0.0.12. The next step was to use latest versions from netfilter.org.

Chronicles of iplist in Debian NSLU2 part 3

Part 3 chronicles my second attempt to build iplist on the Debian NSLU2. It continued from where part 2 left off.

In this second attempt, I was still using the official packages from the main repository. However, I applied the suggested patch mentioned in Debian Bug report logs – #466645.

Chronicles of iplist in Debian NSLU2 part 2

Part 2 chronicles my first attempt to build iplist on the Debian NSLU2. I started by using the official packages from the main repository, and the “standard Debian” build method used by iplist.

Chronicles of iplist in Debian NSLU2 part 1

For the longest time, I have been wondering what I wanted to do with the hacked Linksys NSLU2. I don’t really need a NAS. I don’t need a file or media server. It a fun device to hack around, but ultimately, I would like a goal to aim for.

Debian NSLU2 post-install part 2

My last post about the Linksys NSLU2 was 3 months ago. I have almost everything prepared for “Debian NSLU2 post-install part 2″, but real world intruded. I lost my job due to “corporate restructuring”, and everything else seemed more urgent. A month went by, then two months. After three months of being jobless, and now [...]

Debian NSLU2 post-install part 1

After installing Debian NSLU2 on usb thumbdrive, there are still a few things to do before I got a fully functional slug ready to be adapted to do whatever I wanted. First boot By default, the slug will beep three times to signal that the boot has been completed and the slug is ready for [...]

Installing Debian/NSLU2 on usb thumbdrive

In previous posts, I outlined the slug’s hardware modifications. Once I have added an internal usb thumbdrive, it was time to install Debian NSLU2 on the thumbdrive. Installing on a usb thumbdrive was almost identical to installing on a usb harddrive. To recap, here was the reference webpage and here was my previous post on [...]

Add internal usb thumbdrive part 2

Continuing from the previous post, here was how I added an internal usb thumbdrive inside the Linksys NSLU2. Step 1: Understanding the usb ports The slug came with two external usb ports. The simplest way to add a thumbdrive as the root partition is to plug it to the port marked “Disk 1″. However, there [...]