====== QNAP TS-231P ======
{{ media:image:hardware:ts-231p.png?100}}
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 [[sony_playstation_2|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 support((Last checked May 2021)) |
| RAM | 1GB DDR3 | | Can't expand* |
* Hmm, this guy easily replaces the RAM on a TS-231P**2**: [[yt>kQTGJ-j9ZCA]]\\
But this disassembly video of my model doesn't show any replaceable RAM: [[yt>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 [[acer_extensa_5210|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.
* [[https://qnapclub.eu/en/howto/1|Install our repository]]
=== My QNAP ===
Spiritual successor to Qnapclub, with similar problems, but at least packages are getting updates.
* [[https://www.myqnap.org/install-the-repo/|Install the REPO]]((Why's 'repo' capitalised; who knows?!))
=== Entware ===
I keep forgetting to investigate this properly, but I think it's a general repo of packages for non-PC Linux hardware.
* https://entware.net/
* https://github.com/Entware/Entware/wiki
* https://github.com/Entware/Entware/wiki/Install-on-QNAP-NAS
==== Creating Packages ====
* https://old.reddit.com/r/qnap/comments/f1p770/how_to_create_qnap_qpkg_packages/
===== Troubleshooting =====
* [[https://wiki.qnap.com/wiki/Hard_drives_spindown_issues|Hard drives spindown issues]]
* [[https://docs.qnap.com/operating-system/quts-hero/5.0.x/en-us/enabling-installation-of-apps-without-digital-signatures-FF49B7EE.html|Enabling Installation of Apps without Digital Signatures]]\\ The OS kept stopping [[mpd]] (and other things) with error '[software] has an invalid digital signature. The app has stopped and cannot be installed on QTS. You can remove it in the App Center.' You can disable this check from App Center > ⚙️ > General > Allow installation and execution of applications without a digital signature
===== Updates =====
* https://www.qnap.com/en-au/security-advisory - Subscribe to security updates via [[e-mail|E-mail]] or [[rss|RSS]].\\ Subscription seems to be unavailable now? --- //2020/11/10 05:46//
===== 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.
- 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.
- 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 =====
* [[https://www.qnap.com/en-au/product/ts-231p/specs/hardware|TS-231P]] on the QNAP website.
{{tag>fixes guide nas qnap hardware storage self-hosting}}