Questions tagged [synology]

103 questions
62
votes
4 answers

What is the maximum allowed filename (and folder) size with eCryptfs?

I am a new eCryptfs user and I have a very basic question that I wasn't able to find anywhere. I am interested in using eCryptfs via my Synology NAS that uses Linux. While trying to encrypt my folder (EXT4) via Synology's encryption app (eCryptfs) I…
Fabry
  • 621
  • 1
  • 5
  • 3
61
votes
4 answers

ssh Unable to negotiate: "no matching cipher found", is rejecting cbc

I am trying to ssh to remote machine, the attempt fails: $ ssh -vvv [email protected] OpenSSH_7.7p1, OpenSSL 1.0.2o 27 Mar 2018 ..... debug2: ciphers ctos: aes128-cbc,3des-cbc,aes192-cbc,aes256-cbc debug2: ciphers stoc:…
lesnik
  • 1,341
  • 2
  • 13
  • 20
14
votes
2 answers

"Command not found" when using ssh and non absolute commands

I want to use a command over ssh: ssh myuser@myhost mycommand but doing so I always get: sh: mycommand: command not found using following obviously works: ssh myuser@myhost /usr/local/bin/mycommand and i understand why: it's because the command…
Simon
  • 299
  • 1
  • 2
  • 10
11
votes
2 answers

How can I identify an embedded Linux distribution?

I'm trying to identify an embedded Linux distribution. Here are the commands I have typed so far: $ uname -a Linux LIN-SRV-EMB01 3.10.105 #25556 SMP Sat Aug 28 02:14:22 CST 2021 x86_64 GNU/Linux synology_bromolow_rs3412rpxs $ lsb_release -sh:…
SebMa
  • 1,941
  • 4
  • 22
  • 37
8
votes
3 answers

Command to Search for Filenames Exceeding 143 Characters?

So some background first: I am attempting to convert a non-encrypted shared folder into an encrypted one on my Synology NAS and am seeing this error: So I would like to locate the offending files so that I may rename them. I have come up with the…
Stunner
  • 183
  • 6
8
votes
1 answer

meaning of @ in (btrfs?) pathnames

I have noticed that Synology NAS devices preface many system-relevant links or directory names with the @ character. I've just noticed that the standard partitioning in openSUSE does the same when naming btrfs volumes, creating one subvolume named…
Zak
  • 357
  • 2
  • 14
8
votes
1 answer

How to enable bash completion in vi mode on Synology DSM6

When I turned on vi mode in bash by setting set -o vi suddenly the tab completion was broken, and a literal tab was inserted. How can this be fixed?
Gerhard Burger
  • 333
  • 1
  • 8
7
votes
3 answers

use SSHFS to mount Synology NAS

I want to mount my home folder on a Synology NAS. I can SSH to the NAS but when I try sshfs, I get this error 'read: Connection reset by peer'. I used the following command: sshfs [email protected]:/volume1/homes/john /my_nas -p 1919 I also tried…
Alex
  • 397
  • 3
  • 6
  • 18
5
votes
0 answers

How can I install visudo on Synology DSM?

I want to edit the sudoers file on my Synology Disk Station (specifically, to enabled password-less shutdown), however my version of Synology DSM does not have visudo installed. How can I install it so I can safely edit the sudoers file?
Stoz
  • 151
  • 1
  • 5
5
votes
1 answer

Shrink MDADM Raid 5 containing LVM

The plan: I've been growing a Raid5 array in a personal server for some years, and the time has come to move to something more suited to this application. I've accumulated 6x 8tb drives containing media, backups, etc. I bought a Synology 8 bay…
mythos
  • 73
  • 5
5
votes
2 answers

Difference between dot and asterisk in find command

I have a Synology NAS, which uses a customised Linux for its OS. Using the find command, I am trying to list the files modified since about 25 days, with some exclusions, within a particular directory. I noticed that when I use a "*" instead of a…
EEM RT
  • 61
  • 1
  • 3
4
votes
2 answers

`ls` behaving differently inside and outside of bash script

I am working on a Synology NAS. I have a list of files I want to delete, listed with full path in a file called Myfiles.txt.  The file has circa 3000 lines like this: "/volume2/NBU/Downloads/AA_To be…
jdoran1066
  • 41
  • 1
4
votes
2 answers

How wait for eth0 interface before running "ip link", "ip addr" and "ip route" commands?

I have the following script that I need to run on my Synology NAS at boot-up. The Synology NAS has built-in scheduled tasks with the ability to trigger tasks at boot-up. The script I need to run is this: #!/bin/sh ip link add macvlan0 link eth0…
rfgamaral
  • 455
  • 2
  • 7
  • 19
4
votes
1 answer

How to bind to a privileged port from a non-root process, on a Synology NAS

I want to run a custom DNS server (NxFilter to be precise) on a Synology DS115j NAS, which of course binds on port 53. This works when running as root, but I want to lock down the process now. This NAS runs a busybox flavor of linux (using DSM5 in…
hitchhiker
  • 141
  • 2
3
votes
1 answer

Different directory size after rsync and using du

I migrated some special directories (not supported by common migration tools) from one Synology NAS volume (ext4) to another (btrfs). After checking if the synchronization was successful I found that sizes differ a lot. I understand that there are…
CraZ
  • 143
  • 8
1
2 3 4 5 6 7