Unsupported configuration changes
From SynologyWiki
Disable Passive FTP in Download Station
- Create the following file: /root/.wgetrc
- And in that file, have this content "passive_ftp=off"
- Forum Discussion
Restrict FTP-access
- Edit /etc/ftpusers.
- Add one username per line for every user that should have no FTP-access.
- Forum Discussion
Change outgoing e-mails
- You can edit the outgoing mail texts in /usr/syno/synoman/texts/yourlanguage/mails (Firmware < 524)
- Outgoing mail texts can be found at usr/syno/synoman/webman/texts/yourlanguage/mails (Firmware 571)
- Forum Discussion
Show HDD temperature in admin-interface
Applies to Firmware 518 and to Stations that don't show the HDD temperature by default
- Edit /etc.defaults/synoinfo.conf
- Change showdisktemperature="no" to "yes"
- Forum Discussion
Change web upload limit in php.ini
> vi /usr/syno/etc/php.ini
Edit post_max_size
Edit upload_max_filesize
Restart Web Station
Edit apache configuration httpd.conf
- The httpd.conf used by the Webstation is /usr/syno/apache/conf/httpd.conf-user
- Forum Discussion
Photo Station
- The .php and .html files used by the photo Station are located in /usr/syno/synoman/phpsrc/photo/
- in /usr/syno/synoman/phpsrc/photo/conf/syno_photo_conf.php you can edit the number of thumbnails per row ($SYNO_PHOTO_WIDTH) and the number of thumbnails per page ($SYNO_PHOTO_PICS_PER_PAGE).
- How to get bigger thumbnails in Photo Station
- Forum Discussion
View volume1 as a share, or folders outside of volume1 via Samba
> vi /usr/syno/etc/smb.conf > /usr/syno/etc/rc.d/S80Samba.sh restart
i.e. ...
- Enable the Command Line Interface
- Login to the Command Line Interface as root
- Use vi to edit the file /usr/syno/etc/smb.conf, e.g. enter the command "vi /usr/syno/etc/smb.conf". See Basic commands for Linux vi Editor if you are new to vi. The format of the file should be fairly obvious, e.g. if you want to share "/volume1" copy one of the existing shares such as "[music]" and then change the title to something like [Volume1_Dir] and change the path statement to "path=/volume1". Save the file and exit vi.
- Restart the samba daemon, e.g. enter the command "/usr/syno/etc/rc.d/S80Samba.sh restart"
- Exit the Command Line Interface
- Reboot the NAS
- Finished
Change SSH Port
> /usr/syno/etc.defaults/rc.d/S95sshd.sh stop > vi /etc/ssh/sshd_config > /usr/syno/etc.defaults/rc.d/S95sshd.sh start
When editing the sshd_config change the line #Port 22 to Port 10022 or some other port number.
Edit/Import hosts deny list
> vi /etc/hosts.deny
- Block FTP: Insert ftpd : xxx.xxx.xxx.xxx : deny
- Block SSH: Insert sshd : xxx.xxx.xxx.xxx
- Forum Discussion
Create FTP White List
> vi /etc/hosts.deny
- Add ftpd : ALL : deny
> vi /etc/hosts.allow
- Add ftpd : white.list.ip.address : ALLOW
View UPS Information
> upsc ups@localhost
Edit the Audio Station Default Internet Radio Playlist
> vi /usr/syno/etc/audio/builtin_radio_station.asx
Manually support PZT in Surveillance Station
> vi /usr/syno/etc/camera_model.conf
Create a new entry, and edit the variables to reflect the camera settings to control PZT
Remove (Disk/Rack/Cube Station) Comment when browsing the Synology system via Samba
>vi /usr/syno/etc/smb.conf- Adjust [Global] -> server string
>/usr/syno/etc/rc.d/S80Samba.sh restart
