Configuration NAS Wolverine: Difference between revisions

From miki
Jump to navigation Jump to search
Line 21: Line 21:
From now on, we must use to connect to the NAS.
From now on, we must use to connect to the NAS.


; File Service
;Configuration
* SMB, change workgroup name from <tt>WORKGROUP</tt> to <code>HELL</code>.
* File Service
* Disable '''AFP'''.
:* SMB, change workgroup name from <tt>WORKGROUP</tt> to <code>HELL</code>.

:* Disable '''AFP'''.
; Miscellaneous
* Set user only permission in /homes:
* Set user only permission in /homes:
:* Login with ssh using <code>admin</code> account.
:* Login with ssh using <code>admin</code> account.
Line 32: Line 33:
* Remove <code>#recycle</code> folder from share <code>/volume1/borg</code>.
* Remove <code>#recycle</code> folder from share <code>/volume1/borg</code>.
:* Otherwise <code>borg init</code> complains there is already something there.
:* Otherwise <code>borg init</code> complains there is already something there.

* Network:
; Network:
:* Use static address <code>192.168.1.98</code>.
* Use static address <code>192.168.1.98</code>.

;Task scheduler
* Schedule 'Recycle Bin' task, every wednesday, delete 28-day old or older files.


== Troubleshooting ==
== Troubleshooting ==

Revision as of 21:15, 27 September 2018

Reference information

  • Device: Synology NAS DS118 (one bay).
  • Name: Wolverine.
  • Web interface: http://wolverine:5000, then log in with admin account admin.
  • SSH: ssh admin@wolverine, then sudo -i to get root access.
Or use any other member of the administrator group.
  • Static address 192.168.1.98.
  • Specification:
  • Synology DS118
  • Seagate IronWolf 4 TB
Hard drive 3.5" 4 To 5900 RPM 64 Mo Serial ATA 6 Gb/s for NAS (bulk)

Installation

Issue: Must use chromium (requires java)
  • Enable QuickConnect.
Must visit http://QuickConnect.to/immie-wolverine
  • Recommended packages: Moments, Video Station, Media Server, Audio Station, Hyper Backup, Drive, Download Station.
  • Don't share device location for find.synology.com.

From now on, we must use to connect to the NAS.

File Service
  • SMB, change workgroup name from WORKGROUP to HELL.
  • Disable AFP.
Miscellaneous
  • Set user only permission in /homes:
  • Login with ssh using admin account.
  • Become root sudo -i
  • Set acccess rights with chmod 700 /volume1/homes/admin /volume1/homes/baddreams /volume1/homes/borg
Question: Should we instead enable option Hide sub-folders and files from users without permissions?
  • Remove #recycle folder from share /volume1/borg.
  • Otherwise borg init complains there is already something there.
Network
  • Use static address 192.168.1.98.
Task scheduler
  • Schedule 'Recycle Bin' task, every wednesday, delete 28-day old or older files.

Troubleshooting

Login failure and "because the encryption key is invalid..."

Symptoms:

  • Login fails.
  • Message Because the encryption key is invalid the password has been transmitted in the clear

Cause:

Solution: