DNS-323: Initial set-up
I purchased (a shamefully long time ago, welcome to tech live as a mom with a toddler) a DNS-323 (and two 1T drives) with the hope of moving most of our shared files onto it. Now that we don't record TV shows anymore, having that box on all the time is just a power drain. So: the goal is a DNS-323 with all of our files (photos, music, finance stuff, some movies, etc.) onto the first volume of that drive, and then using an rsync shadow with hardlinks to do nightly backups to the second drive. Some RAID configurations have been reported as less than stable, and using a mirror configuration requires both drives to be active: a nightly rsync backup will do.
Applying firmware and extra software
A firmware update became available between when I bought the unit and when I finally got a chance to work on it-- so I updated the firmware to 1.08, and installed the optional NFS package, though I haven't set NFS up yet.
FirmwareAdditional Software / NFS update
- Download the firmware update (as a zip) from dlink.com (under "Support Resources")
- Unzip the download
- Using the Web UI, go to the Tools tab, select Firmware from the left-hand menu
- Use the browse button to find the firmware update (dns323_firmware_108 in my case)
- Use the apply button (which is in the text above the form, oddly enough) to apply the firmware update
- Download the additional software package from dlink.com (under "Additional Downloads")
- Unzip the download
- Using the Web UI, go to the Advanced tab, and select "ADD-ONS"
- Browse to the unzipped file using the appropriate form (Application Pack, in my case, with the file dns323_NFS _Package_v1.00)
- Use the apply button to install the software: it will show up in the table below (in the case of the application pack, anyway), and you can toggle the status there (enable/disable via start/stop).
Setting up funplug, etc.
First, install fun_plug (v0.5).
- I used the Web UI to create a new user, and then used the FTP to transfer fun_plug and fun_plug.tgz to Volume 1 as described here.
- Easy to follow instructions to install additional packages from in the README:
That does install all of the additional packages, but fonz's how-to recommends,telnet <your-dns-323> cd /mnt/HD_a2 rsync -av inreto.de::dns323/fun-plug/0.5/packages . cd packages funpkg -i *.tgz
So, that's what I did. At the end of the day, I'll be using quite a few of the extra packages anyhow...There's nothing in the install tarball (fun_plug.tgz) that's not in a package. The simplest way to stay current is to install all the main packages ( http://www.inreto.de/dns323/fun-plug/0.5/packages/ ).
I suggest to keep a local copy of the packages using rsync (don't forget –delete). Then use 'funpkg -i *.tgz' and 'funpkg -u *.tgz' to install and upgrade.
Fixing the root user
fonz's how-to includes a section on "fixing" the root user.
pwconv | Ensures we have an /etc/shadow file based on the contents of /etc/passwd |
passwd | Set a password for root |
usermod -s /ffp/bin/sh root | Set the root user's shell to one that won't prompt for an obscure unlock code |
pwck | Sanity check the /etc/passwd file; ignore missing home directories for nobody and admin |
grpck | Sanity check the /etc/group file; ignore bad group names 500/501 |
login | Test your changes: verify you can log in with the password you think you set. ;) |