Setting up an NSLU2 with OpenSlug
to be an ftp server for a Topfield 5000PVR
- First, grab the
firmware that we will need:
Download the firmware, click on this link, scroll to the bottom and accept
the license to download the file
http://www.slug-firmware.net/s-click.php?p=download%2Fslugos&f=OpenSlug-3.10-beta-firmware.zip&l=s-license.txt&k=a68d30628fc5cd840f393def0b811bf6
- Make sure you have
assigned an IP Address to your NSLU2, if you don't know how to do that,
perhaps you shouldn't go any further.
- Get your NSLU2 into Redboot.
If you are running unslung, you can do this from the web interface.
If you have the original Linksys firmware, it is
probably easier to use ToppyTools AutoRedboot.
Grab that from this link:
http://www.ourbackyard.net/toppytools/freeware/Auto%20RedBoot.zip
If all else fails do the
following:
1. Turn off your slug
2. Hold down the reset button on the slug's
back panel down
3. Turn on your slug while still pressing the
Reset button
4. Keep holding down the Reset button for 10
seconds
5. Wait for the Ready/Status light to go
solid red.
6. Stop pressing the Reset button
7. Wait for the Ready/Status light to
alternate between red and green.
- If you are using windows,
make sure you have the sercomm utility to upload
the image. You can grab that here:
http://www.everbesthk.com/8-download/sercomm/firmware/all_router_utility.zip
- Start that up and
upload the *.bin file
The slug will reboot when it finishes uploading,
this can take about 5 mins.
- Once the slug boots
up, you can use putty to ssh
into it with the IP Address assigned to it in step 2. If you just left it
as default, it will be 192.168.1.77. The user is root, the default
password is opeNSLUg (case sensitive), but don't
worry, you get to change it in the
next step!
- Once you are logged
in for the first time, you will need to run 'turnup
init' to initialise the slug. Just follow the prompts, no big gotchas there.
turnup init
- The next thing to do
is sort out some packages:
Use the following commands (copy and paste from here is probably the
easiest way)
ipkg update
ipkg remove kernel-module-ext2
kernel-module-ext3 kernel-module-vfat
kernel-module-fat kernel-module-isofs kernel-module-nfs kernel-module-ntfs
kernel-module-reiserfs reiserfsprogs
reiserfsprogs-mkreiserfs reiserfsprogs-reiserfsck
e2fsprogs-e2fsck e2fsprogs-fsck e2fsprogs-mke2fs e2fsprogs-badblocks
e2fsprogs-blkid lrzsz
ipkg install ftpd-topfield (note this will grab it from the normal repository,
if you want the lastest build, skip this and try the
next one)
ipkg install ftpd-topfield http://markb.dreamhosters.com/toppy/ftpd-topfield_0.7.4-r0_armeb.ipk
ipkg install puppy
- Have a look and see
how much space is used
df
- Have a look and see
what the performance is like (ctrl+c to exit)
top
Congrats, you just setup an Openslug!
Please
make sure you donate to those who provide all these utilites
for us.
Many
thanks to everyone who helped make all this possible by providing me with
assistance, and writing these fantastic tools.