User Tools

Site Tools


qnap_ts-231p

QNAP TS-231P

As much as QNAP seems to push it as some kinda do-everything server, I recommend keeping it mostly closed to the Internet, and sticking to using it for backups and fun things on your local network.

Some things I use mine for:

  • Downloading and seeding torrents.
  • Holding all my media like books, movies, music, PS2 ISOs, that can then be accessed by other devices (a laptop with Kodi plugged into the telly, a hacked PS2, a tablet connected to the stereo…).
  • Streaming music with MPD.
  • Hosting a private wiki where we put restaurant notes, recipes, pictures of our cat…
  • Syncing files between computers, phones.
  • Syncing calendars, tasks, and address books.

When the time comes to get a new NAS though I'll probably just build my own, as this thing ha some annoying limitations, especially in regards to up-to-date software :)

Hardware

Part Type Name Notes
CPU 32-bit ARM AnnapurnaLabs, Alpine AL-212, 2-core, 1.7GHz Some Linux kernal support1)
RAM 1GB DDR3 Can't expand*

* Hmm, this guy easily replaces the RAM on a TS-231P2: kQTGJ-j9ZCA
But this disassembly video of my model doesn't show any replaceable RAM: AFHSjEwSntw

Access

Mounting on Linux

Every now and then it changes things and I have to rewrite my fstab entry.

The most recent change is that you have to specify the version, so add vers=3.0

nobrl is handy for a directory you're using with Calibre iirc., but I don't use it for everything for…some reason.

On my main computer (Arch Linux) I use these options:

defaults,uid=[],forceuid,cred=[],vers=3.0,sec=ntlmv2

On my busted old laptop I use for Kodi:

FIXME

Backup

For Windows (and Mac?) it's pretty straightforward, but for Linux you have to use rsync (or some third-party packages for restic, bacula, (etc.)), the tricky thing being that you need to setup SSH access for the user you want to backup as, as by default it's only for the admin. And it uses some funny SSH config that gets rewritten when the system reboots.

So!, you need to FIXME - SSH in as an admin and add the username you want to backup as to /etc/ssh/sshd_config, line AllowUsers. - Restart the SSH service with (you have to do the whole command, even if you're in the directory) /etc/init.d/openssl_signature.sh restart. - (If that doesn't work do /etc/init.d/services.sh restart to restart all services)

Packages

Third-Party

I'd like to make my own repo. at some point.

Qnapclub

The documentation for third-party packages is near universally garbage. Rarely do links to things like tutorials point to anywhere relevant to using on a QNAP, and often they point to pages that don't even exist! Seems like it's only a few people adding the majority of them, and most seem to have been quickly added, then abandoned. Everything's out-of-date. Still, it's useful!

NB: It's since become even less useful, as the main contributors have moved to another repo, My QNAP.

My QNAP

Spiritual successor to Qnapclub, with similar problems, but at least packages are getting updates.

Entware

I keep forgetting to investigate this properly, but I think it's a general repo of packages for non-PC Linux hardware.

Creating Packages

Troubleshooting

Updates

Upgrading Disks

Upgrading to disks to higher capacity ones was a bit obtuse. Installing is fine, just hard to find the right menu to be in to increase their allocated space.

  1. Storage & Snapshots > Storage:Storage/Snapshots > Manage > Manage > Replace Disks One by One
    • Click on disk and press 'Change'.
    • NB: Good to wait a bit for the disk to stop properly?
    • NB: Might want to set the 'priority' higher temporarily.
  2. Storage & Snapshots > Storage:Storage/Snapshots > Manage > Manage > Replace Disks One by One
    • Click on Expand Capacity (yeah, fucking hidden)
    • Don't be afraid if it says something about 'execution' instead of 'expansion' D:'

See Also

1)
Last checked May 2021
2)
Why's 'repo' capitalised; who knows‽
qnap_ts-231p.txt · Last modified: 2023/09/08 19:33 by rjt