NAS

In my case I’m using a DS1522+ as a NAS. I already had forgotten; my username so had to do a hard reset.

Mode 1 reset on a Synology NAS is a soft reset that allows you to:

βœ… What Mode 1 Reset Does

  • Resets:

    • Admin password (blank)
    • Network settings (set to DHCP)
  • Keeps:

    • All other settings (users, shared folders, apps, data, permissions, etc.)

This is useful if you:

  • Forgot your admin password
  • Misconfigured your network and can’t connect to the NAS

πŸ”§ How to Perform a Mode 1 Reset

  1. Locate the Reset Button

    • Usually a small pinhole on the back of your NAS
    • Use a paperclip or SIM ejector tool
  2. Turn on Your NAS

    • It must be fully booted and operational (power LED is solid)
  3. Press and Hold the Reset Button

    • Hold it for about 4 seconds until you hear a beep
    • Release the button after the first beep
  4. Wait ~1 Minute

    • Network settings will reset to DHCP
    • Admin password will be blank
  5. Access DSM

    • Go to http://find.synology.com or use Synology Assistant

    • Log in as:

      • Username: admin
      • Password: (leave it blank)
    • DSM will prompt you to set a new password


πŸ›‘ Important Notes

  • If admin is disabled, this reset re-enables it.
  • No data or settings are lost.
  • Be sure to set a new secure password right after logging in.

Here’s a table summarizing the best ways to move data between your Synology NAS and other devices on your network, based on the previous response:


πŸ“‹ Best Ways to Transfer Data to/from Synology NAS

MethodBest ForHow to Use / SetupNotes
SMB / NFS (File Sharing)General file transfer (Windows, macOS, Linux)DSM β†’ Control Panel β†’ File Services β†’ Enable SMB/NFS
Connect via file explorer
Easiest drag-and-drop method on LAN
Synology DriveFolder syncing and backup (like Dropbox)Install Synology Drive Server (NAS) + Drive Client (PC)
Configure sync tasks
Cross-platform, versioning supported
USB CopyOne-time USB transfers (external drives, cameras)Plug USB drive β†’ Use USB Copy app or File StationSupports auto-transfer or manual copy
DS File / Synology Drive AppMobile transfers and accessInstall app on phone β†’ Connect via QuickConnect or IPiOS/Android support, local or remote
rsync / scp / SFTPAdvanced scripting or encrypted CLI transfersEnable SSH in DSM β†’ Use terminal to transfer filesIdeal for automation and Linux/macOS users
Hyper BackupRegular device or NAS-to-NAS backupUse Hyper Backup in DSM to schedule backup jobsGood for backup redundancy
WebDAVMountable over HTTPSEnable in DSM β†’ Mount using WebDAV clientsRemote-friendly, encrypted transfers
FTP / SFTPLegacy app compatibility, simple file serversEnable in DSM β†’ Connect via FTP clientsLess secure unless SFTP is used
Snapshot ReplicationNAS-to-NAS sync or backupRequires two Synology NAS unitsSupports scheduling and versioning
Third-party toolsSpecial workflows (e.g. Rclone, Mountain Duck)Install & configure on client deviceGood for cloud integrations and scripting

Let me know your operating system and goals (e.g., backup vs. syncing vs. occasional copy), and I can suggest the best method with step-by-step setup.


Planned setup:

       β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
       β”‚  Fedora PC │◄──── SMB/NFS mount to Synology
       β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜
            β”‚
            β–Ό
     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”        Ethernet       β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
     β”‚ Raspberry Pi  │◄─────────────────────►│ Synology NASβ”‚
     β”‚  (CasaOS)     β”‚                       β”‚   DS1522+    β”‚
     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                       β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
      β”‚        β”‚  β–²
      β”‚        └──┴──── Docker Apps:
      β”‚                   - Nextcloud (points to NAS storage)
      β”‚                   - Jellyfin (reads media from NAS)
      β”‚                   - Pi-hole (network-wide DNS)
ComponentRole
Synology DS1522+Central storage server (SMB/NFS file share, backups, media files)
Raspberry Pi 4 (Ethernet)Runs CasaOS to manage self-hosted apps
Apps to Host on Pi- Nextcloud: for family photos/videos backup
- Pi-hole: network-wide ad blocking
- Jellyfin: media streaming
Mount Synology NASMount Synology shared folders on the Pi for media and backup access

NFS and SMB are two different network file sharing protocols that allow files and directories to be shared across systems over a network. They are commonly used in both home and enterprise environments. Here’s a breakdown of each:


NFS (Network File System)

  • Developed by: Sun Microsystems (now Oracle)
  • Mainly used on: Unix and Linux systems
  • Purpose: Allows users on a client computer to access files over a network as if they were on the local storage.
  • Protocol type: Stateless protocol (mostly, in early versions)
  • Ports used: TCP/UDP 2049 (plus others for supporting services like rpcbind)
  • Authentication: Traditionally relies on host-based trust or Kerberos (in secure setups)
  • Speed: Often faster on Linux/Unix systems due to native support and lower overhead

πŸ“Œ Use case: Common in Linux-based environments for mounting shared directories like /home, /data, etc.


SMB (Server Message Block)

  • Developed by: IBM, heavily extended by Microsoft
  • Mainly used on: Windows systems (but also supported on macOS and Linux via Samba)
  • Purpose: Provides shared access to files, printers, and serial ports between nodes on a network.
  • Protocol type: Stateful protocol
  • Ports used: TCP 445 (modern versions); also NetBIOS over TCP/IP uses ports 137–139
  • Authentication: Stronger and more flexibleβ€”supports user-level security, NTLM, Kerberos
  • Speed: Can be slower on non-Windows systems unless properly optimized (e.g., with Samba tuning)

πŸ“Œ Use case: Common in Windows environments for shared folders like \\Server\Documents


Quick Comparison

FeatureNFSSMB
OS IntegrationUnix/Linux (native)Windows (native)
Cross-platform?Yes (but needs setup)Yes (with Samba, etc.)
AuthenticationWeak (basic) β†’ Strong (Kerberos)Strong (NTLM, Kerberos)
PerformanceFast on Unix/LinuxGood on Windows; tunable elsewhere
Use caseEnterprise Linux sharingWindows file and printer sharing

Which should you use?

  • Linux-to-Linux: Use NFS
  • Windows-to-Windows: Use SMB
  • Mixed environments: Either, but SMB via Samba on Linux is often more compatible for Windows clients

Let me know if you want help setting up either!

Mounting fstab

To auto-mount your Synology NAS shared folder on boot using /etc/fstab, follow this safe and clean method. This is especially useful on your Raspberry Pi (Debian/Ubuntu-based) or Fedora system.


βœ… 1. Make Sure CIFS Support is Installed

On Fedora:

sudo dnf install cifs-utils

On Raspberry Pi (Debian-based):

sudo apt install cifs-utils

πŸ“ 2. Create a Mount Point

This is where the NAS folder will appear on your local machine:

sudo mkdir -p /mnt/nas_media

Instead of putting your password in /etc/fstab, create a credentials file:

sudo nano /etc/smb-credentials

Contents:

username=piuser
password=yourpassword

Then secure it:

sudo chmod 600 /etc/smb-credentials

🧷 4. Edit /etc/fstab to Add the Mount

Open the file:

sudo nano /etc/fstab

Add the following line at the end:

# Synology NAS mount
//192.168.1.100/media /mnt/nas_media cifs credentials=/etc/smb-credentials,vers=3.0,uid=1000,gid=1000,nofail,x-systemd.automount 0 0

πŸ” Explanation of options:

OptionDescription
credentials=/etc/smb-credentialsLoads your login info securely
vers=3.0Use SMB protocol v3 (works with Synology)
uid=1000,gid=1000Make the mounted files accessible to your user
nofailDon’t block boot if NAS is unreachable
x-systemd.automountMount on access rather than during early boot

πŸš€ 5. Test It

Don’t reboot yet β€” test it first:

sudo mount -a

If no error, it worked! Check:

ls /mnt/nas_media

πŸ”„ 6. On Next Boot, It Will Mount Automatically

If it fails silently, check logs with:

journalctl -b | grep mount

Would you like help customizing this for multiple folders or NFS instead of SMB?