V
V
VobaIvanov2019-04-16 23:44:43
Computer networks
VobaIvanov, 2019-04-16 23:44:43

Renaming a Synology NAS? Or redirection from one host to another within the same network?

peer-to-peer network. There was a server 1server. Instead, a Synology DS412+ NAS is installed. Its web interface does not allow you to give it a network name starting with a number. Is it possible to force (via the terminal or something else) to call it 1server after all?
If not, how can I set up redirection from \\1server to \\disk in Mikrotik, for example? That is, a user on the network knocks on \\1server\*\*, but gets to \\disk\*\*.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ingvar, 2019-04-17
@VobaIvanov

add netbios name = 1SERVER to /etc/samba/smb.conf
after field
workgroup={workgroup name} checked on my synology: yes, it takes name from /etc/hostname above line no. I was not too lazy, I checked the requirements for the hostname in Linux - letters and numbers are allowed, which is logical, even a dash, the only name cannot begin with a dash, which is also logical. so you can start by just thru

ssh админ_аккаунт@адрес_вашего_синолоджи 
vi /etc/hostname

change hostname.
You can also write in the hosts file on each windows machine:
1server ip_address
and on Windows machines, if they don’t see it, do:
ipconfig /flushdns
ipconfig /registerdns

took from here
* ssh on Synology is included in the Terminal parameter if anything

C
CityCat4, 2019-04-17
@CityCat4

You can, why not...
In the Windows network - it will be at least \\ZHOPA.
Go to synology terminal, get root rights

cd /etc/samba
vi smb.conf

Specify the desired parameter in the samba config, restart the service (or reload the shelf)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question