http://wiki.edgarbv.com/api.php?action=feedcontributions&user=Red&feedformat=atomEdgar BV Wiki - User contributions [en]2024-03-29T02:25:48ZUser contributionsMediaWiki 1.39.3http://wiki.edgarbv.com/index.php?title=Ubiquiti&diff=37743Ubiquiti2024-03-20T21:52:55Z<p>Red: /* Logging */</p>
<hr />
<div>[http://www.ubnt.com/unifi Ubiquiti Unifi] is scalable and has a linux controller software, meaning you only need to buy APs and a PC with linux on it (ubuntu recommended) to run the network.<br />
<br />
= UDM Pro / Ubiquiti Dream Machine Pro / UDMP =<br />
<br />
== Old vs New UI ==<br />
First remember that there are 2 UI's. The old one has some functionalities that are simply not available in the new UI, especially when it comes to the Insights page! The new UI has nicer statistics and graphics and a much better topology page<br />
<br />
Switch to the old UI from the New by going to the gears icon / settings -> System -> New user interface -> deactivate<br />
<br />
Switch to the new UI from the old by going to gears icon / settings -> User interface -> New user interface -> apply<br />
<br />
== Finding the physical ports used == <br />
Old interface: click the light bulb / insights -> click top right above the table and select Switch stats in the drop down<br />
<br />
New interface: click the AP icon / devices -> click the switch -> click on settings in the slide in details on the right<br />
<br />
== VLAN profile problems ==<br />
From [https://community.ui.com/questions/vlans-not-communicating-cant-ping-gateway/157ffdf8-cbf9-4cb2-af9d-00d6a470ed8d#answer/a19e7a69-5d66-4174-8ecd-162c65c9efc4 vlans not communicating, can't ping gateway]<br />
<pre><br />
Change the profile on switch port 2 to VLAN that you want the PC to be in. DHCP should be working so remove the static IP address on the PC.<br />
Once you've changed the switch port profile you will need to tell Windows to grab a new IP address. You can do that by doing 'ipconfig /renew' in a command prompt or by removing and then reconnecting the network cable.<br />
The firewall rule you added to allow inter-VLAN routing isn't needed. By default UniFi has open access between VLANs so you'd only need to add firewall rules if you wanted to restrict that traffic.<br />
<br />
The 'All' switchport profile is the reason it's not working. Ports with that profile will have VLAN 1 as their native VLAN and the other VLANs will be tagged.<br />
In your case you want the new VLAN to be the native (or untagged) VLAN.<br />
</pre><br />
<br />
ALSO record the switchport settings, as these were deleted by an update at some point<br />
<br />
== Getting Sonos to work across VLANs ==<br />
<br />
create a new network with vlan eg Smarthome / IOT <br />
<br />
create a new wifi network eg Smarthome Wifi and connect it to the Smarthome network<br />
<br />
In the new UI enable mDNS<br />
<br />
advanced features -> advanced gateway settings -> multicast DNS -> enable (enables mDNS reflector service)<br />
<br />
In the old UI<br />
<br />
settings -> site -> auto optimise network<br />
wireless networks -> edit each wifi network -> advanced -> Enable multicast enhancement (IGMPv3)<br />
<br />
You should now be able to control the Sonos machines from across different networks<br />
<br />
This is useful if you have a smarthome controller on a different subnet from your wifi / wired network and it needs the Sonos devices on the same subnet to control them (eg ABB-free@home needs this)<br />
<br />
try: [https://community.ui.com/questions/UDMUDMP-IoT-VLAN-Speaker-Group-fix-with-mDNS-and-Google-Nest-Speakers-Chromecasts/37d6239f-303e-4f9f-8727-626acf07d33c UDM UDMP IoT VLAN Speaker Group fix with mDNS and Google Nest Speakers/Chromecasts] and [https://nerdygeek.uk/2020/06/09/a-tip-for-sonos-and-unifi-udm-pro-users/ A tip for Sonos and Unifi UDM-Pro users]<br />
<br />
== SSH access ==<br />
<br />
You do this in the main login of the UDMP, not in the Networking side. Go to console settings, allow SSH and enter a password. Login as root. See the bottom of [https://community.ui.com/questions/Unable-to-SSH-into-UDMP/2a733e78-db60-42fd-9df9-d9459d200db6]<br />
<br />
== VPN == <br />
<br />
[https://lazyadmin.nl/network/unifi-vpn/ How to setup UniFi VPN on UDM Pro]<br />
<br />
However, swanctl is now no longer supported so you can't really log stuff.<br />
<br />
To kick a user off the VPN you have to use the classic interface. click insights, then from the top left drop down select vpn users, mouse over the connection and a button "terminate" appears. You can also change their password in the VPN settings.<br />
<br />
You can ssh in and find stuff in<br />
<pre><br />
/var/log/messages<br />
/var/log/daemon.log<br />
/var/log/kern.log<br />
/var/log/auth.log<br />
</pre><br />
by tailing and grepping l2tp or the username<br />
<br />
If you <br />
grep username messages<br />
you will find the IP address assigned to the username<br />
<br />
You can also find the device in Client devices and select VPN or in the system Log under Client but all you can see there is that it's connected.<br />
<br />
== Blocking Countries ==<br />
This can be done in 2 ways: <br />
<br />
To block any incoming traffic from entering the network:<br />
<br />
Setup - Security - General - Country restrictions <br />
<br />
or to stop devices from going towards certain countries:<br />
<br />
Setup - Security - Traffic & Firewall Rules (Advanced view) - LAN - Create Entry<br />
<br />
Set Destination: Region.<br />
<br />
== Threat management / choosing protocols ==<br />
Under Settings - Security - General - Detection Sensitivity choose Customise and you can select which protocols (peer to peer / ftp / whatever) you want blocked / notified<br />
<br />
== Logging ==<br />
A lot of the logging (eg port forwarding triggers) won't show in the System Log. You can find the syslog in /var/log/ulog/syslogemu.log and in Settings - System - Advanced tab - Remote Logging location you can set a remote syslog server if you have one<br />
<br />
= Unifi UAP =<br />
<br />
The UAP-Pro can handle 200 concurrent clients and the UAP-LR / LR / UAP-Outdoor can handle 100 simultaneous clients.<br />
<br />
The UAP's are very cheap.<br />
<br />
There are still some problems apparently though.<br />
<br />
== Installing the controller on Debian ==<br />
<br />
This needs to run under a desktop environment, so make sure you have one.<br />
<pre><br />
echo 'deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti' | /etc/apt/sources.list.d/100-ubnt-unifi.list<br />
wget -O /etc/apt/trusted.gpg.d/unifi-repo.gpg https://dl.ubnt.com/unifi/unifi-repo.gpg<br />
apt update <br />
sudo apt install unifi<br />
</pre><br />
Then<br />
<pre><br />
systemctl enable unifi<br />
systemctl start unifi<br />
</pre><br />
<br />
visit the controller software at http://localhost:8080<br />
<br />
[https://help.ubnt.com/hc/en-us/articles/220066768-UniFi-How-to-Install-Update-via-APT-on-Debian-or-Ubuntu]<br />
<br />
You may need to change the ports<br />
<br />
[https://help.ubnt.com/hc/en-us/articles/204910084-UniFi-Changing-Default-Ports-for-Controller-and-UAPs]<br />
<br />
== Migrating from another controller on another PC ==<br />
===If you are not changing hostname / IP===<br />
# Make sure both controllers are the same version (ie update them both)<br />
# if necessary upgrade the firmware on the controllers<br />
# make a backup to an .unf file of the old controller<br />
# Visit the new controller (using the applet or the website) and restore from a previous backup<br />
<br />
<br />
===If you ARE changing hostname / IP===<br />
# Make sure both controllers are the same version (ie update them both)<br />
# if necessary upgrade the firmware on the controllers<br />
# make a backup to an .unf file of the old controller<br />
# Visit the new controller (using the applet or the website) and restore from a previous backup<br />
# On the old controller<br />
<pre><br />
When I move the controller, I just go into the GUI on existing controller, under SETTINGS, CONTROLLER, and change the Controller Hostname / IP to the NEW IP ADDRESS, (removing unifi.yourdomain.com) and then check the box "Override inform host with controller hostname/IP" <br />
<br />
Since I have the migrated controller up and running already on the NEW IP ADDRESS, after I shut down the OLD CONTROLER, the new one immediately starts provisioning the WAPS.<br />
</pre><br />
[[File:UnifiControllerIP.JPG|400px]]<br />
Press apply changes on the bottom. You should see the new controller status of the APs changing to connected.<br />
<br />
[https://community.ubnt.com/t5/UniFi-Wireless/Migrate-control-to-another-computer/td-p/1891294]<br />
<br />
An alternative method is to SSH to each AP and use set-inform to point them to the new controller<br />
<pre><br />
set-inform http://IP.ADDR.OF.Controller:8080/inform<br />
<br />
set-inform, adopt, set-inform a second time.<br />
<br />
If you forget the syntax, 'help' will help<br />
</pre><br />
<br />
==files==<br />
<br />
/var/lib/unifi/data/system.properties<br />
<br />
if this doesn't exist<br />
<pre><br />
java -jar /usr/lib/unifi/lib/ace.jar discover<br />
</pre><br />
<br />
/usr/lib/unifi/logs/server.log<br />
<br />
/usr/lib/unifi/logs/mongod.log<br />
<br />
== migrating controller from one machine to another ==<br />
<br />
[https://community.ubnt.com/t5/UniFi-Wireless/Migrate-control-to-another-computer/td-p/1891294]<br />
<br />
=EdgeMAX EdgeRouter=<br />
<br />
The UI is slightly confusing as there are buttons on the top, bottom, middle and at the bottom. Also, logging only starts once you log in, so the dashboard and traffic analysis only start once you are logged on.<br />
<br />
You can find the full manual [https://github.com/mjp66/Ubiquiti/blob/master/Ubiquiti%20Home%20Network.pdf here]. It's pretty huge.<br />
<br />
== Basic system configuration ==<br />
After running the wizard, basic system configuration can be done by clicking the System button on bottom left. This is where you can backup and reboot but also add extra DNS servers to the system.<br />
<br />
== Config Tree ==<br />
<br />
The config tree allows you to click on the triangles to expand AND view what is in the config (meaning you have to double click on the triangle quite a bit), hover over the name of the config for some more information and the + or - to install or uninstall a service. If you are going to uninstall a service it will show in red.<br />
<br />
== CLI configuration ==<br />
When you enter the cli you can run some commands but not change setups. In order to change stuff you need to first enter configuration mode, change your settings, then commit and save<br />
configure<br />
set ...<br />
commit<br />
save<br />
<br />
<br />
== DHCP ==<br />
[https://help.ui.com/hc/en-us/articles/115002673188 EdgeRouter - DHCP Server Using Dnsmasq]<br />
<br />
Services (top) -> DHCP Server<br />
<br />
Once you have added a DHCP server you can configure it by clicking on '''Actions''' on the right of the screen and then '''View Details'''.<br />
<br />
[[File:edgemax DHCP server.png|600px]]<br />
<br />
There are also options under Service -> dhcp-server in the config tree<br />
<br />
Adding a third DNS server to DHCP can also be done by cli [https://community.ui.com/questions/Edgemax-3-DNS-Entries-for-DHCP-Server/7dec0b25-9ea6-42e6-a9d4-1a51039f56c6?page=1 Edgemax 3 DNS Entries for DHCP Server]<br />
<pre><br />
ubnt@ubnt:~$ configure<br />
ubnt@ubnt# show service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server<br />
dns-server 192.168.40.1<br />
ubnt@ubnt# set service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server 8.8.8.8<br />
ubnt@ubnt# set service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server 8.8.4.4<br />
ubnt@ubnt# set service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server 208.67.220.220<br />
ubnt@ubnt# commit<br />
[ service dhcp-server ]<br />
Stopping DHCP server daemon...<br />
Starting DHCP server daemon...<br />
<br />
[edit]<br />
ubnt@ubnt# show service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server<br />
dns-server 192.168.40.1<br />
dns-server 8.8.8.8<br />
dns-server 8.8.4.4<br />
dns-server 208.67.220.220<br />
[edit]<br />
<br />
ubnt@ubnt# save<br />
</pre><br />
<br />
One of the problems you will run into is that even if you set multiple DNS servers, Windows will only read the first one unless it is actually down (see also [https://docs.microsoft.com/en-us/troubleshoot/windows-server/networking/dns-client-resolution-timeouts What is the default behavior of a Windows 7 or Windows 8 DNS client when two DNS servers are configured on the NIC] and [https://docs.microsoft.com/en-us/troubleshoot/windows-server/networking/best-practices-for-dns-client-settings Best practices for DNS client settings in Windows 2000 Server and in Windows Server 2003]. So if you want to resolve internal domain names you will need to work on DNS forwarding.<br />
<br />
== DNS ==<br />
===System DNS Setting===<br />
[https://ubntlab.wordpress.com/2017/07/03/beware-the-system-name-server-setting/ Beware the System Name Server Setting]<br />
<br />
The way to minimize the number of local DNS lookups that get forwarded is to specify 127.0.0.1 as the system nameserver, so they go through DNSmasq and are routed and cached the same as DNS requests from clients. To configure the upstream forwarders there are two options:<br />
<br />
Specify addition nameservers for this option. The local system will always attempt resolution starting with the first entry in /etc/resolv.conf, while DNSmasq will ignore 127.0.0.1 and use the additional entries as forwarders.<br />
Explicitly configure DNSmasq forwarders using set service dns forwarding options server=DNS_Server_IP<br />
<br />
I use the second method as it keeps the DNS forwarding options in one section of the config file instead of two.<br />
<br />
=== Resolving ===<br />
To see what nameservers are being used to resolve<br />
cat /etc/resolv.conf<br />
if you don't want that, use<br />
set interfaces ethernet eth0 dhcp-options name-server no-update<br />
<br />
=== Forwarding ===<br />
[https://help.ui.com/hc/en-us/articles/115010913367-EdgeRouter-DNS-Forwarding-Setup-and-Options EdgeRouter - DNS Forwarding Setup and Options] man page<br />
<br />
If you set your DHCP server to put the IP of the EdgeMAX router into the DNS servers section, it uses DNS forwarding using dnsmasq <br />
show dns forwarding<br />
<br />
[[File:edgemax dns forwarding nameservers.png|400px]]<br />
<br />
This example shows the DNS servers assigned to the router via DHCP first and the one configured in the basic system configuration (bottom of the UI screen) after that<br />
<br />
The DNS resolution of this system is that the system chooses the fastest server and sticks to that.<br />
<br />
So in order to put the inputted one on top you need to re-order the system [https://community.ui.com/questions/Change-WAN-DNS-Server/041bbac7-6de0-44a7-a5ca-165128e4333d Change WAN DNS Server]<br />
configure<br />
set service dns forwarding system<br />
commit<br />
save<br />
and then<br />
configure<br />
set service dns forwarding dhcp eth0<br />
commit<br />
save<br />
<br />
One of the options to NOT enable is strict-order [https://community.ui.com/questions/DNS-Forwarding-Name-Servers/8a986a94-eae4-4827-bff0-a93af718ab80 DNS Forwarding / Name servers] / [http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2009q3/003295.html Dnsmasq-discuss DNS search Order]<br />
<br />
Using the all-servers option sends the request in parallel to every server and it picks the result that comes first. This can be done via the cli<br />
configure<br />
set service dns forwarding options all-servers<br />
commit<br />
save<br />
<br />
Or using the Config Tree<br />
<br />
[[File:dns forwarding config tree.png|400px]]<br />
<br />
You can see how many queries each has using<br />
show dns forwarding statistics<br />
<br />
To clear the cache use<br />
clear dns forwarding cache<br />
<br />
To clear the cache and the counters use<br />
clear dns forwarding all</div>Redhttp://wiki.edgarbv.com/index.php?title=Ubiquiti&diff=37742Ubiquiti2024-03-20T21:51:55Z<p>Red: /* UDM Pro / Ubiquiti Dream Machine Pro / UDMP */</p>
<hr />
<div>[http://www.ubnt.com/unifi Ubiquiti Unifi] is scalable and has a linux controller software, meaning you only need to buy APs and a PC with linux on it (ubuntu recommended) to run the network.<br />
<br />
= UDM Pro / Ubiquiti Dream Machine Pro / UDMP =<br />
<br />
== Old vs New UI ==<br />
First remember that there are 2 UI's. The old one has some functionalities that are simply not available in the new UI, especially when it comes to the Insights page! The new UI has nicer statistics and graphics and a much better topology page<br />
<br />
Switch to the old UI from the New by going to the gears icon / settings -> System -> New user interface -> deactivate<br />
<br />
Switch to the new UI from the old by going to gears icon / settings -> User interface -> New user interface -> apply<br />
<br />
== Finding the physical ports used == <br />
Old interface: click the light bulb / insights -> click top right above the table and select Switch stats in the drop down<br />
<br />
New interface: click the AP icon / devices -> click the switch -> click on settings in the slide in details on the right<br />
<br />
== VLAN profile problems ==<br />
From [https://community.ui.com/questions/vlans-not-communicating-cant-ping-gateway/157ffdf8-cbf9-4cb2-af9d-00d6a470ed8d#answer/a19e7a69-5d66-4174-8ecd-162c65c9efc4 vlans not communicating, can't ping gateway]<br />
<pre><br />
Change the profile on switch port 2 to VLAN that you want the PC to be in. DHCP should be working so remove the static IP address on the PC.<br />
Once you've changed the switch port profile you will need to tell Windows to grab a new IP address. You can do that by doing 'ipconfig /renew' in a command prompt or by removing and then reconnecting the network cable.<br />
The firewall rule you added to allow inter-VLAN routing isn't needed. By default UniFi has open access between VLANs so you'd only need to add firewall rules if you wanted to restrict that traffic.<br />
<br />
The 'All' switchport profile is the reason it's not working. Ports with that profile will have VLAN 1 as their native VLAN and the other VLANs will be tagged.<br />
In your case you want the new VLAN to be the native (or untagged) VLAN.<br />
</pre><br />
<br />
ALSO record the switchport settings, as these were deleted by an update at some point<br />
<br />
== Getting Sonos to work across VLANs ==<br />
<br />
create a new network with vlan eg Smarthome / IOT <br />
<br />
create a new wifi network eg Smarthome Wifi and connect it to the Smarthome network<br />
<br />
In the new UI enable mDNS<br />
<br />
advanced features -> advanced gateway settings -> multicast DNS -> enable (enables mDNS reflector service)<br />
<br />
In the old UI<br />
<br />
settings -> site -> auto optimise network<br />
wireless networks -> edit each wifi network -> advanced -> Enable multicast enhancement (IGMPv3)<br />
<br />
You should now be able to control the Sonos machines from across different networks<br />
<br />
This is useful if you have a smarthome controller on a different subnet from your wifi / wired network and it needs the Sonos devices on the same subnet to control them (eg ABB-free@home needs this)<br />
<br />
try: [https://community.ui.com/questions/UDMUDMP-IoT-VLAN-Speaker-Group-fix-with-mDNS-and-Google-Nest-Speakers-Chromecasts/37d6239f-303e-4f9f-8727-626acf07d33c UDM UDMP IoT VLAN Speaker Group fix with mDNS and Google Nest Speakers/Chromecasts] and [https://nerdygeek.uk/2020/06/09/a-tip-for-sonos-and-unifi-udm-pro-users/ A tip for Sonos and Unifi UDM-Pro users]<br />
<br />
== SSH access ==<br />
<br />
You do this in the main login of the UDMP, not in the Networking side. Go to console settings, allow SSH and enter a password. Login as root. See the bottom of [https://community.ui.com/questions/Unable-to-SSH-into-UDMP/2a733e78-db60-42fd-9df9-d9459d200db6]<br />
<br />
== VPN == <br />
<br />
[https://lazyadmin.nl/network/unifi-vpn/ How to setup UniFi VPN on UDM Pro]<br />
<br />
However, swanctl is now no longer supported so you can't really log stuff.<br />
<br />
To kick a user off the VPN you have to use the classic interface. click insights, then from the top left drop down select vpn users, mouse over the connection and a button "terminate" appears. You can also change their password in the VPN settings.<br />
<br />
You can ssh in and find stuff in<br />
<pre><br />
/var/log/messages<br />
/var/log/daemon.log<br />
/var/log/kern.log<br />
/var/log/auth.log<br />
</pre><br />
by tailing and grepping l2tp or the username<br />
<br />
If you <br />
grep username messages<br />
you will find the IP address assigned to the username<br />
<br />
You can also find the device in Client devices and select VPN or in the system Log under Client but all you can see there is that it's connected.<br />
<br />
== Blocking Countries ==<br />
This can be done in 2 ways: <br />
<br />
To block any incoming traffic from entering the network:<br />
<br />
Setup - Security - General - Country restrictions <br />
<br />
or to stop devices from going towards certain countries:<br />
<br />
Setup - Security - Traffic & Firewall Rules (Advanced view) - LAN - Create Entry<br />
<br />
Set Destination: Region.<br />
<br />
== Threat management / choosing protocols ==<br />
Under Settings - Security - General - Detection Sensitivity choose Customise and you can select which protocols (peer to peer / ftp / whatever) you want blocked / notified<br />
<br />
== Logging ==<br />
A lot of the logging (eg port forwarding triggers) won't show in the System Log. You can find the syslog in /var/log/ulog/syslogemu.log and in Settings - System - Remote Logging location you can set a remote syslog server if you have one<br />
<br />
= Unifi UAP =<br />
<br />
The UAP-Pro can handle 200 concurrent clients and the UAP-LR / LR / UAP-Outdoor can handle 100 simultaneous clients.<br />
<br />
The UAP's are very cheap.<br />
<br />
There are still some problems apparently though.<br />
<br />
== Installing the controller on Debian ==<br />
<br />
This needs to run under a desktop environment, so make sure you have one.<br />
<pre><br />
echo 'deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti' | /etc/apt/sources.list.d/100-ubnt-unifi.list<br />
wget -O /etc/apt/trusted.gpg.d/unifi-repo.gpg https://dl.ubnt.com/unifi/unifi-repo.gpg<br />
apt update <br />
sudo apt install unifi<br />
</pre><br />
Then<br />
<pre><br />
systemctl enable unifi<br />
systemctl start unifi<br />
</pre><br />
<br />
visit the controller software at http://localhost:8080<br />
<br />
[https://help.ubnt.com/hc/en-us/articles/220066768-UniFi-How-to-Install-Update-via-APT-on-Debian-or-Ubuntu]<br />
<br />
You may need to change the ports<br />
<br />
[https://help.ubnt.com/hc/en-us/articles/204910084-UniFi-Changing-Default-Ports-for-Controller-and-UAPs]<br />
<br />
== Migrating from another controller on another PC ==<br />
===If you are not changing hostname / IP===<br />
# Make sure both controllers are the same version (ie update them both)<br />
# if necessary upgrade the firmware on the controllers<br />
# make a backup to an .unf file of the old controller<br />
# Visit the new controller (using the applet or the website) and restore from a previous backup<br />
<br />
<br />
===If you ARE changing hostname / IP===<br />
# Make sure both controllers are the same version (ie update them both)<br />
# if necessary upgrade the firmware on the controllers<br />
# make a backup to an .unf file of the old controller<br />
# Visit the new controller (using the applet or the website) and restore from a previous backup<br />
# On the old controller<br />
<pre><br />
When I move the controller, I just go into the GUI on existing controller, under SETTINGS, CONTROLLER, and change the Controller Hostname / IP to the NEW IP ADDRESS, (removing unifi.yourdomain.com) and then check the box "Override inform host with controller hostname/IP" <br />
<br />
Since I have the migrated controller up and running already on the NEW IP ADDRESS, after I shut down the OLD CONTROLER, the new one immediately starts provisioning the WAPS.<br />
</pre><br />
[[File:UnifiControllerIP.JPG|400px]]<br />
Press apply changes on the bottom. You should see the new controller status of the APs changing to connected.<br />
<br />
[https://community.ubnt.com/t5/UniFi-Wireless/Migrate-control-to-another-computer/td-p/1891294]<br />
<br />
An alternative method is to SSH to each AP and use set-inform to point them to the new controller<br />
<pre><br />
set-inform http://IP.ADDR.OF.Controller:8080/inform<br />
<br />
set-inform, adopt, set-inform a second time.<br />
<br />
If you forget the syntax, 'help' will help<br />
</pre><br />
<br />
==files==<br />
<br />
/var/lib/unifi/data/system.properties<br />
<br />
if this doesn't exist<br />
<pre><br />
java -jar /usr/lib/unifi/lib/ace.jar discover<br />
</pre><br />
<br />
/usr/lib/unifi/logs/server.log<br />
<br />
/usr/lib/unifi/logs/mongod.log<br />
<br />
== migrating controller from one machine to another ==<br />
<br />
[https://community.ubnt.com/t5/UniFi-Wireless/Migrate-control-to-another-computer/td-p/1891294]<br />
<br />
=EdgeMAX EdgeRouter=<br />
<br />
The UI is slightly confusing as there are buttons on the top, bottom, middle and at the bottom. Also, logging only starts once you log in, so the dashboard and traffic analysis only start once you are logged on.<br />
<br />
You can find the full manual [https://github.com/mjp66/Ubiquiti/blob/master/Ubiquiti%20Home%20Network.pdf here]. It's pretty huge.<br />
<br />
== Basic system configuration ==<br />
After running the wizard, basic system configuration can be done by clicking the System button on bottom left. This is where you can backup and reboot but also add extra DNS servers to the system.<br />
<br />
== Config Tree ==<br />
<br />
The config tree allows you to click on the triangles to expand AND view what is in the config (meaning you have to double click on the triangle quite a bit), hover over the name of the config for some more information and the + or - to install or uninstall a service. If you are going to uninstall a service it will show in red.<br />
<br />
== CLI configuration ==<br />
When you enter the cli you can run some commands but not change setups. In order to change stuff you need to first enter configuration mode, change your settings, then commit and save<br />
configure<br />
set ...<br />
commit<br />
save<br />
<br />
<br />
== DHCP ==<br />
[https://help.ui.com/hc/en-us/articles/115002673188 EdgeRouter - DHCP Server Using Dnsmasq]<br />
<br />
Services (top) -> DHCP Server<br />
<br />
Once you have added a DHCP server you can configure it by clicking on '''Actions''' on the right of the screen and then '''View Details'''.<br />
<br />
[[File:edgemax DHCP server.png|600px]]<br />
<br />
There are also options under Service -> dhcp-server in the config tree<br />
<br />
Adding a third DNS server to DHCP can also be done by cli [https://community.ui.com/questions/Edgemax-3-DNS-Entries-for-DHCP-Server/7dec0b25-9ea6-42e6-a9d4-1a51039f56c6?page=1 Edgemax 3 DNS Entries for DHCP Server]<br />
<pre><br />
ubnt@ubnt:~$ configure<br />
ubnt@ubnt# show service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server<br />
dns-server 192.168.40.1<br />
ubnt@ubnt# set service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server 8.8.8.8<br />
ubnt@ubnt# set service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server 8.8.4.4<br />
ubnt@ubnt# set service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server 208.67.220.220<br />
ubnt@ubnt# commit<br />
[ service dhcp-server ]<br />
Stopping DHCP server daemon...<br />
Starting DHCP server daemon...<br />
<br />
[edit]<br />
ubnt@ubnt# show service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server<br />
dns-server 192.168.40.1<br />
dns-server 8.8.8.8<br />
dns-server 8.8.4.4<br />
dns-server 208.67.220.220<br />
[edit]<br />
<br />
ubnt@ubnt# save<br />
</pre><br />
<br />
One of the problems you will run into is that even if you set multiple DNS servers, Windows will only read the first one unless it is actually down (see also [https://docs.microsoft.com/en-us/troubleshoot/windows-server/networking/dns-client-resolution-timeouts What is the default behavior of a Windows 7 or Windows 8 DNS client when two DNS servers are configured on the NIC] and [https://docs.microsoft.com/en-us/troubleshoot/windows-server/networking/best-practices-for-dns-client-settings Best practices for DNS client settings in Windows 2000 Server and in Windows Server 2003]. So if you want to resolve internal domain names you will need to work on DNS forwarding.<br />
<br />
== DNS ==<br />
===System DNS Setting===<br />
[https://ubntlab.wordpress.com/2017/07/03/beware-the-system-name-server-setting/ Beware the System Name Server Setting]<br />
<br />
The way to minimize the number of local DNS lookups that get forwarded is to specify 127.0.0.1 as the system nameserver, so they go through DNSmasq and are routed and cached the same as DNS requests from clients. To configure the upstream forwarders there are two options:<br />
<br />
Specify addition nameservers for this option. The local system will always attempt resolution starting with the first entry in /etc/resolv.conf, while DNSmasq will ignore 127.0.0.1 and use the additional entries as forwarders.<br />
Explicitly configure DNSmasq forwarders using set service dns forwarding options server=DNS_Server_IP<br />
<br />
I use the second method as it keeps the DNS forwarding options in one section of the config file instead of two.<br />
<br />
=== Resolving ===<br />
To see what nameservers are being used to resolve<br />
cat /etc/resolv.conf<br />
if you don't want that, use<br />
set interfaces ethernet eth0 dhcp-options name-server no-update<br />
<br />
=== Forwarding ===<br />
[https://help.ui.com/hc/en-us/articles/115010913367-EdgeRouter-DNS-Forwarding-Setup-and-Options EdgeRouter - DNS Forwarding Setup and Options] man page<br />
<br />
If you set your DHCP server to put the IP of the EdgeMAX router into the DNS servers section, it uses DNS forwarding using dnsmasq <br />
show dns forwarding<br />
<br />
[[File:edgemax dns forwarding nameservers.png|400px]]<br />
<br />
This example shows the DNS servers assigned to the router via DHCP first and the one configured in the basic system configuration (bottom of the UI screen) after that<br />
<br />
The DNS resolution of this system is that the system chooses the fastest server and sticks to that.<br />
<br />
So in order to put the inputted one on top you need to re-order the system [https://community.ui.com/questions/Change-WAN-DNS-Server/041bbac7-6de0-44a7-a5ca-165128e4333d Change WAN DNS Server]<br />
configure<br />
set service dns forwarding system<br />
commit<br />
save<br />
and then<br />
configure<br />
set service dns forwarding dhcp eth0<br />
commit<br />
save<br />
<br />
One of the options to NOT enable is strict-order [https://community.ui.com/questions/DNS-Forwarding-Name-Servers/8a986a94-eae4-4827-bff0-a93af718ab80 DNS Forwarding / Name servers] / [http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2009q3/003295.html Dnsmasq-discuss DNS search Order]<br />
<br />
Using the all-servers option sends the request in parallel to every server and it picks the result that comes first. This can be done via the cli<br />
configure<br />
set service dns forwarding options all-servers<br />
commit<br />
save<br />
<br />
Or using the Config Tree<br />
<br />
[[File:dns forwarding config tree.png|400px]]<br />
<br />
You can see how many queries each has using<br />
show dns forwarding statistics<br />
<br />
To clear the cache use<br />
clear dns forwarding cache<br />
<br />
To clear the cache and the counters use<br />
clear dns forwarding all</div>Redhttp://wiki.edgarbv.com/index.php?title=Installing_a_new_mailserver&diff=37741Installing a new mailserver2024-03-20T13:51:58Z<p>Red: /* DKIM */</p>
<hr />
<div>You will need these for the mail server<br />
<br />
apt-get install openssh-server proftpd snmpd iotop iptstate atsar postfix shorewall vim awstats bmon nscd sshfs mc zip unzip bzip2 arj spamassassin pyzor razor ncftp rsync quota ntpdate ntp vacation pdnsd dovecot-common dovecot-imapd dovecot-pop3d automx<br />
<br />
pdnsd - use resolvconf configuration<br />
<br />
= Network =<br />
[[Debian Network Setup]]<br />
<br />
Ensure your PTR records are set in DNS<br />
<pre><br />
TXT edgarbv.com v=spf1 mx-all<br />
AAAA edgarbv.com IPv6address<br />
MX 10 mail.edgarbv.com edgarbv.com<br />
A edgarbv.com IPv4address<br />
</pre><br />
<br />
Certificates for mail.edgarbv.com - see postfix and dovecot<br />
<br />
= Postfix and Procmail =<br />
First install [[Postfix]] as the mail transport agent<br />
<br />
= Amavis-new + ClamAV =<br />
Amavis functions as a postfix addon that filters mail through ClamAV and Spamassassin. [[Amavis-new and ClamAV]]<br />
<br />
= Spamassassin =<br />
Then configure [[Spamassassin]]<br />
<br />
= Dovecot =<br />
Now install [[ Dovecot ]] as an IMAP / POP3 server<br />
<br />
= Automx =<br />
[[ automx ]] sets up a webservice that tells Outlook, Thunderbird and mobile clients how to autodetect the right mailserver settings<br />
<br />
= Roundcube webmail =<br />
And install [[ Roundcube ]] for webmail<br />
<br />
= Converting from mbox to maildir =<br />
Because we want the system to support IMAP functionality fully, there are some changes to to be made which will be documented further. For now, look at [[Converting from mbox to maildir]]<br />
<br />
= Webmail performance =<br />
package imapproxy implements UP-IMapProxy<br />
<br />
= Iphone Push =<br />
package imaprowl implements push for Iphone and Gmail<br />
<br />
= Mobile settings =<br />
Incoming:<br />
<pre><br />
Security type: TLS (Accept all certificates)<br />
Port: 143<br />
</pre><br />
<br />
Outgoing:<br />
<pre><br />
Hostname: mail.edgarbv.com<br />
Security Type: TLS (Accept all certificates)<br />
Port: 587<br />
Require sign in: on<br />
</pre><br />
<br />
Note, TLS will only work for 1 IP adres per hostname. It only gets 1 certificate per IP adres.<br />
<br />
= Spam protection =<br />
== SPF ==<br />
This implements Sender Policy Framework, a method to check if an email's From comes from an authorised server<br />
http://www.openspf.org/Introduction<br />
<br />
[[Sender Policy Framework / SPF]]<br />
<br />
== DKIM ==<br />
Another trust mechanism http://www.dkim.org/<br />
<br />
[https://www.linode.com/docs/email/postfix/configure-spf-and-dkim-in-postfix-on-debian-8/ Configure SPF and DKIM With Postfix on Debian 8]<br />
<br />
[https://wiki.debian.org/opendkim Debian wiki opendkim]<br />
<br />
Permissions for keyfiles: 640<br />
<br />
if you want multiple subdomains you need to create the keyfiles multiple times<br />
<pre><br />
opendkim-genkey -D /etc/postfix/dkim/keys/ -d example.com -s mail <br />
opendkim-genkey -D /etc/postfix/dkim/keys/ -d example.com -s smtp<br />
</pre>https://dmarcguide.globalcyberalliance.org/dkim<br />
<br />
== DMARC ==<br />
A system to tell you what to do with reply messages http://www.dmarc.org/overview.html https://www.sonicwall.com/support/knowledge-base/what-is-a-dmarc-record-and-how-do-i-create-it-on-dns-server/170504796167071/ https://dmarcguide.globalcyberalliance.org/#/dmarc/ <br />
<br />
_dmarc.edgarbv.com. IN TXT "v=DMARC1; p=none; rua=<nowiki>mailto:dmarc@edgarbv.com</nowiki>; ruf=<nowiki>mailto:dmarc@edgarbv.com</nowiki>; sp=none; ri=86400"<br />
<br />
== Microsoft JMRP and SNDS ==<br />
JMRP (Junk Mail Reporting Partner Program) and SNDS (Smart Network Data Services),<br />
<br />
Enrol here:<br />
<br />
https://postmaster.live.com/snds/JMRP.aspx?wa=wsignin1.0<br />
<br />
[https://kb.iweb.com/hc/en-us/articles/230267648-Subscribing-to-Microsoft-JMRP-and-SNDS More information about enrolling]<br />
<br />
= fail2ban =<br />
in /etc/fail2ban/jail.d/jail.local<br />
<pre><br />
[DEFAULT]<br />
<br />
ignoreip = 127.0.0.1/8 91.154.222.134 37.252.124.72/24<br />
bantime = 6000<br />
<br />
[proftpd]<br />
enabled = true<br />
<br />
[dovecot]<br />
enabled = true<br />
logpath = /var/log/mail/dovecot.info<br />
<br />
[postfix]<br />
enabled = true<br />
# To use another modes set filter parameter "mode" in jail.local:<br />
mode = more<br />
port = smtp,465,submission<br />
logpath = /var/log/mail/mail.log<br />
maxretry = 5<br />
#backend = %(postfix_backend)s<br />
<br />
[postfix-rbl]<br />
enabled = true<br />
filter = postfix[mode=rbl]<br />
port = smtp,465,submission<br />
logpath = /var/log/mail/mail.log<br />
#backend = %(postfix_backend)s<br />
maxretry = 1<br />
<br />
[postfix-sasl]<br />
enabled = true<br />
port = smtp<br />
filter = postfix-sasl<br />
logpath = /var/log/mail/mail.log<br />
maxretry = 5<br />
</pre></div>Redhttp://wiki.edgarbv.com/index.php?title=Installing_a_new_mailserver&diff=37740Installing a new mailserver2024-03-20T13:50:57Z<p>Red: /* DMARC */</p>
<hr />
<div>You will need these for the mail server<br />
<br />
apt-get install openssh-server proftpd snmpd iotop iptstate atsar postfix shorewall vim awstats bmon nscd sshfs mc zip unzip bzip2 arj spamassassin pyzor razor ncftp rsync quota ntpdate ntp vacation pdnsd dovecot-common dovecot-imapd dovecot-pop3d automx<br />
<br />
pdnsd - use resolvconf configuration<br />
<br />
= Network =<br />
[[Debian Network Setup]]<br />
<br />
Ensure your PTR records are set in DNS<br />
<pre><br />
TXT edgarbv.com v=spf1 mx-all<br />
AAAA edgarbv.com IPv6address<br />
MX 10 mail.edgarbv.com edgarbv.com<br />
A edgarbv.com IPv4address<br />
</pre><br />
<br />
Certificates for mail.edgarbv.com - see postfix and dovecot<br />
<br />
= Postfix and Procmail =<br />
First install [[Postfix]] as the mail transport agent<br />
<br />
= Amavis-new + ClamAV =<br />
Amavis functions as a postfix addon that filters mail through ClamAV and Spamassassin. [[Amavis-new and ClamAV]]<br />
<br />
= Spamassassin =<br />
Then configure [[Spamassassin]]<br />
<br />
= Dovecot =<br />
Now install [[ Dovecot ]] as an IMAP / POP3 server<br />
<br />
= Automx =<br />
[[ automx ]] sets up a webservice that tells Outlook, Thunderbird and mobile clients how to autodetect the right mailserver settings<br />
<br />
= Roundcube webmail =<br />
And install [[ Roundcube ]] for webmail<br />
<br />
= Converting from mbox to maildir =<br />
Because we want the system to support IMAP functionality fully, there are some changes to to be made which will be documented further. For now, look at [[Converting from mbox to maildir]]<br />
<br />
= Webmail performance =<br />
package imapproxy implements UP-IMapProxy<br />
<br />
= Iphone Push =<br />
package imaprowl implements push for Iphone and Gmail<br />
<br />
= Mobile settings =<br />
Incoming:<br />
<pre><br />
Security type: TLS (Accept all certificates)<br />
Port: 143<br />
</pre><br />
<br />
Outgoing:<br />
<pre><br />
Hostname: mail.edgarbv.com<br />
Security Type: TLS (Accept all certificates)<br />
Port: 587<br />
Require sign in: on<br />
</pre><br />
<br />
Note, TLS will only work for 1 IP adres per hostname. It only gets 1 certificate per IP adres.<br />
<br />
= Spam protection =<br />
== SPF ==<br />
This implements Sender Policy Framework, a method to check if an email's From comes from an authorised server<br />
http://www.openspf.org/Introduction<br />
<br />
[[Sender Policy Framework / SPF]]<br />
<br />
== DKIM ==<br />
Another trust mechanism http://www.dkim.org/<br />
<br />
[https://www.linode.com/docs/email/postfix/configure-spf-and-dkim-in-postfix-on-debian-8/ Configure SPF and DKIM With Postfix on Debian 8]<br />
<br />
[https://wiki.debian.org/opendkim Debian wiki opendkim]<br />
<br />
Permissions for keyfiles: 640<br />
<br />
if you want multiple subdomains you need to create the keyfiles multiple times<br />
<pre><br />
opendkim-genkey -D /etc/postfix/dkim/keys/ -d example.com -s mail <br />
opendkim-genkey -D /etc/postfix/dkim/keys/ -d example.com -s smtp<br />
</pre><br />
<br />
== DMARC ==<br />
A system to tell you what to do with reply messages http://www.dmarc.org/overview.html https://www.sonicwall.com/support/knowledge-base/what-is-a-dmarc-record-and-how-do-i-create-it-on-dns-server/170504796167071/ https://dmarcguide.globalcyberalliance.org/#/dmarc/ <br />
<br />
_dmarc.edgarbv.com. IN TXT "v=DMARC1; p=none; rua=<nowiki>mailto:dmarc@edgarbv.com</nowiki>; ruf=<nowiki>mailto:dmarc@edgarbv.com</nowiki>; sp=none; ri=86400"<br />
<br />
== Microsoft JMRP and SNDS ==<br />
JMRP (Junk Mail Reporting Partner Program) and SNDS (Smart Network Data Services),<br />
<br />
Enrol here:<br />
<br />
https://postmaster.live.com/snds/JMRP.aspx?wa=wsignin1.0<br />
<br />
[https://kb.iweb.com/hc/en-us/articles/230267648-Subscribing-to-Microsoft-JMRP-and-SNDS More information about enrolling]<br />
<br />
= fail2ban =<br />
in /etc/fail2ban/jail.d/jail.local<br />
<pre><br />
[DEFAULT]<br />
<br />
ignoreip = 127.0.0.1/8 91.154.222.134 37.252.124.72/24<br />
bantime = 6000<br />
<br />
[proftpd]<br />
enabled = true<br />
<br />
[dovecot]<br />
enabled = true<br />
logpath = /var/log/mail/dovecot.info<br />
<br />
[postfix]<br />
enabled = true<br />
# To use another modes set filter parameter "mode" in jail.local:<br />
mode = more<br />
port = smtp,465,submission<br />
logpath = /var/log/mail/mail.log<br />
maxretry = 5<br />
#backend = %(postfix_backend)s<br />
<br />
[postfix-rbl]<br />
enabled = true<br />
filter = postfix[mode=rbl]<br />
port = smtp,465,submission<br />
logpath = /var/log/mail/mail.log<br />
#backend = %(postfix_backend)s<br />
maxretry = 1<br />
<br />
[postfix-sasl]<br />
enabled = true<br />
port = smtp<br />
filter = postfix-sasl<br />
logpath = /var/log/mail/mail.log<br />
maxretry = 5<br />
</pre></div>Redhttp://wiki.edgarbv.com/index.php?title=Installing_a_new_mailserver&diff=37739Installing a new mailserver2024-03-20T13:50:00Z<p>Red: /* DMARC */</p>
<hr />
<div>You will need these for the mail server<br />
<br />
apt-get install openssh-server proftpd snmpd iotop iptstate atsar postfix shorewall vim awstats bmon nscd sshfs mc zip unzip bzip2 arj spamassassin pyzor razor ncftp rsync quota ntpdate ntp vacation pdnsd dovecot-common dovecot-imapd dovecot-pop3d automx<br />
<br />
pdnsd - use resolvconf configuration<br />
<br />
= Network =<br />
[[Debian Network Setup]]<br />
<br />
Ensure your PTR records are set in DNS<br />
<pre><br />
TXT edgarbv.com v=spf1 mx-all<br />
AAAA edgarbv.com IPv6address<br />
MX 10 mail.edgarbv.com edgarbv.com<br />
A edgarbv.com IPv4address<br />
</pre><br />
<br />
Certificates for mail.edgarbv.com - see postfix and dovecot<br />
<br />
= Postfix and Procmail =<br />
First install [[Postfix]] as the mail transport agent<br />
<br />
= Amavis-new + ClamAV =<br />
Amavis functions as a postfix addon that filters mail through ClamAV and Spamassassin. [[Amavis-new and ClamAV]]<br />
<br />
= Spamassassin =<br />
Then configure [[Spamassassin]]<br />
<br />
= Dovecot =<br />
Now install [[ Dovecot ]] as an IMAP / POP3 server<br />
<br />
= Automx =<br />
[[ automx ]] sets up a webservice that tells Outlook, Thunderbird and mobile clients how to autodetect the right mailserver settings<br />
<br />
= Roundcube webmail =<br />
And install [[ Roundcube ]] for webmail<br />
<br />
= Converting from mbox to maildir =<br />
Because we want the system to support IMAP functionality fully, there are some changes to to be made which will be documented further. For now, look at [[Converting from mbox to maildir]]<br />
<br />
= Webmail performance =<br />
package imapproxy implements UP-IMapProxy<br />
<br />
= Iphone Push =<br />
package imaprowl implements push for Iphone and Gmail<br />
<br />
= Mobile settings =<br />
Incoming:<br />
<pre><br />
Security type: TLS (Accept all certificates)<br />
Port: 143<br />
</pre><br />
<br />
Outgoing:<br />
<pre><br />
Hostname: mail.edgarbv.com<br />
Security Type: TLS (Accept all certificates)<br />
Port: 587<br />
Require sign in: on<br />
</pre><br />
<br />
Note, TLS will only work for 1 IP adres per hostname. It only gets 1 certificate per IP adres.<br />
<br />
= Spam protection =<br />
== SPF ==<br />
This implements Sender Policy Framework, a method to check if an email's From comes from an authorised server<br />
http://www.openspf.org/Introduction<br />
<br />
[[Sender Policy Framework / SPF]]<br />
<br />
== DKIM ==<br />
Another trust mechanism http://www.dkim.org/<br />
<br />
[https://www.linode.com/docs/email/postfix/configure-spf-and-dkim-in-postfix-on-debian-8/ Configure SPF and DKIM With Postfix on Debian 8]<br />
<br />
[https://wiki.debian.org/opendkim Debian wiki opendkim]<br />
<br />
Permissions for keyfiles: 640<br />
<br />
if you want multiple subdomains you need to create the keyfiles multiple times<br />
<pre><br />
opendkim-genkey -D /etc/postfix/dkim/keys/ -d example.com -s mail <br />
opendkim-genkey -D /etc/postfix/dkim/keys/ -d example.com -s smtp<br />
</pre><br />
<br />
== DMARC ==<br />
A system to tell you what to do with reply messages http://www.dmarc.org/overview.html<br />
<br />
_dmarc.edgarbv.com. IN TXT "v=DMARC1; p=none; rua=<nowiki>mailto:dmarc@edgarbv.com</nowiki>; ruf=<nowiki>mailto:dmarc@edgarbv.com</nowiki>; sp=none; ri=86400"<br />
<br />
== Microsoft JMRP and SNDS ==<br />
JMRP (Junk Mail Reporting Partner Program) and SNDS (Smart Network Data Services),<br />
<br />
Enrol here:<br />
<br />
https://postmaster.live.com/snds/JMRP.aspx?wa=wsignin1.0<br />
<br />
[https://kb.iweb.com/hc/en-us/articles/230267648-Subscribing-to-Microsoft-JMRP-and-SNDS More information about enrolling]<br />
<br />
= fail2ban =<br />
in /etc/fail2ban/jail.d/jail.local<br />
<pre><br />
[DEFAULT]<br />
<br />
ignoreip = 127.0.0.1/8 91.154.222.134 37.252.124.72/24<br />
bantime = 6000<br />
<br />
[proftpd]<br />
enabled = true<br />
<br />
[dovecot]<br />
enabled = true<br />
logpath = /var/log/mail/dovecot.info<br />
<br />
[postfix]<br />
enabled = true<br />
# To use another modes set filter parameter "mode" in jail.local:<br />
mode = more<br />
port = smtp,465,submission<br />
logpath = /var/log/mail/mail.log<br />
maxretry = 5<br />
#backend = %(postfix_backend)s<br />
<br />
[postfix-rbl]<br />
enabled = true<br />
filter = postfix[mode=rbl]<br />
port = smtp,465,submission<br />
logpath = /var/log/mail/mail.log<br />
#backend = %(postfix_backend)s<br />
maxretry = 1<br />
<br />
[postfix-sasl]<br />
enabled = true<br />
port = smtp<br />
filter = postfix-sasl<br />
logpath = /var/log/mail/mail.log<br />
maxretry = 5<br />
</pre></div>Redhttp://wiki.edgarbv.com/index.php?title=Synology&diff=37738Synology2024-03-20T09:08:01Z<p>Red: /* Tailscale */</p>
<hr />
<div>= First things to do =<br />
<br />
== Change IP ==<br />
<br />
Control panel -> (connectivity) Network -> tab network interface -> select LAN and click Edit.<br />
<br />
== Enable home directories + 2 step verification ==<br />
<br />
Control panel -> User -> Advanced -> Enable home user service + Enforce 2 step verification<br />
<br />
== change workgroup ==<br />
<br />
control panel -> file services -> smb/afp/nfs -> smb / enable smb service : workgroup<br />
<br />
== change low volume warning threshold ==<br />
change the % by going into my Storage Manager -> Storage -> Clicking the ... on the Volume I was looking for then Clicking Settings. If I scroll down on the Settings there is a Low Capacity Notification where you can change the % to 5% from 20%<br />
<br />
== Enable SSH ==<br />
<br />
Control panel -> (System) Terminal & SNMP enable SSH<br />
<br />
Control panel -> (connectivity) Security -> Firewall tab -> create a rule for SSH (encrypted terminal services), enable and save<br />
<br />
for root login as admin and then '''sudo sh'''<br />
<br />
(you can then log in to the machine using user '''root''' and the default admin password)<br />
<br />
to enable your users to access the terminal vi /etc/passwd and change /sbin/nologin to /bin/ash<br />
<br />
== Create shared folders ==<br />
Once you have created your shared folder, also enable snapshots<br />
<br />
= Prepare for rsync =<br />
NB the synology can only push rsync files, it can not be set up to pull files from a remote rsync server.<br />
<br />
Control panel -> (file sharing) Shared Folder -> create folder to back up to. Give the user you want to rsync to Read/Write access<br />
<br />
Control panel -> File services -> enable rsync service<br />
<br />
'''depreciated'''<br />
----<br />
Start (top left) -> Backup & replication -> backup services -> enable network backup service<br />
<br />
Start (top left) -> Backup & replication -> Backup Destination -> create Local Backup destination -> backup up data to local shared folder -> the name you put in there will be the module name or the path you can use later.<br />
<br />
then add the section in /etc/rsyncd.conf changing only the path and comment values (of course under the module name)<br />
<br />
restart rsync with<br />
<pre><br />
/usr/syno/etc/rc.sysv/S84rsyncd.sh restart<br />
</pre><br />
<br />
If you don't do this, it will rsync everything without the user name for some reason<br />
<br />
== Synology to synology ==<br />
You backup from the source to the target<br />
<br />
ssh into the source machine ('''mind the slashes at the end!''' if you don't use the slash it will create a directory in the directory you specify)<br />
<br />
rsync -avn /volume1/sourcedirectory/ user@192.168.0.105:/volume1/targetdirectory/<br />
<br />
to check if it works. Drop the n to start the actual copy.<br />
<br />
=== Hyper Backup ===<br />
This will create a backup directory which you can't browse with file explorer as it stores everything in a hyper backup format (Non browseable). NB this fails pretty badly using l2tp VPN connection. You need to use Tailscale (see VPN below).<br />
<br />
==== Using Hyper Backup Vault ====<br />
Note: the destination needs the Hyper Backup Vault package installed. Launch Hyper backup on the source. Use the + bottom left to create a new backup job. Select data backup. Select Remote NAS device. fill in the hostname and then you can select which Shared folder it will use as a destination. Note: you cannot use photos or homes. The Directory is the name of the directory it will make on the shared folder on the destination device.<br />
<br />
If the firewall is enabled, go to control Panel -> Network -> Firewall -> Edit rules -> Create -> select hyper backup vault as application<br />
<br />
==== Using rsync ====<br />
Launch Hyper backup on the source. Use the + bottom left to create a new backup job. Choose rsync. Fill in the data. As username and password you need a username and pass on the target machine. It will then fill the shared folder list with shares available on the target. You cannot backup to the root directory of the target share, so you need something in the directory field. After this it pretty much sets itself up. This will actually copy files, so you can browse them on the target NAS<br />
<br />
==== Using Snapshot replication ====<br />
This is supposed to be fairly effective, but not all DSM versions have this package and it needs to be installed on the recipient as well.<br />
<br />
== Netgear ReadyNas Ultra setup for rsync to Synology ==<br />
<br />
''Here we set up the Netgear to pull data from the Synology''<br />
<br />
in the /admin interface first<br />
<br />
Services -> Standard File Protocols -> ensure Rsync is enabled<br />
<br />
Shares -> share listing -> click on rsync icon. scroll up and change default access to 'read only'. Set hosts allowed access to ip of synology (192.168.0.101). Fill in the username and password!<br />
<br />
Backup -> Add a new backup job<br />
<br />
[[File:netgear backup step 1.png]]<br />
<br />
If you don't fill in the path above it will copy the whole share. If you browse the share you can select a subdir to copy.<br />
<br />
[[File:netgear backup step 2.png]]<br />
<br />
Note that the '''Path needs to be EMPTY''' before pressing the 'Test connection' button. It will sometimes work if you fill in NetBackup but you're best off doing the test empty, then typing in the path and then apply bottom right to test the backup job.<br />
<br />
This is what the schedule will look like<br />
<br />
[[File:backup schedule.png|400px]]<br />
<br />
The Daily job<br />
<br />
[[File:jobt1.png|400px]]<br />
[[File:job2.png|400px]]<br />
[[File:job3.png|400px]]<br />
[[File:job4.png|400px]]<br />
<br />
The Weekly job<br />
<br />
[[File:weekly netgear rsync.png|400px]]<br />
<br />
The monthly job<br />
<br />
[[File:monthly netgear rsync1.png|400px]]<br />
[[File:monthly netgear rsync2.png|400px]]<br />
<br />
== useful linkies ==<br />
[http://www.readynas.com/download/documentation/support/rsync_howto_nastonas.pdf Readynas rsync howto PDF]<br />
<br />
[https://www.synology.com/en-uk/knowledgebase/tutorials/613 synology rsync tutorial]<br />
<br />
[http://www.smallnetbuilder.com/nas/nas-howto/30856-how-to-back-up-nas-to-nas-part-1?start=1 small netbuilder tutorial]<br />
<br />
== indexing media files ==<br />
If you rsync files into the /volume1/photo or /volume1/video directories the system does not index them. They need to be copied in using windows or the internal file manager to index them automatically.<br />
<br />
In control panel -> Media library you can re-index the files in the photo directory.<br />
<br />
In the video station itself under collection -> settings you can re-index.<br />
<br />
As you can't set /video/ as a directory to use in the video station, you have to set a symbolic link from /volume1/video/movie to wherever you want to have your directories.<br />
<br />
Warning: indexing can take DAYS!<br />
<br />
== Preparing ReadyNAS for rsync towards it ==<br />
Ensure in Shares that the rsync is enabled on at least one share. Ensure the host you are coming from is allowed and that there is a username / password for it.<br />
<br />
= Symbolic links =<br />
<br />
Windows can't handle symbolic links on the synology, so you have to mount directories with<br />
<pre><br />
mount -o bind /volume1/sourcedir /volume1/destdir<br />
</pre><br />
<br />
as root<br />
<br />
and then copy the mount command to /etc/rc.local to make it stick after a reboot<br />
<br />
= prepare the windows machine for Picasa =<br />
<br />
SSH to the synology, log in as root<br />
<pre><br />
mkdir /volume1/photo/Pictures<br />
mount -o bind /volume1/photo/ /volume1/photo/Pictures<br />
</pre><br />
edit /etc/rc.local<br />
<br />
insert the mount command above into the file - this is for when the synology restarts<br />
<br />
in windows explorer map \\invader\photo to T:<br />
<br />
== Picasa database file locations ==<br />
<br />
There are 2 directories in % %LocalAppData%\Google\ which is the same as C:\Users\razor\AppData\Local\Google\<br />
<br />
<br />
Copy them over before running Picasa for the first time.<br />
<br />
=NFS=<br />
<br />
First make sure in Control Panel -> File Services that NFS is enabled.<br />
<br />
Then in Control Panel -> File Sharing -> Edit the share -> create NFS Permissions. You should only have to change the IP/Hostname field.<br />
<br />
[https://www.synology.com/en-us/knowledgebase/tutorials/616 see here]<br />
<br />
=CIFS=<br />
sudo mount -t cifs //192.168.0.101/home/ ~/xx/ -o username=razor,uid=razor,gid=users<br />
<br />
=To find the NAS on linux with netbios=<br />
You have to enable the bonjour service on the NAS<br />
<br />
Control Panel -> File services -> Enable AFP service, then in Advanced tab -> also enable<br />
<br />
The linux machine needs avahi running. Check using<br />
sudo service avahi-daemon status<br />
<br />
=DLNA=<br />
The video players such as a TV (eg on an LG TV under "photos and videos" app) that play directly from the NAS use DLNA. The synology (or DLNA server) creates a database which the player reads. <br />
<br />
The settings for the Media Server / DNLA can be found under the synology ''start menu -> media server''. It is quite possible that Synology decides it doesn't like your player much and gives it a device type which it's not happy with. Under ''DMA Compatibility -> Device List'' you can change the profile to '''Default profile''', which may help.<br />
<br />
If the database is somehow damaged, you can rebuild it under ''control panel -> indexing service'' and then click '''re-index'''. This can take days!<br />
<br />
To check the status of the rebuild, ssh in (using admin / pw, then sudo su) and you can check to see what's being rebuilt by issuing<br />
ls -l /proc/$(pidof synomkthumbd)/fd<br />
To monitor what's happening over some time do (nb it will take some time before you see anything appear!)<br />
while sleep 30; do ls -l /proc/$(pidof synomkthumbd)/fd | grep volume; done<br />
[https://www.mcleanit.ca/blog/synology-check-index-progress/ from mcleanit.ca]<br />
<br />
If the indexing service seems frozen then restart it with<br />
synoservicectl --restart synoindexd<br />
<br />
=Streaming=<br />
The audio station DS Audio app is terrible and hangs a lot. <br />
<br />
As alternatives there are Jellyfin; Airsonic and mstream. So far I like mstream, it's very light (388MB docker image, as it's file based.<br />
<br />
== Jellyfin ==<br />
very library based and uses quite a bit of CPU - no folder view<br />
<br />
== Airsonic ==<br />
Comes in 2 flavours: [https://airsonic.github.io/ airsonic] and [https://github.com/airsonic-advanced/airsonic-advanced airsonic-advanced]. The advanced version is a fork created due to frustration with the glacial pace of development of airsonic. [https://www.reddit.com/r/airsonic/comments/fu4gwd/airsonic_vs_airsonicadvanced/ Reddit rant here]<br />
<br />
[https://hub.docker.com/r/airsonicadvanced/airsonic-advanced airsonic-advanced]<br />
<br />
== MxStream ==<br />
[https://docs.linuxserver.io/images/docker-mstream linuxserver/mstream]<br />
<br />
Super lightweight: <br />
<br />
iamge is 388 MB<br />
<br />
fresh install:<br />
<br />
CPU: 0.85%<br />
<br />
RAM: 111 MB<br />
<br />
file based<br />
<br />
http://netbiosname:3000<br />
<br />
== Gerbera BubbleUpnP ==<br />
[https://www.reddit.com/r/synology/comments/adkjsr/my_solution_to_playing_audio_from_nas_on_my_cell/ information]<br />
<br />
== Plex ==<br />
Complaints about it being slow and jumpy - only for local streaming - also if you want to use it for streaming or downloading for internet streaming you need to pay<br />
<br />
== Beets ==<br />
re-organise your music collection?<br />
<br />
=Converting media files=<br />
Photo station converts your videos to flv as standard and to mp4 if you have '''conversion for mobile devices''' set to on under ''control panel -> indexing service.''<br />
<br />
It will also convert your image files to thumbnails as standard.<br />
<br />
This can take a few days or even weeks if you upload a lot of new stuff.<br />
<br />
To speed the photo thumbnail generation up you can do the following:<br />
<br />
/usr/syno/etc.defaults/thumb.conf<br />
<br />
* changed the quality of thumbs to 70%<br />
* divided by 2 all the thumbs size<br />
* change the XL thumb size to 400 pixels<br />
<br />
[https://forum.synology.com/enu/viewtopic.php?t=95060]<br />
<br />
To view the status of the conversion, in /var/spool there are the following files<br />
<pre><br />
conv_progress_photo <br />
conv_progress_photo.pT5Pu5 <br />
conv_progress_video <br />
conv_progress_video.CpHdpS <br />
flv_create.queue <br />
flv_create.queue.tmp <br />
thumb_create.queue <br />
thumb_create.queue.tmp <br />
</pre><br />
<br />
or <br />
<br />
ps -ef | grep thumb<br />
<br />
To see the status of the converter<br />
sudo synoservicecfg --status synomkthumbd<br />
<br />
[https://www.reddit.com/r/synology/comments/7ui7c1/conversion_process_details/]<br />
<br />
= More info =<br />
[http://www.synology.com/en-global/support/tutorials/461 How to back up data on Synology NAS to another server] this should also work for a synology nas to another synology nas<br />
<br />
[http://www.synology-forum.nl/data-replicator-overige-backupsoftware/backup-via-internet/ backup via internet] NL forum link, aldus deze pagina, poorten:<br />
<br />
Network Backup: 873 TCP <br />
<br />
Encrypted Network Backup: 873, 22 TCP <br />
<br />
[http://raphael.kallensee.name/journal/how-to-backup-an-external-server-with-a-synology-nas-via-rsync/ backup nas via rsync]<br />
<br />
[http://www.synology.com/en-global/support/tutorials/455#t2 How to encrypt shared folders on Synology NAS] (uses AES, untick auto mount for stealing, but need to input passd on reboot via web interface)<br />
<br />
[http://www.synology.com/en-global/support/tutorials/456 How to make Synology NAS accessible via the Internet]<br />
<br />
[http://www.synology.com/en-global/support/tutorials/478 How to secure your Synology NAS server on the Internet]<br />
<br />
=Reports=<br />
<br />
In the Storage Analyzer settings you can set and see where the Synology saves reports. For some reason the Synology saves old reports you have deleted and so you can't create new reports with the same name without deleting the old files:<br />
<pre><br />
When you create a report task, a dedicated folder for this report will be automatically created under the destination folder that you have designated as the storage location for reports. When you delete a report task from the list on Storage Analyzer's homepage, you delete the report's profile only, while its folder still exists. To delete the report's own folder, please go to the designated destination folder > synoreport, and delete the folder with the same name as the report.<br />
</pre><br />
<br />
=Moments=<br />
[https://www.synology.com/en-global/knowledgebase/DSM/help/SynologyMoments/moments_share_and_search https://www.synology.com/en-global/knowledgebase/DSM/help/SynologyMoments/moments_share_and_search]<br />
<pre><br />
Enable Shared Photo Library<br />
<br />
Shared Photo Library allows you and users with permissions to collaboratively edit the photos and albums in Moments. Please note that only users belonging to the administrative groups can enable this feature.<br />
To enable Shared Photo Library:<br />
<br />
Click the Account icon on the bottom-left corner and select Settings > Shared Photo Library > Enable Shared Photo Library.<br />
Click Next to confirm and enable Shared Photo Library.<br />
Select users to grant them the permissions to access Shared Photo Library.<br />
Click OK to finish. Now you can switch between My Photo Library and Shared Photo Library.<br />
<br />
Note:<br />
<br />
The shared folder named /photo is the default path for Shared Photo Library.<br />
If you have already installed Photo Station, the photos in Photo Station can be displayed after the source of photos is switched to Shared Photo Library in Moments. Please note that the converted thumbnails in Photo Station will not be processed again.<br />
After Shared Photo Library is enabled, the Photo Station settings such as album permission, conversion rule, or other downloading settings will not migrate to or be inherited by Moments.<br />
</pre><br />
<br />
=Installing ipkg=<br />
[https://community.synology.com/enu/forum/1/post/127148 by plexflixler]<br />
Go to the Synology Package Center, click on "Settings" on the top right corner and then click on "package sources".<br />
<br />
Add the source "http://www.cphub.net" (you can choose the name freely, i.e. "CPHub")<br />
<br />
Now close the settings. In the package center on the left go to the "Community" tab.<br />
<br />
Find and install "Easy Bootstrap Installer" from QTip. There is also a GUI version if you prefer, called "iPKGui", also from QTip.<br />
<br />
IPKG is now installed. The executables are located in "/opt/bin/". You can SSH to your NAS and use it. However, the directory has not yet been added to the PATH variable, so to use it you would always need to use the full path "/opt/bin/ipkg". <br />
<br />
You can add the directory to the PATH variable using the following command:<br />
<br />
export PATH="$PATH:/opt/bin"<br />
<br />
However, this would only add the directory to PATH for the current session. <br />
<br />
sudo /opt/bin/ipkg update<br />
sudo /opt/bin/nano /etc/profile<br />
<br />
Now find the PATH variable. It should look something like this:<br />
<br />
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin<br />
<br />
At the end of this string, just append ":/opt/bin" (don't forget the colon). Then save and close the file<br />
<br />
Note that this will not automatically update your PATH for the current session. To do this, you can run:<br />
<br />
source /etc/profile<br />
<br />
To check wheter it worked, enter the command:<br />
<br />
echo $PATH | tr ":" "\n" | nl<br />
<br />
You should see the entry for "/opt/bin" there.<br />
<br />
Now your all set.<br />
<br />
=Installing mlocate=<br />
requires ipkg (see above)<br />
<br />
ipkg install mlocate<br />
<br />
Once you have done that, you run<br />
updatedb<br />
<br />
and then you can use the locate command<br />
<br />
=Universal search=<br />
For some reason when installing universal search it doesn't add the shares to the index. You have to do this by hand in settings.<br />
<br />
=Surveillance Station=<br />
==Timelapse==<br />
[https://forum.synology.com/enu/viewtopic.php?t=127113 Using Action Rules]<br />
<br />
[http://planet-geek.com/2017/10/09/geekitude/creating-timelapse-videos-from-a-synology-nas/ Using ffmpeg video stitching] with [https://superuser.com/questions/777938/ffmpeg-convert-a-video-to-a-timelapse a useful note on getting rid of audio] if you're using setpts in ffmpeg<br />
<br />
[https://www.synology.com/en-global/knowledgebase/Surveillance/help/SurveillanceStation/smart_time_lapse Using Smart Time Lapse] which converts videos<br />
<br />
<br />
----<br />
Beveiligde documentopslag vanaf EUR 989,-*<br />
<br />
AES encryption beveiligt uw bestanden<br />
<br />
Snel geplaatst en ingericht naar uw wensen<br />
<br />
Data wordt op extra harde schijf gekopieerd voor het geval er een kapot gaat<br />
<br />
Mogelijkheid om versleutelde bestanden over internet te backuppen<br />
<br />
* inclusief hardware, 1TB opslag en implementatiekosten, excl. voorrijkosten en evt backups / netwerkinstellingen<br />
<br />
=Docker=<br />
Generally the workflow is:<br />
<br />
docker -> add image (from the registry or from a url, eg airsonic/airsonic) -> double click image to create a container -> edit the advanced settings (auto restart on, add volumes, network, etc) -> confirm -> run container -> monitor the container in the container part<br />
<br />
== volumes / permanence ==<br />
These are locations on the synology that can be mounted in the container.<br />
<br />
When installing docker a new main share: docker is created.<br />
<br />
Using add volume you can choose a volume - if it's internal stuff to the container (eg /var/log) you select (or create) the folder(s): /docker/containername/var/log and then use the mount path /var/log to mount that location within the container.<br />
<br />
In the docker cli instructions for an image this can be seen as the -v options<br />
<br />
So if you are trying to mount your music you would mount /music/ to /music - you need to look out for permissions! <br />
<br />
=== Permissions ===<br />
<br />
For music and video: DLNA in Media Server; <br />
<br />
GUID and GPID env variables <br />
<br />
advanced permissions are places to look if you can view the files in the container terminal but the application in the container can't see the files! (you can check for advanced permissions by allowing Everyone read access in the normal permissions and seeing if the application can find them then)<br />
<br />
file permissions also of the /docker/imagename/ directories<br />
<br />
Don't forget to check Apply this folder, sub-folders and files!<br />
<br />
== network port forwarding / connecting from outside the host==<br />
You have two options here:<br />
<br />
1. network=host: while starting (=creating) a container from an image, you can enable the checkbox "use same network as Docker Host" at the bottom in the "network" tab in additional settings. As a result you do not need to map any ports from dsm to the container, as dsms network interface is directly used. You need to take care of potential port collisions between dsm and the container of course.<br />
<br />
2. network=bridged: map ports from the Docker Host (DSM) to the container. You can not access the ip of the container directly, though, you can access the mapped port on the Docker host. The potential port collision bettween dsm and containers are here possible as well.. but they can be corrected easier since you can just change the Docher host port which needs to be still mapped to the same D<br />
ocker port.<br />
<br />
In both cases the port can be accessed via dsm:port, though for option 1) this is only true if you did not change the ip INSIDE the container, if you did it will be container-ip:port.<br />
<br />
[https://community.synology.com/enu/forum/17/post/102280 Connect to a docker container from outside the host (same network)]<br />
<br />
'''So to have the external port be the same as the external port in bridged mode, edit the container and set the local port to be the same as the container port'''<br />
<br />
In the docker cli instructions for an image this can be seen as the -p options<br />
<br />
TODO: [https://mariushosting.com/synology-how-to-run-docker-containers-over-https/ How to run docker over https]<br />
<br />
== Environment ==<br />
Here you can add extra environment variables, eg TZ / GUID / PUID<br />
<br />
You can find your users PID and GID by sshing into the synology and typing<br />
<br />
id<br />
<br />
or<br />
<br />
id username<br />
<br />
The GUID and PUID are the IDs for which the container itself will run, not docker (which will run as root)<br />
<br />
== setting up a docker using cli arguments ==<br />
<br />
As an example [https://docs.linuxserver.io/images/docker-mstream Mstream] from linuxserver (you can find the image in the docker registry or add it using url linuxserver/mstream<br />
<br />
has docker cli<br />
<pre><br />
docker run -d \<br />
--name=mstream \<br />
-e PUID=1000 \<br />
-e PGID=1000 \<br />
-e TZ=Europe/London \<br />
-p 3000:3000 \<br />
-v /path/to/data:/config \<br />
-v /path/to/music:/music \<br />
--restart unless-stopped \<br />
lscr.io/linuxserver/mstream<br />
</pre><br />
<br />
So you have to fill in your own gid / pid / timezone in the Environment part of the container. You set the port to be both 3000 inside and outside in a bridged network connection. You select /docker/mstream/config to mount as /config and you select your music library on the synology to mount to /music. You ensure permissions are right and you should see the files in mstream.<br />
<br />
== Logging and troubleshooting == <br />
<br />
double clicking an container allows you to see the logs in a tab, which will help a lot. You can also access an active terminal in a tab on a running container<br />
<br />
= VPN Connections =<br />
<br />
[https://kb.synology.com/en-af/DSM/tutorial/How_connect_Synology_NAS_VPN_server How do I connect my Synology NAS to a VPN server?]<br />
<br />
Go to DSM Control Panel > Network > Network Interface.<br />
Click Create > Create VPN profile.<br />
Follow the instructions in this article to set up a VPN connection.<br />
<br />
If you select <br />
Use default gateway on remote network <br />
in the VPN profile you can only connect to the synology from the remote network, not from quickconnect [https://kb.synology.com/en-sg/DSM/tutorial/Cannot_connect_Synology_NAS_using_VPN_via_DDNS https://kb.synology.com/en-sg/DSM/tutorial/Cannot_connect_Synology_NAS_using_VPN_via_DDNS]. However if you do not select this you can not access the synology from the VPN IP.<br />
<br />
I also had to select <br />
The server or clients are behind the NAT device<br />
for it to work.<br />
<br />
Notes:<br />
<br />
We recommend selecting L2TP as the VPN protocol if it is available from VPN service providers. OpenVPN profiles provided by certain VPN service providers may not be compatible with Synology NAS.<br />
When your Synology NAS is configured as an L2TP or OpenVPN client, you cannot configure it as a VPN server using the same protocol in VPN Server. PPTP does not have this limitation.<br />
<br />
[https://kb.synology.com/en-af/DSM/help/DSM/AdminCenter/connection_network_vpnclient?version=7 VPN Connection] Synology knowledge centre<br />
<br />
Unfortunatelty running Hyberbackup over l2tp results in severe slowdowns and even crashes of the VPN interface.<br />
<br />
Wireguard connections<br />
<br />
== Tailscale ==<br />
You can connect via [https://tailscale.com/ Tailscale] - this should allow for better hyper backup transfers.<br />
<pre><br />
Simply install Tailscale on both NAS. Then log in to Tailscale and look at the IPs Tailscale has assigned to each machine and use those when configuring things like HyperBackup. Note that to setup Tailscale properly you need to enable outbound connections (explained in Tailscale docs).<br />
</pre><br />
https://www.reddit.com/r/synology/comments/16pe5qn/struggling_to_get_hyper_backup_working_on_remote/<br />
<br />
https://tailscale.com/kb/1131/synology#enabling-synology-outbound-connections<pre><br />
Enabling Synology outbound connections<br />
<br />
Synology DSM7 introduced tighter restrictions on what packages are allowed to do. If you’re running DSM6, Tailscale runs as root with full permissions and these steps are not required.<br />
<br />
By default, Tailscale on Synology with DSM7 only allows inbound connections to your Synology device but outbound Tailscale access from other apps running on your Synology is not enabled.<br />
<br />
The reason for this is that the Tailscale package does not have permission to create a TUN device.<br />
<br />
To enable TUN, to permit outbound connections from other things running on your Synology:<br />
<br />
Make sure you’re running Tailscale 1.22.2 or later, either from the Synology Package Center or a manually installed *.spk from the Tailscale Packages server.<br />
<br />
In Synology, go to Control Panel > Task Scheduler, click Create, and select Triggered Task.<br />
<br />
Select User-defined script.<br />
<br />
When the Create task window appears, click General.<br />
<br />
In General Settings, enter a task name, select root as the user that the task will run for, and select Boot-up as the event that triggers the task. Ensure the task is enabled.<br />
<br />
Click Task Settings and enter the following for User-defined script.<br />
<br />
/var/packages/Tailscale/target/bin/tailscale configure-host; synosystemctl restart pkgctl-Tailscale.service<br />
<br />
(If you’re curious what it does, you can read the configure-host code.)<br />
<br />
Click OK to save the settings.<br />
<br />
Reboot your Synology. (Alternatively, to avoid a reboot, run the above user-defined script as root on the device to restart the Tailscale package.)<br />
<br />
Your TUN settings should now be persisted across reboots of your device.<br />
If the Synology firewall is enabled: adjust the firewall settings<br />
<br />
By enabling TUN, Tailscale traffic will be subject to Synology’s built-in firewall.<br />
<br />
The firewall is disabled by default. However, if you have it enabled, add an exception for the Tailscale subnet, 100.64.0.0/10. In Main menu > Control Panel > Security > Firewall, add a firewall rule in the default profile that allows traffic from the source IP subnet 100.64.0.0 with subnet mask 255.192.0.0.<br />
</pre><pre><br />
Do you also have 5001 forwarded since you require GUI access in order to validate the login ? <br />
[...]<br />
Thread on synoforum claims that is not possible e.g. the 5001 is hard coded:<br />
https://www.synoforum.com/threads/hyper-backup-task-remote-connection-issue-due-to-dsm-7-2-resolved.11633/<br />
<br />
Your choices appear to be use a VPN for the hyperbackup task or open port 5001 long enough to log in so the task can receive an authentication token. <br />
</pre>Note - you may also need to enable the firewall for Hyper Backup Vault (see above) as well as allow p2p (uncheck in udmp under Settings - Security - General - Detection Sensitivity choose Customise and make sure p2p is not selected). You need tcp:443 and udp:3478 outbound open and udp:41641 inbound open. I never got this to work through a unifi udmp :( with tailscale, but opening the ports did allow me to use the original IP for Hyperbackup<br />
<br />
https://tailscale.com/kb/1082/firewall-ports</div>Redhttp://wiki.edgarbv.com/index.php?title=Synology&diff=37737Synology2024-03-20T08:41:39Z<p>Red: /* Tailscale */</p>
<hr />
<div>= First things to do =<br />
<br />
== Change IP ==<br />
<br />
Control panel -> (connectivity) Network -> tab network interface -> select LAN and click Edit.<br />
<br />
== Enable home directories + 2 step verification ==<br />
<br />
Control panel -> User -> Advanced -> Enable home user service + Enforce 2 step verification<br />
<br />
== change workgroup ==<br />
<br />
control panel -> file services -> smb/afp/nfs -> smb / enable smb service : workgroup<br />
<br />
== change low volume warning threshold ==<br />
change the % by going into my Storage Manager -> Storage -> Clicking the ... on the Volume I was looking for then Clicking Settings. If I scroll down on the Settings there is a Low Capacity Notification where you can change the % to 5% from 20%<br />
<br />
== Enable SSH ==<br />
<br />
Control panel -> (System) Terminal & SNMP enable SSH<br />
<br />
Control panel -> (connectivity) Security -> Firewall tab -> create a rule for SSH (encrypted terminal services), enable and save<br />
<br />
for root login as admin and then '''sudo sh'''<br />
<br />
(you can then log in to the machine using user '''root''' and the default admin password)<br />
<br />
to enable your users to access the terminal vi /etc/passwd and change /sbin/nologin to /bin/ash<br />
<br />
== Create shared folders ==<br />
Once you have created your shared folder, also enable snapshots<br />
<br />
= Prepare for rsync =<br />
NB the synology can only push rsync files, it can not be set up to pull files from a remote rsync server.<br />
<br />
Control panel -> (file sharing) Shared Folder -> create folder to back up to. Give the user you want to rsync to Read/Write access<br />
<br />
Control panel -> File services -> enable rsync service<br />
<br />
'''depreciated'''<br />
----<br />
Start (top left) -> Backup & replication -> backup services -> enable network backup service<br />
<br />
Start (top left) -> Backup & replication -> Backup Destination -> create Local Backup destination -> backup up data to local shared folder -> the name you put in there will be the module name or the path you can use later.<br />
<br />
then add the section in /etc/rsyncd.conf changing only the path and comment values (of course under the module name)<br />
<br />
restart rsync with<br />
<pre><br />
/usr/syno/etc/rc.sysv/S84rsyncd.sh restart<br />
</pre><br />
<br />
If you don't do this, it will rsync everything without the user name for some reason<br />
<br />
== Synology to synology ==<br />
You backup from the source to the target<br />
<br />
ssh into the source machine ('''mind the slashes at the end!''' if you don't use the slash it will create a directory in the directory you specify)<br />
<br />
rsync -avn /volume1/sourcedirectory/ user@192.168.0.105:/volume1/targetdirectory/<br />
<br />
to check if it works. Drop the n to start the actual copy.<br />
<br />
=== Hyper Backup ===<br />
This will create a backup directory which you can't browse with file explorer as it stores everything in a hyper backup format (Non browseable). NB this fails pretty badly using l2tp VPN connection. You need to use Tailscale (see VPN below).<br />
<br />
==== Using Hyper Backup Vault ====<br />
Note: the destination needs the Hyper Backup Vault package installed. Launch Hyper backup on the source. Use the + bottom left to create a new backup job. Select data backup. Select Remote NAS device. fill in the hostname and then you can select which Shared folder it will use as a destination. Note: you cannot use photos or homes. The Directory is the name of the directory it will make on the shared folder on the destination device.<br />
<br />
If the firewall is enabled, go to control Panel -> Network -> Firewall -> Edit rules -> Create -> select hyper backup vault as application<br />
<br />
==== Using rsync ====<br />
Launch Hyper backup on the source. Use the + bottom left to create a new backup job. Choose rsync. Fill in the data. As username and password you need a username and pass on the target machine. It will then fill the shared folder list with shares available on the target. You cannot backup to the root directory of the target share, so you need something in the directory field. After this it pretty much sets itself up. This will actually copy files, so you can browse them on the target NAS<br />
<br />
==== Using Snapshot replication ====<br />
This is supposed to be fairly effective, but not all DSM versions have this package and it needs to be installed on the recipient as well.<br />
<br />
== Netgear ReadyNas Ultra setup for rsync to Synology ==<br />
<br />
''Here we set up the Netgear to pull data from the Synology''<br />
<br />
in the /admin interface first<br />
<br />
Services -> Standard File Protocols -> ensure Rsync is enabled<br />
<br />
Shares -> share listing -> click on rsync icon. scroll up and change default access to 'read only'. Set hosts allowed access to ip of synology (192.168.0.101). Fill in the username and password!<br />
<br />
Backup -> Add a new backup job<br />
<br />
[[File:netgear backup step 1.png]]<br />
<br />
If you don't fill in the path above it will copy the whole share. If you browse the share you can select a subdir to copy.<br />
<br />
[[File:netgear backup step 2.png]]<br />
<br />
Note that the '''Path needs to be EMPTY''' before pressing the 'Test connection' button. It will sometimes work if you fill in NetBackup but you're best off doing the test empty, then typing in the path and then apply bottom right to test the backup job.<br />
<br />
This is what the schedule will look like<br />
<br />
[[File:backup schedule.png|400px]]<br />
<br />
The Daily job<br />
<br />
[[File:jobt1.png|400px]]<br />
[[File:job2.png|400px]]<br />
[[File:job3.png|400px]]<br />
[[File:job4.png|400px]]<br />
<br />
The Weekly job<br />
<br />
[[File:weekly netgear rsync.png|400px]]<br />
<br />
The monthly job<br />
<br />
[[File:monthly netgear rsync1.png|400px]]<br />
[[File:monthly netgear rsync2.png|400px]]<br />
<br />
== useful linkies ==<br />
[http://www.readynas.com/download/documentation/support/rsync_howto_nastonas.pdf Readynas rsync howto PDF]<br />
<br />
[https://www.synology.com/en-uk/knowledgebase/tutorials/613 synology rsync tutorial]<br />
<br />
[http://www.smallnetbuilder.com/nas/nas-howto/30856-how-to-back-up-nas-to-nas-part-1?start=1 small netbuilder tutorial]<br />
<br />
== indexing media files ==<br />
If you rsync files into the /volume1/photo or /volume1/video directories the system does not index them. They need to be copied in using windows or the internal file manager to index them automatically.<br />
<br />
In control panel -> Media library you can re-index the files in the photo directory.<br />
<br />
In the video station itself under collection -> settings you can re-index.<br />
<br />
As you can't set /video/ as a directory to use in the video station, you have to set a symbolic link from /volume1/video/movie to wherever you want to have your directories.<br />
<br />
Warning: indexing can take DAYS!<br />
<br />
== Preparing ReadyNAS for rsync towards it ==<br />
Ensure in Shares that the rsync is enabled on at least one share. Ensure the host you are coming from is allowed and that there is a username / password for it.<br />
<br />
= Symbolic links =<br />
<br />
Windows can't handle symbolic links on the synology, so you have to mount directories with<br />
<pre><br />
mount -o bind /volume1/sourcedir /volume1/destdir<br />
</pre><br />
<br />
as root<br />
<br />
and then copy the mount command to /etc/rc.local to make it stick after a reboot<br />
<br />
= prepare the windows machine for Picasa =<br />
<br />
SSH to the synology, log in as root<br />
<pre><br />
mkdir /volume1/photo/Pictures<br />
mount -o bind /volume1/photo/ /volume1/photo/Pictures<br />
</pre><br />
edit /etc/rc.local<br />
<br />
insert the mount command above into the file - this is for when the synology restarts<br />
<br />
in windows explorer map \\invader\photo to T:<br />
<br />
== Picasa database file locations ==<br />
<br />
There are 2 directories in % %LocalAppData%\Google\ which is the same as C:\Users\razor\AppData\Local\Google\<br />
<br />
<br />
Copy them over before running Picasa for the first time.<br />
<br />
=NFS=<br />
<br />
First make sure in Control Panel -> File Services that NFS is enabled.<br />
<br />
Then in Control Panel -> File Sharing -> Edit the share -> create NFS Permissions. You should only have to change the IP/Hostname field.<br />
<br />
[https://www.synology.com/en-us/knowledgebase/tutorials/616 see here]<br />
<br />
=CIFS=<br />
sudo mount -t cifs //192.168.0.101/home/ ~/xx/ -o username=razor,uid=razor,gid=users<br />
<br />
=To find the NAS on linux with netbios=<br />
You have to enable the bonjour service on the NAS<br />
<br />
Control Panel -> File services -> Enable AFP service, then in Advanced tab -> also enable<br />
<br />
The linux machine needs avahi running. Check using<br />
sudo service avahi-daemon status<br />
<br />
=DLNA=<br />
The video players such as a TV (eg on an LG TV under "photos and videos" app) that play directly from the NAS use DLNA. The synology (or DLNA server) creates a database which the player reads. <br />
<br />
The settings for the Media Server / DNLA can be found under the synology ''start menu -> media server''. It is quite possible that Synology decides it doesn't like your player much and gives it a device type which it's not happy with. Under ''DMA Compatibility -> Device List'' you can change the profile to '''Default profile''', which may help.<br />
<br />
If the database is somehow damaged, you can rebuild it under ''control panel -> indexing service'' and then click '''re-index'''. This can take days!<br />
<br />
To check the status of the rebuild, ssh in (using admin / pw, then sudo su) and you can check to see what's being rebuilt by issuing<br />
ls -l /proc/$(pidof synomkthumbd)/fd<br />
To monitor what's happening over some time do (nb it will take some time before you see anything appear!)<br />
while sleep 30; do ls -l /proc/$(pidof synomkthumbd)/fd | grep volume; done<br />
[https://www.mcleanit.ca/blog/synology-check-index-progress/ from mcleanit.ca]<br />
<br />
If the indexing service seems frozen then restart it with<br />
synoservicectl --restart synoindexd<br />
<br />
=Streaming=<br />
The audio station DS Audio app is terrible and hangs a lot. <br />
<br />
As alternatives there are Jellyfin; Airsonic and mstream. So far I like mstream, it's very light (388MB docker image, as it's file based.<br />
<br />
== Jellyfin ==<br />
very library based and uses quite a bit of CPU - no folder view<br />
<br />
== Airsonic ==<br />
Comes in 2 flavours: [https://airsonic.github.io/ airsonic] and [https://github.com/airsonic-advanced/airsonic-advanced airsonic-advanced]. The advanced version is a fork created due to frustration with the glacial pace of development of airsonic. [https://www.reddit.com/r/airsonic/comments/fu4gwd/airsonic_vs_airsonicadvanced/ Reddit rant here]<br />
<br />
[https://hub.docker.com/r/airsonicadvanced/airsonic-advanced airsonic-advanced]<br />
<br />
== MxStream ==<br />
[https://docs.linuxserver.io/images/docker-mstream linuxserver/mstream]<br />
<br />
Super lightweight: <br />
<br />
iamge is 388 MB<br />
<br />
fresh install:<br />
<br />
CPU: 0.85%<br />
<br />
RAM: 111 MB<br />
<br />
file based<br />
<br />
http://netbiosname:3000<br />
<br />
== Gerbera BubbleUpnP ==<br />
[https://www.reddit.com/r/synology/comments/adkjsr/my_solution_to_playing_audio_from_nas_on_my_cell/ information]<br />
<br />
== Plex ==<br />
Complaints about it being slow and jumpy - only for local streaming - also if you want to use it for streaming or downloading for internet streaming you need to pay<br />
<br />
== Beets ==<br />
re-organise your music collection?<br />
<br />
=Converting media files=<br />
Photo station converts your videos to flv as standard and to mp4 if you have '''conversion for mobile devices''' set to on under ''control panel -> indexing service.''<br />
<br />
It will also convert your image files to thumbnails as standard.<br />
<br />
This can take a few days or even weeks if you upload a lot of new stuff.<br />
<br />
To speed the photo thumbnail generation up you can do the following:<br />
<br />
/usr/syno/etc.defaults/thumb.conf<br />
<br />
* changed the quality of thumbs to 70%<br />
* divided by 2 all the thumbs size<br />
* change the XL thumb size to 400 pixels<br />
<br />
[https://forum.synology.com/enu/viewtopic.php?t=95060]<br />
<br />
To view the status of the conversion, in /var/spool there are the following files<br />
<pre><br />
conv_progress_photo <br />
conv_progress_photo.pT5Pu5 <br />
conv_progress_video <br />
conv_progress_video.CpHdpS <br />
flv_create.queue <br />
flv_create.queue.tmp <br />
thumb_create.queue <br />
thumb_create.queue.tmp <br />
</pre><br />
<br />
or <br />
<br />
ps -ef | grep thumb<br />
<br />
To see the status of the converter<br />
sudo synoservicecfg --status synomkthumbd<br />
<br />
[https://www.reddit.com/r/synology/comments/7ui7c1/conversion_process_details/]<br />
<br />
= More info =<br />
[http://www.synology.com/en-global/support/tutorials/461 How to back up data on Synology NAS to another server] this should also work for a synology nas to another synology nas<br />
<br />
[http://www.synology-forum.nl/data-replicator-overige-backupsoftware/backup-via-internet/ backup via internet] NL forum link, aldus deze pagina, poorten:<br />
<br />
Network Backup: 873 TCP <br />
<br />
Encrypted Network Backup: 873, 22 TCP <br />
<br />
[http://raphael.kallensee.name/journal/how-to-backup-an-external-server-with-a-synology-nas-via-rsync/ backup nas via rsync]<br />
<br />
[http://www.synology.com/en-global/support/tutorials/455#t2 How to encrypt shared folders on Synology NAS] (uses AES, untick auto mount for stealing, but need to input passd on reboot via web interface)<br />
<br />
[http://www.synology.com/en-global/support/tutorials/456 How to make Synology NAS accessible via the Internet]<br />
<br />
[http://www.synology.com/en-global/support/tutorials/478 How to secure your Synology NAS server on the Internet]<br />
<br />
=Reports=<br />
<br />
In the Storage Analyzer settings you can set and see where the Synology saves reports. For some reason the Synology saves old reports you have deleted and so you can't create new reports with the same name without deleting the old files:<br />
<pre><br />
When you create a report task, a dedicated folder for this report will be automatically created under the destination folder that you have designated as the storage location for reports. When you delete a report task from the list on Storage Analyzer's homepage, you delete the report's profile only, while its folder still exists. To delete the report's own folder, please go to the designated destination folder > synoreport, and delete the folder with the same name as the report.<br />
</pre><br />
<br />
=Moments=<br />
[https://www.synology.com/en-global/knowledgebase/DSM/help/SynologyMoments/moments_share_and_search https://www.synology.com/en-global/knowledgebase/DSM/help/SynologyMoments/moments_share_and_search]<br />
<pre><br />
Enable Shared Photo Library<br />
<br />
Shared Photo Library allows you and users with permissions to collaboratively edit the photos and albums in Moments. Please note that only users belonging to the administrative groups can enable this feature.<br />
To enable Shared Photo Library:<br />
<br />
Click the Account icon on the bottom-left corner and select Settings > Shared Photo Library > Enable Shared Photo Library.<br />
Click Next to confirm and enable Shared Photo Library.<br />
Select users to grant them the permissions to access Shared Photo Library.<br />
Click OK to finish. Now you can switch between My Photo Library and Shared Photo Library.<br />
<br />
Note:<br />
<br />
The shared folder named /photo is the default path for Shared Photo Library.<br />
If you have already installed Photo Station, the photos in Photo Station can be displayed after the source of photos is switched to Shared Photo Library in Moments. Please note that the converted thumbnails in Photo Station will not be processed again.<br />
After Shared Photo Library is enabled, the Photo Station settings such as album permission, conversion rule, or other downloading settings will not migrate to or be inherited by Moments.<br />
</pre><br />
<br />
=Installing ipkg=<br />
[https://community.synology.com/enu/forum/1/post/127148 by plexflixler]<br />
Go to the Synology Package Center, click on "Settings" on the top right corner and then click on "package sources".<br />
<br />
Add the source "http://www.cphub.net" (you can choose the name freely, i.e. "CPHub")<br />
<br />
Now close the settings. In the package center on the left go to the "Community" tab.<br />
<br />
Find and install "Easy Bootstrap Installer" from QTip. There is also a GUI version if you prefer, called "iPKGui", also from QTip.<br />
<br />
IPKG is now installed. The executables are located in "/opt/bin/". You can SSH to your NAS and use it. However, the directory has not yet been added to the PATH variable, so to use it you would always need to use the full path "/opt/bin/ipkg". <br />
<br />
You can add the directory to the PATH variable using the following command:<br />
<br />
export PATH="$PATH:/opt/bin"<br />
<br />
However, this would only add the directory to PATH for the current session. <br />
<br />
sudo /opt/bin/ipkg update<br />
sudo /opt/bin/nano /etc/profile<br />
<br />
Now find the PATH variable. It should look something like this:<br />
<br />
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin<br />
<br />
At the end of this string, just append ":/opt/bin" (don't forget the colon). Then save and close the file<br />
<br />
Note that this will not automatically update your PATH for the current session. To do this, you can run:<br />
<br />
source /etc/profile<br />
<br />
To check wheter it worked, enter the command:<br />
<br />
echo $PATH | tr ":" "\n" | nl<br />
<br />
You should see the entry for "/opt/bin" there.<br />
<br />
Now your all set.<br />
<br />
=Installing mlocate=<br />
requires ipkg (see above)<br />
<br />
ipkg install mlocate<br />
<br />
Once you have done that, you run<br />
updatedb<br />
<br />
and then you can use the locate command<br />
<br />
=Universal search=<br />
For some reason when installing universal search it doesn't add the shares to the index. You have to do this by hand in settings.<br />
<br />
=Surveillance Station=<br />
==Timelapse==<br />
[https://forum.synology.com/enu/viewtopic.php?t=127113 Using Action Rules]<br />
<br />
[http://planet-geek.com/2017/10/09/geekitude/creating-timelapse-videos-from-a-synology-nas/ Using ffmpeg video stitching] with [https://superuser.com/questions/777938/ffmpeg-convert-a-video-to-a-timelapse a useful note on getting rid of audio] if you're using setpts in ffmpeg<br />
<br />
[https://www.synology.com/en-global/knowledgebase/Surveillance/help/SurveillanceStation/smart_time_lapse Using Smart Time Lapse] which converts videos<br />
<br />
<br />
----<br />
Beveiligde documentopslag vanaf EUR 989,-*<br />
<br />
AES encryption beveiligt uw bestanden<br />
<br />
Snel geplaatst en ingericht naar uw wensen<br />
<br />
Data wordt op extra harde schijf gekopieerd voor het geval er een kapot gaat<br />
<br />
Mogelijkheid om versleutelde bestanden over internet te backuppen<br />
<br />
* inclusief hardware, 1TB opslag en implementatiekosten, excl. voorrijkosten en evt backups / netwerkinstellingen<br />
<br />
=Docker=<br />
Generally the workflow is:<br />
<br />
docker -> add image (from the registry or from a url, eg airsonic/airsonic) -> double click image to create a container -> edit the advanced settings (auto restart on, add volumes, network, etc) -> confirm -> run container -> monitor the container in the container part<br />
<br />
== volumes / permanence ==<br />
These are locations on the synology that can be mounted in the container.<br />
<br />
When installing docker a new main share: docker is created.<br />
<br />
Using add volume you can choose a volume - if it's internal stuff to the container (eg /var/log) you select (or create) the folder(s): /docker/containername/var/log and then use the mount path /var/log to mount that location within the container.<br />
<br />
In the docker cli instructions for an image this can be seen as the -v options<br />
<br />
So if you are trying to mount your music you would mount /music/ to /music - you need to look out for permissions! <br />
<br />
=== Permissions ===<br />
<br />
For music and video: DLNA in Media Server; <br />
<br />
GUID and GPID env variables <br />
<br />
advanced permissions are places to look if you can view the files in the container terminal but the application in the container can't see the files! (you can check for advanced permissions by allowing Everyone read access in the normal permissions and seeing if the application can find them then)<br />
<br />
file permissions also of the /docker/imagename/ directories<br />
<br />
Don't forget to check Apply this folder, sub-folders and files!<br />
<br />
== network port forwarding / connecting from outside the host==<br />
You have two options here:<br />
<br />
1. network=host: while starting (=creating) a container from an image, you can enable the checkbox "use same network as Docker Host" at the bottom in the "network" tab in additional settings. As a result you do not need to map any ports from dsm to the container, as dsms network interface is directly used. You need to take care of potential port collisions between dsm and the container of course.<br />
<br />
2. network=bridged: map ports from the Docker Host (DSM) to the container. You can not access the ip of the container directly, though, you can access the mapped port on the Docker host. The potential port collision bettween dsm and containers are here possible as well.. but they can be corrected easier since you can just change the Docher host port which needs to be still mapped to the same D<br />
ocker port.<br />
<br />
In both cases the port can be accessed via dsm:port, though for option 1) this is only true if you did not change the ip INSIDE the container, if you did it will be container-ip:port.<br />
<br />
[https://community.synology.com/enu/forum/17/post/102280 Connect to a docker container from outside the host (same network)]<br />
<br />
'''So to have the external port be the same as the external port in bridged mode, edit the container and set the local port to be the same as the container port'''<br />
<br />
In the docker cli instructions for an image this can be seen as the -p options<br />
<br />
TODO: [https://mariushosting.com/synology-how-to-run-docker-containers-over-https/ How to run docker over https]<br />
<br />
== Environment ==<br />
Here you can add extra environment variables, eg TZ / GUID / PUID<br />
<br />
You can find your users PID and GID by sshing into the synology and typing<br />
<br />
id<br />
<br />
or<br />
<br />
id username<br />
<br />
The GUID and PUID are the IDs for which the container itself will run, not docker (which will run as root)<br />
<br />
== setting up a docker using cli arguments ==<br />
<br />
As an example [https://docs.linuxserver.io/images/docker-mstream Mstream] from linuxserver (you can find the image in the docker registry or add it using url linuxserver/mstream<br />
<br />
has docker cli<br />
<pre><br />
docker run -d \<br />
--name=mstream \<br />
-e PUID=1000 \<br />
-e PGID=1000 \<br />
-e TZ=Europe/London \<br />
-p 3000:3000 \<br />
-v /path/to/data:/config \<br />
-v /path/to/music:/music \<br />
--restart unless-stopped \<br />
lscr.io/linuxserver/mstream<br />
</pre><br />
<br />
So you have to fill in your own gid / pid / timezone in the Environment part of the container. You set the port to be both 3000 inside and outside in a bridged network connection. You select /docker/mstream/config to mount as /config and you select your music library on the synology to mount to /music. You ensure permissions are right and you should see the files in mstream.<br />
<br />
== Logging and troubleshooting == <br />
<br />
double clicking an container allows you to see the logs in a tab, which will help a lot. You can also access an active terminal in a tab on a running container<br />
<br />
= VPN Connections =<br />
<br />
[https://kb.synology.com/en-af/DSM/tutorial/How_connect_Synology_NAS_VPN_server How do I connect my Synology NAS to a VPN server?]<br />
<br />
Go to DSM Control Panel > Network > Network Interface.<br />
Click Create > Create VPN profile.<br />
Follow the instructions in this article to set up a VPN connection.<br />
<br />
If you select <br />
Use default gateway on remote network <br />
in the VPN profile you can only connect to the synology from the remote network, not from quickconnect [https://kb.synology.com/en-sg/DSM/tutorial/Cannot_connect_Synology_NAS_using_VPN_via_DDNS https://kb.synology.com/en-sg/DSM/tutorial/Cannot_connect_Synology_NAS_using_VPN_via_DDNS]. However if you do not select this you can not access the synology from the VPN IP.<br />
<br />
I also had to select <br />
The server or clients are behind the NAT device<br />
for it to work.<br />
<br />
Notes:<br />
<br />
We recommend selecting L2TP as the VPN protocol if it is available from VPN service providers. OpenVPN profiles provided by certain VPN service providers may not be compatible with Synology NAS.<br />
When your Synology NAS is configured as an L2TP or OpenVPN client, you cannot configure it as a VPN server using the same protocol in VPN Server. PPTP does not have this limitation.<br />
<br />
[https://kb.synology.com/en-af/DSM/help/DSM/AdminCenter/connection_network_vpnclient?version=7 VPN Connection] Synology knowledge centre<br />
<br />
Unfortunatelty running Hyberbackup over l2tp results in severe slowdowns and even crashes of the VPN interface.<br />
<br />
Wireguard connections<br />
<br />
== Tailscale ==<br />
You can connect via [https://tailscale.com/ Tailscale] - this should allow for better hyper backup transfers.<br />
<pre><br />
Simply install Tailscale on both NAS. Then log in to Tailscale and look at the IPs Tailscale has assigned to each machine and use those when configuring things like HyperBackup. Note that to setup Tailscale properly you need to enable outbound connections (explained in Tailscale docs).<br />
</pre><br />
https://www.reddit.com/r/synology/comments/16pe5qn/struggling_to_get_hyper_backup_working_on_remote/<br />
<br />
https://tailscale.com/kb/1131/synology#enabling-synology-outbound-connections<pre><br />
Enabling Synology outbound connections<br />
<br />
Synology DSM7 introduced tighter restrictions on what packages are allowed to do. If you’re running DSM6, Tailscale runs as root with full permissions and these steps are not required.<br />
<br />
By default, Tailscale on Synology with DSM7 only allows inbound connections to your Synology device but outbound Tailscale access from other apps running on your Synology is not enabled.<br />
<br />
The reason for this is that the Tailscale package does not have permission to create a TUN device.<br />
<br />
To enable TUN, to permit outbound connections from other things running on your Synology:<br />
<br />
Make sure you’re running Tailscale 1.22.2 or later, either from the Synology Package Center or a manually installed *.spk from the Tailscale Packages server.<br />
<br />
In Synology, go to Control Panel > Task Scheduler, click Create, and select Triggered Task.<br />
<br />
Select User-defined script.<br />
<br />
When the Create task window appears, click General.<br />
<br />
In General Settings, enter a task name, select root as the user that the task will run for, and select Boot-up as the event that triggers the task. Ensure the task is enabled.<br />
<br />
Click Task Settings and enter the following for User-defined script.<br />
<br />
/var/packages/Tailscale/target/bin/tailscale configure-host; synosystemctl restart pkgctl-Tailscale.service<br />
<br />
(If you’re curious what it does, you can read the configure-host code.)<br />
<br />
Click OK to save the settings.<br />
<br />
Reboot your Synology. (Alternatively, to avoid a reboot, run the above user-defined script as root on the device to restart the Tailscale package.)<br />
<br />
Your TUN settings should now be persisted across reboots of your device.<br />
If the Synology firewall is enabled: adjust the firewall settings<br />
<br />
By enabling TUN, Tailscale traffic will be subject to Synology’s built-in firewall.<br />
<br />
The firewall is disabled by default. However, if you have it enabled, add an exception for the Tailscale subnet, 100.64.0.0/10. In Main menu > Control Panel > Security > Firewall, add a firewall rule in the default profile that allows traffic from the source IP subnet 100.64.0.0 with subnet mask 255.192.0.0.<br />
</pre><pre><br />
Do you also have 5001 forwarded since you require GUI access in order to validate the login ? <br />
[...]<br />
Thread on synoforum claims that is not possible e.g. the 5001 is hard coded:<br />
https://www.synoforum.com/threads/hyper-backup-task-remote-connection-issue-due-to-dsm-7-2-resolved.11633/<br />
<br />
Your choices appear to be use a VPN for the hyperbackup task or open port 5001 long enough to log in so the task can receive an authentication token. <br />
</pre>Note - you may also need to enable the firewall for Hyper Backup Vault (see above) as well as allow p2p (uncheck in udmp under Settings - Security - General - Detection Sensitivity choose Customise and make sure p2p is not selected). You need tcp:443 and udp:3478 outbound open and udp:41641 inbound open<br />
<br />
https://tailscale.com/kb/1082/firewall-ports</div>Redhttp://wiki.edgarbv.com/index.php?title=Ubiquiti&diff=37736Ubiquiti2024-03-20T08:37:59Z<p>Red: /* UDM Pro / Ubiquiti Dream Machine Pro / UDMP */</p>
<hr />
<div>[http://www.ubnt.com/unifi Ubiquiti Unifi] is scalable and has a linux controller software, meaning you only need to buy APs and a PC with linux on it (ubuntu recommended) to run the network.<br />
<br />
= UDM Pro / Ubiquiti Dream Machine Pro / UDMP =<br />
<br />
== Old vs New UI ==<br />
First remember that there are 2 UI's. The old one has some functionalities that are simply not available in the new UI, especially when it comes to the Insights page! The new UI has nicer statistics and graphics and a much better topology page<br />
<br />
Switch to the old UI from the New by going to the gears icon / settings -> System -> New user interface -> deactivate<br />
<br />
Switch to the new UI from the old by going to gears icon / settings -> User interface -> New user interface -> apply<br />
<br />
== Finding the ports used == <br />
Old interface: click the light bulb / insights -> click top right above the table and select Switch stats in the drop down<br />
<br />
New interface: click the AP icon / devices -> click the switch -> click on settings in the slide in details on the right<br />
<br />
== VLAN profile problems ==<br />
From [https://community.ui.com/questions/vlans-not-communicating-cant-ping-gateway/157ffdf8-cbf9-4cb2-af9d-00d6a470ed8d#answer/a19e7a69-5d66-4174-8ecd-162c65c9efc4 vlans not communicating, can't ping gateway]<br />
<pre><br />
Change the profile on switch port 2 to VLAN that you want the PC to be in. DHCP should be working so remove the static IP address on the PC.<br />
Once you've changed the switch port profile you will need to tell Windows to grab a new IP address. You can do that by doing 'ipconfig /renew' in a command prompt or by removing and then reconnecting the network cable.<br />
The firewall rule you added to allow inter-VLAN routing isn't needed. By default UniFi has open access between VLANs so you'd only need to add firewall rules if you wanted to restrict that traffic.<br />
<br />
The 'All' switchport profile is the reason it's not working. Ports with that profile will have VLAN 1 as their native VLAN and the other VLANs will be tagged.<br />
In your case you want the new VLAN to be the native (or untagged) VLAN.<br />
</pre><br />
<br />
ALSO record the switchport settings, as these were deleted by an update at some point<br />
<br />
== Getting Sonos to work across VLANs ==<br />
<br />
create a new network with vlan eg Smarthome / IOT <br />
<br />
create a new wifi network eg Smarthome Wifi and connect it to the Smarthome network<br />
<br />
In the new UI enable mDNS<br />
<br />
advanced features -> advanced gateway settings -> multicast DNS -> enable (enables mDNS reflector service)<br />
<br />
In the old UI<br />
<br />
settings -> site -> auto optimise network<br />
wireless networks -> edit each wifi network -> advanced -> Enable multicast enhancement (IGMPv3)<br />
<br />
You should now be able to control the Sonos machines from across different networks<br />
<br />
This is useful if you have a smarthome controller on a different subnet from your wifi / wired network and it needs the Sonos devices on the same subnet to control them (eg ABB-free@home needs this)<br />
<br />
try: [https://community.ui.com/questions/UDMUDMP-IoT-VLAN-Speaker-Group-fix-with-mDNS-and-Google-Nest-Speakers-Chromecasts/37d6239f-303e-4f9f-8727-626acf07d33c UDM UDMP IoT VLAN Speaker Group fix with mDNS and Google Nest Speakers/Chromecasts] and [https://nerdygeek.uk/2020/06/09/a-tip-for-sonos-and-unifi-udm-pro-users/ A tip for Sonos and Unifi UDM-Pro users]<br />
<br />
== SSH access ==<br />
<br />
You do this in the main login of the UDMP, not in the Networking side. Go to console settings, allow SSH and enter a password. Login as root. See the bottom of [https://community.ui.com/questions/Unable-to-SSH-into-UDMP/2a733e78-db60-42fd-9df9-d9459d200db6]<br />
<br />
== VPN == <br />
<br />
[https://lazyadmin.nl/network/unifi-vpn/ How to setup UniFi VPN on UDM Pro]<br />
<br />
However, swanctl is now no longer supported so you can't really log stuff.<br />
<br />
To kick a user off the VPN you have to use the classic interface. click insights, then from the top left drop down select vpn users, mouse over the connection and a button "terminate" appears. You can also change their password in the VPN settings.<br />
<br />
You can ssh in and find stuff in<br />
<pre><br />
/var/log/messages<br />
/var/log/daemon.log<br />
/var/log/kern.log<br />
/var/log/auth.log<br />
</pre><br />
by tailing and grepping l2tp or the username<br />
<br />
If you <br />
grep username messages<br />
you will find the IP address assigned to the username<br />
<br />
You can also find the device in Client devices and select VPN or in the system Log under Client but all you can see there is that it's connected.<br />
<br />
== Blocking Countries ==<br />
This can be done in 2 ways: <br />
<br />
To block any incoming traffic from entering the network:<br />
<br />
Setup - Security - General - Country restrictions <br />
<br />
or to stop devices from going towards certain countries:<br />
<br />
Setup - Security - Traffic & Firewall Rules (Advanced view) - LAN - Create Entry<br />
<br />
Set Destination: Region.<br />
<br />
== Threat management / choosing protocols ==<br />
Under Settings - Security - General - Detection Sensitivity choose Customise and you can select which protocols (peer to peer / ftp / whatever) you want blocked / notified<br />
<br />
= Unifi UAP =<br />
<br />
The UAP-Pro can handle 200 concurrent clients and the UAP-LR / LR / UAP-Outdoor can handle 100 simultaneous clients.<br />
<br />
The UAP's are very cheap.<br />
<br />
There are still some problems apparently though.<br />
<br />
== Installing the controller on Debian ==<br />
<br />
This needs to run under a desktop environment, so make sure you have one.<br />
<pre><br />
echo 'deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti' | /etc/apt/sources.list.d/100-ubnt-unifi.list<br />
wget -O /etc/apt/trusted.gpg.d/unifi-repo.gpg https://dl.ubnt.com/unifi/unifi-repo.gpg<br />
apt update <br />
sudo apt install unifi<br />
</pre><br />
Then<br />
<pre><br />
systemctl enable unifi<br />
systemctl start unifi<br />
</pre><br />
<br />
visit the controller software at http://localhost:8080<br />
<br />
[https://help.ubnt.com/hc/en-us/articles/220066768-UniFi-How-to-Install-Update-via-APT-on-Debian-or-Ubuntu]<br />
<br />
You may need to change the ports<br />
<br />
[https://help.ubnt.com/hc/en-us/articles/204910084-UniFi-Changing-Default-Ports-for-Controller-and-UAPs]<br />
<br />
== Migrating from another controller on another PC ==<br />
===If you are not changing hostname / IP===<br />
# Make sure both controllers are the same version (ie update them both)<br />
# if necessary upgrade the firmware on the controllers<br />
# make a backup to an .unf file of the old controller<br />
# Visit the new controller (using the applet or the website) and restore from a previous backup<br />
<br />
<br />
===If you ARE changing hostname / IP===<br />
# Make sure both controllers are the same version (ie update them both)<br />
# if necessary upgrade the firmware on the controllers<br />
# make a backup to an .unf file of the old controller<br />
# Visit the new controller (using the applet or the website) and restore from a previous backup<br />
# On the old controller<br />
<pre><br />
When I move the controller, I just go into the GUI on existing controller, under SETTINGS, CONTROLLER, and change the Controller Hostname / IP to the NEW IP ADDRESS, (removing unifi.yourdomain.com) and then check the box "Override inform host with controller hostname/IP" <br />
<br />
Since I have the migrated controller up and running already on the NEW IP ADDRESS, after I shut down the OLD CONTROLER, the new one immediately starts provisioning the WAPS.<br />
</pre><br />
[[File:UnifiControllerIP.JPG|400px]]<br />
Press apply changes on the bottom. You should see the new controller status of the APs changing to connected.<br />
<br />
[https://community.ubnt.com/t5/UniFi-Wireless/Migrate-control-to-another-computer/td-p/1891294]<br />
<br />
An alternative method is to SSH to each AP and use set-inform to point them to the new controller<br />
<pre><br />
set-inform http://IP.ADDR.OF.Controller:8080/inform<br />
<br />
set-inform, adopt, set-inform a second time.<br />
<br />
If you forget the syntax, 'help' will help<br />
</pre><br />
<br />
==files==<br />
<br />
/var/lib/unifi/data/system.properties<br />
<br />
if this doesn't exist<br />
<pre><br />
java -jar /usr/lib/unifi/lib/ace.jar discover<br />
</pre><br />
<br />
/usr/lib/unifi/logs/server.log<br />
<br />
/usr/lib/unifi/logs/mongod.log<br />
<br />
== migrating controller from one machine to another ==<br />
<br />
[https://community.ubnt.com/t5/UniFi-Wireless/Migrate-control-to-another-computer/td-p/1891294]<br />
<br />
=EdgeMAX EdgeRouter=<br />
<br />
The UI is slightly confusing as there are buttons on the top, bottom, middle and at the bottom. Also, logging only starts once you log in, so the dashboard and traffic analysis only start once you are logged on.<br />
<br />
You can find the full manual [https://github.com/mjp66/Ubiquiti/blob/master/Ubiquiti%20Home%20Network.pdf here]. It's pretty huge.<br />
<br />
== Basic system configuration ==<br />
After running the wizard, basic system configuration can be done by clicking the System button on bottom left. This is where you can backup and reboot but also add extra DNS servers to the system.<br />
<br />
== Config Tree ==<br />
<br />
The config tree allows you to click on the triangles to expand AND view what is in the config (meaning you have to double click on the triangle quite a bit), hover over the name of the config for some more information and the + or - to install or uninstall a service. If you are going to uninstall a service it will show in red.<br />
<br />
== CLI configuration ==<br />
When you enter the cli you can run some commands but not change setups. In order to change stuff you need to first enter configuration mode, change your settings, then commit and save<br />
configure<br />
set ...<br />
commit<br />
save<br />
<br />
<br />
== DHCP ==<br />
[https://help.ui.com/hc/en-us/articles/115002673188 EdgeRouter - DHCP Server Using Dnsmasq]<br />
<br />
Services (top) -> DHCP Server<br />
<br />
Once you have added a DHCP server you can configure it by clicking on '''Actions''' on the right of the screen and then '''View Details'''.<br />
<br />
[[File:edgemax DHCP server.png|600px]]<br />
<br />
There are also options under Service -> dhcp-server in the config tree<br />
<br />
Adding a third DNS server to DHCP can also be done by cli [https://community.ui.com/questions/Edgemax-3-DNS-Entries-for-DHCP-Server/7dec0b25-9ea6-42e6-a9d4-1a51039f56c6?page=1 Edgemax 3 DNS Entries for DHCP Server]<br />
<pre><br />
ubnt@ubnt:~$ configure<br />
ubnt@ubnt# show service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server<br />
dns-server 192.168.40.1<br />
ubnt@ubnt# set service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server 8.8.8.8<br />
ubnt@ubnt# set service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server 8.8.4.4<br />
ubnt@ubnt# set service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server 208.67.220.220<br />
ubnt@ubnt# commit<br />
[ service dhcp-server ]<br />
Stopping DHCP server daemon...<br />
Starting DHCP server daemon...<br />
<br />
[edit]<br />
ubnt@ubnt# show service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server<br />
dns-server 192.168.40.1<br />
dns-server 8.8.8.8<br />
dns-server 8.8.4.4<br />
dns-server 208.67.220.220<br />
[edit]<br />
<br />
ubnt@ubnt# save<br />
</pre><br />
<br />
One of the problems you will run into is that even if you set multiple DNS servers, Windows will only read the first one unless it is actually down (see also [https://docs.microsoft.com/en-us/troubleshoot/windows-server/networking/dns-client-resolution-timeouts What is the default behavior of a Windows 7 or Windows 8 DNS client when two DNS servers are configured on the NIC] and [https://docs.microsoft.com/en-us/troubleshoot/windows-server/networking/best-practices-for-dns-client-settings Best practices for DNS client settings in Windows 2000 Server and in Windows Server 2003]. So if you want to resolve internal domain names you will need to work on DNS forwarding.<br />
<br />
== DNS ==<br />
===System DNS Setting===<br />
[https://ubntlab.wordpress.com/2017/07/03/beware-the-system-name-server-setting/ Beware the System Name Server Setting]<br />
<br />
The way to minimize the number of local DNS lookups that get forwarded is to specify 127.0.0.1 as the system nameserver, so they go through DNSmasq and are routed and cached the same as DNS requests from clients. To configure the upstream forwarders there are two options:<br />
<br />
Specify addition nameservers for this option. The local system will always attempt resolution starting with the first entry in /etc/resolv.conf, while DNSmasq will ignore 127.0.0.1 and use the additional entries as forwarders.<br />
Explicitly configure DNSmasq forwarders using set service dns forwarding options server=DNS_Server_IP<br />
<br />
I use the second method as it keeps the DNS forwarding options in one section of the config file instead of two.<br />
<br />
=== Resolving ===<br />
To see what nameservers are being used to resolve<br />
cat /etc/resolv.conf<br />
if you don't want that, use<br />
set interfaces ethernet eth0 dhcp-options name-server no-update<br />
<br />
=== Forwarding ===<br />
[https://help.ui.com/hc/en-us/articles/115010913367-EdgeRouter-DNS-Forwarding-Setup-and-Options EdgeRouter - DNS Forwarding Setup and Options] man page<br />
<br />
If you set your DHCP server to put the IP of the EdgeMAX router into the DNS servers section, it uses DNS forwarding using dnsmasq <br />
show dns forwarding<br />
<br />
[[File:edgemax dns forwarding nameservers.png|400px]]<br />
<br />
This example shows the DNS servers assigned to the router via DHCP first and the one configured in the basic system configuration (bottom of the UI screen) after that<br />
<br />
The DNS resolution of this system is that the system chooses the fastest server and sticks to that.<br />
<br />
So in order to put the inputted one on top you need to re-order the system [https://community.ui.com/questions/Change-WAN-DNS-Server/041bbac7-6de0-44a7-a5ca-165128e4333d Change WAN DNS Server]<br />
configure<br />
set service dns forwarding system<br />
commit<br />
save<br />
and then<br />
configure<br />
set service dns forwarding dhcp eth0<br />
commit<br />
save<br />
<br />
One of the options to NOT enable is strict-order [https://community.ui.com/questions/DNS-Forwarding-Name-Servers/8a986a94-eae4-4827-bff0-a93af718ab80 DNS Forwarding / Name servers] / [http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2009q3/003295.html Dnsmasq-discuss DNS search Order]<br />
<br />
Using the all-servers option sends the request in parallel to every server and it picks the result that comes first. This can be done via the cli<br />
configure<br />
set service dns forwarding options all-servers<br />
commit<br />
save<br />
<br />
Or using the Config Tree<br />
<br />
[[File:dns forwarding config tree.png|400px]]<br />
<br />
You can see how many queries each has using<br />
show dns forwarding statistics<br />
<br />
To clear the cache use<br />
clear dns forwarding cache<br />
<br />
To clear the cache and the counters use<br />
clear dns forwarding all</div>Redhttp://wiki.edgarbv.com/index.php?title=Ubiquiti&diff=37735Ubiquiti2024-03-20T07:38:00Z<p>Red: /* UDM Pro / Ubiquiti Dream Machine Pro */</p>
<hr />
<div>[http://www.ubnt.com/unifi Ubiquiti Unifi] is scalable and has a linux controller software, meaning you only need to buy APs and a PC with linux on it (ubuntu recommended) to run the network.<br />
<br />
= UDM Pro / Ubiquiti Dream Machine Pro / UDMP =<br />
<br />
== Old vs New UI ==<br />
First remember that there are 2 UI's. The old one has some functionalities that are simply not available in the new UI, especially when it comes to the Insights page! The new UI has nicer statistics and graphics and a much better topology page<br />
<br />
Switch to the old UI from the New by going to the gears icon / settings -> System -> New user interface -> deactivate<br />
<br />
Switch to the new UI from the old by going to gears icon / settings -> User interface -> New user interface -> apply<br />
<br />
== Finding the ports used == <br />
Old interface: click the light bulb / insights -> click top right above the table and select Switch stats in the drop down<br />
<br />
New interface: click the AP icon / devices -> click the switch -> click on settings in the slide in details on the right<br />
<br />
== VLAN profile problems ==<br />
From [https://community.ui.com/questions/vlans-not-communicating-cant-ping-gateway/157ffdf8-cbf9-4cb2-af9d-00d6a470ed8d#answer/a19e7a69-5d66-4174-8ecd-162c65c9efc4 vlans not communicating, can't ping gateway]<br />
<pre><br />
Change the profile on switch port 2 to VLAN that you want the PC to be in. DHCP should be working so remove the static IP address on the PC.<br />
Once you've changed the switch port profile you will need to tell Windows to grab a new IP address. You can do that by doing 'ipconfig /renew' in a command prompt or by removing and then reconnecting the network cable.<br />
The firewall rule you added to allow inter-VLAN routing isn't needed. By default UniFi has open access between VLANs so you'd only need to add firewall rules if you wanted to restrict that traffic.<br />
<br />
The 'All' switchport profile is the reason it's not working. Ports with that profile will have VLAN 1 as their native VLAN and the other VLANs will be tagged.<br />
In your case you want the new VLAN to be the native (or untagged) VLAN.<br />
</pre><br />
<br />
ALSO record the switchport settings, as these were deleted by an update at some point<br />
<br />
== Getting Sonos to work across VLANs ==<br />
<br />
create a new network with vlan eg Smarthome / IOT <br />
<br />
create a new wifi network eg Smarthome Wifi and connect it to the Smarthome network<br />
<br />
In the new UI enable mDNS<br />
<br />
advanced features -> advanced gateway settings -> multicast DNS -> enable (enables mDNS reflector service)<br />
<br />
In the old UI<br />
<br />
settings -> site -> auto optimise network<br />
wireless networks -> edit each wifi network -> advanced -> Enable multicast enhancement (IGMPv3)<br />
<br />
You should now be able to control the Sonos machines from across different networks<br />
<br />
This is useful if you have a smarthome controller on a different subnet from your wifi / wired network and it needs the Sonos devices on the same subnet to control them (eg ABB-free@home needs this)<br />
<br />
try: [https://community.ui.com/questions/UDMUDMP-IoT-VLAN-Speaker-Group-fix-with-mDNS-and-Google-Nest-Speakers-Chromecasts/37d6239f-303e-4f9f-8727-626acf07d33c UDM UDMP IoT VLAN Speaker Group fix with mDNS and Google Nest Speakers/Chromecasts] and [https://nerdygeek.uk/2020/06/09/a-tip-for-sonos-and-unifi-udm-pro-users/ A tip for Sonos and Unifi UDM-Pro users]<br />
<br />
== SSH access ==<br />
<br />
You do this in the main login of the UDMP, not in the Networking side. Go to console settings, allow SSH and enter a password. Login as root. See the bottom of [https://community.ui.com/questions/Unable-to-SSH-into-UDMP/2a733e78-db60-42fd-9df9-d9459d200db6]<br />
<br />
== VPN == <br />
<br />
[https://lazyadmin.nl/network/unifi-vpn/ How to setup UniFi VPN on UDM Pro]<br />
<br />
However, swanctl is now no longer supported so you can't really log stuff.<br />
<br />
To kick a user off the VPN you have to use the classic interface. click insights, then from the top left drop down select vpn users, mouse over the connection and a button "terminate" appears. You can also change their password in the VPN settings.<br />
<br />
You can ssh in and find stuff in<br />
<pre><br />
/var/log/messages<br />
/var/log/daemon.log<br />
/var/log/kern.log<br />
/var/log/auth.log<br />
</pre><br />
by tailing and grepping l2tp or the username<br />
<br />
If you <br />
grep username messages<br />
you will find the IP address assigned to the username<br />
<br />
You can also find the device in Client devices and select VPN or in the system Log under Client but all you can see there is that it's connected.<br />
<br />
== Blocking Countries ==<br />
This can be done in 2 ways: <br />
<br />
To block any incoming traffic from entering the network:<br />
<br />
Setup - Security - General - Country restrictions <br />
<br />
or to stop devices from going towards certain countries:<br />
<br />
Setup - Security - Traffic & Firewall Rules (Advanced view) - LAN - Create Entry<br />
<br />
Set Destination: Region.<br />
<br />
= Unifi UAP =<br />
<br />
The UAP-Pro can handle 200 concurrent clients and the UAP-LR / LR / UAP-Outdoor can handle 100 simultaneous clients.<br />
<br />
The UAP's are very cheap.<br />
<br />
There are still some problems apparently though.<br />
<br />
== Installing the controller on Debian ==<br />
<br />
This needs to run under a desktop environment, so make sure you have one.<br />
<pre><br />
echo 'deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti' | /etc/apt/sources.list.d/100-ubnt-unifi.list<br />
wget -O /etc/apt/trusted.gpg.d/unifi-repo.gpg https://dl.ubnt.com/unifi/unifi-repo.gpg<br />
apt update <br />
sudo apt install unifi<br />
</pre><br />
Then<br />
<pre><br />
systemctl enable unifi<br />
systemctl start unifi<br />
</pre><br />
<br />
visit the controller software at http://localhost:8080<br />
<br />
[https://help.ubnt.com/hc/en-us/articles/220066768-UniFi-How-to-Install-Update-via-APT-on-Debian-or-Ubuntu]<br />
<br />
You may need to change the ports<br />
<br />
[https://help.ubnt.com/hc/en-us/articles/204910084-UniFi-Changing-Default-Ports-for-Controller-and-UAPs]<br />
<br />
== Migrating from another controller on another PC ==<br />
===If you are not changing hostname / IP===<br />
# Make sure both controllers are the same version (ie update them both)<br />
# if necessary upgrade the firmware on the controllers<br />
# make a backup to an .unf file of the old controller<br />
# Visit the new controller (using the applet or the website) and restore from a previous backup<br />
<br />
<br />
===If you ARE changing hostname / IP===<br />
# Make sure both controllers are the same version (ie update them both)<br />
# if necessary upgrade the firmware on the controllers<br />
# make a backup to an .unf file of the old controller<br />
# Visit the new controller (using the applet or the website) and restore from a previous backup<br />
# On the old controller<br />
<pre><br />
When I move the controller, I just go into the GUI on existing controller, under SETTINGS, CONTROLLER, and change the Controller Hostname / IP to the NEW IP ADDRESS, (removing unifi.yourdomain.com) and then check the box "Override inform host with controller hostname/IP" <br />
<br />
Since I have the migrated controller up and running already on the NEW IP ADDRESS, after I shut down the OLD CONTROLER, the new one immediately starts provisioning the WAPS.<br />
</pre><br />
[[File:UnifiControllerIP.JPG|400px]]<br />
Press apply changes on the bottom. You should see the new controller status of the APs changing to connected.<br />
<br />
[https://community.ubnt.com/t5/UniFi-Wireless/Migrate-control-to-another-computer/td-p/1891294]<br />
<br />
An alternative method is to SSH to each AP and use set-inform to point them to the new controller<br />
<pre><br />
set-inform http://IP.ADDR.OF.Controller:8080/inform<br />
<br />
set-inform, adopt, set-inform a second time.<br />
<br />
If you forget the syntax, 'help' will help<br />
</pre><br />
<br />
==files==<br />
<br />
/var/lib/unifi/data/system.properties<br />
<br />
if this doesn't exist<br />
<pre><br />
java -jar /usr/lib/unifi/lib/ace.jar discover<br />
</pre><br />
<br />
/usr/lib/unifi/logs/server.log<br />
<br />
/usr/lib/unifi/logs/mongod.log<br />
<br />
== migrating controller from one machine to another ==<br />
<br />
[https://community.ubnt.com/t5/UniFi-Wireless/Migrate-control-to-another-computer/td-p/1891294]<br />
<br />
=EdgeMAX EdgeRouter=<br />
<br />
The UI is slightly confusing as there are buttons on the top, bottom, middle and at the bottom. Also, logging only starts once you log in, so the dashboard and traffic analysis only start once you are logged on.<br />
<br />
You can find the full manual [https://github.com/mjp66/Ubiquiti/blob/master/Ubiquiti%20Home%20Network.pdf here]. It's pretty huge.<br />
<br />
== Basic system configuration ==<br />
After running the wizard, basic system configuration can be done by clicking the System button on bottom left. This is where you can backup and reboot but also add extra DNS servers to the system.<br />
<br />
== Config Tree ==<br />
<br />
The config tree allows you to click on the triangles to expand AND view what is in the config (meaning you have to double click on the triangle quite a bit), hover over the name of the config for some more information and the + or - to install or uninstall a service. If you are going to uninstall a service it will show in red.<br />
<br />
== CLI configuration ==<br />
When you enter the cli you can run some commands but not change setups. In order to change stuff you need to first enter configuration mode, change your settings, then commit and save<br />
configure<br />
set ...<br />
commit<br />
save<br />
<br />
<br />
== DHCP ==<br />
[https://help.ui.com/hc/en-us/articles/115002673188 EdgeRouter - DHCP Server Using Dnsmasq]<br />
<br />
Services (top) -> DHCP Server<br />
<br />
Once you have added a DHCP server you can configure it by clicking on '''Actions''' on the right of the screen and then '''View Details'''.<br />
<br />
[[File:edgemax DHCP server.png|600px]]<br />
<br />
There are also options under Service -> dhcp-server in the config tree<br />
<br />
Adding a third DNS server to DHCP can also be done by cli [https://community.ui.com/questions/Edgemax-3-DNS-Entries-for-DHCP-Server/7dec0b25-9ea6-42e6-a9d4-1a51039f56c6?page=1 Edgemax 3 DNS Entries for DHCP Server]<br />
<pre><br />
ubnt@ubnt:~$ configure<br />
ubnt@ubnt# show service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server<br />
dns-server 192.168.40.1<br />
ubnt@ubnt# set service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server 8.8.8.8<br />
ubnt@ubnt# set service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server 8.8.4.4<br />
ubnt@ubnt# set service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server 208.67.220.220<br />
ubnt@ubnt# commit<br />
[ service dhcp-server ]<br />
Stopping DHCP server daemon...<br />
Starting DHCP server daemon...<br />
<br />
[edit]<br />
ubnt@ubnt# show service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server<br />
dns-server 192.168.40.1<br />
dns-server 8.8.8.8<br />
dns-server 8.8.4.4<br />
dns-server 208.67.220.220<br />
[edit]<br />
<br />
ubnt@ubnt# save<br />
</pre><br />
<br />
One of the problems you will run into is that even if you set multiple DNS servers, Windows will only read the first one unless it is actually down (see also [https://docs.microsoft.com/en-us/troubleshoot/windows-server/networking/dns-client-resolution-timeouts What is the default behavior of a Windows 7 or Windows 8 DNS client when two DNS servers are configured on the NIC] and [https://docs.microsoft.com/en-us/troubleshoot/windows-server/networking/best-practices-for-dns-client-settings Best practices for DNS client settings in Windows 2000 Server and in Windows Server 2003]. So if you want to resolve internal domain names you will need to work on DNS forwarding.<br />
<br />
== DNS ==<br />
===System DNS Setting===<br />
[https://ubntlab.wordpress.com/2017/07/03/beware-the-system-name-server-setting/ Beware the System Name Server Setting]<br />
<br />
The way to minimize the number of local DNS lookups that get forwarded is to specify 127.0.0.1 as the system nameserver, so they go through DNSmasq and are routed and cached the same as DNS requests from clients. To configure the upstream forwarders there are two options:<br />
<br />
Specify addition nameservers for this option. The local system will always attempt resolution starting with the first entry in /etc/resolv.conf, while DNSmasq will ignore 127.0.0.1 and use the additional entries as forwarders.<br />
Explicitly configure DNSmasq forwarders using set service dns forwarding options server=DNS_Server_IP<br />
<br />
I use the second method as it keeps the DNS forwarding options in one section of the config file instead of two.<br />
<br />
=== Resolving ===<br />
To see what nameservers are being used to resolve<br />
cat /etc/resolv.conf<br />
if you don't want that, use<br />
set interfaces ethernet eth0 dhcp-options name-server no-update<br />
<br />
=== Forwarding ===<br />
[https://help.ui.com/hc/en-us/articles/115010913367-EdgeRouter-DNS-Forwarding-Setup-and-Options EdgeRouter - DNS Forwarding Setup and Options] man page<br />
<br />
If you set your DHCP server to put the IP of the EdgeMAX router into the DNS servers section, it uses DNS forwarding using dnsmasq <br />
show dns forwarding<br />
<br />
[[File:edgemax dns forwarding nameservers.png|400px]]<br />
<br />
This example shows the DNS servers assigned to the router via DHCP first and the one configured in the basic system configuration (bottom of the UI screen) after that<br />
<br />
The DNS resolution of this system is that the system chooses the fastest server and sticks to that.<br />
<br />
So in order to put the inputted one on top you need to re-order the system [https://community.ui.com/questions/Change-WAN-DNS-Server/041bbac7-6de0-44a7-a5ca-165128e4333d Change WAN DNS Server]<br />
configure<br />
set service dns forwarding system<br />
commit<br />
save<br />
and then<br />
configure<br />
set service dns forwarding dhcp eth0<br />
commit<br />
save<br />
<br />
One of the options to NOT enable is strict-order [https://community.ui.com/questions/DNS-Forwarding-Name-Servers/8a986a94-eae4-4827-bff0-a93af718ab80 DNS Forwarding / Name servers] / [http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2009q3/003295.html Dnsmasq-discuss DNS search Order]<br />
<br />
Using the all-servers option sends the request in parallel to every server and it picks the result that comes first. This can be done via the cli<br />
configure<br />
set service dns forwarding options all-servers<br />
commit<br />
save<br />
<br />
Or using the Config Tree<br />
<br />
[[File:dns forwarding config tree.png|400px]]<br />
<br />
You can see how many queries each has using<br />
show dns forwarding statistics<br />
<br />
To clear the cache use<br />
clear dns forwarding cache<br />
<br />
To clear the cache and the counters use<br />
clear dns forwarding all</div>Redhttp://wiki.edgarbv.com/index.php?title=Synology&diff=37734Synology2024-03-19T21:03:38Z<p>Red: /* Tailscale */</p>
<hr />
<div>= First things to do =<br />
<br />
== Change IP ==<br />
<br />
Control panel -> (connectivity) Network -> tab network interface -> select LAN and click Edit.<br />
<br />
== Enable home directories + 2 step verification ==<br />
<br />
Control panel -> User -> Advanced -> Enable home user service + Enforce 2 step verification<br />
<br />
== change workgroup ==<br />
<br />
control panel -> file services -> smb/afp/nfs -> smb / enable smb service : workgroup<br />
<br />
== change low volume warning threshold ==<br />
change the % by going into my Storage Manager -> Storage -> Clicking the ... on the Volume I was looking for then Clicking Settings. If I scroll down on the Settings there is a Low Capacity Notification where you can change the % to 5% from 20%<br />
<br />
== Enable SSH ==<br />
<br />
Control panel -> (System) Terminal & SNMP enable SSH<br />
<br />
Control panel -> (connectivity) Security -> Firewall tab -> create a rule for SSH (encrypted terminal services), enable and save<br />
<br />
for root login as admin and then '''sudo sh'''<br />
<br />
(you can then log in to the machine using user '''root''' and the default admin password)<br />
<br />
to enable your users to access the terminal vi /etc/passwd and change /sbin/nologin to /bin/ash<br />
<br />
== Create shared folders ==<br />
Once you have created your shared folder, also enable snapshots<br />
<br />
= Prepare for rsync =<br />
NB the synology can only push rsync files, it can not be set up to pull files from a remote rsync server.<br />
<br />
Control panel -> (file sharing) Shared Folder -> create folder to back up to. Give the user you want to rsync to Read/Write access<br />
<br />
Control panel -> File services -> enable rsync service<br />
<br />
'''depreciated'''<br />
----<br />
Start (top left) -> Backup & replication -> backup services -> enable network backup service<br />
<br />
Start (top left) -> Backup & replication -> Backup Destination -> create Local Backup destination -> backup up data to local shared folder -> the name you put in there will be the module name or the path you can use later.<br />
<br />
then add the section in /etc/rsyncd.conf changing only the path and comment values (of course under the module name)<br />
<br />
restart rsync with<br />
<pre><br />
/usr/syno/etc/rc.sysv/S84rsyncd.sh restart<br />
</pre><br />
<br />
If you don't do this, it will rsync everything without the user name for some reason<br />
<br />
== Synology to synology ==<br />
You backup from the source to the target<br />
<br />
ssh into the source machine ('''mind the slashes at the end!''' if you don't use the slash it will create a directory in the directory you specify)<br />
<br />
rsync -avn /volume1/sourcedirectory/ user@192.168.0.105:/volume1/targetdirectory/<br />
<br />
to check if it works. Drop the n to start the actual copy.<br />
<br />
=== Hyper Backup ===<br />
This will create a backup directory which you can't browse with file explorer as it stores everything in a hyper backup format (Non browseable). NB this fails pretty badly using l2tp VPN connection. You need to use Tailscale (see VPN below).<br />
<br />
==== Using Hyper Backup Vault ====<br />
Note: the destination needs the Hyper Backup Vault package installed. Launch Hyper backup on the source. Use the + bottom left to create a new backup job. Select data backup. Select Remote NAS device. fill in the hostname and then you can select which Shared folder it will use as a destination. Note: you cannot use photos or homes. The Directory is the name of the directory it will make on the shared folder on the destination device.<br />
<br />
If the firewall is enabled, go to control Panel -> Network -> Firewall -> Edit rules -> Create -> select hyper backup vault as application<br />
<br />
==== Using rsync ====<br />
Launch Hyper backup on the source. Use the + bottom left to create a new backup job. Choose rsync. Fill in the data. As username and password you need a username and pass on the target machine. It will then fill the shared folder list with shares available on the target. You cannot backup to the root directory of the target share, so you need something in the directory field. After this it pretty much sets itself up. This will actually copy files, so you can browse them on the target NAS<br />
<br />
==== Using Snapshot replication ====<br />
This is supposed to be fairly effective, but not all DSM versions have this package and it needs to be installed on the recipient as well.<br />
<br />
== Netgear ReadyNas Ultra setup for rsync to Synology ==<br />
<br />
''Here we set up the Netgear to pull data from the Synology''<br />
<br />
in the /admin interface first<br />
<br />
Services -> Standard File Protocols -> ensure Rsync is enabled<br />
<br />
Shares -> share listing -> click on rsync icon. scroll up and change default access to 'read only'. Set hosts allowed access to ip of synology (192.168.0.101). Fill in the username and password!<br />
<br />
Backup -> Add a new backup job<br />
<br />
[[File:netgear backup step 1.png]]<br />
<br />
If you don't fill in the path above it will copy the whole share. If you browse the share you can select a subdir to copy.<br />
<br />
[[File:netgear backup step 2.png]]<br />
<br />
Note that the '''Path needs to be EMPTY''' before pressing the 'Test connection' button. It will sometimes work if you fill in NetBackup but you're best off doing the test empty, then typing in the path and then apply bottom right to test the backup job.<br />
<br />
This is what the schedule will look like<br />
<br />
[[File:backup schedule.png|400px]]<br />
<br />
The Daily job<br />
<br />
[[File:jobt1.png|400px]]<br />
[[File:job2.png|400px]]<br />
[[File:job3.png|400px]]<br />
[[File:job4.png|400px]]<br />
<br />
The Weekly job<br />
<br />
[[File:weekly netgear rsync.png|400px]]<br />
<br />
The monthly job<br />
<br />
[[File:monthly netgear rsync1.png|400px]]<br />
[[File:monthly netgear rsync2.png|400px]]<br />
<br />
== useful linkies ==<br />
[http://www.readynas.com/download/documentation/support/rsync_howto_nastonas.pdf Readynas rsync howto PDF]<br />
<br />
[https://www.synology.com/en-uk/knowledgebase/tutorials/613 synology rsync tutorial]<br />
<br />
[http://www.smallnetbuilder.com/nas/nas-howto/30856-how-to-back-up-nas-to-nas-part-1?start=1 small netbuilder tutorial]<br />
<br />
== indexing media files ==<br />
If you rsync files into the /volume1/photo or /volume1/video directories the system does not index them. They need to be copied in using windows or the internal file manager to index them automatically.<br />
<br />
In control panel -> Media library you can re-index the files in the photo directory.<br />
<br />
In the video station itself under collection -> settings you can re-index.<br />
<br />
As you can't set /video/ as a directory to use in the video station, you have to set a symbolic link from /volume1/video/movie to wherever you want to have your directories.<br />
<br />
Warning: indexing can take DAYS!<br />
<br />
== Preparing ReadyNAS for rsync towards it ==<br />
Ensure in Shares that the rsync is enabled on at least one share. Ensure the host you are coming from is allowed and that there is a username / password for it.<br />
<br />
= Symbolic links =<br />
<br />
Windows can't handle symbolic links on the synology, so you have to mount directories with<br />
<pre><br />
mount -o bind /volume1/sourcedir /volume1/destdir<br />
</pre><br />
<br />
as root<br />
<br />
and then copy the mount command to /etc/rc.local to make it stick after a reboot<br />
<br />
= prepare the windows machine for Picasa =<br />
<br />
SSH to the synology, log in as root<br />
<pre><br />
mkdir /volume1/photo/Pictures<br />
mount -o bind /volume1/photo/ /volume1/photo/Pictures<br />
</pre><br />
edit /etc/rc.local<br />
<br />
insert the mount command above into the file - this is for when the synology restarts<br />
<br />
in windows explorer map \\invader\photo to T:<br />
<br />
== Picasa database file locations ==<br />
<br />
There are 2 directories in % %LocalAppData%\Google\ which is the same as C:\Users\razor\AppData\Local\Google\<br />
<br />
<br />
Copy them over before running Picasa for the first time.<br />
<br />
=NFS=<br />
<br />
First make sure in Control Panel -> File Services that NFS is enabled.<br />
<br />
Then in Control Panel -> File Sharing -> Edit the share -> create NFS Permissions. You should only have to change the IP/Hostname field.<br />
<br />
[https://www.synology.com/en-us/knowledgebase/tutorials/616 see here]<br />
<br />
=CIFS=<br />
sudo mount -t cifs //192.168.0.101/home/ ~/xx/ -o username=razor,uid=razor,gid=users<br />
<br />
=To find the NAS on linux with netbios=<br />
You have to enable the bonjour service on the NAS<br />
<br />
Control Panel -> File services -> Enable AFP service, then in Advanced tab -> also enable<br />
<br />
The linux machine needs avahi running. Check using<br />
sudo service avahi-daemon status<br />
<br />
=DLNA=<br />
The video players such as a TV (eg on an LG TV under "photos and videos" app) that play directly from the NAS use DLNA. The synology (or DLNA server) creates a database which the player reads. <br />
<br />
The settings for the Media Server / DNLA can be found under the synology ''start menu -> media server''. It is quite possible that Synology decides it doesn't like your player much and gives it a device type which it's not happy with. Under ''DMA Compatibility -> Device List'' you can change the profile to '''Default profile''', which may help.<br />
<br />
If the database is somehow damaged, you can rebuild it under ''control panel -> indexing service'' and then click '''re-index'''. This can take days!<br />
<br />
To check the status of the rebuild, ssh in (using admin / pw, then sudo su) and you can check to see what's being rebuilt by issuing<br />
ls -l /proc/$(pidof synomkthumbd)/fd<br />
To monitor what's happening over some time do (nb it will take some time before you see anything appear!)<br />
while sleep 30; do ls -l /proc/$(pidof synomkthumbd)/fd | grep volume; done<br />
[https://www.mcleanit.ca/blog/synology-check-index-progress/ from mcleanit.ca]<br />
<br />
If the indexing service seems frozen then restart it with<br />
synoservicectl --restart synoindexd<br />
<br />
=Streaming=<br />
The audio station DS Audio app is terrible and hangs a lot. <br />
<br />
As alternatives there are Jellyfin; Airsonic and mstream. So far I like mstream, it's very light (388MB docker image, as it's file based.<br />
<br />
== Jellyfin ==<br />
very library based and uses quite a bit of CPU - no folder view<br />
<br />
== Airsonic ==<br />
Comes in 2 flavours: [https://airsonic.github.io/ airsonic] and [https://github.com/airsonic-advanced/airsonic-advanced airsonic-advanced]. The advanced version is a fork created due to frustration with the glacial pace of development of airsonic. [https://www.reddit.com/r/airsonic/comments/fu4gwd/airsonic_vs_airsonicadvanced/ Reddit rant here]<br />
<br />
[https://hub.docker.com/r/airsonicadvanced/airsonic-advanced airsonic-advanced]<br />
<br />
== MxStream ==<br />
[https://docs.linuxserver.io/images/docker-mstream linuxserver/mstream]<br />
<br />
Super lightweight: <br />
<br />
iamge is 388 MB<br />
<br />
fresh install:<br />
<br />
CPU: 0.85%<br />
<br />
RAM: 111 MB<br />
<br />
file based<br />
<br />
http://netbiosname:3000<br />
<br />
== Gerbera BubbleUpnP ==<br />
[https://www.reddit.com/r/synology/comments/adkjsr/my_solution_to_playing_audio_from_nas_on_my_cell/ information]<br />
<br />
== Plex ==<br />
Complaints about it being slow and jumpy - only for local streaming - also if you want to use it for streaming or downloading for internet streaming you need to pay<br />
<br />
== Beets ==<br />
re-organise your music collection?<br />
<br />
=Converting media files=<br />
Photo station converts your videos to flv as standard and to mp4 if you have '''conversion for mobile devices''' set to on under ''control panel -> indexing service.''<br />
<br />
It will also convert your image files to thumbnails as standard.<br />
<br />
This can take a few days or even weeks if you upload a lot of new stuff.<br />
<br />
To speed the photo thumbnail generation up you can do the following:<br />
<br />
/usr/syno/etc.defaults/thumb.conf<br />
<br />
* changed the quality of thumbs to 70%<br />
* divided by 2 all the thumbs size<br />
* change the XL thumb size to 400 pixels<br />
<br />
[https://forum.synology.com/enu/viewtopic.php?t=95060]<br />
<br />
To view the status of the conversion, in /var/spool there are the following files<br />
<pre><br />
conv_progress_photo <br />
conv_progress_photo.pT5Pu5 <br />
conv_progress_video <br />
conv_progress_video.CpHdpS <br />
flv_create.queue <br />
flv_create.queue.tmp <br />
thumb_create.queue <br />
thumb_create.queue.tmp <br />
</pre><br />
<br />
or <br />
<br />
ps -ef | grep thumb<br />
<br />
To see the status of the converter<br />
sudo synoservicecfg --status synomkthumbd<br />
<br />
[https://www.reddit.com/r/synology/comments/7ui7c1/conversion_process_details/]<br />
<br />
= More info =<br />
[http://www.synology.com/en-global/support/tutorials/461 How to back up data on Synology NAS to another server] this should also work for a synology nas to another synology nas<br />
<br />
[http://www.synology-forum.nl/data-replicator-overige-backupsoftware/backup-via-internet/ backup via internet] NL forum link, aldus deze pagina, poorten:<br />
<br />
Network Backup: 873 TCP <br />
<br />
Encrypted Network Backup: 873, 22 TCP <br />
<br />
[http://raphael.kallensee.name/journal/how-to-backup-an-external-server-with-a-synology-nas-via-rsync/ backup nas via rsync]<br />
<br />
[http://www.synology.com/en-global/support/tutorials/455#t2 How to encrypt shared folders on Synology NAS] (uses AES, untick auto mount for stealing, but need to input passd on reboot via web interface)<br />
<br />
[http://www.synology.com/en-global/support/tutorials/456 How to make Synology NAS accessible via the Internet]<br />
<br />
[http://www.synology.com/en-global/support/tutorials/478 How to secure your Synology NAS server on the Internet]<br />
<br />
=Reports=<br />
<br />
In the Storage Analyzer settings you can set and see where the Synology saves reports. For some reason the Synology saves old reports you have deleted and so you can't create new reports with the same name without deleting the old files:<br />
<pre><br />
When you create a report task, a dedicated folder for this report will be automatically created under the destination folder that you have designated as the storage location for reports. When you delete a report task from the list on Storage Analyzer's homepage, you delete the report's profile only, while its folder still exists. To delete the report's own folder, please go to the designated destination folder > synoreport, and delete the folder with the same name as the report.<br />
</pre><br />
<br />
=Moments=<br />
[https://www.synology.com/en-global/knowledgebase/DSM/help/SynologyMoments/moments_share_and_search https://www.synology.com/en-global/knowledgebase/DSM/help/SynologyMoments/moments_share_and_search]<br />
<pre><br />
Enable Shared Photo Library<br />
<br />
Shared Photo Library allows you and users with permissions to collaboratively edit the photos and albums in Moments. Please note that only users belonging to the administrative groups can enable this feature.<br />
To enable Shared Photo Library:<br />
<br />
Click the Account icon on the bottom-left corner and select Settings > Shared Photo Library > Enable Shared Photo Library.<br />
Click Next to confirm and enable Shared Photo Library.<br />
Select users to grant them the permissions to access Shared Photo Library.<br />
Click OK to finish. Now you can switch between My Photo Library and Shared Photo Library.<br />
<br />
Note:<br />
<br />
The shared folder named /photo is the default path for Shared Photo Library.<br />
If you have already installed Photo Station, the photos in Photo Station can be displayed after the source of photos is switched to Shared Photo Library in Moments. Please note that the converted thumbnails in Photo Station will not be processed again.<br />
After Shared Photo Library is enabled, the Photo Station settings such as album permission, conversion rule, or other downloading settings will not migrate to or be inherited by Moments.<br />
</pre><br />
<br />
=Installing ipkg=<br />
[https://community.synology.com/enu/forum/1/post/127148 by plexflixler]<br />
Go to the Synology Package Center, click on "Settings" on the top right corner and then click on "package sources".<br />
<br />
Add the source "http://www.cphub.net" (you can choose the name freely, i.e. "CPHub")<br />
<br />
Now close the settings. In the package center on the left go to the "Community" tab.<br />
<br />
Find and install "Easy Bootstrap Installer" from QTip. There is also a GUI version if you prefer, called "iPKGui", also from QTip.<br />
<br />
IPKG is now installed. The executables are located in "/opt/bin/". You can SSH to your NAS and use it. However, the directory has not yet been added to the PATH variable, so to use it you would always need to use the full path "/opt/bin/ipkg". <br />
<br />
You can add the directory to the PATH variable using the following command:<br />
<br />
export PATH="$PATH:/opt/bin"<br />
<br />
However, this would only add the directory to PATH for the current session. <br />
<br />
sudo /opt/bin/ipkg update<br />
sudo /opt/bin/nano /etc/profile<br />
<br />
Now find the PATH variable. It should look something like this:<br />
<br />
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin<br />
<br />
At the end of this string, just append ":/opt/bin" (don't forget the colon). Then save and close the file<br />
<br />
Note that this will not automatically update your PATH for the current session. To do this, you can run:<br />
<br />
source /etc/profile<br />
<br />
To check wheter it worked, enter the command:<br />
<br />
echo $PATH | tr ":" "\n" | nl<br />
<br />
You should see the entry for "/opt/bin" there.<br />
<br />
Now your all set.<br />
<br />
=Installing mlocate=<br />
requires ipkg (see above)<br />
<br />
ipkg install mlocate<br />
<br />
Once you have done that, you run<br />
updatedb<br />
<br />
and then you can use the locate command<br />
<br />
=Universal search=<br />
For some reason when installing universal search it doesn't add the shares to the index. You have to do this by hand in settings.<br />
<br />
=Surveillance Station=<br />
==Timelapse==<br />
[https://forum.synology.com/enu/viewtopic.php?t=127113 Using Action Rules]<br />
<br />
[http://planet-geek.com/2017/10/09/geekitude/creating-timelapse-videos-from-a-synology-nas/ Using ffmpeg video stitching] with [https://superuser.com/questions/777938/ffmpeg-convert-a-video-to-a-timelapse a useful note on getting rid of audio] if you're using setpts in ffmpeg<br />
<br />
[https://www.synology.com/en-global/knowledgebase/Surveillance/help/SurveillanceStation/smart_time_lapse Using Smart Time Lapse] which converts videos<br />
<br />
<br />
----<br />
Beveiligde documentopslag vanaf EUR 989,-*<br />
<br />
AES encryption beveiligt uw bestanden<br />
<br />
Snel geplaatst en ingericht naar uw wensen<br />
<br />
Data wordt op extra harde schijf gekopieerd voor het geval er een kapot gaat<br />
<br />
Mogelijkheid om versleutelde bestanden over internet te backuppen<br />
<br />
* inclusief hardware, 1TB opslag en implementatiekosten, excl. voorrijkosten en evt backups / netwerkinstellingen<br />
<br />
=Docker=<br />
Generally the workflow is:<br />
<br />
docker -> add image (from the registry or from a url, eg airsonic/airsonic) -> double click image to create a container -> edit the advanced settings (auto restart on, add volumes, network, etc) -> confirm -> run container -> monitor the container in the container part<br />
<br />
== volumes / permanence ==<br />
These are locations on the synology that can be mounted in the container.<br />
<br />
When installing docker a new main share: docker is created.<br />
<br />
Using add volume you can choose a volume - if it's internal stuff to the container (eg /var/log) you select (or create) the folder(s): /docker/containername/var/log and then use the mount path /var/log to mount that location within the container.<br />
<br />
In the docker cli instructions for an image this can be seen as the -v options<br />
<br />
So if you are trying to mount your music you would mount /music/ to /music - you need to look out for permissions! <br />
<br />
=== Permissions ===<br />
<br />
For music and video: DLNA in Media Server; <br />
<br />
GUID and GPID env variables <br />
<br />
advanced permissions are places to look if you can view the files in the container terminal but the application in the container can't see the files! (you can check for advanced permissions by allowing Everyone read access in the normal permissions and seeing if the application can find them then)<br />
<br />
file permissions also of the /docker/imagename/ directories<br />
<br />
Don't forget to check Apply this folder, sub-folders and files!<br />
<br />
== network port forwarding / connecting from outside the host==<br />
You have two options here:<br />
<br />
1. network=host: while starting (=creating) a container from an image, you can enable the checkbox "use same network as Docker Host" at the bottom in the "network" tab in additional settings. As a result you do not need to map any ports from dsm to the container, as dsms network interface is directly used. You need to take care of potential port collisions between dsm and the container of course.<br />
<br />
2. network=bridged: map ports from the Docker Host (DSM) to the container. You can not access the ip of the container directly, though, you can access the mapped port on the Docker host. The potential port collision bettween dsm and containers are here possible as well.. but they can be corrected easier since you can just change the Docher host port which needs to be still mapped to the same D<br />
ocker port.<br />
<br />
In both cases the port can be accessed via dsm:port, though for option 1) this is only true if you did not change the ip INSIDE the container, if you did it will be container-ip:port.<br />
<br />
[https://community.synology.com/enu/forum/17/post/102280 Connect to a docker container from outside the host (same network)]<br />
<br />
'''So to have the external port be the same as the external port in bridged mode, edit the container and set the local port to be the same as the container port'''<br />
<br />
In the docker cli instructions for an image this can be seen as the -p options<br />
<br />
TODO: [https://mariushosting.com/synology-how-to-run-docker-containers-over-https/ How to run docker over https]<br />
<br />
== Environment ==<br />
Here you can add extra environment variables, eg TZ / GUID / PUID<br />
<br />
You can find your users PID and GID by sshing into the synology and typing<br />
<br />
id<br />
<br />
or<br />
<br />
id username<br />
<br />
The GUID and PUID are the IDs for which the container itself will run, not docker (which will run as root)<br />
<br />
== setting up a docker using cli arguments ==<br />
<br />
As an example [https://docs.linuxserver.io/images/docker-mstream Mstream] from linuxserver (you can find the image in the docker registry or add it using url linuxserver/mstream<br />
<br />
has docker cli<br />
<pre><br />
docker run -d \<br />
--name=mstream \<br />
-e PUID=1000 \<br />
-e PGID=1000 \<br />
-e TZ=Europe/London \<br />
-p 3000:3000 \<br />
-v /path/to/data:/config \<br />
-v /path/to/music:/music \<br />
--restart unless-stopped \<br />
lscr.io/linuxserver/mstream<br />
</pre><br />
<br />
So you have to fill in your own gid / pid / timezone in the Environment part of the container. You set the port to be both 3000 inside and outside in a bridged network connection. You select /docker/mstream/config to mount as /config and you select your music library on the synology to mount to /music. You ensure permissions are right and you should see the files in mstream.<br />
<br />
== Logging and troubleshooting == <br />
<br />
double clicking an container allows you to see the logs in a tab, which will help a lot. You can also access an active terminal in a tab on a running container<br />
<br />
= VPN Connections =<br />
<br />
[https://kb.synology.com/en-af/DSM/tutorial/How_connect_Synology_NAS_VPN_server How do I connect my Synology NAS to a VPN server?]<br />
<br />
Go to DSM Control Panel > Network > Network Interface.<br />
Click Create > Create VPN profile.<br />
Follow the instructions in this article to set up a VPN connection.<br />
<br />
If you select <br />
Use default gateway on remote network <br />
in the VPN profile you can only connect to the synology from the remote network, not from quickconnect [https://kb.synology.com/en-sg/DSM/tutorial/Cannot_connect_Synology_NAS_using_VPN_via_DDNS https://kb.synology.com/en-sg/DSM/tutorial/Cannot_connect_Synology_NAS_using_VPN_via_DDNS]. However if you do not select this you can not access the synology from the VPN IP.<br />
<br />
I also had to select <br />
The server or clients are behind the NAT device<br />
for it to work.<br />
<br />
Notes:<br />
<br />
We recommend selecting L2TP as the VPN protocol if it is available from VPN service providers. OpenVPN profiles provided by certain VPN service providers may not be compatible with Synology NAS.<br />
When your Synology NAS is configured as an L2TP or OpenVPN client, you cannot configure it as a VPN server using the same protocol in VPN Server. PPTP does not have this limitation.<br />
<br />
[https://kb.synology.com/en-af/DSM/help/DSM/AdminCenter/connection_network_vpnclient?version=7 VPN Connection] Synology knowledge centre<br />
<br />
Unfortunatelty running Hyberbackup over l2tp results in severe slowdowns and even crashes of the VPN interface.<br />
<br />
Wireguard connections<br />
<br />
== Tailscale ==<br />
You can connect via [https://tailscale.com/ Tailscale] - this should allow for better hyper backup transfers.<br />
<pre><br />
Simply install Tailscale on both NAS. Then log in to Tailscale and look at the IPs Tailscale has assigned to each machine and use those when configuring things like HyperBackup. Note that to setup Tailscale properly you need to enable outbound connections (explained in Tailscale docs).<br />
</pre><br />
https://www.reddit.com/r/synology/comments/16pe5qn/struggling_to_get_hyper_backup_working_on_remote/<br />
<br />
https://tailscale.com/kb/1131/synology#enabling-synology-outbound-connections<pre><br />
Enabling Synology outbound connections<br />
<br />
Synology DSM7 introduced tighter restrictions on what packages are allowed to do. If you’re running DSM6, Tailscale runs as root with full permissions and these steps are not required.<br />
<br />
By default, Tailscale on Synology with DSM7 only allows inbound connections to your Synology device but outbound Tailscale access from other apps running on your Synology is not enabled.<br />
<br />
The reason for this is that the Tailscale package does not have permission to create a TUN device.<br />
<br />
To enable TUN, to permit outbound connections from other things running on your Synology:<br />
<br />
Make sure you’re running Tailscale 1.22.2 or later, either from the Synology Package Center or a manually installed *.spk from the Tailscale Packages server.<br />
<br />
In Synology, go to Control Panel > Task Scheduler, click Create, and select Triggered Task.<br />
<br />
Select User-defined script.<br />
<br />
When the Create task window appears, click General.<br />
<br />
In General Settings, enter a task name, select root as the user that the task will run for, and select Boot-up as the event that triggers the task. Ensure the task is enabled.<br />
<br />
Click Task Settings and enter the following for User-defined script.<br />
<br />
/var/packages/Tailscale/target/bin/tailscale configure-host; synosystemctl restart pkgctl-Tailscale.service<br />
<br />
(If you’re curious what it does, you can read the configure-host code.)<br />
<br />
Click OK to save the settings.<br />
<br />
Reboot your Synology. (Alternatively, to avoid a reboot, run the above user-defined script as root on the device to restart the Tailscale package.)<br />
<br />
Your TUN settings should now be persisted across reboots of your device.<br />
If the Synology firewall is enabled: adjust the firewall settings<br />
<br />
By enabling TUN, Tailscale traffic will be subject to Synology’s built-in firewall.<br />
<br />
The firewall is disabled by default. However, if you have it enabled, add an exception for the Tailscale subnet, 100.64.0.0/10. In Main menu > Control Panel > Security > Firewall, add a firewall rule in the default profile that allows traffic from the source IP subnet 100.64.0.0 with subnet mask 255.192.0.0.<br />
</pre><pre><br />
Do you also have 5001 forwarded since you require GUI access in order to validate the login ? <br />
[...]<br />
Thread on synoforum claims that is not possible e.g. the 5001 is hard coded:<br />
https://www.synoforum.com/threads/hyper-backup-task-remote-connection-issue-due-to-dsm-7-2-resolved.11633/<br />
<br />
Your choices appear to be use a VPN for the hyperbackup task or open port 5001 long enough to log in so the task can receive an authentication token. <br />
</pre>Note - you may also need to enable the firewall for Hyper Backup Vault (see above)</div>Redhttp://wiki.edgarbv.com/index.php?title=Synology&diff=37733Synology2024-03-19T21:02:52Z<p>Red: /* Using Hyper Backup Vault */</p>
<hr />
<div>= First things to do =<br />
<br />
== Change IP ==<br />
<br />
Control panel -> (connectivity) Network -> tab network interface -> select LAN and click Edit.<br />
<br />
== Enable home directories + 2 step verification ==<br />
<br />
Control panel -> User -> Advanced -> Enable home user service + Enforce 2 step verification<br />
<br />
== change workgroup ==<br />
<br />
control panel -> file services -> smb/afp/nfs -> smb / enable smb service : workgroup<br />
<br />
== change low volume warning threshold ==<br />
change the % by going into my Storage Manager -> Storage -> Clicking the ... on the Volume I was looking for then Clicking Settings. If I scroll down on the Settings there is a Low Capacity Notification where you can change the % to 5% from 20%<br />
<br />
== Enable SSH ==<br />
<br />
Control panel -> (System) Terminal & SNMP enable SSH<br />
<br />
Control panel -> (connectivity) Security -> Firewall tab -> create a rule for SSH (encrypted terminal services), enable and save<br />
<br />
for root login as admin and then '''sudo sh'''<br />
<br />
(you can then log in to the machine using user '''root''' and the default admin password)<br />
<br />
to enable your users to access the terminal vi /etc/passwd and change /sbin/nologin to /bin/ash<br />
<br />
== Create shared folders ==<br />
Once you have created your shared folder, also enable snapshots<br />
<br />
= Prepare for rsync =<br />
NB the synology can only push rsync files, it can not be set up to pull files from a remote rsync server.<br />
<br />
Control panel -> (file sharing) Shared Folder -> create folder to back up to. Give the user you want to rsync to Read/Write access<br />
<br />
Control panel -> File services -> enable rsync service<br />
<br />
'''depreciated'''<br />
----<br />
Start (top left) -> Backup & replication -> backup services -> enable network backup service<br />
<br />
Start (top left) -> Backup & replication -> Backup Destination -> create Local Backup destination -> backup up data to local shared folder -> the name you put in there will be the module name or the path you can use later.<br />
<br />
then add the section in /etc/rsyncd.conf changing only the path and comment values (of course under the module name)<br />
<br />
restart rsync with<br />
<pre><br />
/usr/syno/etc/rc.sysv/S84rsyncd.sh restart<br />
</pre><br />
<br />
If you don't do this, it will rsync everything without the user name for some reason<br />
<br />
== Synology to synology ==<br />
You backup from the source to the target<br />
<br />
ssh into the source machine ('''mind the slashes at the end!''' if you don't use the slash it will create a directory in the directory you specify)<br />
<br />
rsync -avn /volume1/sourcedirectory/ user@192.168.0.105:/volume1/targetdirectory/<br />
<br />
to check if it works. Drop the n to start the actual copy.<br />
<br />
=== Hyper Backup ===<br />
This will create a backup directory which you can't browse with file explorer as it stores everything in a hyper backup format (Non browseable). NB this fails pretty badly using l2tp VPN connection. You need to use Tailscale (see VPN below).<br />
<br />
==== Using Hyper Backup Vault ====<br />
Note: the destination needs the Hyper Backup Vault package installed. Launch Hyper backup on the source. Use the + bottom left to create a new backup job. Select data backup. Select Remote NAS device. fill in the hostname and then you can select which Shared folder it will use as a destination. Note: you cannot use photos or homes. The Directory is the name of the directory it will make on the shared folder on the destination device.<br />
<br />
If the firewall is enabled, go to control Panel -> Network -> Firewall -> Edit rules -> Create -> select hyper backup vault as application<br />
<br />
==== Using rsync ====<br />
Launch Hyper backup on the source. Use the + bottom left to create a new backup job. Choose rsync. Fill in the data. As username and password you need a username and pass on the target machine. It will then fill the shared folder list with shares available on the target. You cannot backup to the root directory of the target share, so you need something in the directory field. After this it pretty much sets itself up. This will actually copy files, so you can browse them on the target NAS<br />
<br />
==== Using Snapshot replication ====<br />
This is supposed to be fairly effective, but not all DSM versions have this package and it needs to be installed on the recipient as well.<br />
<br />
== Netgear ReadyNas Ultra setup for rsync to Synology ==<br />
<br />
''Here we set up the Netgear to pull data from the Synology''<br />
<br />
in the /admin interface first<br />
<br />
Services -> Standard File Protocols -> ensure Rsync is enabled<br />
<br />
Shares -> share listing -> click on rsync icon. scroll up and change default access to 'read only'. Set hosts allowed access to ip of synology (192.168.0.101). Fill in the username and password!<br />
<br />
Backup -> Add a new backup job<br />
<br />
[[File:netgear backup step 1.png]]<br />
<br />
If you don't fill in the path above it will copy the whole share. If you browse the share you can select a subdir to copy.<br />
<br />
[[File:netgear backup step 2.png]]<br />
<br />
Note that the '''Path needs to be EMPTY''' before pressing the 'Test connection' button. It will sometimes work if you fill in NetBackup but you're best off doing the test empty, then typing in the path and then apply bottom right to test the backup job.<br />
<br />
This is what the schedule will look like<br />
<br />
[[File:backup schedule.png|400px]]<br />
<br />
The Daily job<br />
<br />
[[File:jobt1.png|400px]]<br />
[[File:job2.png|400px]]<br />
[[File:job3.png|400px]]<br />
[[File:job4.png|400px]]<br />
<br />
The Weekly job<br />
<br />
[[File:weekly netgear rsync.png|400px]]<br />
<br />
The monthly job<br />
<br />
[[File:monthly netgear rsync1.png|400px]]<br />
[[File:monthly netgear rsync2.png|400px]]<br />
<br />
== useful linkies ==<br />
[http://www.readynas.com/download/documentation/support/rsync_howto_nastonas.pdf Readynas rsync howto PDF]<br />
<br />
[https://www.synology.com/en-uk/knowledgebase/tutorials/613 synology rsync tutorial]<br />
<br />
[http://www.smallnetbuilder.com/nas/nas-howto/30856-how-to-back-up-nas-to-nas-part-1?start=1 small netbuilder tutorial]<br />
<br />
== indexing media files ==<br />
If you rsync files into the /volume1/photo or /volume1/video directories the system does not index them. They need to be copied in using windows or the internal file manager to index them automatically.<br />
<br />
In control panel -> Media library you can re-index the files in the photo directory.<br />
<br />
In the video station itself under collection -> settings you can re-index.<br />
<br />
As you can't set /video/ as a directory to use in the video station, you have to set a symbolic link from /volume1/video/movie to wherever you want to have your directories.<br />
<br />
Warning: indexing can take DAYS!<br />
<br />
== Preparing ReadyNAS for rsync towards it ==<br />
Ensure in Shares that the rsync is enabled on at least one share. Ensure the host you are coming from is allowed and that there is a username / password for it.<br />
<br />
= Symbolic links =<br />
<br />
Windows can't handle symbolic links on the synology, so you have to mount directories with<br />
<pre><br />
mount -o bind /volume1/sourcedir /volume1/destdir<br />
</pre><br />
<br />
as root<br />
<br />
and then copy the mount command to /etc/rc.local to make it stick after a reboot<br />
<br />
= prepare the windows machine for Picasa =<br />
<br />
SSH to the synology, log in as root<br />
<pre><br />
mkdir /volume1/photo/Pictures<br />
mount -o bind /volume1/photo/ /volume1/photo/Pictures<br />
</pre><br />
edit /etc/rc.local<br />
<br />
insert the mount command above into the file - this is for when the synology restarts<br />
<br />
in windows explorer map \\invader\photo to T:<br />
<br />
== Picasa database file locations ==<br />
<br />
There are 2 directories in % %LocalAppData%\Google\ which is the same as C:\Users\razor\AppData\Local\Google\<br />
<br />
<br />
Copy them over before running Picasa for the first time.<br />
<br />
=NFS=<br />
<br />
First make sure in Control Panel -> File Services that NFS is enabled.<br />
<br />
Then in Control Panel -> File Sharing -> Edit the share -> create NFS Permissions. You should only have to change the IP/Hostname field.<br />
<br />
[https://www.synology.com/en-us/knowledgebase/tutorials/616 see here]<br />
<br />
=CIFS=<br />
sudo mount -t cifs //192.168.0.101/home/ ~/xx/ -o username=razor,uid=razor,gid=users<br />
<br />
=To find the NAS on linux with netbios=<br />
You have to enable the bonjour service on the NAS<br />
<br />
Control Panel -> File services -> Enable AFP service, then in Advanced tab -> also enable<br />
<br />
The linux machine needs avahi running. Check using<br />
sudo service avahi-daemon status<br />
<br />
=DLNA=<br />
The video players such as a TV (eg on an LG TV under "photos and videos" app) that play directly from the NAS use DLNA. The synology (or DLNA server) creates a database which the player reads. <br />
<br />
The settings for the Media Server / DNLA can be found under the synology ''start menu -> media server''. It is quite possible that Synology decides it doesn't like your player much and gives it a device type which it's not happy with. Under ''DMA Compatibility -> Device List'' you can change the profile to '''Default profile''', which may help.<br />
<br />
If the database is somehow damaged, you can rebuild it under ''control panel -> indexing service'' and then click '''re-index'''. This can take days!<br />
<br />
To check the status of the rebuild, ssh in (using admin / pw, then sudo su) and you can check to see what's being rebuilt by issuing<br />
ls -l /proc/$(pidof synomkthumbd)/fd<br />
To monitor what's happening over some time do (nb it will take some time before you see anything appear!)<br />
while sleep 30; do ls -l /proc/$(pidof synomkthumbd)/fd | grep volume; done<br />
[https://www.mcleanit.ca/blog/synology-check-index-progress/ from mcleanit.ca]<br />
<br />
If the indexing service seems frozen then restart it with<br />
synoservicectl --restart synoindexd<br />
<br />
=Streaming=<br />
The audio station DS Audio app is terrible and hangs a lot. <br />
<br />
As alternatives there are Jellyfin; Airsonic and mstream. So far I like mstream, it's very light (388MB docker image, as it's file based.<br />
<br />
== Jellyfin ==<br />
very library based and uses quite a bit of CPU - no folder view<br />
<br />
== Airsonic ==<br />
Comes in 2 flavours: [https://airsonic.github.io/ airsonic] and [https://github.com/airsonic-advanced/airsonic-advanced airsonic-advanced]. The advanced version is a fork created due to frustration with the glacial pace of development of airsonic. [https://www.reddit.com/r/airsonic/comments/fu4gwd/airsonic_vs_airsonicadvanced/ Reddit rant here]<br />
<br />
[https://hub.docker.com/r/airsonicadvanced/airsonic-advanced airsonic-advanced]<br />
<br />
== MxStream ==<br />
[https://docs.linuxserver.io/images/docker-mstream linuxserver/mstream]<br />
<br />
Super lightweight: <br />
<br />
iamge is 388 MB<br />
<br />
fresh install:<br />
<br />
CPU: 0.85%<br />
<br />
RAM: 111 MB<br />
<br />
file based<br />
<br />
http://netbiosname:3000<br />
<br />
== Gerbera BubbleUpnP ==<br />
[https://www.reddit.com/r/synology/comments/adkjsr/my_solution_to_playing_audio_from_nas_on_my_cell/ information]<br />
<br />
== Plex ==<br />
Complaints about it being slow and jumpy - only for local streaming - also if you want to use it for streaming or downloading for internet streaming you need to pay<br />
<br />
== Beets ==<br />
re-organise your music collection?<br />
<br />
=Converting media files=<br />
Photo station converts your videos to flv as standard and to mp4 if you have '''conversion for mobile devices''' set to on under ''control panel -> indexing service.''<br />
<br />
It will also convert your image files to thumbnails as standard.<br />
<br />
This can take a few days or even weeks if you upload a lot of new stuff.<br />
<br />
To speed the photo thumbnail generation up you can do the following:<br />
<br />
/usr/syno/etc.defaults/thumb.conf<br />
<br />
* changed the quality of thumbs to 70%<br />
* divided by 2 all the thumbs size<br />
* change the XL thumb size to 400 pixels<br />
<br />
[https://forum.synology.com/enu/viewtopic.php?t=95060]<br />
<br />
To view the status of the conversion, in /var/spool there are the following files<br />
<pre><br />
conv_progress_photo <br />
conv_progress_photo.pT5Pu5 <br />
conv_progress_video <br />
conv_progress_video.CpHdpS <br />
flv_create.queue <br />
flv_create.queue.tmp <br />
thumb_create.queue <br />
thumb_create.queue.tmp <br />
</pre><br />
<br />
or <br />
<br />
ps -ef | grep thumb<br />
<br />
To see the status of the converter<br />
sudo synoservicecfg --status synomkthumbd<br />
<br />
[https://www.reddit.com/r/synology/comments/7ui7c1/conversion_process_details/]<br />
<br />
= More info =<br />
[http://www.synology.com/en-global/support/tutorials/461 How to back up data on Synology NAS to another server] this should also work for a synology nas to another synology nas<br />
<br />
[http://www.synology-forum.nl/data-replicator-overige-backupsoftware/backup-via-internet/ backup via internet] NL forum link, aldus deze pagina, poorten:<br />
<br />
Network Backup: 873 TCP <br />
<br />
Encrypted Network Backup: 873, 22 TCP <br />
<br />
[http://raphael.kallensee.name/journal/how-to-backup-an-external-server-with-a-synology-nas-via-rsync/ backup nas via rsync]<br />
<br />
[http://www.synology.com/en-global/support/tutorials/455#t2 How to encrypt shared folders on Synology NAS] (uses AES, untick auto mount for stealing, but need to input passd on reboot via web interface)<br />
<br />
[http://www.synology.com/en-global/support/tutorials/456 How to make Synology NAS accessible via the Internet]<br />
<br />
[http://www.synology.com/en-global/support/tutorials/478 How to secure your Synology NAS server on the Internet]<br />
<br />
=Reports=<br />
<br />
In the Storage Analyzer settings you can set and see where the Synology saves reports. For some reason the Synology saves old reports you have deleted and so you can't create new reports with the same name without deleting the old files:<br />
<pre><br />
When you create a report task, a dedicated folder for this report will be automatically created under the destination folder that you have designated as the storage location for reports. When you delete a report task from the list on Storage Analyzer's homepage, you delete the report's profile only, while its folder still exists. To delete the report's own folder, please go to the designated destination folder > synoreport, and delete the folder with the same name as the report.<br />
</pre><br />
<br />
=Moments=<br />
[https://www.synology.com/en-global/knowledgebase/DSM/help/SynologyMoments/moments_share_and_search https://www.synology.com/en-global/knowledgebase/DSM/help/SynologyMoments/moments_share_and_search]<br />
<pre><br />
Enable Shared Photo Library<br />
<br />
Shared Photo Library allows you and users with permissions to collaboratively edit the photos and albums in Moments. Please note that only users belonging to the administrative groups can enable this feature.<br />
To enable Shared Photo Library:<br />
<br />
Click the Account icon on the bottom-left corner and select Settings > Shared Photo Library > Enable Shared Photo Library.<br />
Click Next to confirm and enable Shared Photo Library.<br />
Select users to grant them the permissions to access Shared Photo Library.<br />
Click OK to finish. Now you can switch between My Photo Library and Shared Photo Library.<br />
<br />
Note:<br />
<br />
The shared folder named /photo is the default path for Shared Photo Library.<br />
If you have already installed Photo Station, the photos in Photo Station can be displayed after the source of photos is switched to Shared Photo Library in Moments. Please note that the converted thumbnails in Photo Station will not be processed again.<br />
After Shared Photo Library is enabled, the Photo Station settings such as album permission, conversion rule, or other downloading settings will not migrate to or be inherited by Moments.<br />
</pre><br />
<br />
=Installing ipkg=<br />
[https://community.synology.com/enu/forum/1/post/127148 by plexflixler]<br />
Go to the Synology Package Center, click on "Settings" on the top right corner and then click on "package sources".<br />
<br />
Add the source "http://www.cphub.net" (you can choose the name freely, i.e. "CPHub")<br />
<br />
Now close the settings. In the package center on the left go to the "Community" tab.<br />
<br />
Find and install "Easy Bootstrap Installer" from QTip. There is also a GUI version if you prefer, called "iPKGui", also from QTip.<br />
<br />
IPKG is now installed. The executables are located in "/opt/bin/". You can SSH to your NAS and use it. However, the directory has not yet been added to the PATH variable, so to use it you would always need to use the full path "/opt/bin/ipkg". <br />
<br />
You can add the directory to the PATH variable using the following command:<br />
<br />
export PATH="$PATH:/opt/bin"<br />
<br />
However, this would only add the directory to PATH for the current session. <br />
<br />
sudo /opt/bin/ipkg update<br />
sudo /opt/bin/nano /etc/profile<br />
<br />
Now find the PATH variable. It should look something like this:<br />
<br />
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin<br />
<br />
At the end of this string, just append ":/opt/bin" (don't forget the colon). Then save and close the file<br />
<br />
Note that this will not automatically update your PATH for the current session. To do this, you can run:<br />
<br />
source /etc/profile<br />
<br />
To check wheter it worked, enter the command:<br />
<br />
echo $PATH | tr ":" "\n" | nl<br />
<br />
You should see the entry for "/opt/bin" there.<br />
<br />
Now your all set.<br />
<br />
=Installing mlocate=<br />
requires ipkg (see above)<br />
<br />
ipkg install mlocate<br />
<br />
Once you have done that, you run<br />
updatedb<br />
<br />
and then you can use the locate command<br />
<br />
=Universal search=<br />
For some reason when installing universal search it doesn't add the shares to the index. You have to do this by hand in settings.<br />
<br />
=Surveillance Station=<br />
==Timelapse==<br />
[https://forum.synology.com/enu/viewtopic.php?t=127113 Using Action Rules]<br />
<br />
[http://planet-geek.com/2017/10/09/geekitude/creating-timelapse-videos-from-a-synology-nas/ Using ffmpeg video stitching] with [https://superuser.com/questions/777938/ffmpeg-convert-a-video-to-a-timelapse a useful note on getting rid of audio] if you're using setpts in ffmpeg<br />
<br />
[https://www.synology.com/en-global/knowledgebase/Surveillance/help/SurveillanceStation/smart_time_lapse Using Smart Time Lapse] which converts videos<br />
<br />
<br />
----<br />
Beveiligde documentopslag vanaf EUR 989,-*<br />
<br />
AES encryption beveiligt uw bestanden<br />
<br />
Snel geplaatst en ingericht naar uw wensen<br />
<br />
Data wordt op extra harde schijf gekopieerd voor het geval er een kapot gaat<br />
<br />
Mogelijkheid om versleutelde bestanden over internet te backuppen<br />
<br />
* inclusief hardware, 1TB opslag en implementatiekosten, excl. voorrijkosten en evt backups / netwerkinstellingen<br />
<br />
=Docker=<br />
Generally the workflow is:<br />
<br />
docker -> add image (from the registry or from a url, eg airsonic/airsonic) -> double click image to create a container -> edit the advanced settings (auto restart on, add volumes, network, etc) -> confirm -> run container -> monitor the container in the container part<br />
<br />
== volumes / permanence ==<br />
These are locations on the synology that can be mounted in the container.<br />
<br />
When installing docker a new main share: docker is created.<br />
<br />
Using add volume you can choose a volume - if it's internal stuff to the container (eg /var/log) you select (or create) the folder(s): /docker/containername/var/log and then use the mount path /var/log to mount that location within the container.<br />
<br />
In the docker cli instructions for an image this can be seen as the -v options<br />
<br />
So if you are trying to mount your music you would mount /music/ to /music - you need to look out for permissions! <br />
<br />
=== Permissions ===<br />
<br />
For music and video: DLNA in Media Server; <br />
<br />
GUID and GPID env variables <br />
<br />
advanced permissions are places to look if you can view the files in the container terminal but the application in the container can't see the files! (you can check for advanced permissions by allowing Everyone read access in the normal permissions and seeing if the application can find them then)<br />
<br />
file permissions also of the /docker/imagename/ directories<br />
<br />
Don't forget to check Apply this folder, sub-folders and files!<br />
<br />
== network port forwarding / connecting from outside the host==<br />
You have two options here:<br />
<br />
1. network=host: while starting (=creating) a container from an image, you can enable the checkbox "use same network as Docker Host" at the bottom in the "network" tab in additional settings. As a result you do not need to map any ports from dsm to the container, as dsms network interface is directly used. You need to take care of potential port collisions between dsm and the container of course.<br />
<br />
2. network=bridged: map ports from the Docker Host (DSM) to the container. You can not access the ip of the container directly, though, you can access the mapped port on the Docker host. The potential port collision bettween dsm and containers are here possible as well.. but they can be corrected easier since you can just change the Docher host port which needs to be still mapped to the same D<br />
ocker port.<br />
<br />
In both cases the port can be accessed via dsm:port, though for option 1) this is only true if you did not change the ip INSIDE the container, if you did it will be container-ip:port.<br />
<br />
[https://community.synology.com/enu/forum/17/post/102280 Connect to a docker container from outside the host (same network)]<br />
<br />
'''So to have the external port be the same as the external port in bridged mode, edit the container and set the local port to be the same as the container port'''<br />
<br />
In the docker cli instructions for an image this can be seen as the -p options<br />
<br />
TODO: [https://mariushosting.com/synology-how-to-run-docker-containers-over-https/ How to run docker over https]<br />
<br />
== Environment ==<br />
Here you can add extra environment variables, eg TZ / GUID / PUID<br />
<br />
You can find your users PID and GID by sshing into the synology and typing<br />
<br />
id<br />
<br />
or<br />
<br />
id username<br />
<br />
The GUID and PUID are the IDs for which the container itself will run, not docker (which will run as root)<br />
<br />
== setting up a docker using cli arguments ==<br />
<br />
As an example [https://docs.linuxserver.io/images/docker-mstream Mstream] from linuxserver (you can find the image in the docker registry or add it using url linuxserver/mstream<br />
<br />
has docker cli<br />
<pre><br />
docker run -d \<br />
--name=mstream \<br />
-e PUID=1000 \<br />
-e PGID=1000 \<br />
-e TZ=Europe/London \<br />
-p 3000:3000 \<br />
-v /path/to/data:/config \<br />
-v /path/to/music:/music \<br />
--restart unless-stopped \<br />
lscr.io/linuxserver/mstream<br />
</pre><br />
<br />
So you have to fill in your own gid / pid / timezone in the Environment part of the container. You set the port to be both 3000 inside and outside in a bridged network connection. You select /docker/mstream/config to mount as /config and you select your music library on the synology to mount to /music. You ensure permissions are right and you should see the files in mstream.<br />
<br />
== Logging and troubleshooting == <br />
<br />
double clicking an container allows you to see the logs in a tab, which will help a lot. You can also access an active terminal in a tab on a running container<br />
<br />
= VPN Connections =<br />
<br />
[https://kb.synology.com/en-af/DSM/tutorial/How_connect_Synology_NAS_VPN_server How do I connect my Synology NAS to a VPN server?]<br />
<br />
Go to DSM Control Panel > Network > Network Interface.<br />
Click Create > Create VPN profile.<br />
Follow the instructions in this article to set up a VPN connection.<br />
<br />
If you select <br />
Use default gateway on remote network <br />
in the VPN profile you can only connect to the synology from the remote network, not from quickconnect [https://kb.synology.com/en-sg/DSM/tutorial/Cannot_connect_Synology_NAS_using_VPN_via_DDNS https://kb.synology.com/en-sg/DSM/tutorial/Cannot_connect_Synology_NAS_using_VPN_via_DDNS]. However if you do not select this you can not access the synology from the VPN IP.<br />
<br />
I also had to select <br />
The server or clients are behind the NAT device<br />
for it to work.<br />
<br />
Notes:<br />
<br />
We recommend selecting L2TP as the VPN protocol if it is available from VPN service providers. OpenVPN profiles provided by certain VPN service providers may not be compatible with Synology NAS.<br />
When your Synology NAS is configured as an L2TP or OpenVPN client, you cannot configure it as a VPN server using the same protocol in VPN Server. PPTP does not have this limitation.<br />
<br />
[https://kb.synology.com/en-af/DSM/help/DSM/AdminCenter/connection_network_vpnclient?version=7 VPN Connection] Synology knowledge centre<br />
<br />
Unfortunatelty running Hyberbackup over l2tp results in severe slowdowns and even crashes of the VPN interface.<br />
<br />
Wireguard connections<br />
<br />
== Tailscale ==<br />
You can connect via [https://tailscale.com/ Tailscale] - this should allow for better hyper backup transfers.<br />
<pre><br />
Simply install Tailscale on both NAS. Then log in to Tailscale and look at the IPs Tailscale has assigned to each machine and use those when configuring things like HyperBackup. Note that to setup Tailscale properly you need to enable outbound connections (explained in Tailscale docs).<br />
</pre><br />
https://www.reddit.com/r/synology/comments/16pe5qn/struggling_to_get_hyper_backup_working_on_remote/<br />
<br />
https://tailscale.com/kb/1131/synology#enabling-synology-outbound-connections<pre><br />
Enabling Synology outbound connections<br />
<br />
Synology DSM7 introduced tighter restrictions on what packages are allowed to do. If you’re running DSM6, Tailscale runs as root with full permissions and these steps are not required.<br />
<br />
By default, Tailscale on Synology with DSM7 only allows inbound connections to your Synology device but outbound Tailscale access from other apps running on your Synology is not enabled.<br />
<br />
The reason for this is that the Tailscale package does not have permission to create a TUN device.<br />
<br />
To enable TUN, to permit outbound connections from other things running on your Synology:<br />
<br />
Make sure you’re running Tailscale 1.22.2 or later, either from the Synology Package Center or a manually installed *.spk from the Tailscale Packages server.<br />
<br />
In Synology, go to Control Panel > Task Scheduler, click Create, and select Triggered Task.<br />
<br />
Select User-defined script.<br />
<br />
When the Create task window appears, click General.<br />
<br />
In General Settings, enter a task name, select root as the user that the task will run for, and select Boot-up as the event that triggers the task. Ensure the task is enabled.<br />
<br />
Click Task Settings and enter the following for User-defined script.<br />
<br />
/var/packages/Tailscale/target/bin/tailscale configure-host; synosystemctl restart pkgctl-Tailscale.service<br />
<br />
(If you’re curious what it does, you can read the configure-host code.)<br />
<br />
Click OK to save the settings.<br />
<br />
Reboot your Synology. (Alternatively, to avoid a reboot, run the above user-defined script as root on the device to restart the Tailscale package.)<br />
<br />
Your TUN settings should now be persisted across reboots of your device.<br />
If the Synology firewall is enabled: adjust the firewall settings<br />
<br />
By enabling TUN, Tailscale traffic will be subject to Synology’s built-in firewall.<br />
<br />
The firewall is disabled by default. However, if you have it enabled, add an exception for the Tailscale subnet, 100.64.0.0/10. In Main menu > Control Panel > Security > Firewall, add a firewall rule in the default profile that allows traffic from the source IP subnet 100.64.0.0 with subnet mask 255.192.0.0.<br />
</pre><pre><br />
Do you also have 5001 forwarded since you require GUI access in order to validate the login ? <br />
[...]<br />
Thread on synoforum claims that is not possible e.g. the 5001 is hard coded:<br />
https://www.synoforum.com/threads/hyper-backup-task-remote-connection-issue-due-to-dsm-7-2-resolved.11633/<br />
<br />
Your choices appear to be use a VPN for the hyperbackup task or open port 5001 long enough to log in so the task can receive an authentication token. <br />
</pre></div>Redhttp://wiki.edgarbv.com/index.php?title=Synology&diff=37732Synology2024-03-19T20:30:12Z<p>Red: /* VPN Connections */</p>
<hr />
<div>= First things to do =<br />
<br />
== Change IP ==<br />
<br />
Control panel -> (connectivity) Network -> tab network interface -> select LAN and click Edit.<br />
<br />
== Enable home directories + 2 step verification ==<br />
<br />
Control panel -> User -> Advanced -> Enable home user service + Enforce 2 step verification<br />
<br />
== change workgroup ==<br />
<br />
control panel -> file services -> smb/afp/nfs -> smb / enable smb service : workgroup<br />
<br />
== change low volume warning threshold ==<br />
change the % by going into my Storage Manager -> Storage -> Clicking the ... on the Volume I was looking for then Clicking Settings. If I scroll down on the Settings there is a Low Capacity Notification where you can change the % to 5% from 20%<br />
<br />
== Enable SSH ==<br />
<br />
Control panel -> (System) Terminal & SNMP enable SSH<br />
<br />
Control panel -> (connectivity) Security -> Firewall tab -> create a rule for SSH (encrypted terminal services), enable and save<br />
<br />
for root login as admin and then '''sudo sh'''<br />
<br />
(you can then log in to the machine using user '''root''' and the default admin password)<br />
<br />
to enable your users to access the terminal vi /etc/passwd and change /sbin/nologin to /bin/ash<br />
<br />
== Create shared folders ==<br />
Once you have created your shared folder, also enable snapshots<br />
<br />
= Prepare for rsync =<br />
NB the synology can only push rsync files, it can not be set up to pull files from a remote rsync server.<br />
<br />
Control panel -> (file sharing) Shared Folder -> create folder to back up to. Give the user you want to rsync to Read/Write access<br />
<br />
Control panel -> File services -> enable rsync service<br />
<br />
'''depreciated'''<br />
----<br />
Start (top left) -> Backup & replication -> backup services -> enable network backup service<br />
<br />
Start (top left) -> Backup & replication -> Backup Destination -> create Local Backup destination -> backup up data to local shared folder -> the name you put in there will be the module name or the path you can use later.<br />
<br />
then add the section in /etc/rsyncd.conf changing only the path and comment values (of course under the module name)<br />
<br />
restart rsync with<br />
<pre><br />
/usr/syno/etc/rc.sysv/S84rsyncd.sh restart<br />
</pre><br />
<br />
If you don't do this, it will rsync everything without the user name for some reason<br />
<br />
== Synology to synology ==<br />
You backup from the source to the target<br />
<br />
ssh into the source machine ('''mind the slashes at the end!''' if you don't use the slash it will create a directory in the directory you specify)<br />
<br />
rsync -avn /volume1/sourcedirectory/ user@192.168.0.105:/volume1/targetdirectory/<br />
<br />
to check if it works. Drop the n to start the actual copy.<br />
<br />
=== Hyper Backup ===<br />
This will create a backup directory which you can't browse with file explorer as it stores everything in a hyper backup format (Non browseable). NB this fails pretty badly using l2tp VPN connection. You need to use Tailscale (see VPN below).<br />
<br />
==== Using Hyper Backup Vault ====<br />
Note: the destination needs the Hyper Backup Vault package installed. Launch Hyper backup on the source. Use the + bottom left to create a new backup job. Select data backup. Select Remote NAS device. fill in the hostname and then you can select which Shared folder it will use as a destination. Note: you cannot use photos or homes. The Directory is the name of the directory it will make on the shared folder on the destination device.<br />
<br />
==== Using rsync ====<br />
Launch Hyper backup on the source. Use the + bottom left to create a new backup job. Choose rsync. Fill in the data. As username and password you need a username and pass on the target machine. It will then fill the shared folder list with shares available on the target. You cannot backup to the root directory of the target share, so you need something in the directory field. After this it pretty much sets itself up. This will actually copy files, so you can browse them on the target NAS<br />
<br />
==== Using Snapshot replication ====<br />
This is supposed to be fairly effective, but not all DSM versions have this package and it needs to be installed on the recipient as well.<br />
<br />
== Netgear ReadyNas Ultra setup for rsync to Synology ==<br />
<br />
''Here we set up the Netgear to pull data from the Synology''<br />
<br />
in the /admin interface first<br />
<br />
Services -> Standard File Protocols -> ensure Rsync is enabled<br />
<br />
Shares -> share listing -> click on rsync icon. scroll up and change default access to 'read only'. Set hosts allowed access to ip of synology (192.168.0.101). Fill in the username and password!<br />
<br />
Backup -> Add a new backup job<br />
<br />
[[File:netgear backup step 1.png]]<br />
<br />
If you don't fill in the path above it will copy the whole share. If you browse the share you can select a subdir to copy.<br />
<br />
[[File:netgear backup step 2.png]]<br />
<br />
Note that the '''Path needs to be EMPTY''' before pressing the 'Test connection' button. It will sometimes work if you fill in NetBackup but you're best off doing the test empty, then typing in the path and then apply bottom right to test the backup job.<br />
<br />
This is what the schedule will look like<br />
<br />
[[File:backup schedule.png|400px]]<br />
<br />
The Daily job<br />
<br />
[[File:jobt1.png|400px]]<br />
[[File:job2.png|400px]]<br />
[[File:job3.png|400px]]<br />
[[File:job4.png|400px]]<br />
<br />
The Weekly job<br />
<br />
[[File:weekly netgear rsync.png|400px]]<br />
<br />
The monthly job<br />
<br />
[[File:monthly netgear rsync1.png|400px]]<br />
[[File:monthly netgear rsync2.png|400px]]<br />
<br />
== useful linkies ==<br />
[http://www.readynas.com/download/documentation/support/rsync_howto_nastonas.pdf Readynas rsync howto PDF]<br />
<br />
[https://www.synology.com/en-uk/knowledgebase/tutorials/613 synology rsync tutorial]<br />
<br />
[http://www.smallnetbuilder.com/nas/nas-howto/30856-how-to-back-up-nas-to-nas-part-1?start=1 small netbuilder tutorial]<br />
<br />
== indexing media files ==<br />
If you rsync files into the /volume1/photo or /volume1/video directories the system does not index them. They need to be copied in using windows or the internal file manager to index them automatically.<br />
<br />
In control panel -> Media library you can re-index the files in the photo directory.<br />
<br />
In the video station itself under collection -> settings you can re-index.<br />
<br />
As you can't set /video/ as a directory to use in the video station, you have to set a symbolic link from /volume1/video/movie to wherever you want to have your directories.<br />
<br />
Warning: indexing can take DAYS!<br />
<br />
== Preparing ReadyNAS for rsync towards it ==<br />
Ensure in Shares that the rsync is enabled on at least one share. Ensure the host you are coming from is allowed and that there is a username / password for it.<br />
<br />
= Symbolic links =<br />
<br />
Windows can't handle symbolic links on the synology, so you have to mount directories with<br />
<pre><br />
mount -o bind /volume1/sourcedir /volume1/destdir<br />
</pre><br />
<br />
as root<br />
<br />
and then copy the mount command to /etc/rc.local to make it stick after a reboot<br />
<br />
= prepare the windows machine for Picasa =<br />
<br />
SSH to the synology, log in as root<br />
<pre><br />
mkdir /volume1/photo/Pictures<br />
mount -o bind /volume1/photo/ /volume1/photo/Pictures<br />
</pre><br />
edit /etc/rc.local<br />
<br />
insert the mount command above into the file - this is for when the synology restarts<br />
<br />
in windows explorer map \\invader\photo to T:<br />
<br />
== Picasa database file locations ==<br />
<br />
There are 2 directories in % %LocalAppData%\Google\ which is the same as C:\Users\razor\AppData\Local\Google\<br />
<br />
<br />
Copy them over before running Picasa for the first time.<br />
<br />
=NFS=<br />
<br />
First make sure in Control Panel -> File Services that NFS is enabled.<br />
<br />
Then in Control Panel -> File Sharing -> Edit the share -> create NFS Permissions. You should only have to change the IP/Hostname field.<br />
<br />
[https://www.synology.com/en-us/knowledgebase/tutorials/616 see here]<br />
<br />
=CIFS=<br />
sudo mount -t cifs //192.168.0.101/home/ ~/xx/ -o username=razor,uid=razor,gid=users<br />
<br />
=To find the NAS on linux with netbios=<br />
You have to enable the bonjour service on the NAS<br />
<br />
Control Panel -> File services -> Enable AFP service, then in Advanced tab -> also enable<br />
<br />
The linux machine needs avahi running. Check using<br />
sudo service avahi-daemon status<br />
<br />
=DLNA=<br />
The video players such as a TV (eg on an LG TV under "photos and videos" app) that play directly from the NAS use DLNA. The synology (or DLNA server) creates a database which the player reads. <br />
<br />
The settings for the Media Server / DNLA can be found under the synology ''start menu -> media server''. It is quite possible that Synology decides it doesn't like your player much and gives it a device type which it's not happy with. Under ''DMA Compatibility -> Device List'' you can change the profile to '''Default profile''', which may help.<br />
<br />
If the database is somehow damaged, you can rebuild it under ''control panel -> indexing service'' and then click '''re-index'''. This can take days!<br />
<br />
To check the status of the rebuild, ssh in (using admin / pw, then sudo su) and you can check to see what's being rebuilt by issuing<br />
ls -l /proc/$(pidof synomkthumbd)/fd<br />
To monitor what's happening over some time do (nb it will take some time before you see anything appear!)<br />
while sleep 30; do ls -l /proc/$(pidof synomkthumbd)/fd | grep volume; done<br />
[https://www.mcleanit.ca/blog/synology-check-index-progress/ from mcleanit.ca]<br />
<br />
If the indexing service seems frozen then restart it with<br />
synoservicectl --restart synoindexd<br />
<br />
=Streaming=<br />
The audio station DS Audio app is terrible and hangs a lot. <br />
<br />
As alternatives there are Jellyfin; Airsonic and mstream. So far I like mstream, it's very light (388MB docker image, as it's file based.<br />
<br />
== Jellyfin ==<br />
very library based and uses quite a bit of CPU - no folder view<br />
<br />
== Airsonic ==<br />
Comes in 2 flavours: [https://airsonic.github.io/ airsonic] and [https://github.com/airsonic-advanced/airsonic-advanced airsonic-advanced]. The advanced version is a fork created due to frustration with the glacial pace of development of airsonic. [https://www.reddit.com/r/airsonic/comments/fu4gwd/airsonic_vs_airsonicadvanced/ Reddit rant here]<br />
<br />
[https://hub.docker.com/r/airsonicadvanced/airsonic-advanced airsonic-advanced]<br />
<br />
== MxStream ==<br />
[https://docs.linuxserver.io/images/docker-mstream linuxserver/mstream]<br />
<br />
Super lightweight: <br />
<br />
iamge is 388 MB<br />
<br />
fresh install:<br />
<br />
CPU: 0.85%<br />
<br />
RAM: 111 MB<br />
<br />
file based<br />
<br />
http://netbiosname:3000<br />
<br />
== Gerbera BubbleUpnP ==<br />
[https://www.reddit.com/r/synology/comments/adkjsr/my_solution_to_playing_audio_from_nas_on_my_cell/ information]<br />
<br />
== Plex ==<br />
Complaints about it being slow and jumpy - only for local streaming - also if you want to use it for streaming or downloading for internet streaming you need to pay<br />
<br />
== Beets ==<br />
re-organise your music collection?<br />
<br />
=Converting media files=<br />
Photo station converts your videos to flv as standard and to mp4 if you have '''conversion for mobile devices''' set to on under ''control panel -> indexing service.''<br />
<br />
It will also convert your image files to thumbnails as standard.<br />
<br />
This can take a few days or even weeks if you upload a lot of new stuff.<br />
<br />
To speed the photo thumbnail generation up you can do the following:<br />
<br />
/usr/syno/etc.defaults/thumb.conf<br />
<br />
* changed the quality of thumbs to 70%<br />
* divided by 2 all the thumbs size<br />
* change the XL thumb size to 400 pixels<br />
<br />
[https://forum.synology.com/enu/viewtopic.php?t=95060]<br />
<br />
To view the status of the conversion, in /var/spool there are the following files<br />
<pre><br />
conv_progress_photo <br />
conv_progress_photo.pT5Pu5 <br />
conv_progress_video <br />
conv_progress_video.CpHdpS <br />
flv_create.queue <br />
flv_create.queue.tmp <br />
thumb_create.queue <br />
thumb_create.queue.tmp <br />
</pre><br />
<br />
or <br />
<br />
ps -ef | grep thumb<br />
<br />
To see the status of the converter<br />
sudo synoservicecfg --status synomkthumbd<br />
<br />
[https://www.reddit.com/r/synology/comments/7ui7c1/conversion_process_details/]<br />
<br />
= More info =<br />
[http://www.synology.com/en-global/support/tutorials/461 How to back up data on Synology NAS to another server] this should also work for a synology nas to another synology nas<br />
<br />
[http://www.synology-forum.nl/data-replicator-overige-backupsoftware/backup-via-internet/ backup via internet] NL forum link, aldus deze pagina, poorten:<br />
<br />
Network Backup: 873 TCP <br />
<br />
Encrypted Network Backup: 873, 22 TCP <br />
<br />
[http://raphael.kallensee.name/journal/how-to-backup-an-external-server-with-a-synology-nas-via-rsync/ backup nas via rsync]<br />
<br />
[http://www.synology.com/en-global/support/tutorials/455#t2 How to encrypt shared folders on Synology NAS] (uses AES, untick auto mount for stealing, but need to input passd on reboot via web interface)<br />
<br />
[http://www.synology.com/en-global/support/tutorials/456 How to make Synology NAS accessible via the Internet]<br />
<br />
[http://www.synology.com/en-global/support/tutorials/478 How to secure your Synology NAS server on the Internet]<br />
<br />
=Reports=<br />
<br />
In the Storage Analyzer settings you can set and see where the Synology saves reports. For some reason the Synology saves old reports you have deleted and so you can't create new reports with the same name without deleting the old files:<br />
<pre><br />
When you create a report task, a dedicated folder for this report will be automatically created under the destination folder that you have designated as the storage location for reports. When you delete a report task from the list on Storage Analyzer's homepage, you delete the report's profile only, while its folder still exists. To delete the report's own folder, please go to the designated destination folder > synoreport, and delete the folder with the same name as the report.<br />
</pre><br />
<br />
=Moments=<br />
[https://www.synology.com/en-global/knowledgebase/DSM/help/SynologyMoments/moments_share_and_search https://www.synology.com/en-global/knowledgebase/DSM/help/SynologyMoments/moments_share_and_search]<br />
<pre><br />
Enable Shared Photo Library<br />
<br />
Shared Photo Library allows you and users with permissions to collaboratively edit the photos and albums in Moments. Please note that only users belonging to the administrative groups can enable this feature.<br />
To enable Shared Photo Library:<br />
<br />
Click the Account icon on the bottom-left corner and select Settings > Shared Photo Library > Enable Shared Photo Library.<br />
Click Next to confirm and enable Shared Photo Library.<br />
Select users to grant them the permissions to access Shared Photo Library.<br />
Click OK to finish. Now you can switch between My Photo Library and Shared Photo Library.<br />
<br />
Note:<br />
<br />
The shared folder named /photo is the default path for Shared Photo Library.<br />
If you have already installed Photo Station, the photos in Photo Station can be displayed after the source of photos is switched to Shared Photo Library in Moments. Please note that the converted thumbnails in Photo Station will not be processed again.<br />
After Shared Photo Library is enabled, the Photo Station settings such as album permission, conversion rule, or other downloading settings will not migrate to or be inherited by Moments.<br />
</pre><br />
<br />
=Installing ipkg=<br />
[https://community.synology.com/enu/forum/1/post/127148 by plexflixler]<br />
Go to the Synology Package Center, click on "Settings" on the top right corner and then click on "package sources".<br />
<br />
Add the source "http://www.cphub.net" (you can choose the name freely, i.e. "CPHub")<br />
<br />
Now close the settings. In the package center on the left go to the "Community" tab.<br />
<br />
Find and install "Easy Bootstrap Installer" from QTip. There is also a GUI version if you prefer, called "iPKGui", also from QTip.<br />
<br />
IPKG is now installed. The executables are located in "/opt/bin/". You can SSH to your NAS and use it. However, the directory has not yet been added to the PATH variable, so to use it you would always need to use the full path "/opt/bin/ipkg". <br />
<br />
You can add the directory to the PATH variable using the following command:<br />
<br />
export PATH="$PATH:/opt/bin"<br />
<br />
However, this would only add the directory to PATH for the current session. <br />
<br />
sudo /opt/bin/ipkg update<br />
sudo /opt/bin/nano /etc/profile<br />
<br />
Now find the PATH variable. It should look something like this:<br />
<br />
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin<br />
<br />
At the end of this string, just append ":/opt/bin" (don't forget the colon). Then save and close the file<br />
<br />
Note that this will not automatically update your PATH for the current session. To do this, you can run:<br />
<br />
source /etc/profile<br />
<br />
To check wheter it worked, enter the command:<br />
<br />
echo $PATH | tr ":" "\n" | nl<br />
<br />
You should see the entry for "/opt/bin" there.<br />
<br />
Now your all set.<br />
<br />
=Installing mlocate=<br />
requires ipkg (see above)<br />
<br />
ipkg install mlocate<br />
<br />
Once you have done that, you run<br />
updatedb<br />
<br />
and then you can use the locate command<br />
<br />
=Universal search=<br />
For some reason when installing universal search it doesn't add the shares to the index. You have to do this by hand in settings.<br />
<br />
=Surveillance Station=<br />
==Timelapse==<br />
[https://forum.synology.com/enu/viewtopic.php?t=127113 Using Action Rules]<br />
<br />
[http://planet-geek.com/2017/10/09/geekitude/creating-timelapse-videos-from-a-synology-nas/ Using ffmpeg video stitching] with [https://superuser.com/questions/777938/ffmpeg-convert-a-video-to-a-timelapse a useful note on getting rid of audio] if you're using setpts in ffmpeg<br />
<br />
[https://www.synology.com/en-global/knowledgebase/Surveillance/help/SurveillanceStation/smart_time_lapse Using Smart Time Lapse] which converts videos<br />
<br />
<br />
----<br />
Beveiligde documentopslag vanaf EUR 989,-*<br />
<br />
AES encryption beveiligt uw bestanden<br />
<br />
Snel geplaatst en ingericht naar uw wensen<br />
<br />
Data wordt op extra harde schijf gekopieerd voor het geval er een kapot gaat<br />
<br />
Mogelijkheid om versleutelde bestanden over internet te backuppen<br />
<br />
* inclusief hardware, 1TB opslag en implementatiekosten, excl. voorrijkosten en evt backups / netwerkinstellingen<br />
<br />
=Docker=<br />
Generally the workflow is:<br />
<br />
docker -> add image (from the registry or from a url, eg airsonic/airsonic) -> double click image to create a container -> edit the advanced settings (auto restart on, add volumes, network, etc) -> confirm -> run container -> monitor the container in the container part<br />
<br />
== volumes / permanence ==<br />
These are locations on the synology that can be mounted in the container.<br />
<br />
When installing docker a new main share: docker is created.<br />
<br />
Using add volume you can choose a volume - if it's internal stuff to the container (eg /var/log) you select (or create) the folder(s): /docker/containername/var/log and then use the mount path /var/log to mount that location within the container.<br />
<br />
In the docker cli instructions for an image this can be seen as the -v options<br />
<br />
So if you are trying to mount your music you would mount /music/ to /music - you need to look out for permissions! <br />
<br />
=== Permissions ===<br />
<br />
For music and video: DLNA in Media Server; <br />
<br />
GUID and GPID env variables <br />
<br />
advanced permissions are places to look if you can view the files in the container terminal but the application in the container can't see the files! (you can check for advanced permissions by allowing Everyone read access in the normal permissions and seeing if the application can find them then)<br />
<br />
file permissions also of the /docker/imagename/ directories<br />
<br />
Don't forget to check Apply this folder, sub-folders and files!<br />
<br />
== network port forwarding / connecting from outside the host==<br />
You have two options here:<br />
<br />
1. network=host: while starting (=creating) a container from an image, you can enable the checkbox "use same network as Docker Host" at the bottom in the "network" tab in additional settings. As a result you do not need to map any ports from dsm to the container, as dsms network interface is directly used. You need to take care of potential port collisions between dsm and the container of course.<br />
<br />
2. network=bridged: map ports from the Docker Host (DSM) to the container. You can not access the ip of the container directly, though, you can access the mapped port on the Docker host. The potential port collision bettween dsm and containers are here possible as well.. but they can be corrected easier since you can just change the Docher host port which needs to be still mapped to the same D<br />
ocker port.<br />
<br />
In both cases the port can be accessed via dsm:port, though for option 1) this is only true if you did not change the ip INSIDE the container, if you did it will be container-ip:port.<br />
<br />
[https://community.synology.com/enu/forum/17/post/102280 Connect to a docker container from outside the host (same network)]<br />
<br />
'''So to have the external port be the same as the external port in bridged mode, edit the container and set the local port to be the same as the container port'''<br />
<br />
In the docker cli instructions for an image this can be seen as the -p options<br />
<br />
TODO: [https://mariushosting.com/synology-how-to-run-docker-containers-over-https/ How to run docker over https]<br />
<br />
== Environment ==<br />
Here you can add extra environment variables, eg TZ / GUID / PUID<br />
<br />
You can find your users PID and GID by sshing into the synology and typing<br />
<br />
id<br />
<br />
or<br />
<br />
id username<br />
<br />
The GUID and PUID are the IDs for which the container itself will run, not docker (which will run as root)<br />
<br />
== setting up a docker using cli arguments ==<br />
<br />
As an example [https://docs.linuxserver.io/images/docker-mstream Mstream] from linuxserver (you can find the image in the docker registry or add it using url linuxserver/mstream<br />
<br />
has docker cli<br />
<pre><br />
docker run -d \<br />
--name=mstream \<br />
-e PUID=1000 \<br />
-e PGID=1000 \<br />
-e TZ=Europe/London \<br />
-p 3000:3000 \<br />
-v /path/to/data:/config \<br />
-v /path/to/music:/music \<br />
--restart unless-stopped \<br />
lscr.io/linuxserver/mstream<br />
</pre><br />
<br />
So you have to fill in your own gid / pid / timezone in the Environment part of the container. You set the port to be both 3000 inside and outside in a bridged network connection. You select /docker/mstream/config to mount as /config and you select your music library on the synology to mount to /music. You ensure permissions are right and you should see the files in mstream.<br />
<br />
== Logging and troubleshooting == <br />
<br />
double clicking an container allows you to see the logs in a tab, which will help a lot. You can also access an active terminal in a tab on a running container<br />
<br />
= VPN Connections =<br />
<br />
[https://kb.synology.com/en-af/DSM/tutorial/How_connect_Synology_NAS_VPN_server How do I connect my Synology NAS to a VPN server?]<br />
<br />
Go to DSM Control Panel > Network > Network Interface.<br />
Click Create > Create VPN profile.<br />
Follow the instructions in this article to set up a VPN connection.<br />
<br />
If you select <br />
Use default gateway on remote network <br />
in the VPN profile you can only connect to the synology from the remote network, not from quickconnect [https://kb.synology.com/en-sg/DSM/tutorial/Cannot_connect_Synology_NAS_using_VPN_via_DDNS https://kb.synology.com/en-sg/DSM/tutorial/Cannot_connect_Synology_NAS_using_VPN_via_DDNS]. However if you do not select this you can not access the synology from the VPN IP.<br />
<br />
I also had to select <br />
The server or clients are behind the NAT device<br />
for it to work.<br />
<br />
Notes:<br />
<br />
We recommend selecting L2TP as the VPN protocol if it is available from VPN service providers. OpenVPN profiles provided by certain VPN service providers may not be compatible with Synology NAS.<br />
When your Synology NAS is configured as an L2TP or OpenVPN client, you cannot configure it as a VPN server using the same protocol in VPN Server. PPTP does not have this limitation.<br />
<br />
[https://kb.synology.com/en-af/DSM/help/DSM/AdminCenter/connection_network_vpnclient?version=7 VPN Connection] Synology knowledge centre<br />
<br />
Unfortunatelty running Hyberbackup over l2tp results in severe slowdowns and even crashes of the VPN interface.<br />
<br />
Wireguard connections<br />
<br />
== Tailscale ==<br />
You can connect via [https://tailscale.com/ Tailscale] - this should allow for better hyper backup transfers.<br />
<pre><br />
Simply install Tailscale on both NAS. Then log in to Tailscale and look at the IPs Tailscale has assigned to each machine and use those when configuring things like HyperBackup. Note that to setup Tailscale properly you need to enable outbound connections (explained in Tailscale docs).<br />
</pre><br />
https://www.reddit.com/r/synology/comments/16pe5qn/struggling_to_get_hyper_backup_working_on_remote/<br />
<br />
https://tailscale.com/kb/1131/synology#enabling-synology-outbound-connections<pre><br />
Enabling Synology outbound connections<br />
<br />
Synology DSM7 introduced tighter restrictions on what packages are allowed to do. If you’re running DSM6, Tailscale runs as root with full permissions and these steps are not required.<br />
<br />
By default, Tailscale on Synology with DSM7 only allows inbound connections to your Synology device but outbound Tailscale access from other apps running on your Synology is not enabled.<br />
<br />
The reason for this is that the Tailscale package does not have permission to create a TUN device.<br />
<br />
To enable TUN, to permit outbound connections from other things running on your Synology:<br />
<br />
Make sure you’re running Tailscale 1.22.2 or later, either from the Synology Package Center or a manually installed *.spk from the Tailscale Packages server.<br />
<br />
In Synology, go to Control Panel > Task Scheduler, click Create, and select Triggered Task.<br />
<br />
Select User-defined script.<br />
<br />
When the Create task window appears, click General.<br />
<br />
In General Settings, enter a task name, select root as the user that the task will run for, and select Boot-up as the event that triggers the task. Ensure the task is enabled.<br />
<br />
Click Task Settings and enter the following for User-defined script.<br />
<br />
/var/packages/Tailscale/target/bin/tailscale configure-host; synosystemctl restart pkgctl-Tailscale.service<br />
<br />
(If you’re curious what it does, you can read the configure-host code.)<br />
<br />
Click OK to save the settings.<br />
<br />
Reboot your Synology. (Alternatively, to avoid a reboot, run the above user-defined script as root on the device to restart the Tailscale package.)<br />
<br />
Your TUN settings should now be persisted across reboots of your device.<br />
If the Synology firewall is enabled: adjust the firewall settings<br />
<br />
By enabling TUN, Tailscale traffic will be subject to Synology’s built-in firewall.<br />
<br />
The firewall is disabled by default. However, if you have it enabled, add an exception for the Tailscale subnet, 100.64.0.0/10. In Main menu > Control Panel > Security > Firewall, add a firewall rule in the default profile that allows traffic from the source IP subnet 100.64.0.0 with subnet mask 255.192.0.0.<br />
</pre><pre><br />
Do you also have 5001 forwarded since you require GUI access in order to validate the login ? <br />
[...]<br />
Thread on synoforum claims that is not possible e.g. the 5001 is hard coded:<br />
https://www.synoforum.com/threads/hyper-backup-task-remote-connection-issue-due-to-dsm-7-2-resolved.11633/<br />
<br />
Your choices appear to be use a VPN for the hyperbackup task or open port 5001 long enough to log in so the task can receive an authentication token. <br />
</pre></div>Redhttp://wiki.edgarbv.com/index.php?title=Windows&diff=37731Windows2024-03-18T19:08:08Z<p>Red: /* Other useful proggies */</p>
<hr />
<div>== Windows Programs ==<br />
<br />
[https://ninite.com Ninite installer fetches and installs quite a few common proggies]<br />
<br />
[[Scanning searchable PDFs]]<br />
<br />
scribus - DTP<br />
<br />
Gimp - bitmap manipulation<br />
<br />
inkscape - vector graphics editing<br />
<br />
Pencil - wireframes (for websites/UI)<br />
<br />
Photopad - collage making software<br />
<br />
PDFill - pdf editing<br />
<br />
CutePDF - PDF writing<br />
<br />
Freemind - Mind mapper<br />
<br />
VirtualBox - VMs<br />
<br />
Visio Technical / DrawIO desktop (FOSS)<br />
<br />
Cyberghost - VPN<br />
<br />
Winscp / putty / Teamviewer / TigerVNC / XMing / openvpn - remote access<br />
<br />
WinxYoutube Downloader / get_iplayer<br />
<br />
Etcher / Rufus / unetbootin - burn iso to sd /usb<br />
<br />
Handbrake - video encoder<br />
<br />
mp3split / <br />
<br />
screenbloom - hue<br />
<br />
Teamspeak / discord - gaming chat<br />
<br />
FreeFileSync<br />
<br />
Image Deduplicator Tomasz Kapusta<br />
<br />
[https://www.uwe-sieber.de/usbtreeview_e.html USB Tree View] - shows the status of your usb devices<br />
<br />
EventGhost - shows when events happen, eg if stuff is plugged in or out of your PC<br />
<br />
FXSound - easily set sound presets, better voice sound with movies<br />
<br />
Portmaster - view your network connections<br />
<br />
[https://winsize2.sourceforge.net/en/index.html WinSize2] - remembers window sizes and positions on multimonitor setups ([https://www.makeuseof.com/windows-winsize-2-guide/ Guide])<br />
<br />
[[Optical Character Recognition]]<br />
<br />
== firefox addons ==<br />
<br />
Absolute Enable Right Click& Copy<br />
<br />
bypass paywalls clean https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean<br />
<br />
clone window<br />
<br />
download helper<br />
<br />
Dark Reader<br />
<br />
Disconnect<br />
<br />
Duplicate Tab Shortcut<br />
<br />
(Facebook container)<br />
<br />
Facebook Pixel Hunt<br />
<br />
Firefox Relay<br />
<br />
Ghostery<br />
<br />
Google Page Translate<br />
<br />
Image Search options<br />
<br />
lastpass<br />
<br />
LocalCDN<br />
<br />
noscript<br />
<br />
overbiteWX<br />
<br />
Page load time<br />
<br />
Privacy Badger<br />
<br />
Super Agent - automatic cookie consent<br />
<br />
To Google Translate<br />
<br />
UBlock Origin<br />
<br />
Under New Management<br />
<br />
UI.Vision RPA<br />
<br />
https://addons.mozilla.org/en-US/firefox/addon/firefox-gold/<br />
<br />
== Other useful proggies ==<br />
<br />
utorrent<br />
<br />
3rvx<br />
<br />
anydvd<br />
<br />
avg<br />
<br />
Awesome Duplicate Photo Finder - see czkawka https://awesome-duplicate-photo-finder.en.softonic.com/<br />
<br />
curse client<br />
<br />
czkawka https://github.com/qarmin/czkawka/releases finds duplicate images - https://github.com/qarmin/czkawka/blob/master/instructions/Instruction.md - For a regex with path select eg: T:\Somewhere\0Iphone\Stuff123 -> /0Iphone/* or c:\users[username]\desktop https://github.com/qarmin/czkawka/discussions?page=1 <br />
<br />
deskscapes 3 (note: wallpaper engine is better)<br />
<br />
dupeguru - see czkwaka https://dupeguru.voltaicideas.net/ <br />
<br />
digikam - photo management<br />
<br />
eventghost - see windows events as they happen in a log (eg usb plugins and plugouts)<br />
<br />
fences<br />
<br />
foxit reader<br />
<br />
gimp<br />
<br />
google earth<br />
<br />
iconpackager<br />
<br />
java<br />
<br />
k-light codec pack<br />
<br />
lastpass<br />
<br />
libreoffice<br />
<br />
logitech g940 + g19<br />
<br />
logonstudio<br />
<br />
[https://github.com/mifi/lossless-cut?tab=readme-ov-file lossless cut] - ffmpeg wrapper to cut bits off videos without re-encoding<br />
<br />
firefox<br />
<br />
multimonitor tool nirsoft<br />
<br />
notepad ++<br />
<br />
nvidia drivers<br />
<br />
ppjoy<br />
<br />
putty<br />
<br />
recon hq<br />
<br />
rise of flight<br />
<br />
sabnzbd<br />
<br />
[https://www.shutterencoder.com/en/ shutter encoder] - perform edits on videos without re-encoding<br />
<br />
skype<br />
<br />
spacemonger<br />
<br />
spotnet<br />
<br />
spybot sd<br />
<br />
superantispyware<br />
<br />
teamspeak<br />
<br />
trackir<br />
<br />
undelete<br />
<br />
ventrilio<br />
<br />
virtualclonedrive<br />
<br />
vlc<br />
<br />
wallpaper engine<br />
<br />
winamp / wacup<br />
<br />
== Hardware testing ==<br />
<br />
CPU-Z CPUID HWMonitor<br />
<br />
Diskinfo64<br />
<br />
eventghost - see windows events as they happen in a log (eg usb plugins and plugouts) -> right click and add action (Eventghost - comment). Right click the comment and Add Event -> '''System.DeviceRemoved''' add another event '''System.DeviceAttached'''. You can then ''log only assigned and activated events'' bottom left checkbox to only see the USB connection and disconnection events.<br />
<br />
Furmark<br />
<br />
Samsung Magician (SDDs)<br />
<br />
USBDeview - shows all USB devices plugged in. Will be very very slow and seem like it crashes now and again<br />
<br />
[http://www.nirsoft.net/utils/usb_log_view.html USBLogview] - shows devices being plugged in and out<br />
<br />
[https://www.entechtaiwan.com/util/moninfo.shtm Moninfo / Monitor Asset Manager]<br />
<br />
== Laptop ==<br />
<br />
winredock - restores window locations to monitors when replugging the monitor https://github.com/manutalcual/winredock<br />
<br />
thinkpadLEDcontrol - https://github.com/valinet/ThinkPadLEDControl<br />
<br />
== Windows Algemeen ==<br />
<br />
[[Add Commands to Windows Explorer Context Menu]]<br />
<br />
[[Add programs to Startup when not in the startup menu]]<br />
<br />
[[Changing normal template in Word]]<br />
<br />
[[Disable update balloon]]<br />
<br />
[[disk X has been surprise removed]]<br />
<br />
[[Excel Formula bar editing]]<br />
<br />
[[Excel Merging cells]]<br />
<br />
[[Excel Shortcut keys]]<br />
<br />
[[Files to backup from C when reinstalling]]<br />
<br />
[[For loops]]<br />
<br />
[[IIS adding individual FTP accounts]]<br />
<br />
[[Log all shutdown errors]]<br />
<br />
[[Lotus Organizer mappings for export]]<br />
<br />
[[Office 2021]]<br />
<br />
[[Outlook 2007]]<br />
<br />
[[Outlook 2019]]<br />
<br />
[[Photoshop plugin for making ICO-files]]<br />
<br />
[[Printing from IE]]<br />
<br />
[[Putty]]<br />
<br />
[[Reinstalling IE and Outlook Express]]<br />
<br />
[[Remapping Keyboard Keys]]<br />
<br />
[[Samsung Monitor reflecties in beeld]]<br />
<br />
[[The Bat!]]<br />
<br />
[[User management in xp and vista]]<br />
<br />
[[Windows Hello PIN problems]]<br />
<br />
[[Windows Mobile Devices]]<br />
<br />
[[XTNDConnect PC]]<br />
<br />
== Windows Vista ==<br />
<br />
[[Schijven partitioneren in Vista (en de C-schijf kleiner krijgen dan 150/200 Gig)]]<br />
<br />
[[Sidebar Gadget Development]]<br />
<br />
[[SNMP Aanzetten]]<br />
<br />
[[GET YOUR OLD WINDOWS PROFILE BACK]]<br />
<br />
== Windows 7 ==<br />
<br />
[[Windows 7 client bij SAMBA domein aanmelden]]<br />
<br />
[[Windows 7 no domain logon servers can be found]]<br />
<br />
[[Save Icon Locations on Desktop]]<br />
<br />
[[Automatic Logon Into Windows 7]]<br />
<br />
[[Automatisch inloggen met Windows 7]]<br />
<br />
== Servers ==<br />
<br />
Servers need to be installed in the following order due to chained dependencies.<br />
<br />
[[DNS]]<br />
<br />
[[DHCP]]<br />
<br />
[[Active Directory]]<br />
<br />
[[Exchange]]<br />
<br />
[[Small Business Server 2003]]<br />
<br />
NB. In SBS2011 do not rename the MyBusiness OU!<br />
<br />
[[NTP]]<br />
<br />
==Media Players==<br />
[[IFloor]]<br />
<br />
[[Irfanview]]<br />
<br />
[[Ultramon]]<br />
<br />
[[Media Player Classic autoplay]]</div>Redhttp://wiki.edgarbv.com/index.php?title=Add_programs_to_Startup_when_not_in_the_startup_menu&diff=37730Add programs to Startup when not in the startup menu2024-03-17T06:02:14Z<p>Red: Created page with "1. Open the '''Start''' menu and look for the app you want to run automatically at startup. 2. Right-click the app and then select '''Open file location'''. ('''Note''': If there isn't an option for Open file location, it means the app cannot be set to run automatically at startup.) 3. Right-click the app to create a shortcut. 4. Press the '''Windows logo key + R''', then type '''shell:startup''', then select '''OK''' to open the '''Startup''' folder."</p>
<hr />
<div>1. Open the '''Start''' menu and look for the app you want to run automatically at startup.<br />
<br />
2. Right-click the app and then select '''Open file location'''. ('''Note''': If there isn't an option for Open file location, it means the app cannot be set to run automatically at startup.)<br />
<br />
3. Right-click the app to create a shortcut.<br />
<br />
4. Press the '''Windows logo key + R''', then type '''shell:startup''', then select '''OK''' to open the '''Startup''' folder.</div>Redhttp://wiki.edgarbv.com/index.php?title=Windows&diff=37729Windows2024-03-17T06:02:01Z<p>Red: /* Windows Algemeen */</p>
<hr />
<div>== Windows Programs ==<br />
<br />
[https://ninite.com Ninite installer fetches and installs quite a few common proggies]<br />
<br />
[[Scanning searchable PDFs]]<br />
<br />
scribus - DTP<br />
<br />
Gimp - bitmap manipulation<br />
<br />
inkscape - vector graphics editing<br />
<br />
Pencil - wireframes (for websites/UI)<br />
<br />
Photopad - collage making software<br />
<br />
PDFill - pdf editing<br />
<br />
CutePDF - PDF writing<br />
<br />
Freemind - Mind mapper<br />
<br />
VirtualBox - VMs<br />
<br />
Visio Technical / DrawIO desktop (FOSS)<br />
<br />
Cyberghost - VPN<br />
<br />
Winscp / putty / Teamviewer / TigerVNC / XMing / openvpn - remote access<br />
<br />
WinxYoutube Downloader / get_iplayer<br />
<br />
Etcher / Rufus / unetbootin - burn iso to sd /usb<br />
<br />
Handbrake - video encoder<br />
<br />
mp3split / <br />
<br />
screenbloom - hue<br />
<br />
Teamspeak / discord - gaming chat<br />
<br />
FreeFileSync<br />
<br />
Image Deduplicator Tomasz Kapusta<br />
<br />
[https://www.uwe-sieber.de/usbtreeview_e.html USB Tree View] - shows the status of your usb devices<br />
<br />
EventGhost - shows when events happen, eg if stuff is plugged in or out of your PC<br />
<br />
FXSound - easily set sound presets, better voice sound with movies<br />
<br />
Portmaster - view your network connections<br />
<br />
[https://winsize2.sourceforge.net/en/index.html WinSize2] - remembers window sizes and positions on multimonitor setups ([https://www.makeuseof.com/windows-winsize-2-guide/ Guide])<br />
<br />
[[Optical Character Recognition]]<br />
<br />
== firefox addons ==<br />
<br />
Absolute Enable Right Click& Copy<br />
<br />
bypass paywalls clean https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean<br />
<br />
clone window<br />
<br />
download helper<br />
<br />
Dark Reader<br />
<br />
Disconnect<br />
<br />
Duplicate Tab Shortcut<br />
<br />
(Facebook container)<br />
<br />
Facebook Pixel Hunt<br />
<br />
Firefox Relay<br />
<br />
Ghostery<br />
<br />
Google Page Translate<br />
<br />
Image Search options<br />
<br />
lastpass<br />
<br />
LocalCDN<br />
<br />
noscript<br />
<br />
overbiteWX<br />
<br />
Page load time<br />
<br />
Privacy Badger<br />
<br />
Super Agent - automatic cookie consent<br />
<br />
To Google Translate<br />
<br />
UBlock Origin<br />
<br />
Under New Management<br />
<br />
UI.Vision RPA<br />
<br />
https://addons.mozilla.org/en-US/firefox/addon/firefox-gold/<br />
<br />
== Other useful proggies ==<br />
<br />
utorrent<br />
<br />
3rvx<br />
<br />
anydvd<br />
<br />
avg<br />
<br />
Awesome Duplicate Photo Finder - see czkawka https://awesome-duplicate-photo-finder.en.softonic.com/<br />
<br />
curse client<br />
<br />
czkawka https://github.com/qarmin/czkawka/releases finds duplicate images - https://github.com/qarmin/czkawka/blob/master/instructions/Instruction.md - For a regex with path select eg: T:\Somewhere\0Iphone\Stuff123 -> /0Iphone/* or c:\users[username]\desktop https://github.com/qarmin/czkawka/discussions?page=1 <br />
<br />
deskscapes 3 (note: wallpaper engine is better)<br />
<br />
dupeguru - see czkwaka https://dupeguru.voltaicideas.net/ <br />
<br />
digikam - photo management<br />
<br />
eventghost - see windows events as they happen in a log (eg usb plugins and plugouts)<br />
<br />
fences<br />
<br />
foxit reader<br />
<br />
gimp<br />
<br />
google earth<br />
<br />
iconpackager<br />
<br />
java<br />
<br />
k-light codec pack<br />
<br />
lastpass<br />
<br />
libreoffice<br />
<br />
logitech g940 + g19<br />
<br />
logonstudio<br />
<br />
firefox<br />
<br />
multimonitor tool nirsoft<br />
<br />
notepad ++<br />
<br />
nvidia drivers<br />
<br />
ppjoy<br />
<br />
putty<br />
<br />
recon hq<br />
<br />
rise of flight<br />
<br />
sabnzbd<br />
<br />
skype<br />
<br />
spacemonger<br />
<br />
spotnet<br />
<br />
spybot sd<br />
<br />
superantispyware<br />
<br />
teamspeak<br />
<br />
trackir<br />
<br />
undelete<br />
<br />
ventrilio<br />
<br />
virtualclonedrive<br />
<br />
vlc<br />
<br />
wallpaper engine<br />
<br />
winamp / wacup<br />
<br />
== Hardware testing ==<br />
<br />
CPU-Z CPUID HWMonitor<br />
<br />
Diskinfo64<br />
<br />
eventghost - see windows events as they happen in a log (eg usb plugins and plugouts) -> right click and add action (Eventghost - comment). Right click the comment and Add Event -> '''System.DeviceRemoved''' add another event '''System.DeviceAttached'''. You can then ''log only assigned and activated events'' bottom left checkbox to only see the USB connection and disconnection events.<br />
<br />
Furmark<br />
<br />
Samsung Magician (SDDs)<br />
<br />
USBDeview - shows all USB devices plugged in. Will be very very slow and seem like it crashes now and again<br />
<br />
[http://www.nirsoft.net/utils/usb_log_view.html USBLogview] - shows devices being plugged in and out<br />
<br />
[https://www.entechtaiwan.com/util/moninfo.shtm Moninfo / Monitor Asset Manager]<br />
<br />
== Laptop ==<br />
<br />
winredock - restores window locations to monitors when replugging the monitor https://github.com/manutalcual/winredock<br />
<br />
thinkpadLEDcontrol - https://github.com/valinet/ThinkPadLEDControl<br />
<br />
== Windows Algemeen ==<br />
<br />
[[Add Commands to Windows Explorer Context Menu]]<br />
<br />
[[Add programs to Startup when not in the startup menu]]<br />
<br />
[[Changing normal template in Word]]<br />
<br />
[[Disable update balloon]]<br />
<br />
[[disk X has been surprise removed]]<br />
<br />
[[Excel Formula bar editing]]<br />
<br />
[[Excel Merging cells]]<br />
<br />
[[Excel Shortcut keys]]<br />
<br />
[[Files to backup from C when reinstalling]]<br />
<br />
[[For loops]]<br />
<br />
[[IIS adding individual FTP accounts]]<br />
<br />
[[Log all shutdown errors]]<br />
<br />
[[Lotus Organizer mappings for export]]<br />
<br />
[[Office 2021]]<br />
<br />
[[Outlook 2007]]<br />
<br />
[[Outlook 2019]]<br />
<br />
[[Photoshop plugin for making ICO-files]]<br />
<br />
[[Printing from IE]]<br />
<br />
[[Putty]]<br />
<br />
[[Reinstalling IE and Outlook Express]]<br />
<br />
[[Remapping Keyboard Keys]]<br />
<br />
[[Samsung Monitor reflecties in beeld]]<br />
<br />
[[The Bat!]]<br />
<br />
[[User management in xp and vista]]<br />
<br />
[[Windows Hello PIN problems]]<br />
<br />
[[Windows Mobile Devices]]<br />
<br />
[[XTNDConnect PC]]<br />
<br />
== Windows Vista ==<br />
<br />
[[Schijven partitioneren in Vista (en de C-schijf kleiner krijgen dan 150/200 Gig)]]<br />
<br />
[[Sidebar Gadget Development]]<br />
<br />
[[SNMP Aanzetten]]<br />
<br />
[[GET YOUR OLD WINDOWS PROFILE BACK]]<br />
<br />
== Windows 7 ==<br />
<br />
[[Windows 7 client bij SAMBA domein aanmelden]]<br />
<br />
[[Windows 7 no domain logon servers can be found]]<br />
<br />
[[Save Icon Locations on Desktop]]<br />
<br />
[[Automatic Logon Into Windows 7]]<br />
<br />
[[Automatisch inloggen met Windows 7]]<br />
<br />
== Servers ==<br />
<br />
Servers need to be installed in the following order due to chained dependencies.<br />
<br />
[[DNS]]<br />
<br />
[[DHCP]]<br />
<br />
[[Active Directory]]<br />
<br />
[[Exchange]]<br />
<br />
[[Small Business Server 2003]]<br />
<br />
NB. In SBS2011 do not rename the MyBusiness OU!<br />
<br />
[[NTP]]<br />
<br />
==Media Players==<br />
[[IFloor]]<br />
<br />
[[Irfanview]]<br />
<br />
[[Ultramon]]<br />
<br />
[[Media Player Classic autoplay]]</div>Redhttp://wiki.edgarbv.com/index.php?title=Windows&diff=37728Windows2024-03-17T06:01:42Z<p>Red: /* Windows Algemeen */</p>
<hr />
<div>== Windows Programs ==<br />
<br />
[https://ninite.com Ninite installer fetches and installs quite a few common proggies]<br />
<br />
[[Scanning searchable PDFs]]<br />
<br />
scribus - DTP<br />
<br />
Gimp - bitmap manipulation<br />
<br />
inkscape - vector graphics editing<br />
<br />
Pencil - wireframes (for websites/UI)<br />
<br />
Photopad - collage making software<br />
<br />
PDFill - pdf editing<br />
<br />
CutePDF - PDF writing<br />
<br />
Freemind - Mind mapper<br />
<br />
VirtualBox - VMs<br />
<br />
Visio Technical / DrawIO desktop (FOSS)<br />
<br />
Cyberghost - VPN<br />
<br />
Winscp / putty / Teamviewer / TigerVNC / XMing / openvpn - remote access<br />
<br />
WinxYoutube Downloader / get_iplayer<br />
<br />
Etcher / Rufus / unetbootin - burn iso to sd /usb<br />
<br />
Handbrake - video encoder<br />
<br />
mp3split / <br />
<br />
screenbloom - hue<br />
<br />
Teamspeak / discord - gaming chat<br />
<br />
FreeFileSync<br />
<br />
Image Deduplicator Tomasz Kapusta<br />
<br />
[https://www.uwe-sieber.de/usbtreeview_e.html USB Tree View] - shows the status of your usb devices<br />
<br />
EventGhost - shows when events happen, eg if stuff is plugged in or out of your PC<br />
<br />
FXSound - easily set sound presets, better voice sound with movies<br />
<br />
Portmaster - view your network connections<br />
<br />
[https://winsize2.sourceforge.net/en/index.html WinSize2] - remembers window sizes and positions on multimonitor setups ([https://www.makeuseof.com/windows-winsize-2-guide/ Guide])<br />
<br />
[[Optical Character Recognition]]<br />
<br />
== firefox addons ==<br />
<br />
Absolute Enable Right Click& Copy<br />
<br />
bypass paywalls clean https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean<br />
<br />
clone window<br />
<br />
download helper<br />
<br />
Dark Reader<br />
<br />
Disconnect<br />
<br />
Duplicate Tab Shortcut<br />
<br />
(Facebook container)<br />
<br />
Facebook Pixel Hunt<br />
<br />
Firefox Relay<br />
<br />
Ghostery<br />
<br />
Google Page Translate<br />
<br />
Image Search options<br />
<br />
lastpass<br />
<br />
LocalCDN<br />
<br />
noscript<br />
<br />
overbiteWX<br />
<br />
Page load time<br />
<br />
Privacy Badger<br />
<br />
Super Agent - automatic cookie consent<br />
<br />
To Google Translate<br />
<br />
UBlock Origin<br />
<br />
Under New Management<br />
<br />
UI.Vision RPA<br />
<br />
https://addons.mozilla.org/en-US/firefox/addon/firefox-gold/<br />
<br />
== Other useful proggies ==<br />
<br />
utorrent<br />
<br />
3rvx<br />
<br />
anydvd<br />
<br />
avg<br />
<br />
Awesome Duplicate Photo Finder - see czkawka https://awesome-duplicate-photo-finder.en.softonic.com/<br />
<br />
curse client<br />
<br />
czkawka https://github.com/qarmin/czkawka/releases finds duplicate images - https://github.com/qarmin/czkawka/blob/master/instructions/Instruction.md - For a regex with path select eg: T:\Somewhere\0Iphone\Stuff123 -> /0Iphone/* or c:\users[username]\desktop https://github.com/qarmin/czkawka/discussions?page=1 <br />
<br />
deskscapes 3 (note: wallpaper engine is better)<br />
<br />
dupeguru - see czkwaka https://dupeguru.voltaicideas.net/ <br />
<br />
digikam - photo management<br />
<br />
eventghost - see windows events as they happen in a log (eg usb plugins and plugouts)<br />
<br />
fences<br />
<br />
foxit reader<br />
<br />
gimp<br />
<br />
google earth<br />
<br />
iconpackager<br />
<br />
java<br />
<br />
k-light codec pack<br />
<br />
lastpass<br />
<br />
libreoffice<br />
<br />
logitech g940 + g19<br />
<br />
logonstudio<br />
<br />
firefox<br />
<br />
multimonitor tool nirsoft<br />
<br />
notepad ++<br />
<br />
nvidia drivers<br />
<br />
ppjoy<br />
<br />
putty<br />
<br />
recon hq<br />
<br />
rise of flight<br />
<br />
sabnzbd<br />
<br />
skype<br />
<br />
spacemonger<br />
<br />
spotnet<br />
<br />
spybot sd<br />
<br />
superantispyware<br />
<br />
teamspeak<br />
<br />
trackir<br />
<br />
undelete<br />
<br />
ventrilio<br />
<br />
virtualclonedrive<br />
<br />
vlc<br />
<br />
wallpaper engine<br />
<br />
winamp / wacup<br />
<br />
== Hardware testing ==<br />
<br />
CPU-Z CPUID HWMonitor<br />
<br />
Diskinfo64<br />
<br />
eventghost - see windows events as they happen in a log (eg usb plugins and plugouts) -> right click and add action (Eventghost - comment). Right click the comment and Add Event -> '''System.DeviceRemoved''' add another event '''System.DeviceAttached'''. You can then ''log only assigned and activated events'' bottom left checkbox to only see the USB connection and disconnection events.<br />
<br />
Furmark<br />
<br />
Samsung Magician (SDDs)<br />
<br />
USBDeview - shows all USB devices plugged in. Will be very very slow and seem like it crashes now and again<br />
<br />
[http://www.nirsoft.net/utils/usb_log_view.html USBLogview] - shows devices being plugged in and out<br />
<br />
[https://www.entechtaiwan.com/util/moninfo.shtm Moninfo / Monitor Asset Manager]<br />
<br />
== Laptop ==<br />
<br />
winredock - restores window locations to monitors when replugging the monitor https://github.com/manutalcual/winredock<br />
<br />
thinkpadLEDcontrol - https://github.com/valinet/ThinkPadLEDControl<br />
<br />
== Windows Algemeen ==<br />
<br />
[[Add Commands to Windows Explorer Context Menu]]<br />
<br />
Add programs to Startup when not in the startup menu<br />
<br />
[[Changing normal template in Word]]<br />
<br />
[[Disable update balloon]]<br />
<br />
[[disk X has been surprise removed]]<br />
<br />
[[Excel Formula bar editing]]<br />
<br />
[[Excel Merging cells]]<br />
<br />
[[Excel Shortcut keys]]<br />
<br />
[[Files to backup from C when reinstalling]]<br />
<br />
[[For loops]]<br />
<br />
[[IIS adding individual FTP accounts]]<br />
<br />
[[Log all shutdown errors]]<br />
<br />
[[Lotus Organizer mappings for export]]<br />
<br />
[[Office 2021]]<br />
<br />
[[Outlook 2007]]<br />
<br />
[[Outlook 2019]]<br />
<br />
[[Photoshop plugin for making ICO-files]]<br />
<br />
[[Printing from IE]]<br />
<br />
[[Putty]]<br />
<br />
[[Reinstalling IE and Outlook Express]]<br />
<br />
[[Remapping Keyboard Keys]]<br />
<br />
[[Samsung Monitor reflecties in beeld]]<br />
<br />
[[The Bat!]]<br />
<br />
[[User management in xp and vista]]<br />
<br />
[[Windows Hello PIN problems]]<br />
<br />
[[Windows Mobile Devices]]<br />
<br />
[[XTNDConnect PC]]<br />
<br />
== Windows Vista ==<br />
<br />
[[Schijven partitioneren in Vista (en de C-schijf kleiner krijgen dan 150/200 Gig)]]<br />
<br />
[[Sidebar Gadget Development]]<br />
<br />
[[SNMP Aanzetten]]<br />
<br />
[[GET YOUR OLD WINDOWS PROFILE BACK]]<br />
<br />
== Windows 7 ==<br />
<br />
[[Windows 7 client bij SAMBA domein aanmelden]]<br />
<br />
[[Windows 7 no domain logon servers can be found]]<br />
<br />
[[Save Icon Locations on Desktop]]<br />
<br />
[[Automatic Logon Into Windows 7]]<br />
<br />
[[Automatisch inloggen met Windows 7]]<br />
<br />
== Servers ==<br />
<br />
Servers need to be installed in the following order due to chained dependencies.<br />
<br />
[[DNS]]<br />
<br />
[[DHCP]]<br />
<br />
[[Active Directory]]<br />
<br />
[[Exchange]]<br />
<br />
[[Small Business Server 2003]]<br />
<br />
NB. In SBS2011 do not rename the MyBusiness OU!<br />
<br />
[[NTP]]<br />
<br />
==Media Players==<br />
[[IFloor]]<br />
<br />
[[Irfanview]]<br />
<br />
[[Ultramon]]<br />
<br />
[[Media Player Classic autoplay]]</div>Redhttp://wiki.edgarbv.com/index.php?title=VKB_Sim&diff=37727VKB Sim2024-03-17T05:55:08Z<p>Red: /* Vendor Name not showing up in Windows */</p>
<hr />
<div>http://forum.vkb-sim.pro/index.php Official forum<br />
<br />
==Videos==<br />
[https://www.youtube.com/watch?v=8atpTEC-QYU How to install OTA on the Gladiator NXT/EVO]<br />
<br />
[https://www.youtube.com/watch?v=Tv5WDTU1fvA&t=172s Software tutorials - Exploiting the ministick]<br />
==Calibration==<br />
Go to Tools in the top, then on the bottom to Test and in the middle to Axes. Click start calibration, move all the axes fully, maybe click on pov hats and then move them all the way as well. After having done this, end calibration.<br />
<br />
== Setting up responsiveness curves / s-curve and deadzone ==<br />
http://forum.vkb-sim.pro/viewtopic.php?t=4377<br />
<br />
If you want to have custom curves first thing is to identify the name of the axis you want to apply the curve to; could do this in the tester, let's say you want to apply same curve on pitch and roll, they're recognized as X and Y axes. Then go to Profile/Axes/ Logical Axes and find the number of those axes; for this example they are number 1 and 2. Now in Physical Axes panel check the Eq box for axes 1 and 2 - this means the curve will get applied on these axes. If you want to modify the deadzone you could do it in the Logical Axes panel, under DzLo; if the 2D option is active the deadzone will get applied for both axes.<br />
<br />
;<br />
<br />
[[File:Find axis names.jpg.jpg|none|thumb]]<br />
Now go to Response Curve panel and click on the large white box when the first row is marked. In the new window draw your preferred curve, but be advised that what you see is just half of the curve with the lower deadzone in the lower left corner (the invisible lower half is mirrored). When done click OK so the window will close. Do the same after you select the second row<br />
<br />
; [[File:Response curve.jpg|none|thumb]]When done press the Set button in the Action tab. <br />
''This way the curves will get permanently applied to your joystick.''<br />
Setting up the curves in the configurator is more precise than setting them up in game.<br />
There's also another option to get the curves on. Let's say you want the standard, unmodified curve for general flight and another curve for dogfighting. In this case you'll have to leave the Eq boxes empty (unmarked), fill up the curves as explained above and set up a button that will activate the modified curves:select the Poll option on the left side, press the button you want to be the curve modifier and click on the blinking button on the chart. Set up that button as Curves. Make it Alternate if you want the curves to stay active after releasing the button; you could revert to original curves by pressing the button again. You could leave the Alternate action box empty if you want the curves to stay active only as long as the button is pressed. Check the axes numbers below for the axes you want to apply the curves to (in this case 1 and 2). As usual, press Set button at the end.<br />
''This way the curves are only temporary applied to your joystick.''<br />
[[File:Different curves.jpg|none|thumb]]<br />
<br />
<br />
From https://www.reddit.com/r/hotas/comments/rm8c7z/some_help_with_vkb_curves_please/<br />
<br />
Suggest values something like this for - classic S curve: <br />
<br />
*10% - 60<br />
* 20 - 80<br />
*30 - 95<br />
*40 - 110<br />
* 50 - 128<br />
* 60 - 135<br />
*70 - 150<br />
* 80 - 165<br />
*90 - 145<br />
*100 - 128<br />
<br />
Gives finer control for 1st 50% of deflection, then high response (when you need to turn/thrust fast) in 2nd 50%, tapering off to normal response at max deflection.<br />
<br />
Numbers themselves can be adjusted - if you want super fine control in the 10-30% zone put lower numbers.<br />
<br />
Basically all values of 128 would be a flat response curve where moving 10% deflection gets 10% turn response etc.<br />
<br />
Anything under is under-response (finer control) and anything over is quick-response at that level of deflection.<br />
<br />
<youtube>rSi11U5J6tg&t</youtube><br />
<br />
https://www.youtube.com/watch?v=rSi11U5J6tg&t=3s<br />
<br />
===My Curve ===<br />
[[File:Curve 2023-10-12 072005.png|none|thumb|610x610px]] <br />
<br />
<br />
;<br />
<br />
==Sticks==<br />
[[VKB Sim Gunfighter MK III Modern Combat Grip Pro]]<br />
<br />
<br />
[[VKB Sim Gladiator NXT EVO OTA]]<br />
==Hardware==<br />
Thingiverse 3D hat / castle collection: [https://www.thingiverse.com/thing:3452944 Hotas & FlightSim POV/Hat Switches - 2 ways, 3 ways, 4 ways! Tons of variations of switch tops! (INCLUDES SOURCE SKETCHUP FILES)]<br />
<br />
==How to create template files==<br />
Download pictures from vkbcontrollers.com<br />
<br />
Use the following guide to convert the pictures to black and white pencil drawings in GIMP: [https://www.bettertechtips.com/gimp-tutorials/convert-image-pencil-drawing-gimp/ How to Convert an Image to Pencil Drawing in GIMP]<br />
<br />
Import the pictures into one of the SVG files in Inkscape. Rearrange and copy / paste the boxes (the NXT EVO guide is easiest to edit, it has groups)<br />
<br />
Export as a PDF in Inkscape<br />
<br />
Open the PDF Adobe Acrobat. Go to Tools -> Forms -> Create. Import from the open PDF. Once they are there you will need to make slight corrections. You can copy / paste fields, resize and rename them. Double click for properties. Certain properties you can edit if you select all the fields. Make sure the fields are multiline.<br />
<br />
== USB Settings ==<br />
For some reason the sticks don't show the vendor name in device manager, but they do in Devices and Printers, which is annoying. However the VendorID is 231d<br />
<br />
<br />
''using VKB software VKBDevCfg can I see and therefore change the current VID and PID setting?"'' - No<br />
<br />
I ended up using third party software USBDeview to view all installed connected USB devices on my system <nowiki>http://www.nirsoft.net/utils/usb_devices_view.html</nowiki>. Its very detailed and easy to sort.<br />
<br />
Using this USBDeview I was able to sort my devices by the column for the VID. Then looking at VID (the Vendor Identification Number 231d is VKB's number) and deleted old entries that had different old disconnected PID's to the current active connection recognized by DCS.<br />
<br />
== Vendor Name not showing up in Windows ==<br />
Because the OEM name of Joystick's is "Blank",so the control files been generated by DCS like this above.First character is "Blank",cause Windows bug,I can't rename the files.<br />
<br />
In system "Regedit",the VKB joystick's OEM full name is " VKBsim Gunfighter MCG Ultimate ",or this "(blank) VKBsim Gunfighter MCG Ultimate(blank)".This is the reason why DCS will generate the wrong control files.The solution is to manually modify the OEM name, delete the first blank and the last blank in the regedit.I hope VKB can fix this in firmware.I dont know why they add 2 blanks in the name?How dare u?I also posted a topic in VKB forum,but no one reply,hope they can pay attention to this bug.<br />
<br />
from: [https://forum.dcs.world/topic/302905-firmware-bugthe-oem-names-first-character-of-vkb-joystick-is-blank/ <nowiki>[Firmware Bug]The OEM Name‘s First Character of VKB Joystick is "Blank"</nowiki>]<br />
<br />
Regedit paths: Computer\HKEY_CURRENT_USER\System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_231D&PID_0125 <br />
<br />
Computer\HKEY_LOCAL_MACHINE\SYSTEM\Setup\Upgrade\PnP\CurrentControlSet\Control\DeviceMigration\Devices\USB\ <br />
<br />
search for VKBsim<br />
<br />
== Elite Dangerous Keybindings no longer working after firmware update ==<br />
The binding files can be found in C:\Users\<username>\AppData\Local\Frontier Developments\Elite Dangerous\Options\Bindings<br />
<br />
It's always a good idea to copy the custom bindings files to another name and edit those. In my case, VKBRobin.<br />
<br />
In BindingLoadingErrors.log you can see which device is not recognised / found.<br />
<br />
The device is something like "231D3201" - 231D is the USB VendorID for VKB Sim products. 3201 is the device ID. You can find the device ID in Show_HID.exe, where it will be shown in the form "231D/2301".<br />
<br />
In VKBRobin.4.0.binds AND VKBRobin.binds you can then search for both devices, to find out which ID has changed and then find and replace the uncrecognised device ID with the new one after the update</div>Redhttp://wiki.edgarbv.com/index.php?title=VKB_Sim&diff=37726VKB Sim2024-03-17T05:50:22Z<p>Red: </p>
<hr />
<div>http://forum.vkb-sim.pro/index.php Official forum<br />
<br />
==Videos==<br />
[https://www.youtube.com/watch?v=8atpTEC-QYU How to install OTA on the Gladiator NXT/EVO]<br />
<br />
[https://www.youtube.com/watch?v=Tv5WDTU1fvA&t=172s Software tutorials - Exploiting the ministick]<br />
==Calibration==<br />
Go to Tools in the top, then on the bottom to Test and in the middle to Axes. Click start calibration, move all the axes fully, maybe click on pov hats and then move them all the way as well. After having done this, end calibration.<br />
<br />
== Setting up responsiveness curves / s-curve and deadzone ==<br />
http://forum.vkb-sim.pro/viewtopic.php?t=4377<br />
<br />
If you want to have custom curves first thing is to identify the name of the axis you want to apply the curve to; could do this in the tester, let's say you want to apply same curve on pitch and roll, they're recognized as X and Y axes. Then go to Profile/Axes/ Logical Axes and find the number of those axes; for this example they are number 1 and 2. Now in Physical Axes panel check the Eq box for axes 1 and 2 - this means the curve will get applied on these axes. If you want to modify the deadzone you could do it in the Logical Axes panel, under DzLo; if the 2D option is active the deadzone will get applied for both axes.<br />
<br />
;<br />
<br />
[[File:Find axis names.jpg.jpg|none|thumb]]<br />
Now go to Response Curve panel and click on the large white box when the first row is marked. In the new window draw your preferred curve, but be advised that what you see is just half of the curve with the lower deadzone in the lower left corner (the invisible lower half is mirrored). When done click OK so the window will close. Do the same after you select the second row<br />
<br />
; [[File:Response curve.jpg|none|thumb]]When done press the Set button in the Action tab. <br />
''This way the curves will get permanently applied to your joystick.''<br />
Setting up the curves in the configurator is more precise than setting them up in game.<br />
There's also another option to get the curves on. Let's say you want the standard, unmodified curve for general flight and another curve for dogfighting. In this case you'll have to leave the Eq boxes empty (unmarked), fill up the curves as explained above and set up a button that will activate the modified curves:select the Poll option on the left side, press the button you want to be the curve modifier and click on the blinking button on the chart. Set up that button as Curves. Make it Alternate if you want the curves to stay active after releasing the button; you could revert to original curves by pressing the button again. You could leave the Alternate action box empty if you want the curves to stay active only as long as the button is pressed. Check the axes numbers below for the axes you want to apply the curves to (in this case 1 and 2). As usual, press Set button at the end.<br />
''This way the curves are only temporary applied to your joystick.''<br />
[[File:Different curves.jpg|none|thumb]]<br />
<br />
<br />
From https://www.reddit.com/r/hotas/comments/rm8c7z/some_help_with_vkb_curves_please/<br />
<br />
Suggest values something like this for - classic S curve: <br />
<br />
*10% - 60<br />
* 20 - 80<br />
*30 - 95<br />
*40 - 110<br />
* 50 - 128<br />
* 60 - 135<br />
*70 - 150<br />
* 80 - 165<br />
*90 - 145<br />
*100 - 128<br />
<br />
Gives finer control for 1st 50% of deflection, then high response (when you need to turn/thrust fast) in 2nd 50%, tapering off to normal response at max deflection.<br />
<br />
Numbers themselves can be adjusted - if you want super fine control in the 10-30% zone put lower numbers.<br />
<br />
Basically all values of 128 would be a flat response curve where moving 10% deflection gets 10% turn response etc.<br />
<br />
Anything under is under-response (finer control) and anything over is quick-response at that level of deflection.<br />
<br />
<youtube>rSi11U5J6tg&t</youtube><br />
<br />
https://www.youtube.com/watch?v=rSi11U5J6tg&t=3s<br />
<br />
===My Curve ===<br />
[[File:Curve 2023-10-12 072005.png|none|thumb|610x610px]] <br />
<br />
<br />
;<br />
<br />
==Sticks==<br />
[[VKB Sim Gunfighter MK III Modern Combat Grip Pro]]<br />
<br />
<br />
[[VKB Sim Gladiator NXT EVO OTA]]<br />
==Hardware==<br />
Thingiverse 3D hat / castle collection: [https://www.thingiverse.com/thing:3452944 Hotas & FlightSim POV/Hat Switches - 2 ways, 3 ways, 4 ways! Tons of variations of switch tops! (INCLUDES SOURCE SKETCHUP FILES)]<br />
<br />
==How to create template files==<br />
Download pictures from vkbcontrollers.com<br />
<br />
Use the following guide to convert the pictures to black and white pencil drawings in GIMP: [https://www.bettertechtips.com/gimp-tutorials/convert-image-pencil-drawing-gimp/ How to Convert an Image to Pencil Drawing in GIMP]<br />
<br />
Import the pictures into one of the SVG files in Inkscape. Rearrange and copy / paste the boxes (the NXT EVO guide is easiest to edit, it has groups)<br />
<br />
Export as a PDF in Inkscape<br />
<br />
Open the PDF Adobe Acrobat. Go to Tools -> Forms -> Create. Import from the open PDF. Once they are there you will need to make slight corrections. You can copy / paste fields, resize and rename them. Double click for properties. Certain properties you can edit if you select all the fields. Make sure the fields are multiline.<br />
<br />
== USB Settings ==<br />
For some reason the sticks don't show the vendor name in device manager, but they do in Devices and Printers, which is annoying. However the VendorID is 231d<br />
<br />
<br />
''using VKB software VKBDevCfg can I see and therefore change the current VID and PID setting?"'' - No<br />
<br />
I ended up using third party software USBDeview to view all installed connected USB devices on my system <nowiki>http://www.nirsoft.net/utils/usb_devices_view.html</nowiki>. Its very detailed and easy to sort.<br />
<br />
Using this USBDeview I was able to sort my devices by the column for the VID. Then looking at VID (the Vendor Identification Number 231d is VKB's number) and deleted old entries that had different old disconnected PID's to the current active connection recognized by DCS.<br />
<br />
== Vendor Name not showing up in Windows ==<br />
Because the OEM name of Joystick's is "Blank",so the control files been generated by DCS like this above.First character is "Blank",cause Windows bug,I can't rename the files.<br />
<br />
In system "Regedit",the VKB joystick's OEM full name is " VKBsim Gunfighter MCG Ultimate ",or this "(blank) VKBsim Gunfighter MCG Ultimate(blank)".This is the reason why DCS will generate the wrong control files.The solution is to manually modify the OEM name, delete the first blank and the last blank in the regedit.I hope VKB can fix this in firmware.I dont know why they add 2 blanks in the name?How dare u?I also posted a topic in VKB forum,but no one reply,hope they can pay attention to this bug.<br />
<br />
from: [https://forum.dcs.world/topic/302905-firmware-bugthe-oem-names-first-character-of-vkb-joystick-is-blank/ <nowiki>[Firmware Bug]The OEM Name‘s First Character of VKB Joystick is "Blank"</nowiki>]<br />
<br />
Regedit path: Computer\HKEY_CURRENT_USER\System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_231D&PID_0125 <br />
<br />
or search for VKBsim<br />
<br />
== Elite Dangerous Keybindings no longer working after firmware update ==<br />
The binding files can be found in C:\Users\<username>\AppData\Local\Frontier Developments\Elite Dangerous\Options\Bindings<br />
<br />
It's always a good idea to copy the custom bindings files to another name and edit those. In my case, VKBRobin.<br />
<br />
In BindingLoadingErrors.log you can see which device is not recognised / found.<br />
<br />
The device is something like "231D3201" - 231D is the USB VendorID for VKB Sim products. 3201 is the device ID. You can find the device ID in Show_HID.exe, where it will be shown in the form "231D/2301".<br />
<br />
In VKBRobin.4.0.binds AND VKBRobin.binds you can then search for both devices, to find out which ID has changed and then find and replace the uncrecognised device ID with the new one after the update</div>Redhttp://wiki.edgarbv.com/index.php?title=VKB_Sim&diff=37725VKB Sim2024-03-17T05:38:20Z<p>Red: </p>
<hr />
<div>http://forum.vkb-sim.pro/index.php Official forum<br />
<br />
==Videos==<br />
[https://www.youtube.com/watch?v=8atpTEC-QYU How to install OTA on the Gladiator NXT/EVO]<br />
<br />
[https://www.youtube.com/watch?v=Tv5WDTU1fvA&t=172s Software tutorials - Exploiting the ministick]<br />
==Calibration==<br />
Go to Tools in the top, then on the bottom to Test and in the middle to Axes. Click start calibration, move all the axes fully, maybe click on pov hats and then move them all the way as well. After having done this, end calibration.<br />
<br />
== Setting up responsiveness curves / s-curve and deadzone ==<br />
http://forum.vkb-sim.pro/viewtopic.php?t=4377<br />
<br />
If you want to have custom curves first thing is to identify the name of the axis you want to apply the curve to; could do this in the tester, let's say you want to apply same curve on pitch and roll, they're recognized as X and Y axes. Then go to Profile/Axes/ Logical Axes and find the number of those axes; for this example they are number 1 and 2. Now in Physical Axes panel check the Eq box for axes 1 and 2 - this means the curve will get applied on these axes. If you want to modify the deadzone you could do it in the Logical Axes panel, under DzLo; if the 2D option is active the deadzone will get applied for both axes.<br />
<br />
;<br />
<br />
[[File:Find axis names.jpg.jpg|none|thumb]]<br />
Now go to Response Curve panel and click on the large white box when the first row is marked. In the new window draw your preferred curve, but be advised that what you see is just half of the curve with the lower deadzone in the lower left corner (the invisible lower half is mirrored). When done click OK so the window will close. Do the same after you select the second row<br />
<br />
; [[File:Response curve.jpg|none|thumb]]When done press the Set button in the Action tab. <br />
''This way the curves will get permanently applied to your joystick.''<br />
Setting up the curves in the configurator is more precise than setting them up in game.<br />
There's also another option to get the curves on. Let's say you want the standard, unmodified curve for general flight and another curve for dogfighting. In this case you'll have to leave the Eq boxes empty (unmarked), fill up the curves as explained above and set up a button that will activate the modified curves:select the Poll option on the left side, press the button you want to be the curve modifier and click on the blinking button on the chart. Set up that button as Curves. Make it Alternate if you want the curves to stay active after releasing the button; you could revert to original curves by pressing the button again. You could leave the Alternate action box empty if you want the curves to stay active only as long as the button is pressed. Check the axes numbers below for the axes you want to apply the curves to (in this case 1 and 2). As usual, press Set button at the end.<br />
''This way the curves are only temporary applied to your joystick.''<br />
[[File:Different curves.jpg|none|thumb]]<br />
<br />
<br />
From https://www.reddit.com/r/hotas/comments/rm8c7z/some_help_with_vkb_curves_please/<br />
<br />
Suggest values something like this for - classic S curve: <br />
<br />
*10% - 60<br />
* 20 - 80<br />
*30 - 95<br />
*40 - 110<br />
* 50 - 128<br />
* 60 - 135<br />
*70 - 150<br />
* 80 - 165<br />
*90 - 145<br />
*100 - 128<br />
<br />
Gives finer control for 1st 50% of deflection, then high response (when you need to turn/thrust fast) in 2nd 50%, tapering off to normal response at max deflection.<br />
<br />
Numbers themselves can be adjusted - if you want super fine control in the 10-30% zone put lower numbers.<br />
<br />
Basically all values of 128 would be a flat response curve where moving 10% deflection gets 10% turn response etc.<br />
<br />
Anything under is under-response (finer control) and anything over is quick-response at that level of deflection.<br />
<br />
<youtube>rSi11U5J6tg&t</youtube><br />
<br />
https://www.youtube.com/watch?v=rSi11U5J6tg&t=3s<br />
<br />
===My Curve ===<br />
[[File:Curve 2023-10-12 072005.png|none|thumb|610x610px]] <br />
<br />
<br />
;<br />
<br />
==Sticks==<br />
[[VKB Sim Gunfighter MK III Modern Combat Grip Pro]]<br />
<br />
<br />
[[VKB Sim Gladiator NXT EVO OTA]]<br />
==Hardware==<br />
Thingiverse 3D hat / castle collection: [https://www.thingiverse.com/thing:3452944 Hotas & FlightSim POV/Hat Switches - 2 ways, 3 ways, 4 ways! Tons of variations of switch tops! (INCLUDES SOURCE SKETCHUP FILES)]<br />
<br />
==How to create template files==<br />
Download pictures from vkbcontrollers.com<br />
<br />
Use the following guide to convert the pictures to black and white pencil drawings in GIMP: [https://www.bettertechtips.com/gimp-tutorials/convert-image-pencil-drawing-gimp/ How to Convert an Image to Pencil Drawing in GIMP]<br />
<br />
Import the pictures into one of the SVG files in Inkscape. Rearrange and copy / paste the boxes (the NXT EVO guide is easiest to edit, it has groups)<br />
<br />
Export as a PDF in Inkscape<br />
<br />
Open the PDF Adobe Acrobat. Go to Tools -> Forms -> Create. Import from the open PDF. Once they are there you will need to make slight corrections. You can copy / paste fields, resize and rename them. Double click for properties. Certain properties you can edit if you select all the fields. Make sure the fields are multiline.<br />
<br />
== USB Settings ==<br />
For some reason the sticks don't show the vendor name in device manager, but they do in Devices and Printers, which is annoying. However the VendorID is 231d<br />
<br />
<br />
''using VKB software VKBDevCfg can I see and therefore change the current VID and PID setting?"'' - No<br />
<br />
I ended up using third party software USBDeview to view all installed connected USB devices on my system <nowiki>http://www.nirsoft.net/utils/usb_devices_view.html</nowiki>. Its very detailed and easy to sort.<br />
<br />
Using this USBDeview I was able to sort my devices by the column for the VID. Then looking at VID (the Vendor Identification Number 231d is VKB's number) and deleted old entries that had different old disconnected PID's to the current active connection recognized by DCS.<br />
<br />
== Vendor Name not showing up in Windows ==<br />
Because the OEM name of Joystick's is "Blank",so the control files been generated by DCS like this above.First character is "Blank",cause Windows bug,I can't rename the files.<br />
<br />
In system "Regedit",the VKB joystick's OEM full name is " VKBsim Gunfighter MCG Ultimate ",or this "(blank) VKBsim Gunfighter MCG Ultimate(blank)".This is the reason why DCS will generate the wrong control files.The solution is to manually modify the OEM name, delete the first blank and the last blank in the regedit.I hope VKB can fix this in firmware.I dont know why they add 2 blanks in the name?How dare u?I also posted a topic in VKB forum,but no one reply,hope they can pay attention to this bug.<br />
<br />
from: [https://forum.dcs.world/topic/302905-firmware-bugthe-oem-names-first-character-of-vkb-joystick-is-blank/ <nowiki>[Firmware Bug]The OEM Name‘s First Character of VKB Joystick is "Blank"</nowiki>]<br />
<br />
Regedit path: Computer\HKEY_CURRENT_USER\System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM\VID_231D&PID_0125 <br />
<br />
or search for VKBsim</div>Redhttp://wiki.edgarbv.com/index.php?title=Windows&diff=37724Windows2024-03-16T09:15:08Z<p>Red: /* firefox addons */</p>
<hr />
<div>== Windows Programs ==<br />
<br />
[https://ninite.com Ninite installer fetches and installs quite a few common proggies]<br />
<br />
[[Scanning searchable PDFs]]<br />
<br />
scribus - DTP<br />
<br />
Gimp - bitmap manipulation<br />
<br />
inkscape - vector graphics editing<br />
<br />
Pencil - wireframes (for websites/UI)<br />
<br />
Photopad - collage making software<br />
<br />
PDFill - pdf editing<br />
<br />
CutePDF - PDF writing<br />
<br />
Freemind - Mind mapper<br />
<br />
VirtualBox - VMs<br />
<br />
Visio Technical / DrawIO desktop (FOSS)<br />
<br />
Cyberghost - VPN<br />
<br />
Winscp / putty / Teamviewer / TigerVNC / XMing / openvpn - remote access<br />
<br />
WinxYoutube Downloader / get_iplayer<br />
<br />
Etcher / Rufus / unetbootin - burn iso to sd /usb<br />
<br />
Handbrake - video encoder<br />
<br />
mp3split / <br />
<br />
screenbloom - hue<br />
<br />
Teamspeak / discord - gaming chat<br />
<br />
FreeFileSync<br />
<br />
Image Deduplicator Tomasz Kapusta<br />
<br />
[https://www.uwe-sieber.de/usbtreeview_e.html USB Tree View] - shows the status of your usb devices<br />
<br />
EventGhost - shows when events happen, eg if stuff is plugged in or out of your PC<br />
<br />
FXSound - easily set sound presets, better voice sound with movies<br />
<br />
Portmaster - view your network connections<br />
<br />
[https://winsize2.sourceforge.net/en/index.html WinSize2] - remembers window sizes and positions on multimonitor setups ([https://www.makeuseof.com/windows-winsize-2-guide/ Guide])<br />
<br />
[[Optical Character Recognition]]<br />
<br />
== firefox addons ==<br />
<br />
Absolute Enable Right Click& Copy<br />
<br />
bypass paywalls clean https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean<br />
<br />
clone window<br />
<br />
download helper<br />
<br />
Dark Reader<br />
<br />
Disconnect<br />
<br />
Duplicate Tab Shortcut<br />
<br />
(Facebook container)<br />
<br />
Facebook Pixel Hunt<br />
<br />
Firefox Relay<br />
<br />
Ghostery<br />
<br />
Google Page Translate<br />
<br />
Image Search options<br />
<br />
lastpass<br />
<br />
LocalCDN<br />
<br />
noscript<br />
<br />
overbiteWX<br />
<br />
Page load time<br />
<br />
Privacy Badger<br />
<br />
Super Agent - automatic cookie consent<br />
<br />
To Google Translate<br />
<br />
UBlock Origin<br />
<br />
Under New Management<br />
<br />
UI.Vision RPA<br />
<br />
https://addons.mozilla.org/en-US/firefox/addon/firefox-gold/<br />
<br />
== Other useful proggies ==<br />
<br />
utorrent<br />
<br />
3rvx<br />
<br />
anydvd<br />
<br />
avg<br />
<br />
Awesome Duplicate Photo Finder - see czkawka https://awesome-duplicate-photo-finder.en.softonic.com/<br />
<br />
curse client<br />
<br />
czkawka https://github.com/qarmin/czkawka/releases finds duplicate images - https://github.com/qarmin/czkawka/blob/master/instructions/Instruction.md - For a regex with path select eg: T:\Somewhere\0Iphone\Stuff123 -> /0Iphone/* or c:\users[username]\desktop https://github.com/qarmin/czkawka/discussions?page=1 <br />
<br />
deskscapes 3 (note: wallpaper engine is better)<br />
<br />
dupeguru - see czkwaka https://dupeguru.voltaicideas.net/ <br />
<br />
digikam - photo management<br />
<br />
eventghost - see windows events as they happen in a log (eg usb plugins and plugouts)<br />
<br />
fences<br />
<br />
foxit reader<br />
<br />
gimp<br />
<br />
google earth<br />
<br />
iconpackager<br />
<br />
java<br />
<br />
k-light codec pack<br />
<br />
lastpass<br />
<br />
libreoffice<br />
<br />
logitech g940 + g19<br />
<br />
logonstudio<br />
<br />
firefox<br />
<br />
multimonitor tool nirsoft<br />
<br />
notepad ++<br />
<br />
nvidia drivers<br />
<br />
ppjoy<br />
<br />
putty<br />
<br />
recon hq<br />
<br />
rise of flight<br />
<br />
sabnzbd<br />
<br />
skype<br />
<br />
spacemonger<br />
<br />
spotnet<br />
<br />
spybot sd<br />
<br />
superantispyware<br />
<br />
teamspeak<br />
<br />
trackir<br />
<br />
undelete<br />
<br />
ventrilio<br />
<br />
virtualclonedrive<br />
<br />
vlc<br />
<br />
wallpaper engine<br />
<br />
winamp / wacup<br />
<br />
== Hardware testing ==<br />
<br />
CPU-Z CPUID HWMonitor<br />
<br />
Diskinfo64<br />
<br />
eventghost - see windows events as they happen in a log (eg usb plugins and plugouts) -> right click and add action (Eventghost - comment). Right click the comment and Add Event -> '''System.DeviceRemoved''' add another event '''System.DeviceAttached'''. You can then ''log only assigned and activated events'' bottom left checkbox to only see the USB connection and disconnection events.<br />
<br />
Furmark<br />
<br />
Samsung Magician (SDDs)<br />
<br />
USBDeview - shows all USB devices plugged in. Will be very very slow and seem like it crashes now and again<br />
<br />
[http://www.nirsoft.net/utils/usb_log_view.html USBLogview] - shows devices being plugged in and out<br />
<br />
[https://www.entechtaiwan.com/util/moninfo.shtm Moninfo / Monitor Asset Manager]<br />
<br />
== Laptop ==<br />
<br />
winredock - restores window locations to monitors when replugging the monitor https://github.com/manutalcual/winredock<br />
<br />
thinkpadLEDcontrol - https://github.com/valinet/ThinkPadLEDControl<br />
<br />
== Windows Algemeen ==<br />
<br />
[[Add Commands to Windows Explorer Context Menu]]<br />
<br />
[[Changing normal template in Word]]<br />
<br />
[[Disable update balloon]]<br />
<br />
[[disk X has been surprise removed]]<br />
<br />
[[Excel Formula bar editing]]<br />
<br />
[[Excel Merging cells]]<br />
<br />
[[Excel Shortcut keys]]<br />
<br />
[[Files to backup from C when reinstalling]]<br />
<br />
[[For loops]]<br />
<br />
[[IIS adding individual FTP accounts]]<br />
<br />
[[Log all shutdown errors]]<br />
<br />
[[Lotus Organizer mappings for export]]<br />
<br />
[[Office 2021]]<br />
<br />
[[Outlook 2007]]<br />
<br />
[[Outlook 2019]]<br />
<br />
[[Photoshop plugin for making ICO-files]]<br />
<br />
[[Printing from IE]]<br />
<br />
[[Putty]]<br />
<br />
[[Reinstalling IE and Outlook Express]]<br />
<br />
[[Remapping Keyboard Keys]]<br />
<br />
[[Samsung Monitor reflecties in beeld]]<br />
<br />
[[The Bat!]]<br />
<br />
[[User management in xp and vista]]<br />
<br />
[[Windows Hello PIN problems]]<br />
<br />
[[Windows Mobile Devices]]<br />
<br />
[[XTNDConnect PC]]<br />
<br />
== Windows Vista ==<br />
<br />
[[Schijven partitioneren in Vista (en de C-schijf kleiner krijgen dan 150/200 Gig)]]<br />
<br />
[[Sidebar Gadget Development]]<br />
<br />
[[SNMP Aanzetten]]<br />
<br />
[[GET YOUR OLD WINDOWS PROFILE BACK]]<br />
<br />
== Windows 7 ==<br />
<br />
[[Windows 7 client bij SAMBA domein aanmelden]]<br />
<br />
[[Windows 7 no domain logon servers can be found]]<br />
<br />
[[Save Icon Locations on Desktop]]<br />
<br />
[[Automatic Logon Into Windows 7]]<br />
<br />
[[Automatisch inloggen met Windows 7]]<br />
<br />
== Servers ==<br />
<br />
Servers need to be installed in the following order due to chained dependencies.<br />
<br />
[[DNS]]<br />
<br />
[[DHCP]]<br />
<br />
[[Active Directory]]<br />
<br />
[[Exchange]]<br />
<br />
[[Small Business Server 2003]]<br />
<br />
NB. In SBS2011 do not rename the MyBusiness OU!<br />
<br />
[[NTP]]<br />
<br />
==Media Players==<br />
[[IFloor]]<br />
<br />
[[Irfanview]]<br />
<br />
[[Ultramon]]<br />
<br />
[[Media Player Classic autoplay]]</div>Redhttp://wiki.edgarbv.com/index.php?title=VKB_Sim&diff=37723VKB Sim2024-03-16T08:26:08Z<p>Red: </p>
<hr />
<div>http://forum.vkb-sim.pro/index.php Official forum<br />
<br />
==Videos==<br />
[https://www.youtube.com/watch?v=8atpTEC-QYU How to install OTA on the Gladiator NXT/EVO]<br />
<br />
[https://www.youtube.com/watch?v=Tv5WDTU1fvA&t=172s Software tutorials - Exploiting the ministick]<br />
==Calibration==<br />
Go to Tools in the top, then on the bottom to Test and in the middle to Axes. Click start calibration, move all the axes fully, maybe click on pov hats and then move them all the way as well. After having done this, end calibration.<br />
<br />
== Setting up responsiveness curves / s-curve and deadzone ==<br />
http://forum.vkb-sim.pro/viewtopic.php?t=4377<br />
<br />
If you want to have custom curves first thing is to identify the name of the axis you want to apply the curve to; could do this in the tester, let's say you want to apply same curve on pitch and roll, they're recognized as X and Y axes. Then go to Profile/Axes/ Logical Axes and find the number of those axes; for this example they are number 1 and 2. Now in Physical Axes panel check the Eq box for axes 1 and 2 - this means the curve will get applied on these axes. If you want to modify the deadzone you could do it in the Logical Axes panel, under DzLo; if the 2D option is active the deadzone will get applied for both axes.<br />
<br />
;<br />
<br />
[[File:Find axis names.jpg.jpg|none|thumb]]<br />
Now go to Response Curve panel and click on the large white box when the first row is marked. In the new window draw your preferred curve, but be advised that what you see is just half of the curve with the lower deadzone in the lower left corner (the invisible lower half is mirrored). When done click OK so the window will close. Do the same after you select the second row<br />
<br />
; [[File:Response curve.jpg|none|thumb]]When done press the Set button in the Action tab. <br />
''This way the curves will get permanently applied to your joystick.''<br />
Setting up the curves in the configurator is more precise than setting them up in game.<br />
There's also another option to get the curves on. Let's say you want the standard, unmodified curve for general flight and another curve for dogfighting. In this case you'll have to leave the Eq boxes empty (unmarked), fill up the curves as explained above and set up a button that will activate the modified curves:select the Poll option on the left side, press the button you want to be the curve modifier and click on the blinking button on the chart. Set up that button as Curves. Make it Alternate if you want the curves to stay active after releasing the button; you could revert to original curves by pressing the button again. You could leave the Alternate action box empty if you want the curves to stay active only as long as the button is pressed. Check the axes numbers below for the axes you want to apply the curves to (in this case 1 and 2). As usual, press Set button at the end.<br />
''This way the curves are only temporary applied to your joystick.''<br />
[[File:Different curves.jpg|none|thumb]]<br />
<br />
<br />
From https://www.reddit.com/r/hotas/comments/rm8c7z/some_help_with_vkb_curves_please/<br />
<br />
Suggest values something like this for - classic S curve: <br />
<br />
*10% - 60<br />
* 20 - 80<br />
*30 - 95<br />
*40 - 110<br />
* 50 - 128<br />
* 60 - 135<br />
*70 - 150<br />
* 80 - 165<br />
*90 - 145<br />
*100 - 128<br />
<br />
Gives finer control for 1st 50% of deflection, then high response (when you need to turn/thrust fast) in 2nd 50%, tapering off to normal response at max deflection.<br />
<br />
Numbers themselves can be adjusted - if you want super fine control in the 10-30% zone put lower numbers.<br />
<br />
Basically all values of 128 would be a flat response curve where moving 10% deflection gets 10% turn response etc.<br />
<br />
Anything under is under-response (finer control) and anything over is quick-response at that level of deflection.<br />
<br />
<youtube>rSi11U5J6tg&t</youtube><br />
<br />
https://www.youtube.com/watch?v=rSi11U5J6tg&t=3s<br />
<br />
===My Curve ===<br />
[[File:Curve 2023-10-12 072005.png|none|thumb|610x610px]] <br />
<br />
<br />
;<br />
<br />
==Sticks==<br />
[[VKB Sim Gunfighter MK III Modern Combat Grip Pro]]<br />
<br />
<br />
[[VKB Sim Gladiator NXT EVO OTA]]<br />
==Hardware==<br />
Thingiverse 3D hat / castle collection: [https://www.thingiverse.com/thing:3452944 Hotas & FlightSim POV/Hat Switches - 2 ways, 3 ways, 4 ways! Tons of variations of switch tops! (INCLUDES SOURCE SKETCHUP FILES)]<br />
<br />
==How to create template files==<br />
Download pictures from vkbcontrollers.com<br />
<br />
Use the following guide to convert the pictures to black and white pencil drawings in GIMP: [https://www.bettertechtips.com/gimp-tutorials/convert-image-pencil-drawing-gimp/ How to Convert an Image to Pencil Drawing in GIMP]<br />
<br />
Import the pictures into one of the SVG files in Inkscape. Rearrange and copy / paste the boxes (the NXT EVO guide is easiest to edit, it has groups)<br />
<br />
Export as a PDF in Inkscape<br />
<br />
Open the PDF Adobe Acrobat. Go to Tools -> Forms -> Create. Import from the open PDF. Once they are there you will need to make slight corrections. You can copy / paste fields, resize and rename them. Double click for properties. Certain properties you can edit if you select all the fields. Make sure the fields are multiline.<br />
<br />
== USB Settings ==<br />
For some reason the sticks don't show the vendor name in device manager, but they do in Devices and Printers, which is annoying. However the VendorID is 231d<br />
<br />
<br />
''using VKB software VKBDevCfg can I see and therefore change the current VID and PID setting?"'' - No<br />
<br />
I ended up using third party software USBDeview to view all installed connected USB devices on my system <nowiki>http://www.nirsoft.net/utils/usb_devices_view.html</nowiki>. Its very detailed and easy to sort.<br />
<br />
Using this USBDeview I was able to sort my devices by the column for the VID. Then looking at VID (the Vendor Identification Number 231d is VKB's number) and deleted old entries that had different old disconnected PID's to the current active connection recognized by DCS.</div>Redhttp://wiki.edgarbv.com/index.php?title=Windows&diff=37722Windows2024-03-16T07:58:28Z<p>Red: /* Hardware testing */</p>
<hr />
<div>== Windows Programs ==<br />
<br />
[https://ninite.com Ninite installer fetches and installs quite a few common proggies]<br />
<br />
[[Scanning searchable PDFs]]<br />
<br />
scribus - DTP<br />
<br />
Gimp - bitmap manipulation<br />
<br />
inkscape - vector graphics editing<br />
<br />
Pencil - wireframes (for websites/UI)<br />
<br />
Photopad - collage making software<br />
<br />
PDFill - pdf editing<br />
<br />
CutePDF - PDF writing<br />
<br />
Freemind - Mind mapper<br />
<br />
VirtualBox - VMs<br />
<br />
Visio Technical / DrawIO desktop (FOSS)<br />
<br />
Cyberghost - VPN<br />
<br />
Winscp / putty / Teamviewer / TigerVNC / XMing / openvpn - remote access<br />
<br />
WinxYoutube Downloader / get_iplayer<br />
<br />
Etcher / Rufus / unetbootin - burn iso to sd /usb<br />
<br />
Handbrake - video encoder<br />
<br />
mp3split / <br />
<br />
screenbloom - hue<br />
<br />
Teamspeak / discord - gaming chat<br />
<br />
FreeFileSync<br />
<br />
Image Deduplicator Tomasz Kapusta<br />
<br />
[https://www.uwe-sieber.de/usbtreeview_e.html USB Tree View] - shows the status of your usb devices<br />
<br />
EventGhost - shows when events happen, eg if stuff is plugged in or out of your PC<br />
<br />
FXSound - easily set sound presets, better voice sound with movies<br />
<br />
Portmaster - view your network connections<br />
<br />
[https://winsize2.sourceforge.net/en/index.html WinSize2] - remembers window sizes and positions on multimonitor setups ([https://www.makeuseof.com/windows-winsize-2-guide/ Guide])<br />
<br />
[[Optical Character Recognition]]<br />
<br />
== firefox addons ==<br />
<br />
Absolute Enable Right Click& Copy<br />
<br />
bypass paywalls clean https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean<br />
<br />
clone window<br />
<br />
download helper<br />
<br />
Dark Reader<br />
<br />
Disconnect<br />
<br />
Duplicate Tab Shortcut<br />
<br />
(Facebook container)<br />
<br />
Facebook Pixel Hunt<br />
<br />
Firefox Relay<br />
<br />
Ghostery<br />
<br />
Google Page Translate<br />
<br />
Image Search options<br />
<br />
lastpass<br />
<br />
LocalCDN<br />
<br />
noscript<br />
<br />
overbiteWX<br />
<br />
Page load time<br />
<br />
Privacy Badger<br />
<br />
Super Agent - automatic cookie consent<br />
<br />
To Google Translate<br />
<br />
UBlock Origin<br />
<br />
UI.Vision RPA<br />
<br />
https://addons.mozilla.org/en-US/firefox/addon/firefox-gold/<br />
<br />
== Other useful proggies ==<br />
<br />
utorrent<br />
<br />
3rvx<br />
<br />
anydvd<br />
<br />
avg<br />
<br />
Awesome Duplicate Photo Finder - see czkawka https://awesome-duplicate-photo-finder.en.softonic.com/<br />
<br />
curse client<br />
<br />
czkawka https://github.com/qarmin/czkawka/releases finds duplicate images - https://github.com/qarmin/czkawka/blob/master/instructions/Instruction.md - For a regex with path select eg: T:\Somewhere\0Iphone\Stuff123 -> /0Iphone/* or c:\users[username]\desktop https://github.com/qarmin/czkawka/discussions?page=1 <br />
<br />
deskscapes 3 (note: wallpaper engine is better)<br />
<br />
dupeguru - see czkwaka https://dupeguru.voltaicideas.net/ <br />
<br />
digikam - photo management<br />
<br />
eventghost - see windows events as they happen in a log (eg usb plugins and plugouts)<br />
<br />
fences<br />
<br />
foxit reader<br />
<br />
gimp<br />
<br />
google earth<br />
<br />
iconpackager<br />
<br />
java<br />
<br />
k-light codec pack<br />
<br />
lastpass<br />
<br />
libreoffice<br />
<br />
logitech g940 + g19<br />
<br />
logonstudio<br />
<br />
firefox<br />
<br />
multimonitor tool nirsoft<br />
<br />
notepad ++<br />
<br />
nvidia drivers<br />
<br />
ppjoy<br />
<br />
putty<br />
<br />
recon hq<br />
<br />
rise of flight<br />
<br />
sabnzbd<br />
<br />
skype<br />
<br />
spacemonger<br />
<br />
spotnet<br />
<br />
spybot sd<br />
<br />
superantispyware<br />
<br />
teamspeak<br />
<br />
trackir<br />
<br />
undelete<br />
<br />
ventrilio<br />
<br />
virtualclonedrive<br />
<br />
vlc<br />
<br />
wallpaper engine<br />
<br />
winamp / wacup<br />
<br />
== Hardware testing ==<br />
<br />
CPU-Z CPUID HWMonitor<br />
<br />
Diskinfo64<br />
<br />
eventghost - see windows events as they happen in a log (eg usb plugins and plugouts) -> right click and add action (Eventghost - comment). Right click the comment and Add Event -> '''System.DeviceRemoved''' add another event '''System.DeviceAttached'''. You can then ''log only assigned and activated events'' bottom left checkbox to only see the USB connection and disconnection events.<br />
<br />
Furmark<br />
<br />
Samsung Magician (SDDs)<br />
<br />
USBDeview - shows all USB devices plugged in. Will be very very slow and seem like it crashes now and again<br />
<br />
[http://www.nirsoft.net/utils/usb_log_view.html USBLogview] - shows devices being plugged in and out<br />
<br />
[https://www.entechtaiwan.com/util/moninfo.shtm Moninfo / Monitor Asset Manager]<br />
<br />
== Laptop ==<br />
<br />
winredock - restores window locations to monitors when replugging the monitor https://github.com/manutalcual/winredock<br />
<br />
thinkpadLEDcontrol - https://github.com/valinet/ThinkPadLEDControl<br />
<br />
== Windows Algemeen ==<br />
<br />
[[Add Commands to Windows Explorer Context Menu]]<br />
<br />
[[Changing normal template in Word]]<br />
<br />
[[Disable update balloon]]<br />
<br />
[[disk X has been surprise removed]]<br />
<br />
[[Excel Formula bar editing]]<br />
<br />
[[Excel Merging cells]]<br />
<br />
[[Excel Shortcut keys]]<br />
<br />
[[Files to backup from C when reinstalling]]<br />
<br />
[[For loops]]<br />
<br />
[[IIS adding individual FTP accounts]]<br />
<br />
[[Log all shutdown errors]]<br />
<br />
[[Lotus Organizer mappings for export]]<br />
<br />
[[Office 2021]]<br />
<br />
[[Outlook 2007]]<br />
<br />
[[Outlook 2019]]<br />
<br />
[[Photoshop plugin for making ICO-files]]<br />
<br />
[[Printing from IE]]<br />
<br />
[[Putty]]<br />
<br />
[[Reinstalling IE and Outlook Express]]<br />
<br />
[[Remapping Keyboard Keys]]<br />
<br />
[[Samsung Monitor reflecties in beeld]]<br />
<br />
[[The Bat!]]<br />
<br />
[[User management in xp and vista]]<br />
<br />
[[Windows Hello PIN problems]]<br />
<br />
[[Windows Mobile Devices]]<br />
<br />
[[XTNDConnect PC]]<br />
<br />
== Windows Vista ==<br />
<br />
[[Schijven partitioneren in Vista (en de C-schijf kleiner krijgen dan 150/200 Gig)]]<br />
<br />
[[Sidebar Gadget Development]]<br />
<br />
[[SNMP Aanzetten]]<br />
<br />
[[GET YOUR OLD WINDOWS PROFILE BACK]]<br />
<br />
== Windows 7 ==<br />
<br />
[[Windows 7 client bij SAMBA domein aanmelden]]<br />
<br />
[[Windows 7 no domain logon servers can be found]]<br />
<br />
[[Save Icon Locations on Desktop]]<br />
<br />
[[Automatic Logon Into Windows 7]]<br />
<br />
[[Automatisch inloggen met Windows 7]]<br />
<br />
== Servers ==<br />
<br />
Servers need to be installed in the following order due to chained dependencies.<br />
<br />
[[DNS]]<br />
<br />
[[DHCP]]<br />
<br />
[[Active Directory]]<br />
<br />
[[Exchange]]<br />
<br />
[[Small Business Server 2003]]<br />
<br />
NB. In SBS2011 do not rename the MyBusiness OU!<br />
<br />
[[NTP]]<br />
<br />
==Media Players==<br />
[[IFloor]]<br />
<br />
[[Irfanview]]<br />
<br />
[[Ultramon]]<br />
<br />
[[Media Player Classic autoplay]]</div>Redhttp://wiki.edgarbv.com/index.php?title=Windows&diff=37721Windows2024-03-16T07:18:58Z<p>Red: /* Hardware testing */</p>
<hr />
<div>== Windows Programs ==<br />
<br />
[https://ninite.com Ninite installer fetches and installs quite a few common proggies]<br />
<br />
[[Scanning searchable PDFs]]<br />
<br />
scribus - DTP<br />
<br />
Gimp - bitmap manipulation<br />
<br />
inkscape - vector graphics editing<br />
<br />
Pencil - wireframes (for websites/UI)<br />
<br />
Photopad - collage making software<br />
<br />
PDFill - pdf editing<br />
<br />
CutePDF - PDF writing<br />
<br />
Freemind - Mind mapper<br />
<br />
VirtualBox - VMs<br />
<br />
Visio Technical / DrawIO desktop (FOSS)<br />
<br />
Cyberghost - VPN<br />
<br />
Winscp / putty / Teamviewer / TigerVNC / XMing / openvpn - remote access<br />
<br />
WinxYoutube Downloader / get_iplayer<br />
<br />
Etcher / Rufus / unetbootin - burn iso to sd /usb<br />
<br />
Handbrake - video encoder<br />
<br />
mp3split / <br />
<br />
screenbloom - hue<br />
<br />
Teamspeak / discord - gaming chat<br />
<br />
FreeFileSync<br />
<br />
Image Deduplicator Tomasz Kapusta<br />
<br />
[https://www.uwe-sieber.de/usbtreeview_e.html USB Tree View] - shows the status of your usb devices<br />
<br />
EventGhost - shows when events happen, eg if stuff is plugged in or out of your PC<br />
<br />
FXSound - easily set sound presets, better voice sound with movies<br />
<br />
Portmaster - view your network connections<br />
<br />
[https://winsize2.sourceforge.net/en/index.html WinSize2] - remembers window sizes and positions on multimonitor setups ([https://www.makeuseof.com/windows-winsize-2-guide/ Guide])<br />
<br />
[[Optical Character Recognition]]<br />
<br />
== firefox addons ==<br />
<br />
Absolute Enable Right Click& Copy<br />
<br />
bypass paywalls clean https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean<br />
<br />
clone window<br />
<br />
download helper<br />
<br />
Dark Reader<br />
<br />
Disconnect<br />
<br />
Duplicate Tab Shortcut<br />
<br />
(Facebook container)<br />
<br />
Facebook Pixel Hunt<br />
<br />
Firefox Relay<br />
<br />
Ghostery<br />
<br />
Google Page Translate<br />
<br />
Image Search options<br />
<br />
lastpass<br />
<br />
LocalCDN<br />
<br />
noscript<br />
<br />
overbiteWX<br />
<br />
Page load time<br />
<br />
Privacy Badger<br />
<br />
Super Agent - automatic cookie consent<br />
<br />
To Google Translate<br />
<br />
UBlock Origin<br />
<br />
UI.Vision RPA<br />
<br />
https://addons.mozilla.org/en-US/firefox/addon/firefox-gold/<br />
<br />
== Other useful proggies ==<br />
<br />
utorrent<br />
<br />
3rvx<br />
<br />
anydvd<br />
<br />
avg<br />
<br />
Awesome Duplicate Photo Finder - see czkawka https://awesome-duplicate-photo-finder.en.softonic.com/<br />
<br />
curse client<br />
<br />
czkawka https://github.com/qarmin/czkawka/releases finds duplicate images - https://github.com/qarmin/czkawka/blob/master/instructions/Instruction.md - For a regex with path select eg: T:\Somewhere\0Iphone\Stuff123 -> /0Iphone/* or c:\users[username]\desktop https://github.com/qarmin/czkawka/discussions?page=1 <br />
<br />
deskscapes 3 (note: wallpaper engine is better)<br />
<br />
dupeguru - see czkwaka https://dupeguru.voltaicideas.net/ <br />
<br />
digikam - photo management<br />
<br />
eventghost - see windows events as they happen in a log (eg usb plugins and plugouts)<br />
<br />
fences<br />
<br />
foxit reader<br />
<br />
gimp<br />
<br />
google earth<br />
<br />
iconpackager<br />
<br />
java<br />
<br />
k-light codec pack<br />
<br />
lastpass<br />
<br />
libreoffice<br />
<br />
logitech g940 + g19<br />
<br />
logonstudio<br />
<br />
firefox<br />
<br />
multimonitor tool nirsoft<br />
<br />
notepad ++<br />
<br />
nvidia drivers<br />
<br />
ppjoy<br />
<br />
putty<br />
<br />
recon hq<br />
<br />
rise of flight<br />
<br />
sabnzbd<br />
<br />
skype<br />
<br />
spacemonger<br />
<br />
spotnet<br />
<br />
spybot sd<br />
<br />
superantispyware<br />
<br />
teamspeak<br />
<br />
trackir<br />
<br />
undelete<br />
<br />
ventrilio<br />
<br />
virtualclonedrive<br />
<br />
vlc<br />
<br />
wallpaper engine<br />
<br />
winamp / wacup<br />
<br />
== Hardware testing ==<br />
<br />
CPU-Z CPUID HWMonitor<br />
<br />
Diskinfo64<br />
<br />
eventghost - see windows events as they happen in a log (eg usb plugins and plugouts)<br />
<br />
Furmark<br />
<br />
Samsung Magician (SDDs)<br />
<br />
[https://www.entechtaiwan.com/util/moninfo.shtm Moninfo / Monitor Asset Manager]<br />
<br />
== Laptop ==<br />
<br />
winredock - restores window locations to monitors when replugging the monitor https://github.com/manutalcual/winredock<br />
<br />
thinkpadLEDcontrol - https://github.com/valinet/ThinkPadLEDControl<br />
<br />
== Windows Algemeen ==<br />
<br />
[[Add Commands to Windows Explorer Context Menu]]<br />
<br />
[[Changing normal template in Word]]<br />
<br />
[[Disable update balloon]]<br />
<br />
[[disk X has been surprise removed]]<br />
<br />
[[Excel Formula bar editing]]<br />
<br />
[[Excel Merging cells]]<br />
<br />
[[Excel Shortcut keys]]<br />
<br />
[[Files to backup from C when reinstalling]]<br />
<br />
[[For loops]]<br />
<br />
[[IIS adding individual FTP accounts]]<br />
<br />
[[Log all shutdown errors]]<br />
<br />
[[Lotus Organizer mappings for export]]<br />
<br />
[[Office 2021]]<br />
<br />
[[Outlook 2007]]<br />
<br />
[[Outlook 2019]]<br />
<br />
[[Photoshop plugin for making ICO-files]]<br />
<br />
[[Printing from IE]]<br />
<br />
[[Putty]]<br />
<br />
[[Reinstalling IE and Outlook Express]]<br />
<br />
[[Remapping Keyboard Keys]]<br />
<br />
[[Samsung Monitor reflecties in beeld]]<br />
<br />
[[The Bat!]]<br />
<br />
[[User management in xp and vista]]<br />
<br />
[[Windows Hello PIN problems]]<br />
<br />
[[Windows Mobile Devices]]<br />
<br />
[[XTNDConnect PC]]<br />
<br />
== Windows Vista ==<br />
<br />
[[Schijven partitioneren in Vista (en de C-schijf kleiner krijgen dan 150/200 Gig)]]<br />
<br />
[[Sidebar Gadget Development]]<br />
<br />
[[SNMP Aanzetten]]<br />
<br />
[[GET YOUR OLD WINDOWS PROFILE BACK]]<br />
<br />
== Windows 7 ==<br />
<br />
[[Windows 7 client bij SAMBA domein aanmelden]]<br />
<br />
[[Windows 7 no domain logon servers can be found]]<br />
<br />
[[Save Icon Locations on Desktop]]<br />
<br />
[[Automatic Logon Into Windows 7]]<br />
<br />
[[Automatisch inloggen met Windows 7]]<br />
<br />
== Servers ==<br />
<br />
Servers need to be installed in the following order due to chained dependencies.<br />
<br />
[[DNS]]<br />
<br />
[[DHCP]]<br />
<br />
[[Active Directory]]<br />
<br />
[[Exchange]]<br />
<br />
[[Small Business Server 2003]]<br />
<br />
NB. In SBS2011 do not rename the MyBusiness OU!<br />
<br />
[[NTP]]<br />
<br />
==Media Players==<br />
[[IFloor]]<br />
<br />
[[Irfanview]]<br />
<br />
[[Ultramon]]<br />
<br />
[[Media Player Classic autoplay]]</div>Redhttp://wiki.edgarbv.com/index.php?title=Windows&diff=37720Windows2024-03-16T07:12:18Z<p>Red: /* firefox addons */</p>
<hr />
<div>== Windows Programs ==<br />
<br />
[https://ninite.com Ninite installer fetches and installs quite a few common proggies]<br />
<br />
[[Scanning searchable PDFs]]<br />
<br />
scribus - DTP<br />
<br />
Gimp - bitmap manipulation<br />
<br />
inkscape - vector graphics editing<br />
<br />
Pencil - wireframes (for websites/UI)<br />
<br />
Photopad - collage making software<br />
<br />
PDFill - pdf editing<br />
<br />
CutePDF - PDF writing<br />
<br />
Freemind - Mind mapper<br />
<br />
VirtualBox - VMs<br />
<br />
Visio Technical / DrawIO desktop (FOSS)<br />
<br />
Cyberghost - VPN<br />
<br />
Winscp / putty / Teamviewer / TigerVNC / XMing / openvpn - remote access<br />
<br />
WinxYoutube Downloader / get_iplayer<br />
<br />
Etcher / Rufus / unetbootin - burn iso to sd /usb<br />
<br />
Handbrake - video encoder<br />
<br />
mp3split / <br />
<br />
screenbloom - hue<br />
<br />
Teamspeak / discord - gaming chat<br />
<br />
FreeFileSync<br />
<br />
Image Deduplicator Tomasz Kapusta<br />
<br />
[https://www.uwe-sieber.de/usbtreeview_e.html USB Tree View] - shows the status of your usb devices<br />
<br />
EventGhost - shows when events happen, eg if stuff is plugged in or out of your PC<br />
<br />
FXSound - easily set sound presets, better voice sound with movies<br />
<br />
Portmaster - view your network connections<br />
<br />
[https://winsize2.sourceforge.net/en/index.html WinSize2] - remembers window sizes and positions on multimonitor setups ([https://www.makeuseof.com/windows-winsize-2-guide/ Guide])<br />
<br />
[[Optical Character Recognition]]<br />
<br />
== firefox addons ==<br />
<br />
Absolute Enable Right Click& Copy<br />
<br />
bypass paywalls clean https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean<br />
<br />
clone window<br />
<br />
download helper<br />
<br />
Dark Reader<br />
<br />
Disconnect<br />
<br />
Duplicate Tab Shortcut<br />
<br />
(Facebook container)<br />
<br />
Facebook Pixel Hunt<br />
<br />
Firefox Relay<br />
<br />
Ghostery<br />
<br />
Google Page Translate<br />
<br />
Image Search options<br />
<br />
lastpass<br />
<br />
LocalCDN<br />
<br />
noscript<br />
<br />
overbiteWX<br />
<br />
Page load time<br />
<br />
Privacy Badger<br />
<br />
Super Agent - automatic cookie consent<br />
<br />
To Google Translate<br />
<br />
UBlock Origin<br />
<br />
UI.Vision RPA<br />
<br />
https://addons.mozilla.org/en-US/firefox/addon/firefox-gold/<br />
<br />
== Other useful proggies ==<br />
<br />
utorrent<br />
<br />
3rvx<br />
<br />
anydvd<br />
<br />
avg<br />
<br />
Awesome Duplicate Photo Finder - see czkawka https://awesome-duplicate-photo-finder.en.softonic.com/<br />
<br />
curse client<br />
<br />
czkawka https://github.com/qarmin/czkawka/releases finds duplicate images - https://github.com/qarmin/czkawka/blob/master/instructions/Instruction.md - For a regex with path select eg: T:\Somewhere\0Iphone\Stuff123 -> /0Iphone/* or c:\users[username]\desktop https://github.com/qarmin/czkawka/discussions?page=1 <br />
<br />
deskscapes 3 (note: wallpaper engine is better)<br />
<br />
dupeguru - see czkwaka https://dupeguru.voltaicideas.net/ <br />
<br />
digikam - photo management<br />
<br />
eventghost - see windows events as they happen in a log (eg usb plugins and plugouts)<br />
<br />
fences<br />
<br />
foxit reader<br />
<br />
gimp<br />
<br />
google earth<br />
<br />
iconpackager<br />
<br />
java<br />
<br />
k-light codec pack<br />
<br />
lastpass<br />
<br />
libreoffice<br />
<br />
logitech g940 + g19<br />
<br />
logonstudio<br />
<br />
firefox<br />
<br />
multimonitor tool nirsoft<br />
<br />
notepad ++<br />
<br />
nvidia drivers<br />
<br />
ppjoy<br />
<br />
putty<br />
<br />
recon hq<br />
<br />
rise of flight<br />
<br />
sabnzbd<br />
<br />
skype<br />
<br />
spacemonger<br />
<br />
spotnet<br />
<br />
spybot sd<br />
<br />
superantispyware<br />
<br />
teamspeak<br />
<br />
trackir<br />
<br />
undelete<br />
<br />
ventrilio<br />
<br />
virtualclonedrive<br />
<br />
vlc<br />
<br />
wallpaper engine<br />
<br />
winamp / wacup<br />
<br />
== Hardware testing ==<br />
<br />
CPU-Z CPUID HWMonitor<br />
<br />
Diskinfo64<br />
<br />
Furmark<br />
<br />
Samsung Magician (SDDs)<br />
<br />
[https://www.entechtaiwan.com/util/moninfo.shtm Moninfo / Monitor Asset Manager]<br />
<br />
== Laptop ==<br />
<br />
winredock - restores window locations to monitors when replugging the monitor https://github.com/manutalcual/winredock<br />
<br />
thinkpadLEDcontrol - https://github.com/valinet/ThinkPadLEDControl<br />
<br />
== Windows Algemeen ==<br />
<br />
[[Add Commands to Windows Explorer Context Menu]]<br />
<br />
[[Changing normal template in Word]]<br />
<br />
[[Disable update balloon]]<br />
<br />
[[disk X has been surprise removed]]<br />
<br />
[[Excel Formula bar editing]]<br />
<br />
[[Excel Merging cells]]<br />
<br />
[[Excel Shortcut keys]]<br />
<br />
[[Files to backup from C when reinstalling]]<br />
<br />
[[For loops]]<br />
<br />
[[IIS adding individual FTP accounts]]<br />
<br />
[[Log all shutdown errors]]<br />
<br />
[[Lotus Organizer mappings for export]]<br />
<br />
[[Office 2021]]<br />
<br />
[[Outlook 2007]]<br />
<br />
[[Outlook 2019]]<br />
<br />
[[Photoshop plugin for making ICO-files]]<br />
<br />
[[Printing from IE]]<br />
<br />
[[Putty]]<br />
<br />
[[Reinstalling IE and Outlook Express]]<br />
<br />
[[Remapping Keyboard Keys]]<br />
<br />
[[Samsung Monitor reflecties in beeld]]<br />
<br />
[[The Bat!]]<br />
<br />
[[User management in xp and vista]]<br />
<br />
[[Windows Hello PIN problems]]<br />
<br />
[[Windows Mobile Devices]]<br />
<br />
[[XTNDConnect PC]]<br />
<br />
== Windows Vista ==<br />
<br />
[[Schijven partitioneren in Vista (en de C-schijf kleiner krijgen dan 150/200 Gig)]]<br />
<br />
[[Sidebar Gadget Development]]<br />
<br />
[[SNMP Aanzetten]]<br />
<br />
[[GET YOUR OLD WINDOWS PROFILE BACK]]<br />
<br />
== Windows 7 ==<br />
<br />
[[Windows 7 client bij SAMBA domein aanmelden]]<br />
<br />
[[Windows 7 no domain logon servers can be found]]<br />
<br />
[[Save Icon Locations on Desktop]]<br />
<br />
[[Automatic Logon Into Windows 7]]<br />
<br />
[[Automatisch inloggen met Windows 7]]<br />
<br />
== Servers ==<br />
<br />
Servers need to be installed in the following order due to chained dependencies.<br />
<br />
[[DNS]]<br />
<br />
[[DHCP]]<br />
<br />
[[Active Directory]]<br />
<br />
[[Exchange]]<br />
<br />
[[Small Business Server 2003]]<br />
<br />
NB. In SBS2011 do not rename the MyBusiness OU!<br />
<br />
[[NTP]]<br />
<br />
==Media Players==<br />
[[IFloor]]<br />
<br />
[[Irfanview]]<br />
<br />
[[Ultramon]]<br />
<br />
[[Media Player Classic autoplay]]</div>Redhttp://wiki.edgarbv.com/index.php?title=Disk_X_has_been_surprise_removed&diff=37719Disk X has been surprise removed2024-02-16T08:06:49Z<p>Red: /* if the drive does not exist */</p>
<hr />
<div>Windows Event Viewer shows Event 157, disk<br />
<pre><br />
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"><br />
- <System><br />
<Provider Name="disk" /> <br />
<EventID Qualifiers="32772">157</EventID> <br />
<Version>0</Version> <br />
<Level>3</Level> <br />
<Task>0</Task> <br />
<Opcode>0</Opcode> <br />
<Keywords>0x80000000000000</Keywords> <br />
<TimeCreated SystemTime="2024-02-15T14:22:27.6716575Z" /> <br />
<EventRecordID>188801</EventRecordID> <br />
<Correlation /> <br />
<Execution ProcessID="4" ThreadID="476" /> <br />
<Channel>System</Channel> <br />
<Computer>PCNAME</Computer> <br />
<Security /> <br />
</System><br />
- <EventData><br />
<Data>\Device\Harddisk5\DR5</Data> <br />
<Data>5</Data> <br />
<Binary>0000000002003000000000009D000480000000000000000000000000000000000000000000000000</Binary> <br />
</EventData><br />
</Event><br />
</pre><br />
<br />
= if the drive does not exist =<br />
<br />
I did not have a disk X, it did not exist.<br />
<br />
This causes the PC to stutter.<br />
<br />
To see which disks have which ID, right click This PC -> manage (or start computer management) -> Disk Management<br />
<br />
Go to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\disk\Enum to see which devices there are<br />
<br />
or in command prompt type<br />
<br />
Get-PhysicalDisk | Select -Prop DeviceId,FriendlyName,SerialNumber<br />
<br />
or<br />
<br />
list disk<br />
<br />
NB with<br />
<br />
list volume you get the health of the partitions<br />
<br />
Check Device manager -> Disk Drives. Also view -> hidden devices. Delete the hidden devices.<br />
<br />
I found a lot of Xvd devices. These are temporary hard disks added by GamePass for updating and playing games. You can safely get rid of them. Not so much the gaming services.<br />
<br />
To get rid of it permanently you have to get uninstall the xbox app, xbox games and game pass.<br />
<br />
[https://www.windowsdigitals.com/what-is-gaming-services-exe-in-windows-11-10/ here is some more information about the gaming services]<br />
<br />
= More options If the drive does exist =<br />
<br />
Other options if the disk does exist are to chkdsk the drive, update the storage controller driver and check if the physical connection to the drive is good [https://www.minitool.com/news/disk-has-been-surprise-removed.html Event ID 157 Disk Has Been Surprise Removed – Fix It Now]<br />
<br />
[https://answers.microsoft.com/en-us/windows/forum/all/disk-6-has-been-surprise-removed-my-pc-has-no-disk/64db5165-8d61-483b-b69b-39d528b94099?page=2 Disk 6 has been surprise removed (my PC has no Disk 6) and Flight Simulator 2020 crash]</div>Redhttp://wiki.edgarbv.com/index.php?title=Disk_X_has_been_surprise_removed&diff=37718Disk X has been surprise removed2024-02-16T08:03:26Z<p>Red: Created page with "Windows Event Viewer shows Event 157, disk <pre> - <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> - <System> <Provider Name="disk" /> <EventID Qualifiers="32772">157</EventID> <Version>0</Version> <Level>3</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2024-02-15T14:22:27.6716575Z" /> <EventRecordID>188801</EventRecordID> <Correlation /> <Execution ProcessID="..."</p>
<hr />
<div>Windows Event Viewer shows Event 157, disk<br />
<pre><br />
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"><br />
- <System><br />
<Provider Name="disk" /> <br />
<EventID Qualifiers="32772">157</EventID> <br />
<Version>0</Version> <br />
<Level>3</Level> <br />
<Task>0</Task> <br />
<Opcode>0</Opcode> <br />
<Keywords>0x80000000000000</Keywords> <br />
<TimeCreated SystemTime="2024-02-15T14:22:27.6716575Z" /> <br />
<EventRecordID>188801</EventRecordID> <br />
<Correlation /> <br />
<Execution ProcessID="4" ThreadID="476" /> <br />
<Channel>System</Channel> <br />
<Computer>PCNAME</Computer> <br />
<Security /> <br />
</System><br />
- <EventData><br />
<Data>\Device\Harddisk5\DR5</Data> <br />
<Data>5</Data> <br />
<Binary>0000000002003000000000009D000480000000000000000000000000000000000000000000000000</Binary> <br />
</EventData><br />
</Event><br />
</pre><br />
<br />
= if the drive does not exist =<br />
<br />
I did not have a disk X, it did not exist.<br />
<br />
This causes the PC to stutter.<br />
<br />
To see which disks have which ID, right click This PC -> manage (or start computer management) -> Disk Management<br />
<br />
Go to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\disk\Enum to see which devices there are<br />
<br />
or in command prompt type<br />
<br />
Get-PhysicalDisk | Select -Prop DeviceId,FriendlyName,SerialNumber<br />
<br />
or<br />
<br />
list disk<br />
<br />
NB with<br />
<br />
list volume you get the health of the partitions<br />
<br />
Check Device manager -> Disk Drives. Also view -> hidden devices. Delete the hidden devices.<br />
<br />
I found a lot of Xvd devices. These are temporary hard disks added by GamePass for updating and playing games. You can safely get rid of them. Not so much the gamepass service.<br />
<br />
To get rid of it permanently you have to get uninstall the xbox app, xbox games and game pass.<br />
<br />
= More options If the drive does exist =<br />
<br />
Other options if the disk does exist are to chkdsk the drive, update the storage controller driver and check if the physical connection to the drive is good [https://www.minitool.com/news/disk-has-been-surprise-removed.html Event ID 157 Disk Has Been Surprise Removed – Fix It Now]<br />
<br />
[https://answers.microsoft.com/en-us/windows/forum/all/disk-6-has-been-surprise-removed-my-pc-has-no-disk/64db5165-8d61-483b-b69b-39d528b94099?page=2 Disk 6 has been surprise removed (my PC has no Disk 6) and Flight Simulator 2020 crash]</div>Redhttp://wiki.edgarbv.com/index.php?title=Windows&diff=37717Windows2024-02-16T07:51:09Z<p>Red: /* Windows Algemeen */</p>
<hr />
<div>== Windows Programs ==<br />
<br />
[https://ninite.com Ninite installer fetches and installs quite a few common proggies]<br />
<br />
[[Scanning searchable PDFs]]<br />
<br />
scribus - DTP<br />
<br />
Gimp - bitmap manipulation<br />
<br />
inkscape - vector graphics editing<br />
<br />
Pencil - wireframes (for websites/UI)<br />
<br />
Photopad - collage making software<br />
<br />
PDFill - pdf editing<br />
<br />
CutePDF - PDF writing<br />
<br />
Freemind - Mind mapper<br />
<br />
VirtualBox - VMs<br />
<br />
Visio Technical / DrawIO desktop (FOSS)<br />
<br />
Cyberghost - VPN<br />
<br />
Winscp / putty / Teamviewer / TigerVNC / XMing / openvpn - remote access<br />
<br />
WinxYoutube Downloader / get_iplayer<br />
<br />
Etcher / Rufus / unetbootin - burn iso to sd /usb<br />
<br />
Handbrake - video encoder<br />
<br />
mp3split / <br />
<br />
screenbloom - hue<br />
<br />
Teamspeak / discord - gaming chat<br />
<br />
FreeFileSync<br />
<br />
Image Deduplicator Tomasz Kapusta<br />
<br />
[https://www.uwe-sieber.de/usbtreeview_e.html USB Tree View] - shows the status of your usb devices<br />
<br />
EventGhost - shows when events happen, eg if stuff is plugged in or out of your PC<br />
<br />
FXSound - easily set sound presets, better voice sound with movies<br />
<br />
Portmaster - view your network connections<br />
<br />
[https://winsize2.sourceforge.net/en/index.html WinSize2] - remembers window sizes and positions on multimonitor setups ([https://www.makeuseof.com/windows-winsize-2-guide/ Guide])<br />
<br />
[[Optical Character Recognition]]<br />
<br />
== firefox addons ==<br />
<br />
bypass paywalls clean https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean<br />
<br />
clone window<br />
<br />
download helper<br />
<br />
Disconnect<br />
<br />
Duplicate Tab Shortcut<br />
<br />
Facebook container<br />
<br />
Facebook Pixel Hunt<br />
<br />
Firefox Relay<br />
<br />
Ghostery<br />
<br />
Google Page Translate<br />
<br />
Image Search options<br />
<br />
lastpass<br />
<br />
LocalCDN<br />
<br />
noscript<br />
<br />
overbiteWX<br />
<br />
Privacy Badger<br />
<br />
Super Agent - automatic cookie consent<br />
<br />
To Google Translate<br />
<br />
UBlock Origin<br />
<br />
https://addons.mozilla.org/en-US/firefox/addon/firefox-gold/<br />
<br />
== Other useful proggies ==<br />
<br />
utorrent<br />
<br />
3rvx<br />
<br />
anydvd<br />
<br />
avg<br />
<br />
Awesome Duplicate Photo Finder - see czkawka https://awesome-duplicate-photo-finder.en.softonic.com/<br />
<br />
curse client<br />
<br />
czkawka https://github.com/qarmin/czkawka/releases finds duplicate images - https://github.com/qarmin/czkawka/blob/master/instructions/Instruction.md - For a regex with path select eg: T:\Somewhere\0Iphone\Stuff123 -> /0Iphone/* or c:\users[username]\desktop https://github.com/qarmin/czkawka/discussions?page=1 <br />
<br />
deskscapes 3 (note: wallpaper engine is better)<br />
<br />
dupeguru - see czkwaka https://dupeguru.voltaicideas.net/ <br />
<br />
digikam - photo management<br />
<br />
eventghost - see windows events as they happen in a log (eg usb plugins and plugouts)<br />
<br />
fences<br />
<br />
foxit reader<br />
<br />
gimp<br />
<br />
google earth<br />
<br />
iconpackager<br />
<br />
java<br />
<br />
k-light codec pack<br />
<br />
lastpass<br />
<br />
libreoffice<br />
<br />
logitech g940 + g19<br />
<br />
logonstudio<br />
<br />
firefox<br />
<br />
multimonitor tool nirsoft<br />
<br />
notepad ++<br />
<br />
nvidia drivers<br />
<br />
ppjoy<br />
<br />
putty<br />
<br />
recon hq<br />
<br />
rise of flight<br />
<br />
sabnzbd<br />
<br />
skype<br />
<br />
spacemonger<br />
<br />
spotnet<br />
<br />
spybot sd<br />
<br />
superantispyware<br />
<br />
teamspeak<br />
<br />
trackir<br />
<br />
undelete<br />
<br />
ventrilio<br />
<br />
virtualclonedrive<br />
<br />
vlc<br />
<br />
wallpaper engine<br />
<br />
winamp / wacup<br />
<br />
== Hardware testing ==<br />
<br />
CPU-Z CPUID HWMonitor<br />
<br />
Diskinfo64<br />
<br />
Furmark<br />
<br />
Samsung Magician (SDDs)<br />
<br />
[https://www.entechtaiwan.com/util/moninfo.shtm Moninfo / Monitor Asset Manager]<br />
<br />
== Laptop ==<br />
<br />
winredock - restores window locations to monitors when replugging the monitor https://github.com/manutalcual/winredock<br />
<br />
thinkpadLEDcontrol - https://github.com/valinet/ThinkPadLEDControl<br />
<br />
== Windows Algemeen ==<br />
<br />
[[Add Commands to Windows Explorer Context Menu]]<br />
<br />
[[Changing normal template in Word]]<br />
<br />
[[Disable update balloon]]<br />
<br />
[[disk X has been surprise removed]]<br />
<br />
[[Excel Formula bar editing]]<br />
<br />
[[Excel Merging cells]]<br />
<br />
[[Excel Shortcut keys]]<br />
<br />
[[Files to backup from C when reinstalling]]<br />
<br />
[[For loops]]<br />
<br />
[[IIS adding individual FTP accounts]]<br />
<br />
[[Log all shutdown errors]]<br />
<br />
[[Lotus Organizer mappings for export]]<br />
<br />
[[Office 2021]]<br />
<br />
[[Outlook 2007]]<br />
<br />
[[Outlook 2019]]<br />
<br />
[[Photoshop plugin for making ICO-files]]<br />
<br />
[[Printing from IE]]<br />
<br />
[[Putty]]<br />
<br />
[[Reinstalling IE and Outlook Express]]<br />
<br />
[[Remapping Keyboard Keys]]<br />
<br />
[[Samsung Monitor reflecties in beeld]]<br />
<br />
[[The Bat!]]<br />
<br />
[[User management in xp and vista]]<br />
<br />
[[Windows Hello PIN problems]]<br />
<br />
[[Windows Mobile Devices]]<br />
<br />
[[XTNDConnect PC]]<br />
<br />
== Windows Vista ==<br />
<br />
[[Schijven partitioneren in Vista (en de C-schijf kleiner krijgen dan 150/200 Gig)]]<br />
<br />
[[Sidebar Gadget Development]]<br />
<br />
[[SNMP Aanzetten]]<br />
<br />
[[GET YOUR OLD WINDOWS PROFILE BACK]]<br />
<br />
== Windows 7 ==<br />
<br />
[[Windows 7 client bij SAMBA domein aanmelden]]<br />
<br />
[[Windows 7 no domain logon servers can be found]]<br />
<br />
[[Save Icon Locations on Desktop]]<br />
<br />
[[Automatic Logon Into Windows 7]]<br />
<br />
[[Automatisch inloggen met Windows 7]]<br />
<br />
== Servers ==<br />
<br />
Servers need to be installed in the following order due to chained dependencies.<br />
<br />
[[DNS]]<br />
<br />
[[DHCP]]<br />
<br />
[[Active Directory]]<br />
<br />
[[Exchange]]<br />
<br />
[[Small Business Server 2003]]<br />
<br />
NB. In SBS2011 do not rename the MyBusiness OU!<br />
<br />
[[NTP]]<br />
<br />
==Media Players==<br />
[[IFloor]]<br />
<br />
[[Irfanview]]<br />
<br />
[[Ultramon]]<br />
<br />
[[Media Player Classic autoplay]]</div>Redhttp://wiki.edgarbv.com/index.php?title=Windows&diff=37716Windows2024-02-16T07:50:50Z<p>Red: /* Windows Algemeen */</p>
<hr />
<div>== Windows Programs ==<br />
<br />
[https://ninite.com Ninite installer fetches and installs quite a few common proggies]<br />
<br />
[[Scanning searchable PDFs]]<br />
<br />
scribus - DTP<br />
<br />
Gimp - bitmap manipulation<br />
<br />
inkscape - vector graphics editing<br />
<br />
Pencil - wireframes (for websites/UI)<br />
<br />
Photopad - collage making software<br />
<br />
PDFill - pdf editing<br />
<br />
CutePDF - PDF writing<br />
<br />
Freemind - Mind mapper<br />
<br />
VirtualBox - VMs<br />
<br />
Visio Technical / DrawIO desktop (FOSS)<br />
<br />
Cyberghost - VPN<br />
<br />
Winscp / putty / Teamviewer / TigerVNC / XMing / openvpn - remote access<br />
<br />
WinxYoutube Downloader / get_iplayer<br />
<br />
Etcher / Rufus / unetbootin - burn iso to sd /usb<br />
<br />
Handbrake - video encoder<br />
<br />
mp3split / <br />
<br />
screenbloom - hue<br />
<br />
Teamspeak / discord - gaming chat<br />
<br />
FreeFileSync<br />
<br />
Image Deduplicator Tomasz Kapusta<br />
<br />
[https://www.uwe-sieber.de/usbtreeview_e.html USB Tree View] - shows the status of your usb devices<br />
<br />
EventGhost - shows when events happen, eg if stuff is plugged in or out of your PC<br />
<br />
FXSound - easily set sound presets, better voice sound with movies<br />
<br />
Portmaster - view your network connections<br />
<br />
[https://winsize2.sourceforge.net/en/index.html WinSize2] - remembers window sizes and positions on multimonitor setups ([https://www.makeuseof.com/windows-winsize-2-guide/ Guide])<br />
<br />
[[Optical Character Recognition]]<br />
<br />
== firefox addons ==<br />
<br />
bypass paywalls clean https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean<br />
<br />
clone window<br />
<br />
download helper<br />
<br />
Disconnect<br />
<br />
Duplicate Tab Shortcut<br />
<br />
Facebook container<br />
<br />
Facebook Pixel Hunt<br />
<br />
Firefox Relay<br />
<br />
Ghostery<br />
<br />
Google Page Translate<br />
<br />
Image Search options<br />
<br />
lastpass<br />
<br />
LocalCDN<br />
<br />
noscript<br />
<br />
overbiteWX<br />
<br />
Privacy Badger<br />
<br />
Super Agent - automatic cookie consent<br />
<br />
To Google Translate<br />
<br />
UBlock Origin<br />
<br />
https://addons.mozilla.org/en-US/firefox/addon/firefox-gold/<br />
<br />
== Other useful proggies ==<br />
<br />
utorrent<br />
<br />
3rvx<br />
<br />
anydvd<br />
<br />
avg<br />
<br />
Awesome Duplicate Photo Finder - see czkawka https://awesome-duplicate-photo-finder.en.softonic.com/<br />
<br />
curse client<br />
<br />
czkawka https://github.com/qarmin/czkawka/releases finds duplicate images - https://github.com/qarmin/czkawka/blob/master/instructions/Instruction.md - For a regex with path select eg: T:\Somewhere\0Iphone\Stuff123 -> /0Iphone/* or c:\users[username]\desktop https://github.com/qarmin/czkawka/discussions?page=1 <br />
<br />
deskscapes 3 (note: wallpaper engine is better)<br />
<br />
dupeguru - see czkwaka https://dupeguru.voltaicideas.net/ <br />
<br />
digikam - photo management<br />
<br />
eventghost - see windows events as they happen in a log (eg usb plugins and plugouts)<br />
<br />
fences<br />
<br />
foxit reader<br />
<br />
gimp<br />
<br />
google earth<br />
<br />
iconpackager<br />
<br />
java<br />
<br />
k-light codec pack<br />
<br />
lastpass<br />
<br />
libreoffice<br />
<br />
logitech g940 + g19<br />
<br />
logonstudio<br />
<br />
firefox<br />
<br />
multimonitor tool nirsoft<br />
<br />
notepad ++<br />
<br />
nvidia drivers<br />
<br />
ppjoy<br />
<br />
putty<br />
<br />
recon hq<br />
<br />
rise of flight<br />
<br />
sabnzbd<br />
<br />
skype<br />
<br />
spacemonger<br />
<br />
spotnet<br />
<br />
spybot sd<br />
<br />
superantispyware<br />
<br />
teamspeak<br />
<br />
trackir<br />
<br />
undelete<br />
<br />
ventrilio<br />
<br />
virtualclonedrive<br />
<br />
vlc<br />
<br />
wallpaper engine<br />
<br />
winamp / wacup<br />
<br />
== Hardware testing ==<br />
<br />
CPU-Z CPUID HWMonitor<br />
<br />
Diskinfo64<br />
<br />
Furmark<br />
<br />
Samsung Magician (SDDs)<br />
<br />
[https://www.entechtaiwan.com/util/moninfo.shtm Moninfo / Monitor Asset Manager]<br />
<br />
== Laptop ==<br />
<br />
winredock - restores window locations to monitors when replugging the monitor https://github.com/manutalcual/winredock<br />
<br />
thinkpadLEDcontrol - https://github.com/valinet/ThinkPadLEDControl<br />
<br />
== Windows Algemeen ==<br />
<br />
[[Add Commands to Windows Explorer Context Menu]]<br />
<br />
[[Changing normal template in Word]]<br />
<br />
[[Disable update balloon]]<br />
<br />
disk X has been surprise removed<br />
<br />
[[Excel Formula bar editing]]<br />
<br />
[[Excel Merging cells]]<br />
<br />
[[Excel Shortcut keys]]<br />
<br />
[[Files to backup from C when reinstalling]]<br />
<br />
[[For loops]]<br />
<br />
[[IIS adding individual FTP accounts]]<br />
<br />
[[Log all shutdown errors]]<br />
<br />
[[Lotus Organizer mappings for export]]<br />
<br />
[[Office 2021]]<br />
<br />
[[Outlook 2007]]<br />
<br />
[[Outlook 2019]]<br />
<br />
[[Photoshop plugin for making ICO-files]]<br />
<br />
[[Printing from IE]]<br />
<br />
[[Putty]]<br />
<br />
[[Reinstalling IE and Outlook Express]]<br />
<br />
[[Remapping Keyboard Keys]]<br />
<br />
[[Samsung Monitor reflecties in beeld]]<br />
<br />
[[The Bat!]]<br />
<br />
[[User management in xp and vista]]<br />
<br />
[[Windows Hello PIN problems]]<br />
<br />
[[Windows Mobile Devices]]<br />
<br />
[[XTNDConnect PC]]<br />
<br />
== Windows Vista ==<br />
<br />
[[Schijven partitioneren in Vista (en de C-schijf kleiner krijgen dan 150/200 Gig)]]<br />
<br />
[[Sidebar Gadget Development]]<br />
<br />
[[SNMP Aanzetten]]<br />
<br />
[[GET YOUR OLD WINDOWS PROFILE BACK]]<br />
<br />
== Windows 7 ==<br />
<br />
[[Windows 7 client bij SAMBA domein aanmelden]]<br />
<br />
[[Windows 7 no domain logon servers can be found]]<br />
<br />
[[Save Icon Locations on Desktop]]<br />
<br />
[[Automatic Logon Into Windows 7]]<br />
<br />
[[Automatisch inloggen met Windows 7]]<br />
<br />
== Servers ==<br />
<br />
Servers need to be installed in the following order due to chained dependencies.<br />
<br />
[[DNS]]<br />
<br />
[[DHCP]]<br />
<br />
[[Active Directory]]<br />
<br />
[[Exchange]]<br />
<br />
[[Small Business Server 2003]]<br />
<br />
NB. In SBS2011 do not rename the MyBusiness OU!<br />
<br />
[[NTP]]<br />
<br />
==Media Players==<br />
[[IFloor]]<br />
<br />
[[Irfanview]]<br />
<br />
[[Ultramon]]<br />
<br />
[[Media Player Classic autoplay]]</div>Redhttp://wiki.edgarbv.com/index.php?title=DaVinci_Resolve&diff=37715DaVinci Resolve2024-01-09T08:26:00Z<p>Red: /* Timelapse */</p>
<hr />
<div>= Views = <br />
The views are on the bottom bar in the middle and are Media, Cut, Edit, Fusion, Color, Fairlight and Deliver<br />
<br />
= Timelapse =<br />
To create a timelapse from images (stills), basically you rename all your images so they are in order and then you drag them into the media pool (button underneath the menu bar) You ''select them all, right click them and then choose "create new timeline with selected clips"''. This can be done in the Cut or Edit views.<br />
<br />
There, deselect the use project settings and under '''Format''' set '''Mismatched Resolution''' to '''Scale Entire Image to Fit'''<br />
<br />
== Changing the speed / length of the clips ==<br />
Because the delete gaps functionality only works for video clips and not images, this will not work after you change the time or framerate of the clips if you right click them.<br />
<br />
You need to go to '''DaVinci Resolve in the top left (next to file) -> Preferences -> User -> Editing''' and change the standard still duration time.<br />
<br />
== Transitions ==<br />
Select all the clips on the timeline (or at least two) and then '''Timeline -> Add Transition'''. You can see the available transitions by clicking the Effects button under the menu bar.<br />
<br />
Cross dissolve is pretty good for timelapses.<br />
<br />
You need to go to '''DaVinci Resolve in the top left (next to file) -> Preferences -> User -> Editing''' and change the standard transition duration time.<br />
<br />
= Delete Gaps =<br />
This option is really only for gaps between video clips, not audio or stills. You can find it under '''edit -> delete gaps'''<br />
<br />
It still bugs out quite a bit though and can sometimes be invoked by creating a keyboard shortcut for it. To do this go to '''DaVinci Resolve (top left menu next to File) -> Keyboard Customization -> search for Gaps -> put <alt> + <delete> or <shift> + <backspace> behind Delete Gaps'''</div>Redhttp://wiki.edgarbv.com/index.php?title=DaVinci_Resolve&diff=37714DaVinci Resolve2024-01-09T05:57:39Z<p>Red: </p>
<hr />
<div>= Views = <br />
The views are on the bottom bar in the middle and are Media, Cut, Edit, Fusion, Color, Fairlight and Deliver<br />
<br />
= Timelapse =<br />
To create a timelapse from images (stills), basically you rename all your images so they are in order and then you drag them into the media pool (button underneath the menu bar) You ''select them all, right click them and then choose "create new timeline with selected clips"''. This can be done in the Cut or Edit views.<br />
<br />
== Changing the speed / length of the clips ==<br />
Because the delete gaps functionality only works for video clips and not images, this will not work after you change the time or framerate of the clips if you right click them.<br />
<br />
You need to go to '''DaVinci Resolve in the top left (next to file) -> Preferences -> User -> Editing''' and change the standard still duration time.<br />
<br />
== Transitions ==<br />
Select all the clips on the timeline (or at least two) and then '''Timeline -> Add Transition'''. You can see the available transitions by clicking the Effects button under the menu bar.<br />
<br />
Cross dissolve is pretty good for timelapses.<br />
<br />
You need to go to '''DaVinci Resolve in the top left (next to file) -> Preferences -> User -> Editing''' and change the standard transition duration time.<br />
<br />
= Delete Gaps =<br />
This option is really only for gaps between video clips, not audio or stills. You can find it under '''edit -> delete gaps'''<br />
<br />
It still bugs out quite a bit though and can sometimes be invoked by creating a keyboard shortcut for it. To do this go to '''DaVinci Resolve (top left menu next to File) -> Keyboard Customization -> search for Gaps -> put <alt> + <delete> or <shift> + <backspace> behind Delete Gaps'''</div>Redhttp://wiki.edgarbv.com/index.php?title=DaVinci_Resolve&diff=37713DaVinci Resolve2024-01-09T05:56:05Z<p>Red: /* Timelapse */</p>
<hr />
<div>= Views = <br />
The views are on the bottom bar in the middle and are Media, Cut, Edit, Fusion, Color, Fairlight and Deliver<br />
<br />
= Timelapse =<br />
To create a timelapse from images (stills), basically you rename all your images so they are in order and then you drag them into the media pool (button underneath the menu bar) You select them all, right click them and then choose "create new timeline with selected clips". This can be done in the Cut or Edit views.<br />
<br />
== Changing the speed / length of the clips ==<br />
Because the delete gaps functionality only works for video clips and not images, this will not work after you change the time or framerate of the clips if you right click them.<br />
<br />
You need to go to DaVinci Resolve in the top left (next to file) -> Preferences -> User -> Editing and change the standard still duration time.<br />
<br />
== Transitions ==<br />
Select all the clips on the timeline (or at least two) and then Timeline -> Add Transition. You can see the available transitions by clicking the Effects button under the menu bar.<br />
<br />
Cross dissolve is pretty good for timelapses.<br />
<br />
You need to go to DaVinci Resolve in the top left (next to file) -> Preferences -> User -> Editing and change the standard transition duration time.<br />
<br />
= Delete Gaps =<br />
This option is really only for gaps between video clips, not audio or stills. You can find it under <br />
edit -> delete gaps<br />
<br />
It still bugs out quite a bit though and can sometimes be invoked by creating a keyboard shortcut for it. To do this go to<br />
<br />
DaVinci Resolve (top left menu next to File) -> Keyboard Customization -> search for Gaps -> put <alt> + <delete> or <shift> + <backspace> behind Delete Gaps</div>Redhttp://wiki.edgarbv.com/index.php?title=DaVinci_Resolve&diff=37712DaVinci Resolve2024-01-09T05:31:08Z<p>Red: /* Delete Gaps */</p>
<hr />
<div>= Views = <br />
The views are on the bottom bar in the middle and are Media, Cut, Edit, Fusion, Color, Fairlight and Deliver<br />
<br />
= Timelapse =<br />
To create a timelapse, basically you rename all your images so they are in order and then you drag them into the media pool (button underneath the menu bar) You select them all, right click them and then choose "create new timeline with selected clips". This can be done in the Cut or Edit views.<br />
<br />
== Changing the speed / length of the clips ==<br />
Because the delete gaps functionality only works for video clips and not images, this will not work after you change the time or framerate of the clips if you right click them.<br />
<br />
You need to go to DaVinci Resolve in the top left (next to file) -> Preferences -> User -> Editing and change the standard still duration time.<br />
<br />
== Transitions ==<br />
Select all the clips on the timeline (or at least two) and then Timeline -> Add Transition. You can see the available transitions by clicking the Effects button under the menu bar.<br />
<br />
Cross dissolve is pretty good for timelapses.<br />
<br />
You need to go to DaVinci Resolve in the top left (next to file) -> Preferences -> User -> Editing and change the standard transition duration time.<br />
<br />
= Delete Gaps =<br />
This option is really only for gaps between video clips, not audio or stills. You can find it under <br />
edit -> delete gaps<br />
<br />
It still bugs out quite a bit though and can sometimes be invoked by creating a keyboard shortcut for it. To do this go to<br />
<br />
DaVinci Resolve (top left menu next to File) -> Keyboard Customization -> search for Gaps -> put <alt> + <delete> or <shift> + <backspace> behind Delete Gaps</div>Redhttp://wiki.edgarbv.com/index.php?title=DaVinci_Resolve&diff=37711DaVinci Resolve2024-01-09T05:30:43Z<p>Red: /* Delete Gaps */</p>
<hr />
<div>= Views = <br />
The views are on the bottom bar in the middle and are Media, Cut, Edit, Fusion, Color, Fairlight and Deliver<br />
<br />
= Timelapse =<br />
To create a timelapse, basically you rename all your images so they are in order and then you drag them into the media pool (button underneath the menu bar) You select them all, right click them and then choose "create new timeline with selected clips". This can be done in the Cut or Edit views.<br />
<br />
== Changing the speed / length of the clips ==<br />
Because the delete gaps functionality only works for video clips and not images, this will not work after you change the time or framerate of the clips if you right click them.<br />
<br />
You need to go to DaVinci Resolve in the top left (next to file) -> Preferences -> User -> Editing and change the standard still duration time.<br />
<br />
== Transitions ==<br />
Select all the clips on the timeline (or at least two) and then Timeline -> Add Transition. You can see the available transitions by clicking the Effects button under the menu bar.<br />
<br />
Cross dissolve is pretty good for timelapses.<br />
<br />
You need to go to DaVinci Resolve in the top left (next to file) -> Preferences -> User -> Editing and change the standard transition duration time.<br />
<br />
= Delete Gaps =<br />
This option is really only for gaps between video clips, not audio or stills. You can find it under <br />
edit -> delete gaps<br />
<br />
It still bugs out quite a bit though and can sometimes be invoked by creating a keyboard shortcut for it. To do this go to<br />
<br />
DaVinci Resolve (top left menu next to File) -> Keyboard Customization -> search for Gaps -> put <alt>+<del> or <shift>+<backspace> behind Delete Gaps</div>Redhttp://wiki.edgarbv.com/index.php?title=DaVinci_Resolve&diff=37710DaVinci Resolve2024-01-09T05:30:05Z<p>Red: </p>
<hr />
<div>= Views = <br />
The views are on the bottom bar in the middle and are Media, Cut, Edit, Fusion, Color, Fairlight and Deliver<br />
<br />
= Timelapse =<br />
To create a timelapse, basically you rename all your images so they are in order and then you drag them into the media pool (button underneath the menu bar) You select them all, right click them and then choose "create new timeline with selected clips". This can be done in the Cut or Edit views.<br />
<br />
== Changing the speed / length of the clips ==<br />
Because the delete gaps functionality only works for video clips and not images, this will not work after you change the time or framerate of the clips if you right click them.<br />
<br />
You need to go to DaVinci Resolve in the top left (next to file) -> Preferences -> User -> Editing and change the standard still duration time.<br />
<br />
== Transitions ==<br />
Select all the clips on the timeline (or at least two) and then Timeline -> Add Transition. You can see the available transitions by clicking the Effects button under the menu bar.<br />
<br />
Cross dissolve is pretty good for timelapses.<br />
<br />
You need to go to DaVinci Resolve in the top left (next to file) -> Preferences -> User -> Editing and change the standard transition duration time.<br />
<br />
= Delete Gaps =<br />
This option is really only for gaps between video clips, not audio or stills. It still bugs out quite a bit though and can sometimes be invoked by creating a keyboard shortcut for it. To do this go to<br />
<br />
DaVinci Resolve (top left menu next to File) -> Keyboard Customization -> search for Gaps -> put <alt>+<del> or <shift>+<backspace> behind Delete Gaps</div>Redhttp://wiki.edgarbv.com/index.php?title=DaVinci_Resolve&diff=37709DaVinci Resolve2024-01-08T20:12:19Z<p>Red: Created page with "= Views = The views are on the bottom bar in the middle and are Media, Cut, Edit, Fusion, Color, Fairlight and Deliver = Timelapse = To create a timelapse, basically you rename all your images so they are in order and then you drag them into the media pool (button underneath the menu bar) You select them all, right click them and then choose "create new timeline with selected clips". This can be done in the Cut or Edit views. == Changing the speed / length of the clip..."</p>
<hr />
<div>= Views = <br />
The views are on the bottom bar in the middle and are Media, Cut, Edit, Fusion, Color, Fairlight and Deliver<br />
<br />
= Timelapse =<br />
To create a timelapse, basically you rename all your images so they are in order and then you drag them into the media pool (button underneath the menu bar) You select them all, right click them and then choose "create new timeline with selected clips". This can be done in the Cut or Edit views.<br />
<br />
== Changing the speed / length of the clips ==<br />
Because the delete gaps functionality only works for video clips and not images, this will not work after you change the time or framerate of the clips if you right click them.<br />
<br />
You need to go to DaVinci Resolve in the top left (next to file) -> Preferences -> User -> Editing and change the standard still duration time.<br />
<br />
== Transitions ==<br />
Select all the clips on the timeline (or at least two) and then Timeline -> Add Transition. You can see the available transitions by clicking the Effects button under the menu bar.<br />
<br />
Cross dissolve is pretty good for timelapses.<br />
<br />
You need to go to DaVinci Resolve in the top left (next to file) -> Preferences -> User -> Editing and change the standard transition duration time.</div>Redhttp://wiki.edgarbv.com/index.php?title=Video_editing&diff=37708Video editing2024-01-08T20:03:03Z<p>Red: </p>
<hr />
<div>[[Adobe Premiere]]<br />
<br />
[[Beveiligde Bluray bewerken]]<br />
<br />
[[DaVinci Resolve]]<br />
<br />
[[DV studio plus]]<br />
<br />
[[Ffmpeg video converter]]<br />
<br />
[[Films converteren met super converter en welk kodec pack]]<br />
<br />
[[Films fixen als het einde er niet op staat]]<br />
<br />
[[get_iplayer]]<br />
<br />
[[mp3splt]]</div>Redhttp://wiki.edgarbv.com/index.php?title=Video_editing&diff=37707Video editing2024-01-08T20:02:45Z<p>Red: </p>
<hr />
<div>[[Adobe Premiere]]<br />
<br />
[[Beveiligde Bluray bewerken]]<br />
<br />
[[Da Vinci Resolve]]<br />
<br />
[[DV studio plus]]<br />
<br />
[[Ffmpeg video converter]]<br />
<br />
[[Films converteren met super converter en welk kodec pack]]<br />
<br />
[[Films fixen als het einde er niet op staat]]<br />
<br />
[[get_iplayer]]<br />
<br />
[[mp3splt]]</div>Redhttp://wiki.edgarbv.com/index.php?title=Wordpress&diff=37706Wordpress2023-12-31T10:57:59Z<p>Red: /* Plugins */</p>
<hr />
<div>= Installation =<br />
<pre><br />
chown -R wp-user:www-data /var/www/example.com/<br />
cmhod 775 /var/www/example.com/wp-content/ -R<br />
su wp-user<br />
cd ~<br />
mkdir ~/.ssh; cd ~/.ssh<br />
ssh-keygen -t rsa -b 4096<br />
echo 'from="127.0.0.1"' `cat ~/.ssh/id_rsa.pub` > authorized_keys<br />
exit<br />
cp wp-config-sample.php wp-config.php<br />
chown 775 wp-config.php<br />
vi wp-config.php<br />
<br />
----- add to end ----<br />
<br />
define('FTP_PUBKEY','/home/wp-user/id_rsa.pub');<br />
define('FTP_PRIVKEY','/home/wp-user/id_rsa');<br />
define('FTP_USER','wp-user');<br />
define('FTP_PASS','');<br />
define('FTP_HOST','localhost');<br />
<br />
------<br />
<br />
Also, set DB_NAME, DB_USER and DB_PASSWORD<br />
<br />
Visit https://api.wordpress.org/secret-key/1.1/salt/<br />
And replace the AUTH_KEY etc with this<br />
<br />
Now visit the site<br />
</pre><br />
<br />
<br />
To enable ssh2 updating<br />
apt-get install php-ssh2<br />
<br />
= Permissions =<br />
site/ + subdirs<br />
chown www-data:group site/ -R<br />
<br />
in site/<br />
find . -type f -exec chmod 664 {} +<br />
find . -type d -exec chmod 775 {} +<br />
chmod 660 wp-config.php<br />
<br />
[https://www.wpbeginner.com/beginners-guide/why-you-cant-find-htaccess-file-on-your-wordpress-site/ Finding the .htacess]<br />
<br />
Settings » Permalinks page and click on ‘Save Changes’ button without changing anything. WordPress will now try to generate the .htaccess file for you.<br />
<br />
On some rare occasion, WordPress may not be able to generate the .htaccess file due to file permissions issue.<br />
<br />
In that case, it will show you a message at the bottom of the Settings » Permalinks page, saying that the ‘.htaccess file is not writeable’.<br />
<br />
You will need need to manually create the .htaccess file and add the required code inside it.<br />
<br />
= automated updates=<br />
in wp-config.php<br />
define( 'WP_AUTO_UPDATE_CORE', true );<br />
add_filter( 'allow_dev_auto_core_updates', '__return_false' );<br />
<br />
= Plugins =<br />
<br />
== Setup ==<br />
Wordfence Security<br />
<br />
Limit Login Attempts Reloaded<br />
<br />
GA Google Analytics<br />
<br />
Ivory Search<br />
<br />
Bing Webmaster URL Submission<br />
<br />
XML Sitemap Generator for Google<br />
<br />
Ivory Search<br />
<br />
If Menu - Visibility control for menu items<br />
<br />
Polylang<br />
<br />
Site Kit by Google<br />
<br />
Wordfence Security<br />
<br />
XML Sitemaps<br />
<br />
Shortcodes Ultimate<br />
<br />
WP STAGING – Backup Duplicator & Migration<br />
<br />
Flexible upload<br />
<br />
== Visuals ==<br />
<br />
Quick Featured Images<br />
<br />
Tabs Wordpress<br />
<br />
Visual Portfolio https://visualportfolio.co/<br />
<br />
Portfolio Post Type<br />
<br />
Link Library<br />
<br />
Ubermenu<br />
<br />
== Image Sliders ==<br />
Metaslider https://wordpress.org/plugins/ml-slider/<br />
<br />
Smart Post Show https://smartpostshow.com/demo/<br />
<br />
Slide Anything – Responsive Content / HTML Slider and Carousel https://wordpress.org/plugins/slide-anything/<br />
<br />
Slider by 10Web – Responsive Image Slider https://wordpress.org/plugins/slider-wd/<br />
<br />
Layerslider WP<br />
<br />
Slider Revolution<br />
<br />
== Forms ==<br />
Contact Form 7<br />
<br />
Flamingo (to save CF7 to a database)<br />
<br />
Smart Grid-Layout Design for Contact Form 7<br />
<br />
Contact Form 7 Polylang Module<br />
<br />
== Blogging ==<br />
<br />
CoolAuthorBox<br />
<br />
Captcha<br />
<br />
Ivory Search<br />
<br />
Press This (NOTE: the featured image does not work here, neither does the scheduled post functionality. To get the featured image to work, use the Quick Featured Images plugin to automatically set the first image as featured image. To schedule a post go to the standard editor) <br />
<br />
Press This Extended (gives a few more options)<br />
<br />
ShareThis<br />
<br />
Social Media Auto Publish<br />
<br />
XPoster - Share to Twitter/X from WordPress</div>Redhttp://wiki.edgarbv.com/index.php?title=Honeywell_Evohome_heating&diff=37705Honeywell Evohome heating2023-12-28T09:25:24Z<p>Red: </p>
<hr />
<div>Evohome Installation Guide [[:File:evohome Installation Guide - gateway model.pdf]]<br />
<br />
= hardware =<br />
<br />
For heating you need a smart radiator valve / TRV (thermostatic radiator valve) / Central heating valve<br />
<br />
[http://www.conrad-electronic.co.uk/ce/en/overview/0812040/Programmable-Thermostatic-Radiator-Valves Conrad has these which are programmable but not smartthings]<br />
<br />
Honeywell Evohome will be compatible with smartthings soon (they have been saying for years)<br />
<br />
Tado<br />
<br />
Danfoss doesn't seem to work<br />
<br />
[https://community.smartthings.com/t/release-mihome-etrv-radiator-valves-device-type/35162 MiHome has a hack]<br />
<br />
So far it looks like you will have to connect the brand thermostat to the TRV<br />
<br />
Your smart heating package constists of the following:<br />
<br />
- TRVs for the radiators<br />
<br />
- a thermostat<br />
<br />
- a controller / receiver for the CV installation.<br />
<br />
<br />
The controller / receiver comes in 2 types:<br />
<br />
- opentherm: an open standard that allows graduated control over the heat the CV generates http://centrale-verwarming-combiketels.welke-kiezen-kopen.nl/opentherm-wat-is-het-voordeel-cv-ketels.php<br />
<br />
- on / off<br />
<br />
When you install your system, you also need a bypass to allow for water to circulate. A possibility is to have one of your radiators on all the time, to act like a bypass.<br />
<br />
Honeywell has a 4 zone wifi kit for EUR 483 https://www.cvkoopjes.nl/honeywell-zoneregeling/honeywell-evohome-wi-fi-4-zone-aanuit-pakket.html?gclid=CLPV8bz8nswCFegp0wodKVgGSA#/75-garantie-2_jaar_standaard/ and for EUR 505 http://www.paradigit.nl/honeywell-evohome-multi-zone-radiatorpakket-on-off/80039504/details.aspx?channel_code=210&s2m_product_id=80039504&utm_source=adcore-v4&gclid=CMbUnKz7nswCFeQp0wodjBIC6Q<br />
<br />
You can buy the receiver seperately for around EUR 100,-<br />
<br />
https://www.google.nl/search?q=Honeywell+opentherm+ontvanger&ie=utf-8&oe=utf-8&gws_rd=cr&ei=hnkYV7HnIcSRgAbtnIOgAg#q=Honeywell+opentherm+ontvanger&safe=off&tbm=shop<br />
<br />
There's also a remote sensing TRV head, for if your radiator is enclosed<br />
<br />
http://www.honeywelluk.com/products/Valves/Thermostatic-Radiator-Valve/TRV-Accessories-Head/Remote-Sensing-TRV-Head/<br />
<br />
https://www.kijkvoelbeleef.nl/Honeywell/Producten/Product/Distance-Plus/ (in NL they are called Distance Plus) <br />
<br />
for around EUR 25 https://www.installatievakwinkel.nl/honeywell-radiatorthermostaatknop-recht-economy-distance-wit-t900120w0?utm_source=beslistslimmershoppen&channable=e5791.MzA1MjAwMzY5Mjc&utm_content=Honeywell&utm_campaign=beslist&utm_medium=cpc&utm_term=30520036927<br />
<br />
or EUR 59 https://www.installatievakwinkel.nl/honeywell-radiatorthermostaatknop-recht-distance-plus-wit-t950120w0<br />
<br />
but I don't know if they are compatible with EvoHome.<br />
<br />
Unfortunately the Nefit Ecomline HR line of CVs is on/off only and doesn't have an opentherm adapter. There is an adapter for their own smart thermostat, but you can't use that to connec to the Honeywell Evohome.<br />
<br />
== evohome controller ==<br />
The Evohome controller has a maximum of 12 zones. Floor heating needs it's own zone and cannot be combined with a TRV.<br />
<br />
===variants===<br />
There are three versions of the controller:<br />
* The old controller uses the RFG100 Internet Gateway Comfort [https://www.kamerthermostaatkopen.nl/80511122--honeywell-evohome-internet-gateway-comfort-rfg100.html] to connect to internet and allows totalconnectcomfort to set the temp via internet<br />
* The 'standard' BDR91 (standard on/off wireless relay box) or R8810 (opentherm) for the past few years is the wifi controller, with the screen. It will connect to your own network and you can control the temperatures with a 5o granularity. The API connection to Honeywell is rate limited.<br />
* The HG180 interface [https://www.solar-nu-webshop.nl/webshop/smart-home-domotica/i-thermostaten-evohome/detail/609/honeywell-hgi80-interface.html] allows you to control directly using Domoticz, Somfy Tomoha and Electrabel Smart with a granularity of 1o and unlimimted API calls using a USB connection to the server. You won't have to rely on Honeywell being up.<br />
<pre><br />
With a HGI80 you can poll the status for logging purposes as often as you like. With the API, access is rate limited to every few mins so as not to overburden Honeywell. HGI80 also works with Domoticz when the Honeywell cloud service is down for maintenance. With the HGI80 you also get to see the radiator valve percentage open/closed status in Domoticz. Not possible with API.<br />
</pre><br />
From [https://www.domoticz.com/forum/viewtopic.php?t=26724]<br />
<br />
===[https://ensupport.getconnected.honeywellhome.com/s/article/Why-does-a-wireless-control-lose-communication?language=en_US communication and ranges]===<br />
<br />
Honeywell Home wireless controls operate at 868 MHz.<br />
<br />
The operating range is a maximum of 30 metres.<br />
<br />
Where multiple wireless devices are fitted in the same property it is essential that the receivers are installed at least 30cm apart from each other. The receivers should also be installed at least 30cm away from other sources of interference such as other wireless devices, electrical installations and solid metal objects (including the boiler).<br />
<br />
Please see the below illustration for reference:<br />
[[File:controller distances.png|400px]]<br />
<br />
If communication between the sender and receiver is continually lost then consideration should be given to relocating one or other of the devices. All of the Honeywell Home wireless devices feature a wireless signal strength test facility and the signal strength should be tested. If necessary the devices should be moved until a good signal strength is achieved.<br />
<br />
In rare cases it is possible that a wireless device will not work in a specific situation and the cause of this is not always able to be determined. If relocating devices cannot overcome the problem then consideration needs to be given to installing a hard wired device.<br />
<br />
=== system configuration ===<br />
<br />
[[:File:evohome-installation-guide.pdf]]<br />
<br />
To get into the installation menu, you need to long press the settings icon. This allows you to configure zones, system devices, system parameters, add zone, system summary, fr comms check and factory reset.<br />
<br />
Try to not use spaces in zone names (for graphing)<br />
<br />
=== BDR91===<br />
====[https://ensupport.getconnected.honeywellhome.com/s/article/What-do-the-BRD91-LED-indicators-mean?language=en_US&topicId=0TO6A0000009L6nWAE&topicName=evohome What the LED indicators mean]====<br />
<br />
Binding<br />
Binding mode is activated by pressing and holding the button for 5 seconds. During binding mode the relay will be set to the off condition.<br />
<br />
RED light will flash on/off every second while in binding mode. (0.5s on, 0.5s off). Successful binding will turn the RED light off.<br />
A 3 minute timer will operate during binding mode. Unsuccessful binding will cause the RED light to be constantly on and the GREEN light to flash once with 0.1s on and 3 sec off duration. The error condition will be cancelled after 30 minutes.<br />
If unit currently has been bound with 4 controllers for control information and an attempt is made to bind a 5th then the RED light will be constantly on and the GREEN light will flash twice with 0.1s on time and then be off for 3 sec. This error condition will be cancelled after 30 minutes.<br />
It will not be possible to bind the unit with a controller for synchronization information before it has been bound to a unit for control information, if attempted the RED light will be constantly on and the GREEN light will flash three times with 0.1s on time and then be off for 3 sec. This error condition will be cancelled after 30 minutes.<br />
If the unit is bound to more than one controller and is configured for cooling, the RED light will be constantly on and the GREEN light will flash five times with 0.1s on time and then be off for 3 sec. During this time the relay will be held off.<br />
<br />
Loss of communications<br />
While the unit is operating in Loss of Communications mode GREEN light indicates relay status is on.<br />
<br />
If the unit is bound to more than one controller and communications have been lost from some, but not all, of these controllers the RED light will flash 2.5sec on, 2.5sec off.<br />
If the unit has lost communications from all the controllers it is bound with, the RED light will be on continuously.<br />
Loss of communications for a period of 1 hour or more will be indicated to the user. After this period, control action will be defined as per the Loss of Communications installer setting configured in the controller (fail safe modes) and the device the unit is controlling<br />
<br />
<br />
Power Up & Reset Operation<br />
<br />
When power is first applied the unit will have no valid binding data and the RED light will flash at approx 0.1s on, 0.9sec off. The push button and GREEN light will respond as in normal operation mode. <br />
If unit has no valid binding data, the RED light will flash at approx 0.1s on, 0.9sec off.<br />
The factory reset will return the unit to the conditions at first power-on. This is initiated by pressing and holding the push button for 15 seconds. After reset the push button must be released prior to any other action of the BDR91.<br />
If not bound to a controller in a pack, the factory reset mode will be the designated shipping condition.<br />
Returning the unit to the factory reset condition will cancel the display of any error conditions.<br />
<br />
<br />
Communication Fault Codes & Diagnostics<br />
<br />
Verification of communications integrity is achieved through the use of the Memory Data message. On receipt of a valid Memory Data message the unit will react immediately. The action taken will depend on the data value received. Of this class of messages only the action for signal strength indication is described below:<br />
RED light flashes to give indication of signal strength, 5 flashes for strong signal, 1 flash for weak signal.<br />
If the BDR has no lights coming on, even after pressing its button, then the wiring needs to be checked. If the wiring was done properly, then the unit is faulty and needs to be replaced.<br />
<br />
==== [https://ensupport.getconnected.honeywellhome.com/s/article/How-to-bind-the-evohome-controller-to-the-BDR91-receiver-which-is-wired-to-the-boiler-in-order-to-control-the-heating?language=en_US How to rebind the boiler BDR91 from the controller] / How to put the controller into binding mode ====<br />
<br />
In order to connect the BDR91 which is wired to the boiler to the evohome controller, please follow the below steps:<br />
<br />
Put the relay box in binding mode, by checking the article How to bind a BDR91 Wireless Relay Box to the evohome controller<br />
<br />
1.Press and hold the Settings icon until the message "System configuration" will appear on the display<br />
<br />
2. Press the green tick<br />
<br />
3. Press System devices<br />
<br />
4. Press Boiler control<br />
<br />
5. Press on Wireless relay box and after on the green tick<br />
<br />
6. Press Wireless Relay Box<br />
<br />
7. a change boiler control box will pop up asking you if you want to remove any previously bound boiler controls. tick green.<br />
<br />
8. Press the green bind button<br />
<br />
[https://ensupport.getconnected.honeywellhome.com/s/article/How-to-bind-a-BDR91-Wireless-Relay-Box-to-the-evohome-controller?language=en_US How to bind a BDR91 Wireless Relay Box to the evohome controller?]<br />
1. If the evohome controller is already in the binding mode proceed with the next steps, if not, follow the steps described in the following knowledge article: How to put the evohome controller into binding mode (above)<br />
<br />
2. On the Wireless Relay Box, press and hold the button for 15 seconds (until the red LED blinks rapidly) to clear any previous binding data.<br />
<br />
3. Press and hold the button again for 5 seconds (until the red LED blinks slowly).<br />
[[File:clear binding data bdr91.png|400px]]<br />
Clearing binding info on BDR91<br />
4.On the evohome Controller press the green bind button.<br />
<br />
5.You should receive a "SUCCESS" message on the evohome Controller (if not go back and re-bind).<br />
<br />
==== force TRV comms with the BDR91 ====<br />
<br />
It seems that the BDR91 won't turn on after a power failure. What should happen is that it will turn on once one of the TRVs tries to communicatie with it. The fastest way to force this is to pop out the batteries from one of the TRVs and put them back in. '''UNTESTED'''<br />
<br />
== HR92 TRV ==<br />
<br />
This is the hardware that attaches to your radiator. <br />
<br />
[[:File:hr92_installation_user_manual.pdf]]<br />
<br />
=== attaching TRV to radiator ===<br />
Ensure the screwcap fitting is completely open / turned left / has pointy bit in white thing retracted before fitting to radiator (ie radiator is at heat full on). Connect and lock the TRV in this screw setting. It will then perform a full cycle to on then off and then go into operation. If you press the thing on the radiator in, you turn off the heat. If you leave it alone (ie it's full out) you turn on the heat.<br />
<br />
=== adding multiple TRVs to a zone ===<br />
<br />
Keep the TRVs physically close to the controller.<br />
<br />
After creating the zone, add the first TRV (press button once to see "unbound", long press button until you see "bind", press button until you see "success"). Wait for sync to finish and press the button on the TRV. You should now see the zone name.<br />
<br />
It will then ask you to add more sensors. Put them all into binding mode (see above) and THEN press the bind button on the controller. It will add them all silmutaneously. WAIT for syncing to stop and check each TRV to see if they have been added to the zone (press button once) before pressing OK / green tick on the controller.<br />
<br />
=== default temperature sensor when using multiple TRVs in a zone ===<br />
if it is a zone using multiple HR92, the FIRST one that you bind is sensor and actuator, subsequent HR92s bound are only bound as actuators<br />
<br />
however<br />
<br />
if you then go into system parameters, zone parameters<br />
<br />
you can change from a single to multiroom zone<br />
<br />
this enables every HR92 to be sensor and actuator <br />
<br />
=== temperature sensitivity ===<br />
The sensitivity only works to 0.5oC, which means that accuracy is off to at least this and the system will not compensate for this temp difference. Also, if you manually change a temp setting on the TRV and the next temp in the programmed block is around 0.5oC difference, it will not go back to the programmed block setting, but stay in manual override. For a discussion see [https://www.automatedhome.co.uk/vbulletin/showthread.php?4203-Evohome-poor-temperature-regulation/page2 here].<br />
<br />
For a discussion on why a radiator valve could be on permanently because the radiator itself doesn't have sufficient capacity to heat up the room see [https://www.automatedhome.co.uk/vbulletin/showthread.php?4488-Evohome-reset-learning-on-single-zone/page2 here]<br />
<br />
=== rezoning a TRV ===<br />
To rezone a TRV you need to unbind ALL TRVs from the old AND new zone, destroy the zone on the controller and then rebind. Otherwise things can Go Wrong. Note that the first TRV to connect to a new zone is the one which will measure the temperature, if there are multiple TRVs per zone.<br />
<br />
===unbind a TRV from a zone===<br />
To unbind a bound TRV, first click the button once. It will show the room it is bound to. Now press and hold the button until the display says "bind". (you can also do a RF check from this menu). With "bind" in the display, press and the button. It will say "binding". Press and hold the button. The display will show "cleared". At this point release the button. If you press the button once, it will show "unbound".<br />
<br />
Note - if you change the settings on the TRV and under 12 restore to factory settings, this will NOT destroy the binding - it is retained.<br />
<br />
===bind the TRV===<br />
[https://ensupport.getconnected.honeywellhome.com/s/article/How-to-bind-the-HR92-to-Evohome-controller?language=en_US How to bind the HR92 to Evohome controller?]<br />
First get the evohome controller, go to the configuration menu (long press settings), go to the zone configuration -> select zone -> rf zone binding.<br />
<br />
Basically press the button once, it will say "unbound". Then press the button for five seconds. The display will say "bind". You should receive a SUCCESS message on the evohome controller(if not go back and re-bind). The name of the allocated zone should appear on the HR92 display when you press the User-added image button.<br />
<br />
===changing TRV settings===<br />
[https://ensupport.getconnected.honeywellhome.com/s/article/How-to-change-the-parameters-on-the-HR92-Wireless-Radiator-Controller?language=en_US How to change the parameters on the HR92 Wireless Radiator Controller?]<br />
<br />
To change language, backlight, duration of window function, sensitivity of window function, valve stroke, temperature representation in display, temperature offset, battery type, display of the valve position, window open function and reset to factory settings (NB does not unbind from the zone!) '''keep the button pressed for five seconds (NB NOT when showing a zone name!)'''. Keep the image button pressed for approximately 5 seconds until Parameter 1 flashes (left-hand digit). The right hand digit shows the current setting. The parameter is displayed additionally in plain text ; for example, the display 1 1 stands for Parameter 1 (language) with Setting 1 (English). '''Use the adjustment dial to select the desired parameter (left-hand digit). Press the button to edit the parameter. The current setting of the parameter flashes (right-hand digit). Use the adjustment dial to set the desired setting (right-hand digit) and confirm with button. For the further parameters repeat. To exit the menu, select "EXIT" using the adjustment dial and confirm with the button'''.<br />
<br />
Note: resetting the TRV does not unbind it from it's zone.<br />
<br />
Settings for TRVs (I live in an older house) - turn off the windows!<br />
<br />
3 0<br />
7 1<br />
11 0<br />
<br />
[[File:hr92 settings 1234.png|400px]]<br />
<br />
[[File:hr92 settings 5678.png|400px]]<br />
<br />
[[File:hr92 settings 9101112.png|400px]]<br />
<br />
===Connecting the TRV using an adapter / if the heating stays hot===<br />
This happens because the fitting is not compatible. You will need a radiator adapter<br />
<br />
[[File:honeywell-evohome-radiatorthermostaat-afsluiter-vergelijken-m30-danfoss-comap-herz-ta-vaillant.jpg|400px]]<br />
<br />
[https://www.verwarmenperkamer.nl/honeywell-evohome/radiator-afsluiter-adapters Verwarmenperkamer]<br />
<br />
[https://wifithermostaten.nl/accessoires/radiator-adapters.html wifithermostaten]<br />
<br />
[https://www.todo-control.com/adapter-r453hy012-honeywell-giacomini Todocontrol] has another adapter R453HY012 which you can screw into the TRV as an alternative<br />
<br />
===If the temperature in a zone keeps overriding to 5 degrees===<br />
You have to rezone: ie, unbind the TRVs, then delete the zone, then create the zone, then rebind the TRVs. See also [https://www.automatedhome.co.uk/vbulletin/showthread.php?5353-Evohome-zone-constantly-resetting-to-minimum-temp-after-some-time/page2]<br />
<br />
= graphing / logging evohome over time =<br />
[http://www.automatedhome.co.uk/vbulletin/showthread.php?3863-Decoded-EvoHome-API-access-to-control-remotely Decoded EvoHome API access to control remotely thread]<br />
<br />
Most graphing modules need you to have the evoconnect connected to your heating.<br />
[http://will.dollman.org/2014/10/03/totalconnectcomfort-and-cacti-setup-guide/ Setup guide - Honeywell Total Connect Comfort + Cacti]<br />
<br />
[https://community.home-assistant.io/t/refactored-honeywell-evohome-custom-component-eu-only/59733 Home Assistant] has a binding with rrd type history graphs<br />
<br />
[https://github.com/Infern1/evohome-munin Evohome-munin] uses the web api and is pretty accurate [http://munin-monitoring.org/ Find munin here]<br />
<br />
[[My guide to grafana / influxdb]]<br />
<br />
[https://www.automatedhome.co.uk/vbulletin/showthread.php?4696-Beginners-guide-to-graphing-Evohome-temperatures-using-python-and-plot-ly here is a guide to using python and plot.ly]<br />
<br />
Domoticz has a nice and easy graphing [https://www.domoticz.com/wiki/Evohome for Evohome]<br />
<br />
[https://community.smartthings.com/t/smartthings-data-visualisation-using-influxdb-and-grafana/44946/44 SmartThings Data Visualisation using InfluxDB and Grafana thread] with some really nice dashboard examples in the comments<br />
<br />
[https://github.com/andrew-blake/evohome-utils Andrew Blake Evohome Utils Github] <br />
<br />
* Perform logging of your EvoHome thermostat actual and target temperatures<br />
* Log to either CSV or InfluxDB (or both)<br />
* Backup and restore weekly setpoint schedules<br />
* Log to Influx to then visualise easily in Grafana<br />
<br />
[https://github.com/jankeesvw/evohome-to-influxdb jankeesvw Evohome to InfluxDB] This is a docker container that pushes data from the Honeywell Evohome API to InfluxDB.<br />
<br />
[https://github.com/freeranger/evologger Freeranger] To allow you to read your actual and desired temperatures from your EvoHome system (and others) and log them to a variety of destinations. Destinations include "data stores" such as .csv files or influxdb database for further ingestion by Excel or grafana respectively, or directly to graphing websites such as Plot.ly and emoncms<br />
<br />
[https://grafana.com/ Grafana] Builds dashboards. open source software for time series analytics, No matter where your data is, or what kind of database it lives in, you can bring it together with Grafana. Beautifully.<br />
<br />
[https://prometheus.io/ Prometheus] seems to be fairly popular, but I haven't seen many screenshots yet<br />
<br />
Note - Influxdb or graphite are better databases for logging this kind of data as they are time series dbms <br />
<br />
[https://db-engines.com/en/article/Time+Series+DBMS about time series dbms]<br />
<br />
<pre><br />
A Time Series DBMS is a database management system that is optimized for handling time series data: each entry is associated with a timestamp.<br />
<br />
For example, time series data may be produced by sensors, smart meters or RFIDs in the so-called Internet of Things, or may depict the stock tickers of a high frequency stock trading system.<br />
<br />
Time Series DBMS are designed to efficiently collect, store and query various time series with high transaction volumes. Although time series data can be managed with other categories of DBMS (from key-value stores to relational systems), the specific challenges often require specialized systems.<br />
E.g. a query like 'SELECT SENSOR1_CPU_FREQUENCY / SENSOR2_HEAT' joins two time series based on the overlapping areas of time for each and outputs a single composite time series.<br />
</pre><br />
<br />
Unfortunately the [https://docs.cacti.net/usertemplate:graph:evohome Cacti] template can't be downloaded any more :(<br />
<br />
[https://developer.honeywell.com/faqs/what-rate-limit-api The API rate limit] to allow you to poll device status every 5 minutes for up to 20 devices per hour, with a little cushion to make changes. If you need a higher rate limit, please contact us: HoneywellAPISupport@honeywell.com<br />
<br />
=Support pages=<br />
<br />
== Ghost zones ==<br />
If you see a zone in the app or website that does not appear in the controller display and is set at 62o C then a ghost zone has appeared. To resolve:<br />
<br />
Log out of the TCC app<br />
log in to the [https://international.mytotalconnectcomfort.com/Account/Login TCC webportal].<br />
Click on your location<br />
Click on Comfort System / View Settings<br />
In the bottom right click "remove comfort system"<br />
Logout<br />
Wait 10 minutes<br />
Login again<br />
Add the comfort system / thermostat. MAC address + CRC can be found under wifi settings on the display<br />
<br />
<br />
[https://getconnected.honeywellhome.com/en/evohome-support Evohome Support]<br />
<br />
[https://heatingcontrols.honeywellhome.com/products/Connected-Thermostats/Wireless-Connected-Thermostats/evohome-WiFi-Connected-Thermostat-Pack/ Honeywell trade page with all products]<br />
<br />
[https://developer.honeywell.com/ Honeywell developer guides]<br />
<br />
[https://www.automatedhome.co.uk/vbulletin/forumdisplay.php?13-Heating-Control Automated Home forum]</div>Redhttp://wiki.edgarbv.com/index.php?title=Synology&diff=37704Synology2023-12-27T21:06:03Z<p>Red: /* Synology to synology */</p>
<hr />
<div>= First things to do =<br />
<br />
== Change IP ==<br />
<br />
Control panel -> (connectivity) Network -> tab network interface -> select LAN and click Edit.<br />
<br />
== Enable home directories + 2 step verification ==<br />
<br />
Control panel -> User -> Advanced -> Enable home user service + Enforce 2 step verification<br />
<br />
== change workgroup ==<br />
<br />
control panel -> file services -> smb/afp/nfs -> smb / enable smb service : workgroup<br />
<br />
== change low volume warning threshold ==<br />
change the % by going into my Storage Manager -> Storage -> Clicking the ... on the Volume I was looking for then Clicking Settings. If I scroll down on the Settings there is a Low Capacity Notification where you can change the % to 5% from 20%<br />
<br />
== Enable SSH ==<br />
<br />
Control panel -> (System) Terminal & SNMP enable SSH<br />
<br />
Control panel -> (connectivity) Security -> Firewall tab -> create a rule for SSH (encrypted terminal services), enable and save<br />
<br />
for root login as admin and then '''sudo sh'''<br />
<br />
(you can then log in to the machine using user '''root''' and the default admin password)<br />
<br />
to enable your users to access the terminal vi /etc/passwd and change /sbin/nologin to /bin/ash<br />
<br />
== Create shared folders ==<br />
Once you have created your shared folder, also enable snapshots<br />
<br />
= Prepare for rsync =<br />
NB the synology can only push rsync files, it can not be set up to pull files from a remote rsync server.<br />
<br />
Control panel -> (file sharing) Shared Folder -> create folder to back up to. Give the user you want to rsync to Read/Write access<br />
<br />
Control panel -> File services -> enable rsync service<br />
<br />
'''depreciated'''<br />
----<br />
Start (top left) -> Backup & replication -> backup services -> enable network backup service<br />
<br />
Start (top left) -> Backup & replication -> Backup Destination -> create Local Backup destination -> backup up data to local shared folder -> the name you put in there will be the module name or the path you can use later.<br />
<br />
then add the section in /etc/rsyncd.conf changing only the path and comment values (of course under the module name)<br />
<br />
restart rsync with<br />
<pre><br />
/usr/syno/etc/rc.sysv/S84rsyncd.sh restart<br />
</pre><br />
<br />
If you don't do this, it will rsync everything without the user name for some reason<br />
<br />
== Synology to synology ==<br />
You backup from the source to the target<br />
<br />
ssh into the source machine ('''mind the slashes at the end!''' if you don't use the slash it will create a directory in the directory you specify)<br />
<br />
rsync -avn /volume1/sourcedirectory/ user@192.168.0.105:/volume1/targetdirectory/<br />
<br />
to check if it works. Drop the n to start the actual copy.<br />
<br />
=== Hyper Backup ===<br />
This will create a backup directory which you can't browse with file explorer as it stores everything in a hyper backup format (Non browseable). NB this fails pretty badly using l2tp VPN connection. You need to use Tailscale (see VPN below).<br />
<br />
==== Using Hyper Backup Vault ====<br />
Note: the destination needs the Hyper Backup Vault package installed. Launch Hyper backup on the source. Use the + bottom left to create a new backup job. Select data backup. Select Remote NAS device. fill in the hostname and then you can select which Shared folder it will use as a destination. Note: you cannot use photos or homes. The Directory is the name of the directory it will make on the shared folder on the destination device.<br />
<br />
==== Using rsync ====<br />
Launch Hyper backup on the source. Use the + bottom left to create a new backup job. Choose rsync. Fill in the data. As username and password you need a username and pass on the target machine. It will then fill the shared folder list with shares available on the target. You cannot backup to the root directory of the target share, so you need something in the directory field. After this it pretty much sets itself up. This will actually copy files, so you can browse them on the target NAS<br />
<br />
==== Using Snapshot replication ====<br />
This is supposed to be fairly effective, but not all DSM versions have this package and it needs to be installed on the recipient as well.<br />
<br />
== Netgear ReadyNas Ultra setup for rsync to Synology ==<br />
<br />
''Here we set up the Netgear to pull data from the Synology''<br />
<br />
in the /admin interface first<br />
<br />
Services -> Standard File Protocols -> ensure Rsync is enabled<br />
<br />
Shares -> share listing -> click on rsync icon. scroll up and change default access to 'read only'. Set hosts allowed access to ip of synology (192.168.0.101). Fill in the username and password!<br />
<br />
Backup -> Add a new backup job<br />
<br />
[[File:netgear backup step 1.png]]<br />
<br />
If you don't fill in the path above it will copy the whole share. If you browse the share you can select a subdir to copy.<br />
<br />
[[File:netgear backup step 2.png]]<br />
<br />
Note that the '''Path needs to be EMPTY''' before pressing the 'Test connection' button. It will sometimes work if you fill in NetBackup but you're best off doing the test empty, then typing in the path and then apply bottom right to test the backup job.<br />
<br />
This is what the schedule will look like<br />
<br />
[[File:backup schedule.png|400px]]<br />
<br />
The Daily job<br />
<br />
[[File:jobt1.png|400px]]<br />
[[File:job2.png|400px]]<br />
[[File:job3.png|400px]]<br />
[[File:job4.png|400px]]<br />
<br />
The Weekly job<br />
<br />
[[File:weekly netgear rsync.png|400px]]<br />
<br />
The monthly job<br />
<br />
[[File:monthly netgear rsync1.png|400px]]<br />
[[File:monthly netgear rsync2.png|400px]]<br />
<br />
== useful linkies ==<br />
[http://www.readynas.com/download/documentation/support/rsync_howto_nastonas.pdf Readynas rsync howto PDF]<br />
<br />
[https://www.synology.com/en-uk/knowledgebase/tutorials/613 synology rsync tutorial]<br />
<br />
[http://www.smallnetbuilder.com/nas/nas-howto/30856-how-to-back-up-nas-to-nas-part-1?start=1 small netbuilder tutorial]<br />
<br />
== indexing media files ==<br />
If you rsync files into the /volume1/photo or /volume1/video directories the system does not index them. They need to be copied in using windows or the internal file manager to index them automatically.<br />
<br />
In control panel -> Media library you can re-index the files in the photo directory.<br />
<br />
In the video station itself under collection -> settings you can re-index.<br />
<br />
As you can't set /video/ as a directory to use in the video station, you have to set a symbolic link from /volume1/video/movie to wherever you want to have your directories.<br />
<br />
Warning: indexing can take DAYS!<br />
<br />
== Preparing ReadyNAS for rsync towards it ==<br />
Ensure in Shares that the rsync is enabled on at least one share. Ensure the host you are coming from is allowed and that there is a username / password for it.<br />
<br />
= Symbolic links =<br />
<br />
Windows can't handle symbolic links on the synology, so you have to mount directories with<br />
<pre><br />
mount -o bind /volume1/sourcedir /volume1/destdir<br />
</pre><br />
<br />
as root<br />
<br />
and then copy the mount command to /etc/rc.local to make it stick after a reboot<br />
<br />
= prepare the windows machine for Picasa =<br />
<br />
SSH to the synology, log in as root<br />
<pre><br />
mkdir /volume1/photo/Pictures<br />
mount -o bind /volume1/photo/ /volume1/photo/Pictures<br />
</pre><br />
edit /etc/rc.local<br />
<br />
insert the mount command above into the file - this is for when the synology restarts<br />
<br />
in windows explorer map \\invader\photo to T:<br />
<br />
== Picasa database file locations ==<br />
<br />
There are 2 directories in % %LocalAppData%\Google\ which is the same as C:\Users\razor\AppData\Local\Google\<br />
<br />
<br />
Copy them over before running Picasa for the first time.<br />
<br />
=NFS=<br />
<br />
First make sure in Control Panel -> File Services that NFS is enabled.<br />
<br />
Then in Control Panel -> File Sharing -> Edit the share -> create NFS Permissions. You should only have to change the IP/Hostname field.<br />
<br />
[https://www.synology.com/en-us/knowledgebase/tutorials/616 see here]<br />
<br />
=CIFS=<br />
sudo mount -t cifs //192.168.0.101/home/ ~/xx/ -o username=razor,uid=razor,gid=users<br />
<br />
=To find the NAS on linux with netbios=<br />
You have to enable the bonjour service on the NAS<br />
<br />
Control Panel -> File services -> Enable AFP service, then in Advanced tab -> also enable<br />
<br />
The linux machine needs avahi running. Check using<br />
sudo service avahi-daemon status<br />
<br />
=DLNA=<br />
The video players such as a TV (eg on an LG TV under "photos and videos" app) that play directly from the NAS use DLNA. The synology (or DLNA server) creates a database which the player reads. <br />
<br />
The settings for the Media Server / DNLA can be found under the synology ''start menu -> media server''. It is quite possible that Synology decides it doesn't like your player much and gives it a device type which it's not happy with. Under ''DMA Compatibility -> Device List'' you can change the profile to '''Default profile''', which may help.<br />
<br />
If the database is somehow damaged, you can rebuild it under ''control panel -> indexing service'' and then click '''re-index'''. This can take days!<br />
<br />
To check the status of the rebuild, ssh in (using admin / pw, then sudo su) and you can check to see what's being rebuilt by issuing<br />
ls -l /proc/$(pidof synomkthumbd)/fd<br />
To monitor what's happening over some time do (nb it will take some time before you see anything appear!)<br />
while sleep 30; do ls -l /proc/$(pidof synomkthumbd)/fd | grep volume; done<br />
[https://www.mcleanit.ca/blog/synology-check-index-progress/ from mcleanit.ca]<br />
<br />
If the indexing service seems frozen then restart it with<br />
synoservicectl --restart synoindexd<br />
<br />
=Streaming=<br />
The audio station DS Audio app is terrible and hangs a lot. <br />
<br />
As alternatives there are Jellyfin; Airsonic and mstream. So far I like mstream, it's very light (388MB docker image, as it's file based.<br />
<br />
== Jellyfin ==<br />
very library based and uses quite a bit of CPU - no folder view<br />
<br />
== Airsonic ==<br />
Comes in 2 flavours: [https://airsonic.github.io/ airsonic] and [https://github.com/airsonic-advanced/airsonic-advanced airsonic-advanced]. The advanced version is a fork created due to frustration with the glacial pace of development of airsonic. [https://www.reddit.com/r/airsonic/comments/fu4gwd/airsonic_vs_airsonicadvanced/ Reddit rant here]<br />
<br />
[https://hub.docker.com/r/airsonicadvanced/airsonic-advanced airsonic-advanced]<br />
<br />
== MxStream ==<br />
[https://docs.linuxserver.io/images/docker-mstream linuxserver/mstream]<br />
<br />
Super lightweight: <br />
<br />
iamge is 388 MB<br />
<br />
fresh install:<br />
<br />
CPU: 0.85%<br />
<br />
RAM: 111 MB<br />
<br />
file based<br />
<br />
http://netbiosname:3000<br />
<br />
== Gerbera BubbleUpnP ==<br />
[https://www.reddit.com/r/synology/comments/adkjsr/my_solution_to_playing_audio_from_nas_on_my_cell/ information]<br />
<br />
== Plex ==<br />
Complaints about it being slow and jumpy - only for local streaming - also if you want to use it for streaming or downloading for internet streaming you need to pay<br />
<br />
== Beets ==<br />
re-organise your music collection?<br />
<br />
=Converting media files=<br />
Photo station converts your videos to flv as standard and to mp4 if you have '''conversion for mobile devices''' set to on under ''control panel -> indexing service.''<br />
<br />
It will also convert your image files to thumbnails as standard.<br />
<br />
This can take a few days or even weeks if you upload a lot of new stuff.<br />
<br />
To speed the photo thumbnail generation up you can do the following:<br />
<br />
/usr/syno/etc.defaults/thumb.conf<br />
<br />
* changed the quality of thumbs to 70%<br />
* divided by 2 all the thumbs size<br />
* change the XL thumb size to 400 pixels<br />
<br />
[https://forum.synology.com/enu/viewtopic.php?t=95060]<br />
<br />
To view the status of the conversion, in /var/spool there are the following files<br />
<pre><br />
conv_progress_photo <br />
conv_progress_photo.pT5Pu5 <br />
conv_progress_video <br />
conv_progress_video.CpHdpS <br />
flv_create.queue <br />
flv_create.queue.tmp <br />
thumb_create.queue <br />
thumb_create.queue.tmp <br />
</pre><br />
<br />
or <br />
<br />
ps -ef | grep thumb<br />
<br />
To see the status of the converter<br />
sudo synoservicecfg --status synomkthumbd<br />
<br />
[https://www.reddit.com/r/synology/comments/7ui7c1/conversion_process_details/]<br />
<br />
= More info =<br />
[http://www.synology.com/en-global/support/tutorials/461 How to back up data on Synology NAS to another server] this should also work for a synology nas to another synology nas<br />
<br />
[http://www.synology-forum.nl/data-replicator-overige-backupsoftware/backup-via-internet/ backup via internet] NL forum link, aldus deze pagina, poorten:<br />
<br />
Network Backup: 873 TCP <br />
<br />
Encrypted Network Backup: 873, 22 TCP <br />
<br />
[http://raphael.kallensee.name/journal/how-to-backup-an-external-server-with-a-synology-nas-via-rsync/ backup nas via rsync]<br />
<br />
[http://www.synology.com/en-global/support/tutorials/455#t2 How to encrypt shared folders on Synology NAS] (uses AES, untick auto mount for stealing, but need to input passd on reboot via web interface)<br />
<br />
[http://www.synology.com/en-global/support/tutorials/456 How to make Synology NAS accessible via the Internet]<br />
<br />
[http://www.synology.com/en-global/support/tutorials/478 How to secure your Synology NAS server on the Internet]<br />
<br />
=Reports=<br />
<br />
In the Storage Analyzer settings you can set and see where the Synology saves reports. For some reason the Synology saves old reports you have deleted and so you can't create new reports with the same name without deleting the old files:<br />
<pre><br />
When you create a report task, a dedicated folder for this report will be automatically created under the destination folder that you have designated as the storage location for reports. When you delete a report task from the list on Storage Analyzer's homepage, you delete the report's profile only, while its folder still exists. To delete the report's own folder, please go to the designated destination folder > synoreport, and delete the folder with the same name as the report.<br />
</pre><br />
<br />
=Moments=<br />
[https://www.synology.com/en-global/knowledgebase/DSM/help/SynologyMoments/moments_share_and_search https://www.synology.com/en-global/knowledgebase/DSM/help/SynologyMoments/moments_share_and_search]<br />
<pre><br />
Enable Shared Photo Library<br />
<br />
Shared Photo Library allows you and users with permissions to collaboratively edit the photos and albums in Moments. Please note that only users belonging to the administrative groups can enable this feature.<br />
To enable Shared Photo Library:<br />
<br />
Click the Account icon on the bottom-left corner and select Settings > Shared Photo Library > Enable Shared Photo Library.<br />
Click Next to confirm and enable Shared Photo Library.<br />
Select users to grant them the permissions to access Shared Photo Library.<br />
Click OK to finish. Now you can switch between My Photo Library and Shared Photo Library.<br />
<br />
Note:<br />
<br />
The shared folder named /photo is the default path for Shared Photo Library.<br />
If you have already installed Photo Station, the photos in Photo Station can be displayed after the source of photos is switched to Shared Photo Library in Moments. Please note that the converted thumbnails in Photo Station will not be processed again.<br />
After Shared Photo Library is enabled, the Photo Station settings such as album permission, conversion rule, or other downloading settings will not migrate to or be inherited by Moments.<br />
</pre><br />
<br />
=Installing ipkg=<br />
[https://community.synology.com/enu/forum/1/post/127148 by plexflixler]<br />
Go to the Synology Package Center, click on "Settings" on the top right corner and then click on "package sources".<br />
<br />
Add the source "http://www.cphub.net" (you can choose the name freely, i.e. "CPHub")<br />
<br />
Now close the settings. In the package center on the left go to the "Community" tab.<br />
<br />
Find and install "Easy Bootstrap Installer" from QTip. There is also a GUI version if you prefer, called "iPKGui", also from QTip.<br />
<br />
IPKG is now installed. The executables are located in "/opt/bin/". You can SSH to your NAS and use it. However, the directory has not yet been added to the PATH variable, so to use it you would always need to use the full path "/opt/bin/ipkg". <br />
<br />
You can add the directory to the PATH variable using the following command:<br />
<br />
export PATH="$PATH:/opt/bin"<br />
<br />
However, this would only add the directory to PATH for the current session. <br />
<br />
sudo /opt/bin/ipkg update<br />
sudo /opt/bin/nano /etc/profile<br />
<br />
Now find the PATH variable. It should look something like this:<br />
<br />
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin<br />
<br />
At the end of this string, just append ":/opt/bin" (don't forget the colon). Then save and close the file<br />
<br />
Note that this will not automatically update your PATH for the current session. To do this, you can run:<br />
<br />
source /etc/profile<br />
<br />
To check wheter it worked, enter the command:<br />
<br />
echo $PATH | tr ":" "\n" | nl<br />
<br />
You should see the entry for "/opt/bin" there.<br />
<br />
Now your all set.<br />
<br />
=Installing mlocate=<br />
requires ipkg (see above)<br />
<br />
ipkg install mlocate<br />
<br />
Once you have done that, you run<br />
updatedb<br />
<br />
and then you can use the locate command<br />
<br />
=Universal search=<br />
For some reason when installing universal search it doesn't add the shares to the index. You have to do this by hand in settings.<br />
<br />
=Surveillance Station=<br />
==Timelapse==<br />
[https://forum.synology.com/enu/viewtopic.php?t=127113 Using Action Rules]<br />
<br />
[http://planet-geek.com/2017/10/09/geekitude/creating-timelapse-videos-from-a-synology-nas/ Using ffmpeg video stitching] with [https://superuser.com/questions/777938/ffmpeg-convert-a-video-to-a-timelapse a useful note on getting rid of audio] if you're using setpts in ffmpeg<br />
<br />
[https://www.synology.com/en-global/knowledgebase/Surveillance/help/SurveillanceStation/smart_time_lapse Using Smart Time Lapse] which converts videos<br />
<br />
<br />
----<br />
Beveiligde documentopslag vanaf EUR 989,-*<br />
<br />
AES encryption beveiligt uw bestanden<br />
<br />
Snel geplaatst en ingericht naar uw wensen<br />
<br />
Data wordt op extra harde schijf gekopieerd voor het geval er een kapot gaat<br />
<br />
Mogelijkheid om versleutelde bestanden over internet te backuppen<br />
<br />
* inclusief hardware, 1TB opslag en implementatiekosten, excl. voorrijkosten en evt backups / netwerkinstellingen<br />
<br />
=Docker=<br />
Generally the workflow is:<br />
<br />
docker -> add image (from the registry or from a url, eg airsonic/airsonic) -> double click image to create a container -> edit the advanced settings (auto restart on, add volumes, network, etc) -> confirm -> run container -> monitor the container in the container part<br />
<br />
== volumes / permanence ==<br />
These are locations on the synology that can be mounted in the container.<br />
<br />
When installing docker a new main share: docker is created.<br />
<br />
Using add volume you can choose a volume - if it's internal stuff to the container (eg /var/log) you select (or create) the folder(s): /docker/containername/var/log and then use the mount path /var/log to mount that location within the container.<br />
<br />
In the docker cli instructions for an image this can be seen as the -v options<br />
<br />
So if you are trying to mount your music you would mount /music/ to /music - you need to look out for permissions! <br />
<br />
=== Permissions ===<br />
<br />
For music and video: DLNA in Media Server; <br />
<br />
GUID and GPID env variables <br />
<br />
advanced permissions are places to look if you can view the files in the container terminal but the application in the container can't see the files! (you can check for advanced permissions by allowing Everyone read access in the normal permissions and seeing if the application can find them then)<br />
<br />
file permissions also of the /docker/imagename/ directories<br />
<br />
Don't forget to check Apply this folder, sub-folders and files!<br />
<br />
== network port forwarding / connecting from outside the host==<br />
You have two options here:<br />
<br />
1. network=host: while starting (=creating) a container from an image, you can enable the checkbox "use same network as Docker Host" at the bottom in the "network" tab in additional settings. As a result you do not need to map any ports from dsm to the container, as dsms network interface is directly used. You need to take care of potential port collisions between dsm and the container of course.<br />
<br />
2. network=bridged: map ports from the Docker Host (DSM) to the container. You can not access the ip of the container directly, though, you can access the mapped port on the Docker host. The potential port collision bettween dsm and containers are here possible as well.. but they can be corrected easier since you can just change the Docher host port which needs to be still mapped to the same D<br />
ocker port.<br />
<br />
In both cases the port can be accessed via dsm:port, though for option 1) this is only true if you did not change the ip INSIDE the container, if you did it will be container-ip:port.<br />
<br />
[https://community.synology.com/enu/forum/17/post/102280 Connect to a docker container from outside the host (same network)]<br />
<br />
'''So to have the external port be the same as the external port in bridged mode, edit the container and set the local port to be the same as the container port'''<br />
<br />
In the docker cli instructions for an image this can be seen as the -p options<br />
<br />
TODO: [https://mariushosting.com/synology-how-to-run-docker-containers-over-https/ How to run docker over https]<br />
<br />
== Environment ==<br />
Here you can add extra environment variables, eg TZ / GUID / PUID<br />
<br />
You can find your users PID and GID by sshing into the synology and typing<br />
<br />
id<br />
<br />
or<br />
<br />
id username<br />
<br />
The GUID and PUID are the IDs for which the container itself will run, not docker (which will run as root)<br />
<br />
== setting up a docker using cli arguments ==<br />
<br />
As an example [https://docs.linuxserver.io/images/docker-mstream Mstream] from linuxserver (you can find the image in the docker registry or add it using url linuxserver/mstream<br />
<br />
has docker cli<br />
<pre><br />
docker run -d \<br />
--name=mstream \<br />
-e PUID=1000 \<br />
-e PGID=1000 \<br />
-e TZ=Europe/London \<br />
-p 3000:3000 \<br />
-v /path/to/data:/config \<br />
-v /path/to/music:/music \<br />
--restart unless-stopped \<br />
lscr.io/linuxserver/mstream<br />
</pre><br />
<br />
So you have to fill in your own gid / pid / timezone in the Environment part of the container. You set the port to be both 3000 inside and outside in a bridged network connection. You select /docker/mstream/config to mount as /config and you select your music library on the synology to mount to /music. You ensure permissions are right and you should see the files in mstream.<br />
<br />
== Logging and troubleshooting == <br />
<br />
double clicking an container allows you to see the logs in a tab, which will help a lot. You can also access an active terminal in a tab on a running container<br />
<br />
= VPN Connections =<br />
<br />
[https://kb.synology.com/en-af/DSM/tutorial/How_connect_Synology_NAS_VPN_server How do I connect my Synology NAS to a VPN server?]<br />
<br />
Go to DSM Control Panel > Network > Network Interface.<br />
Click Create > Create VPN profile.<br />
Follow the instructions in this article to set up a VPN connection.<br />
<br />
If you select <br />
Use default gateway on remote network <br />
in the VPN profile you can only connect to the synology from the remote network, not from quickconnect [https://kb.synology.com/en-sg/DSM/tutorial/Cannot_connect_Synology_NAS_using_VPN_via_DDNS https://kb.synology.com/en-sg/DSM/tutorial/Cannot_connect_Synology_NAS_using_VPN_via_DDNS]. However if you do not select this you can not access the synology from the VPN IP.<br />
<br />
I also had to select <br />
The server or clients are behind the NAT device<br />
for it to work.<br />
<br />
Notes:<br />
<br />
We recommend selecting L2TP as the VPN protocol if it is available from VPN service providers. OpenVPN profiles provided by certain VPN service providers may not be compatible with Synology NAS.<br />
When your Synology NAS is configured as an L2TP or OpenVPN client, you cannot configure it as a VPN server using the same protocol in VPN Server. PPTP does not have this limitation.<br />
<br />
[https://kb.synology.com/en-af/DSM/help/DSM/AdminCenter/connection_network_vpnclient?version=7 VPN Connection] Synology knowledge centre<br />
<br />
Unfortunatelty running Hyberbackup over l2tp results in severe slowdowns and even crashes of the VPN interface.<br />
<br />
Wireguard connections<br />
<br />
You can connect via [https://tailscale.com/ Tailscale] - this should allow for better hyper backup transfers.<br />
<pre><br />
Simply install Tailscale on both NAS. Then log in to Tailscale and look at the IPs Tailscale has assigned to each machine and use those when configuring things like HyperBackup. Note that to setup Tailscale properly you need to enable outbound connections (explained in Tailscale docs).<br />
</pre><br />
https://www.reddit.com/r/synology/comments/16pe5qn/struggling_to_get_hyper_backup_working_on_remote/<br />
<br />
https://tailscale.com/kb/1131/synology#enabling-synology-outbound-connections</div>Redhttp://wiki.edgarbv.com/index.php?title=Synology&diff=37703Synology2023-12-27T16:27:32Z<p>Red: /* VPN Connections */</p>
<hr />
<div>= First things to do =<br />
<br />
== Change IP ==<br />
<br />
Control panel -> (connectivity) Network -> tab network interface -> select LAN and click Edit.<br />
<br />
== Enable home directories + 2 step verification ==<br />
<br />
Control panel -> User -> Advanced -> Enable home user service + Enforce 2 step verification<br />
<br />
== change workgroup ==<br />
<br />
control panel -> file services -> smb/afp/nfs -> smb / enable smb service : workgroup<br />
<br />
== change low volume warning threshold ==<br />
change the % by going into my Storage Manager -> Storage -> Clicking the ... on the Volume I was looking for then Clicking Settings. If I scroll down on the Settings there is a Low Capacity Notification where you can change the % to 5% from 20%<br />
<br />
== Enable SSH ==<br />
<br />
Control panel -> (System) Terminal & SNMP enable SSH<br />
<br />
Control panel -> (connectivity) Security -> Firewall tab -> create a rule for SSH (encrypted terminal services), enable and save<br />
<br />
for root login as admin and then '''sudo sh'''<br />
<br />
(you can then log in to the machine using user '''root''' and the default admin password)<br />
<br />
to enable your users to access the terminal vi /etc/passwd and change /sbin/nologin to /bin/ash<br />
<br />
== Create shared folders ==<br />
Once you have created your shared folder, also enable snapshots<br />
<br />
= Prepare for rsync =<br />
NB the synology can only push rsync files, it can not be set up to pull files from a remote rsync server.<br />
<br />
Control panel -> (file sharing) Shared Folder -> create folder to back up to. Give the user you want to rsync to Read/Write access<br />
<br />
Control panel -> File services -> enable rsync service<br />
<br />
'''depreciated'''<br />
----<br />
Start (top left) -> Backup & replication -> backup services -> enable network backup service<br />
<br />
Start (top left) -> Backup & replication -> Backup Destination -> create Local Backup destination -> backup up data to local shared folder -> the name you put in there will be the module name or the path you can use later.<br />
<br />
then add the section in /etc/rsyncd.conf changing only the path and comment values (of course under the module name)<br />
<br />
restart rsync with<br />
<pre><br />
/usr/syno/etc/rc.sysv/S84rsyncd.sh restart<br />
</pre><br />
<br />
If you don't do this, it will rsync everything without the user name for some reason<br />
<br />
== Synology to synology ==<br />
You backup from the source to the target<br />
<br />
ssh into the source machine ('''mind the slashes at the end!''' if you don't use the slash it will create a directory in the directory you specify)<br />
<br />
rsync -avn /volume1/sourcedirectory/ user@192.168.0.105:/volume1/targetdirectory/<br />
<br />
to check if it works. Drop the n to start the actual copy.<br />
<br />
=== Hyper Backup ===<br />
This will create a backup directory which you can't browse with file explorer as it stores everything in a hyper backup format (Non browseable)<br />
<br />
==== Using Hyper Backup Vault ====<br />
Note: the destination needs the Hyper Backup Vault package installed. Launch Hyper backup on the source. Use the + bottom left to create a new backup job. Select data backup. Select Remote NAS device. fill in the hostname and then you can select which Shared folder it will use as a destination. Note: you cannot use photos or homes. The Directory is the name of the directory it will make on the shared folder on the destination device.<br />
<br />
==== Using rsync ====<br />
Launch Hyper backup on the source. Use the + bottom left to create a new backup job. Choose rsync. Fill in the data. As username and password you need a username and pass on the target machine. It will then fill the shared folder list with shares available on the target. You cannot backup to the root directory of the target share, so you need something in the directory field. After this it pretty much sets itself up. This will actually copy files, so you can browse them on the target NAS<br />
<br />
==== Using Snapshot replication ====<br />
This is supposed to be fairly effective, but not all DSM versions have this package and it needs to be installed on the recipient as well.<br />
<br />
== Netgear ReadyNas Ultra setup for rsync to Synology ==<br />
<br />
''Here we set up the Netgear to pull data from the Synology''<br />
<br />
in the /admin interface first<br />
<br />
Services -> Standard File Protocols -> ensure Rsync is enabled<br />
<br />
Shares -> share listing -> click on rsync icon. scroll up and change default access to 'read only'. Set hosts allowed access to ip of synology (192.168.0.101). Fill in the username and password!<br />
<br />
Backup -> Add a new backup job<br />
<br />
[[File:netgear backup step 1.png]]<br />
<br />
If you don't fill in the path above it will copy the whole share. If you browse the share you can select a subdir to copy.<br />
<br />
[[File:netgear backup step 2.png]]<br />
<br />
Note that the '''Path needs to be EMPTY''' before pressing the 'Test connection' button. It will sometimes work if you fill in NetBackup but you're best off doing the test empty, then typing in the path and then apply bottom right to test the backup job.<br />
<br />
This is what the schedule will look like<br />
<br />
[[File:backup schedule.png|400px]]<br />
<br />
The Daily job<br />
<br />
[[File:jobt1.png|400px]]<br />
[[File:job2.png|400px]]<br />
[[File:job3.png|400px]]<br />
[[File:job4.png|400px]]<br />
<br />
The Weekly job<br />
<br />
[[File:weekly netgear rsync.png|400px]]<br />
<br />
The monthly job<br />
<br />
[[File:monthly netgear rsync1.png|400px]]<br />
[[File:monthly netgear rsync2.png|400px]]<br />
<br />
== useful linkies ==<br />
[http://www.readynas.com/download/documentation/support/rsync_howto_nastonas.pdf Readynas rsync howto PDF]<br />
<br />
[https://www.synology.com/en-uk/knowledgebase/tutorials/613 synology rsync tutorial]<br />
<br />
[http://www.smallnetbuilder.com/nas/nas-howto/30856-how-to-back-up-nas-to-nas-part-1?start=1 small netbuilder tutorial]<br />
<br />
== indexing media files ==<br />
If you rsync files into the /volume1/photo or /volume1/video directories the system does not index them. They need to be copied in using windows or the internal file manager to index them automatically.<br />
<br />
In control panel -> Media library you can re-index the files in the photo directory.<br />
<br />
In the video station itself under collection -> settings you can re-index.<br />
<br />
As you can't set /video/ as a directory to use in the video station, you have to set a symbolic link from /volume1/video/movie to wherever you want to have your directories.<br />
<br />
Warning: indexing can take DAYS!<br />
<br />
== Preparing ReadyNAS for rsync towards it ==<br />
Ensure in Shares that the rsync is enabled on at least one share. Ensure the host you are coming from is allowed and that there is a username / password for it.<br />
<br />
= Symbolic links =<br />
<br />
Windows can't handle symbolic links on the synology, so you have to mount directories with<br />
<pre><br />
mount -o bind /volume1/sourcedir /volume1/destdir<br />
</pre><br />
<br />
as root<br />
<br />
and then copy the mount command to /etc/rc.local to make it stick after a reboot<br />
<br />
= prepare the windows machine for Picasa =<br />
<br />
SSH to the synology, log in as root<br />
<pre><br />
mkdir /volume1/photo/Pictures<br />
mount -o bind /volume1/photo/ /volume1/photo/Pictures<br />
</pre><br />
edit /etc/rc.local<br />
<br />
insert the mount command above into the file - this is for when the synology restarts<br />
<br />
in windows explorer map \\invader\photo to T:<br />
<br />
== Picasa database file locations ==<br />
<br />
There are 2 directories in % %LocalAppData%\Google\ which is the same as C:\Users\razor\AppData\Local\Google\<br />
<br />
<br />
Copy them over before running Picasa for the first time.<br />
<br />
=NFS=<br />
<br />
First make sure in Control Panel -> File Services that NFS is enabled.<br />
<br />
Then in Control Panel -> File Sharing -> Edit the share -> create NFS Permissions. You should only have to change the IP/Hostname field.<br />
<br />
[https://www.synology.com/en-us/knowledgebase/tutorials/616 see here]<br />
<br />
=CIFS=<br />
sudo mount -t cifs //192.168.0.101/home/ ~/xx/ -o username=razor,uid=razor,gid=users<br />
<br />
=To find the NAS on linux with netbios=<br />
You have to enable the bonjour service on the NAS<br />
<br />
Control Panel -> File services -> Enable AFP service, then in Advanced tab -> also enable<br />
<br />
The linux machine needs avahi running. Check using<br />
sudo service avahi-daemon status<br />
<br />
=DLNA=<br />
The video players such as a TV (eg on an LG TV under "photos and videos" app) that play directly from the NAS use DLNA. The synology (or DLNA server) creates a database which the player reads. <br />
<br />
The settings for the Media Server / DNLA can be found under the synology ''start menu -> media server''. It is quite possible that Synology decides it doesn't like your player much and gives it a device type which it's not happy with. Under ''DMA Compatibility -> Device List'' you can change the profile to '''Default profile''', which may help.<br />
<br />
If the database is somehow damaged, you can rebuild it under ''control panel -> indexing service'' and then click '''re-index'''. This can take days!<br />
<br />
To check the status of the rebuild, ssh in (using admin / pw, then sudo su) and you can check to see what's being rebuilt by issuing<br />
ls -l /proc/$(pidof synomkthumbd)/fd<br />
To monitor what's happening over some time do (nb it will take some time before you see anything appear!)<br />
while sleep 30; do ls -l /proc/$(pidof synomkthumbd)/fd | grep volume; done<br />
[https://www.mcleanit.ca/blog/synology-check-index-progress/ from mcleanit.ca]<br />
<br />
If the indexing service seems frozen then restart it with<br />
synoservicectl --restart synoindexd<br />
<br />
=Streaming=<br />
The audio station DS Audio app is terrible and hangs a lot. <br />
<br />
As alternatives there are Jellyfin; Airsonic and mstream. So far I like mstream, it's very light (388MB docker image, as it's file based.<br />
<br />
== Jellyfin ==<br />
very library based and uses quite a bit of CPU - no folder view<br />
<br />
== Airsonic ==<br />
Comes in 2 flavours: [https://airsonic.github.io/ airsonic] and [https://github.com/airsonic-advanced/airsonic-advanced airsonic-advanced]. The advanced version is a fork created due to frustration with the glacial pace of development of airsonic. [https://www.reddit.com/r/airsonic/comments/fu4gwd/airsonic_vs_airsonicadvanced/ Reddit rant here]<br />
<br />
[https://hub.docker.com/r/airsonicadvanced/airsonic-advanced airsonic-advanced]<br />
<br />
== MxStream ==<br />
[https://docs.linuxserver.io/images/docker-mstream linuxserver/mstream]<br />
<br />
Super lightweight: <br />
<br />
iamge is 388 MB<br />
<br />
fresh install:<br />
<br />
CPU: 0.85%<br />
<br />
RAM: 111 MB<br />
<br />
file based<br />
<br />
http://netbiosname:3000<br />
<br />
== Gerbera BubbleUpnP ==<br />
[https://www.reddit.com/r/synology/comments/adkjsr/my_solution_to_playing_audio_from_nas_on_my_cell/ information]<br />
<br />
== Plex ==<br />
Complaints about it being slow and jumpy - only for local streaming - also if you want to use it for streaming or downloading for internet streaming you need to pay<br />
<br />
== Beets ==<br />
re-organise your music collection?<br />
<br />
=Converting media files=<br />
Photo station converts your videos to flv as standard and to mp4 if you have '''conversion for mobile devices''' set to on under ''control panel -> indexing service.''<br />
<br />
It will also convert your image files to thumbnails as standard.<br />
<br />
This can take a few days or even weeks if you upload a lot of new stuff.<br />
<br />
To speed the photo thumbnail generation up you can do the following:<br />
<br />
/usr/syno/etc.defaults/thumb.conf<br />
<br />
* changed the quality of thumbs to 70%<br />
* divided by 2 all the thumbs size<br />
* change the XL thumb size to 400 pixels<br />
<br />
[https://forum.synology.com/enu/viewtopic.php?t=95060]<br />
<br />
To view the status of the conversion, in /var/spool there are the following files<br />
<pre><br />
conv_progress_photo <br />
conv_progress_photo.pT5Pu5 <br />
conv_progress_video <br />
conv_progress_video.CpHdpS <br />
flv_create.queue <br />
flv_create.queue.tmp <br />
thumb_create.queue <br />
thumb_create.queue.tmp <br />
</pre><br />
<br />
or <br />
<br />
ps -ef | grep thumb<br />
<br />
To see the status of the converter<br />
sudo synoservicecfg --status synomkthumbd<br />
<br />
[https://www.reddit.com/r/synology/comments/7ui7c1/conversion_process_details/]<br />
<br />
= More info =<br />
[http://www.synology.com/en-global/support/tutorials/461 How to back up data on Synology NAS to another server] this should also work for a synology nas to another synology nas<br />
<br />
[http://www.synology-forum.nl/data-replicator-overige-backupsoftware/backup-via-internet/ backup via internet] NL forum link, aldus deze pagina, poorten:<br />
<br />
Network Backup: 873 TCP <br />
<br />
Encrypted Network Backup: 873, 22 TCP <br />
<br />
[http://raphael.kallensee.name/journal/how-to-backup-an-external-server-with-a-synology-nas-via-rsync/ backup nas via rsync]<br />
<br />
[http://www.synology.com/en-global/support/tutorials/455#t2 How to encrypt shared folders on Synology NAS] (uses AES, untick auto mount for stealing, but need to input passd on reboot via web interface)<br />
<br />
[http://www.synology.com/en-global/support/tutorials/456 How to make Synology NAS accessible via the Internet]<br />
<br />
[http://www.synology.com/en-global/support/tutorials/478 How to secure your Synology NAS server on the Internet]<br />
<br />
=Reports=<br />
<br />
In the Storage Analyzer settings you can set and see where the Synology saves reports. For some reason the Synology saves old reports you have deleted and so you can't create new reports with the same name without deleting the old files:<br />
<pre><br />
When you create a report task, a dedicated folder for this report will be automatically created under the destination folder that you have designated as the storage location for reports. When you delete a report task from the list on Storage Analyzer's homepage, you delete the report's profile only, while its folder still exists. To delete the report's own folder, please go to the designated destination folder > synoreport, and delete the folder with the same name as the report.<br />
</pre><br />
<br />
=Moments=<br />
[https://www.synology.com/en-global/knowledgebase/DSM/help/SynologyMoments/moments_share_and_search https://www.synology.com/en-global/knowledgebase/DSM/help/SynologyMoments/moments_share_and_search]<br />
<pre><br />
Enable Shared Photo Library<br />
<br />
Shared Photo Library allows you and users with permissions to collaboratively edit the photos and albums in Moments. Please note that only users belonging to the administrative groups can enable this feature.<br />
To enable Shared Photo Library:<br />
<br />
Click the Account icon on the bottom-left corner and select Settings > Shared Photo Library > Enable Shared Photo Library.<br />
Click Next to confirm and enable Shared Photo Library.<br />
Select users to grant them the permissions to access Shared Photo Library.<br />
Click OK to finish. Now you can switch between My Photo Library and Shared Photo Library.<br />
<br />
Note:<br />
<br />
The shared folder named /photo is the default path for Shared Photo Library.<br />
If you have already installed Photo Station, the photos in Photo Station can be displayed after the source of photos is switched to Shared Photo Library in Moments. Please note that the converted thumbnails in Photo Station will not be processed again.<br />
After Shared Photo Library is enabled, the Photo Station settings such as album permission, conversion rule, or other downloading settings will not migrate to or be inherited by Moments.<br />
</pre><br />
<br />
=Installing ipkg=<br />
[https://community.synology.com/enu/forum/1/post/127148 by plexflixler]<br />
Go to the Synology Package Center, click on "Settings" on the top right corner and then click on "package sources".<br />
<br />
Add the source "http://www.cphub.net" (you can choose the name freely, i.e. "CPHub")<br />
<br />
Now close the settings. In the package center on the left go to the "Community" tab.<br />
<br />
Find and install "Easy Bootstrap Installer" from QTip. There is also a GUI version if you prefer, called "iPKGui", also from QTip.<br />
<br />
IPKG is now installed. The executables are located in "/opt/bin/". You can SSH to your NAS and use it. However, the directory has not yet been added to the PATH variable, so to use it you would always need to use the full path "/opt/bin/ipkg". <br />
<br />
You can add the directory to the PATH variable using the following command:<br />
<br />
export PATH="$PATH:/opt/bin"<br />
<br />
However, this would only add the directory to PATH for the current session. <br />
<br />
sudo /opt/bin/ipkg update<br />
sudo /opt/bin/nano /etc/profile<br />
<br />
Now find the PATH variable. It should look something like this:<br />
<br />
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin<br />
<br />
At the end of this string, just append ":/opt/bin" (don't forget the colon). Then save and close the file<br />
<br />
Note that this will not automatically update your PATH for the current session. To do this, you can run:<br />
<br />
source /etc/profile<br />
<br />
To check wheter it worked, enter the command:<br />
<br />
echo $PATH | tr ":" "\n" | nl<br />
<br />
You should see the entry for "/opt/bin" there.<br />
<br />
Now your all set.<br />
<br />
=Installing mlocate=<br />
requires ipkg (see above)<br />
<br />
ipkg install mlocate<br />
<br />
Once you have done that, you run<br />
updatedb<br />
<br />
and then you can use the locate command<br />
<br />
=Universal search=<br />
For some reason when installing universal search it doesn't add the shares to the index. You have to do this by hand in settings.<br />
<br />
=Surveillance Station=<br />
==Timelapse==<br />
[https://forum.synology.com/enu/viewtopic.php?t=127113 Using Action Rules]<br />
<br />
[http://planet-geek.com/2017/10/09/geekitude/creating-timelapse-videos-from-a-synology-nas/ Using ffmpeg video stitching] with [https://superuser.com/questions/777938/ffmpeg-convert-a-video-to-a-timelapse a useful note on getting rid of audio] if you're using setpts in ffmpeg<br />
<br />
[https://www.synology.com/en-global/knowledgebase/Surveillance/help/SurveillanceStation/smart_time_lapse Using Smart Time Lapse] which converts videos<br />
<br />
<br />
----<br />
Beveiligde documentopslag vanaf EUR 989,-*<br />
<br />
AES encryption beveiligt uw bestanden<br />
<br />
Snel geplaatst en ingericht naar uw wensen<br />
<br />
Data wordt op extra harde schijf gekopieerd voor het geval er een kapot gaat<br />
<br />
Mogelijkheid om versleutelde bestanden over internet te backuppen<br />
<br />
* inclusief hardware, 1TB opslag en implementatiekosten, excl. voorrijkosten en evt backups / netwerkinstellingen<br />
<br />
=Docker=<br />
Generally the workflow is:<br />
<br />
docker -> add image (from the registry or from a url, eg airsonic/airsonic) -> double click image to create a container -> edit the advanced settings (auto restart on, add volumes, network, etc) -> confirm -> run container -> monitor the container in the container part<br />
<br />
== volumes / permanence ==<br />
These are locations on the synology that can be mounted in the container.<br />
<br />
When installing docker a new main share: docker is created.<br />
<br />
Using add volume you can choose a volume - if it's internal stuff to the container (eg /var/log) you select (or create) the folder(s): /docker/containername/var/log and then use the mount path /var/log to mount that location within the container.<br />
<br />
In the docker cli instructions for an image this can be seen as the -v options<br />
<br />
So if you are trying to mount your music you would mount /music/ to /music - you need to look out for permissions! <br />
<br />
=== Permissions ===<br />
<br />
For music and video: DLNA in Media Server; <br />
<br />
GUID and GPID env variables <br />
<br />
advanced permissions are places to look if you can view the files in the container terminal but the application in the container can't see the files! (you can check for advanced permissions by allowing Everyone read access in the normal permissions and seeing if the application can find them then)<br />
<br />
file permissions also of the /docker/imagename/ directories<br />
<br />
Don't forget to check Apply this folder, sub-folders and files!<br />
<br />
== network port forwarding / connecting from outside the host==<br />
You have two options here:<br />
<br />
1. network=host: while starting (=creating) a container from an image, you can enable the checkbox "use same network as Docker Host" at the bottom in the "network" tab in additional settings. As a result you do not need to map any ports from dsm to the container, as dsms network interface is directly used. You need to take care of potential port collisions between dsm and the container of course.<br />
<br />
2. network=bridged: map ports from the Docker Host (DSM) to the container. You can not access the ip of the container directly, though, you can access the mapped port on the Docker host. The potential port collision bettween dsm and containers are here possible as well.. but they can be corrected easier since you can just change the Docher host port which needs to be still mapped to the same D<br />
ocker port.<br />
<br />
In both cases the port can be accessed via dsm:port, though for option 1) this is only true if you did not change the ip INSIDE the container, if you did it will be container-ip:port.<br />
<br />
[https://community.synology.com/enu/forum/17/post/102280 Connect to a docker container from outside the host (same network)]<br />
<br />
'''So to have the external port be the same as the external port in bridged mode, edit the container and set the local port to be the same as the container port'''<br />
<br />
In the docker cli instructions for an image this can be seen as the -p options<br />
<br />
TODO: [https://mariushosting.com/synology-how-to-run-docker-containers-over-https/ How to run docker over https]<br />
<br />
== Environment ==<br />
Here you can add extra environment variables, eg TZ / GUID / PUID<br />
<br />
You can find your users PID and GID by sshing into the synology and typing<br />
<br />
id<br />
<br />
or<br />
<br />
id username<br />
<br />
The GUID and PUID are the IDs for which the container itself will run, not docker (which will run as root)<br />
<br />
== setting up a docker using cli arguments ==<br />
<br />
As an example [https://docs.linuxserver.io/images/docker-mstream Mstream] from linuxserver (you can find the image in the docker registry or add it using url linuxserver/mstream<br />
<br />
has docker cli<br />
<pre><br />
docker run -d \<br />
--name=mstream \<br />
-e PUID=1000 \<br />
-e PGID=1000 \<br />
-e TZ=Europe/London \<br />
-p 3000:3000 \<br />
-v /path/to/data:/config \<br />
-v /path/to/music:/music \<br />
--restart unless-stopped \<br />
lscr.io/linuxserver/mstream<br />
</pre><br />
<br />
So you have to fill in your own gid / pid / timezone in the Environment part of the container. You set the port to be both 3000 inside and outside in a bridged network connection. You select /docker/mstream/config to mount as /config and you select your music library on the synology to mount to /music. You ensure permissions are right and you should see the files in mstream.<br />
<br />
== Logging and troubleshooting == <br />
<br />
double clicking an container allows you to see the logs in a tab, which will help a lot. You can also access an active terminal in a tab on a running container<br />
<br />
= VPN Connections =<br />
<br />
[https://kb.synology.com/en-af/DSM/tutorial/How_connect_Synology_NAS_VPN_server How do I connect my Synology NAS to a VPN server?]<br />
<br />
Go to DSM Control Panel > Network > Network Interface.<br />
Click Create > Create VPN profile.<br />
Follow the instructions in this article to set up a VPN connection.<br />
<br />
If you select <br />
Use default gateway on remote network <br />
in the VPN profile you can only connect to the synology from the remote network, not from quickconnect [https://kb.synology.com/en-sg/DSM/tutorial/Cannot_connect_Synology_NAS_using_VPN_via_DDNS https://kb.synology.com/en-sg/DSM/tutorial/Cannot_connect_Synology_NAS_using_VPN_via_DDNS]. However if you do not select this you can not access the synology from the VPN IP.<br />
<br />
I also had to select <br />
The server or clients are behind the NAT device<br />
for it to work.<br />
<br />
Notes:<br />
<br />
We recommend selecting L2TP as the VPN protocol if it is available from VPN service providers. OpenVPN profiles provided by certain VPN service providers may not be compatible with Synology NAS.<br />
When your Synology NAS is configured as an L2TP or OpenVPN client, you cannot configure it as a VPN server using the same protocol in VPN Server. PPTP does not have this limitation.<br />
<br />
[https://kb.synology.com/en-af/DSM/help/DSM/AdminCenter/connection_network_vpnclient?version=7 VPN Connection] Synology knowledge centre<br />
<br />
Unfortunatelty running Hyberbackup over l2tp results in severe slowdowns and even crashes of the VPN interface.<br />
<br />
Wireguard connections<br />
<br />
You can connect via [https://tailscale.com/ Tailscale] - this should allow for better hyper backup transfers.<br />
<pre><br />
Simply install Tailscale on both NAS. Then log in to Tailscale and look at the IPs Tailscale has assigned to each machine and use those when configuring things like HyperBackup. Note that to setup Tailscale properly you need to enable outbound connections (explained in Tailscale docs).<br />
</pre><br />
https://www.reddit.com/r/synology/comments/16pe5qn/struggling_to_get_hyper_backup_working_on_remote/<br />
<br />
https://tailscale.com/kb/1131/synology#enabling-synology-outbound-connections</div>Redhttp://wiki.edgarbv.com/index.php?title=Synology&diff=37702Synology2023-12-27T16:09:39Z<p>Red: /* VPN Connections */</p>
<hr />
<div>= First things to do =<br />
<br />
== Change IP ==<br />
<br />
Control panel -> (connectivity) Network -> tab network interface -> select LAN and click Edit.<br />
<br />
== Enable home directories + 2 step verification ==<br />
<br />
Control panel -> User -> Advanced -> Enable home user service + Enforce 2 step verification<br />
<br />
== change workgroup ==<br />
<br />
control panel -> file services -> smb/afp/nfs -> smb / enable smb service : workgroup<br />
<br />
== change low volume warning threshold ==<br />
change the % by going into my Storage Manager -> Storage -> Clicking the ... on the Volume I was looking for then Clicking Settings. If I scroll down on the Settings there is a Low Capacity Notification where you can change the % to 5% from 20%<br />
<br />
== Enable SSH ==<br />
<br />
Control panel -> (System) Terminal & SNMP enable SSH<br />
<br />
Control panel -> (connectivity) Security -> Firewall tab -> create a rule for SSH (encrypted terminal services), enable and save<br />
<br />
for root login as admin and then '''sudo sh'''<br />
<br />
(you can then log in to the machine using user '''root''' and the default admin password)<br />
<br />
to enable your users to access the terminal vi /etc/passwd and change /sbin/nologin to /bin/ash<br />
<br />
== Create shared folders ==<br />
Once you have created your shared folder, also enable snapshots<br />
<br />
= Prepare for rsync =<br />
NB the synology can only push rsync files, it can not be set up to pull files from a remote rsync server.<br />
<br />
Control panel -> (file sharing) Shared Folder -> create folder to back up to. Give the user you want to rsync to Read/Write access<br />
<br />
Control panel -> File services -> enable rsync service<br />
<br />
'''depreciated'''<br />
----<br />
Start (top left) -> Backup & replication -> backup services -> enable network backup service<br />
<br />
Start (top left) -> Backup & replication -> Backup Destination -> create Local Backup destination -> backup up data to local shared folder -> the name you put in there will be the module name or the path you can use later.<br />
<br />
then add the section in /etc/rsyncd.conf changing only the path and comment values (of course under the module name)<br />
<br />
restart rsync with<br />
<pre><br />
/usr/syno/etc/rc.sysv/S84rsyncd.sh restart<br />
</pre><br />
<br />
If you don't do this, it will rsync everything without the user name for some reason<br />
<br />
== Synology to synology ==<br />
You backup from the source to the target<br />
<br />
ssh into the source machine ('''mind the slashes at the end!''' if you don't use the slash it will create a directory in the directory you specify)<br />
<br />
rsync -avn /volume1/sourcedirectory/ user@192.168.0.105:/volume1/targetdirectory/<br />
<br />
to check if it works. Drop the n to start the actual copy.<br />
<br />
=== Hyper Backup ===<br />
This will create a backup directory which you can't browse with file explorer as it stores everything in a hyper backup format (Non browseable)<br />
<br />
==== Using Hyper Backup Vault ====<br />
Note: the destination needs the Hyper Backup Vault package installed. Launch Hyper backup on the source. Use the + bottom left to create a new backup job. Select data backup. Select Remote NAS device. fill in the hostname and then you can select which Shared folder it will use as a destination. Note: you cannot use photos or homes. The Directory is the name of the directory it will make on the shared folder on the destination device.<br />
<br />
==== Using rsync ====<br />
Launch Hyper backup on the source. Use the + bottom left to create a new backup job. Choose rsync. Fill in the data. As username and password you need a username and pass on the target machine. It will then fill the shared folder list with shares available on the target. You cannot backup to the root directory of the target share, so you need something in the directory field. After this it pretty much sets itself up. This will actually copy files, so you can browse them on the target NAS<br />
<br />
==== Using Snapshot replication ====<br />
This is supposed to be fairly effective, but not all DSM versions have this package and it needs to be installed on the recipient as well.<br />
<br />
== Netgear ReadyNas Ultra setup for rsync to Synology ==<br />
<br />
''Here we set up the Netgear to pull data from the Synology''<br />
<br />
in the /admin interface first<br />
<br />
Services -> Standard File Protocols -> ensure Rsync is enabled<br />
<br />
Shares -> share listing -> click on rsync icon. scroll up and change default access to 'read only'. Set hosts allowed access to ip of synology (192.168.0.101). Fill in the username and password!<br />
<br />
Backup -> Add a new backup job<br />
<br />
[[File:netgear backup step 1.png]]<br />
<br />
If you don't fill in the path above it will copy the whole share. If you browse the share you can select a subdir to copy.<br />
<br />
[[File:netgear backup step 2.png]]<br />
<br />
Note that the '''Path needs to be EMPTY''' before pressing the 'Test connection' button. It will sometimes work if you fill in NetBackup but you're best off doing the test empty, then typing in the path and then apply bottom right to test the backup job.<br />
<br />
This is what the schedule will look like<br />
<br />
[[File:backup schedule.png|400px]]<br />
<br />
The Daily job<br />
<br />
[[File:jobt1.png|400px]]<br />
[[File:job2.png|400px]]<br />
[[File:job3.png|400px]]<br />
[[File:job4.png|400px]]<br />
<br />
The Weekly job<br />
<br />
[[File:weekly netgear rsync.png|400px]]<br />
<br />
The monthly job<br />
<br />
[[File:monthly netgear rsync1.png|400px]]<br />
[[File:monthly netgear rsync2.png|400px]]<br />
<br />
== useful linkies ==<br />
[http://www.readynas.com/download/documentation/support/rsync_howto_nastonas.pdf Readynas rsync howto PDF]<br />
<br />
[https://www.synology.com/en-uk/knowledgebase/tutorials/613 synology rsync tutorial]<br />
<br />
[http://www.smallnetbuilder.com/nas/nas-howto/30856-how-to-back-up-nas-to-nas-part-1?start=1 small netbuilder tutorial]<br />
<br />
== indexing media files ==<br />
If you rsync files into the /volume1/photo or /volume1/video directories the system does not index them. They need to be copied in using windows or the internal file manager to index them automatically.<br />
<br />
In control panel -> Media library you can re-index the files in the photo directory.<br />
<br />
In the video station itself under collection -> settings you can re-index.<br />
<br />
As you can't set /video/ as a directory to use in the video station, you have to set a symbolic link from /volume1/video/movie to wherever you want to have your directories.<br />
<br />
Warning: indexing can take DAYS!<br />
<br />
== Preparing ReadyNAS for rsync towards it ==<br />
Ensure in Shares that the rsync is enabled on at least one share. Ensure the host you are coming from is allowed and that there is a username / password for it.<br />
<br />
= Symbolic links =<br />
<br />
Windows can't handle symbolic links on the synology, so you have to mount directories with<br />
<pre><br />
mount -o bind /volume1/sourcedir /volume1/destdir<br />
</pre><br />
<br />
as root<br />
<br />
and then copy the mount command to /etc/rc.local to make it stick after a reboot<br />
<br />
= prepare the windows machine for Picasa =<br />
<br />
SSH to the synology, log in as root<br />
<pre><br />
mkdir /volume1/photo/Pictures<br />
mount -o bind /volume1/photo/ /volume1/photo/Pictures<br />
</pre><br />
edit /etc/rc.local<br />
<br />
insert the mount command above into the file - this is for when the synology restarts<br />
<br />
in windows explorer map \\invader\photo to T:<br />
<br />
== Picasa database file locations ==<br />
<br />
There are 2 directories in % %LocalAppData%\Google\ which is the same as C:\Users\razor\AppData\Local\Google\<br />
<br />
<br />
Copy them over before running Picasa for the first time.<br />
<br />
=NFS=<br />
<br />
First make sure in Control Panel -> File Services that NFS is enabled.<br />
<br />
Then in Control Panel -> File Sharing -> Edit the share -> create NFS Permissions. You should only have to change the IP/Hostname field.<br />
<br />
[https://www.synology.com/en-us/knowledgebase/tutorials/616 see here]<br />
<br />
=CIFS=<br />
sudo mount -t cifs //192.168.0.101/home/ ~/xx/ -o username=razor,uid=razor,gid=users<br />
<br />
=To find the NAS on linux with netbios=<br />
You have to enable the bonjour service on the NAS<br />
<br />
Control Panel -> File services -> Enable AFP service, then in Advanced tab -> also enable<br />
<br />
The linux machine needs avahi running. Check using<br />
sudo service avahi-daemon status<br />
<br />
=DLNA=<br />
The video players such as a TV (eg on an LG TV under "photos and videos" app) that play directly from the NAS use DLNA. The synology (or DLNA server) creates a database which the player reads. <br />
<br />
The settings for the Media Server / DNLA can be found under the synology ''start menu -> media server''. It is quite possible that Synology decides it doesn't like your player much and gives it a device type which it's not happy with. Under ''DMA Compatibility -> Device List'' you can change the profile to '''Default profile''', which may help.<br />
<br />
If the database is somehow damaged, you can rebuild it under ''control panel -> indexing service'' and then click '''re-index'''. This can take days!<br />
<br />
To check the status of the rebuild, ssh in (using admin / pw, then sudo su) and you can check to see what's being rebuilt by issuing<br />
ls -l /proc/$(pidof synomkthumbd)/fd<br />
To monitor what's happening over some time do (nb it will take some time before you see anything appear!)<br />
while sleep 30; do ls -l /proc/$(pidof synomkthumbd)/fd | grep volume; done<br />
[https://www.mcleanit.ca/blog/synology-check-index-progress/ from mcleanit.ca]<br />
<br />
If the indexing service seems frozen then restart it with<br />
synoservicectl --restart synoindexd<br />
<br />
=Streaming=<br />
The audio station DS Audio app is terrible and hangs a lot. <br />
<br />
As alternatives there are Jellyfin; Airsonic and mstream. So far I like mstream, it's very light (388MB docker image, as it's file based.<br />
<br />
== Jellyfin ==<br />
very library based and uses quite a bit of CPU - no folder view<br />
<br />
== Airsonic ==<br />
Comes in 2 flavours: [https://airsonic.github.io/ airsonic] and [https://github.com/airsonic-advanced/airsonic-advanced airsonic-advanced]. The advanced version is a fork created due to frustration with the glacial pace of development of airsonic. [https://www.reddit.com/r/airsonic/comments/fu4gwd/airsonic_vs_airsonicadvanced/ Reddit rant here]<br />
<br />
[https://hub.docker.com/r/airsonicadvanced/airsonic-advanced airsonic-advanced]<br />
<br />
== MxStream ==<br />
[https://docs.linuxserver.io/images/docker-mstream linuxserver/mstream]<br />
<br />
Super lightweight: <br />
<br />
iamge is 388 MB<br />
<br />
fresh install:<br />
<br />
CPU: 0.85%<br />
<br />
RAM: 111 MB<br />
<br />
file based<br />
<br />
http://netbiosname:3000<br />
<br />
== Gerbera BubbleUpnP ==<br />
[https://www.reddit.com/r/synology/comments/adkjsr/my_solution_to_playing_audio_from_nas_on_my_cell/ information]<br />
<br />
== Plex ==<br />
Complaints about it being slow and jumpy - only for local streaming - also if you want to use it for streaming or downloading for internet streaming you need to pay<br />
<br />
== Beets ==<br />
re-organise your music collection?<br />
<br />
=Converting media files=<br />
Photo station converts your videos to flv as standard and to mp4 if you have '''conversion for mobile devices''' set to on under ''control panel -> indexing service.''<br />
<br />
It will also convert your image files to thumbnails as standard.<br />
<br />
This can take a few days or even weeks if you upload a lot of new stuff.<br />
<br />
To speed the photo thumbnail generation up you can do the following:<br />
<br />
/usr/syno/etc.defaults/thumb.conf<br />
<br />
* changed the quality of thumbs to 70%<br />
* divided by 2 all the thumbs size<br />
* change the XL thumb size to 400 pixels<br />
<br />
[https://forum.synology.com/enu/viewtopic.php?t=95060]<br />
<br />
To view the status of the conversion, in /var/spool there are the following files<br />
<pre><br />
conv_progress_photo <br />
conv_progress_photo.pT5Pu5 <br />
conv_progress_video <br />
conv_progress_video.CpHdpS <br />
flv_create.queue <br />
flv_create.queue.tmp <br />
thumb_create.queue <br />
thumb_create.queue.tmp <br />
</pre><br />
<br />
or <br />
<br />
ps -ef | grep thumb<br />
<br />
To see the status of the converter<br />
sudo synoservicecfg --status synomkthumbd<br />
<br />
[https://www.reddit.com/r/synology/comments/7ui7c1/conversion_process_details/]<br />
<br />
= More info =<br />
[http://www.synology.com/en-global/support/tutorials/461 How to back up data on Synology NAS to another server] this should also work for a synology nas to another synology nas<br />
<br />
[http://www.synology-forum.nl/data-replicator-overige-backupsoftware/backup-via-internet/ backup via internet] NL forum link, aldus deze pagina, poorten:<br />
<br />
Network Backup: 873 TCP <br />
<br />
Encrypted Network Backup: 873, 22 TCP <br />
<br />
[http://raphael.kallensee.name/journal/how-to-backup-an-external-server-with-a-synology-nas-via-rsync/ backup nas via rsync]<br />
<br />
[http://www.synology.com/en-global/support/tutorials/455#t2 How to encrypt shared folders on Synology NAS] (uses AES, untick auto mount for stealing, but need to input passd on reboot via web interface)<br />
<br />
[http://www.synology.com/en-global/support/tutorials/456 How to make Synology NAS accessible via the Internet]<br />
<br />
[http://www.synology.com/en-global/support/tutorials/478 How to secure your Synology NAS server on the Internet]<br />
<br />
=Reports=<br />
<br />
In the Storage Analyzer settings you can set and see where the Synology saves reports. For some reason the Synology saves old reports you have deleted and so you can't create new reports with the same name without deleting the old files:<br />
<pre><br />
When you create a report task, a dedicated folder for this report will be automatically created under the destination folder that you have designated as the storage location for reports. When you delete a report task from the list on Storage Analyzer's homepage, you delete the report's profile only, while its folder still exists. To delete the report's own folder, please go to the designated destination folder > synoreport, and delete the folder with the same name as the report.<br />
</pre><br />
<br />
=Moments=<br />
[https://www.synology.com/en-global/knowledgebase/DSM/help/SynologyMoments/moments_share_and_search https://www.synology.com/en-global/knowledgebase/DSM/help/SynologyMoments/moments_share_and_search]<br />
<pre><br />
Enable Shared Photo Library<br />
<br />
Shared Photo Library allows you and users with permissions to collaboratively edit the photos and albums in Moments. Please note that only users belonging to the administrative groups can enable this feature.<br />
To enable Shared Photo Library:<br />
<br />
Click the Account icon on the bottom-left corner and select Settings > Shared Photo Library > Enable Shared Photo Library.<br />
Click Next to confirm and enable Shared Photo Library.<br />
Select users to grant them the permissions to access Shared Photo Library.<br />
Click OK to finish. Now you can switch between My Photo Library and Shared Photo Library.<br />
<br />
Note:<br />
<br />
The shared folder named /photo is the default path for Shared Photo Library.<br />
If you have already installed Photo Station, the photos in Photo Station can be displayed after the source of photos is switched to Shared Photo Library in Moments. Please note that the converted thumbnails in Photo Station will not be processed again.<br />
After Shared Photo Library is enabled, the Photo Station settings such as album permission, conversion rule, or other downloading settings will not migrate to or be inherited by Moments.<br />
</pre><br />
<br />
=Installing ipkg=<br />
[https://community.synology.com/enu/forum/1/post/127148 by plexflixler]<br />
Go to the Synology Package Center, click on "Settings" on the top right corner and then click on "package sources".<br />
<br />
Add the source "http://www.cphub.net" (you can choose the name freely, i.e. "CPHub")<br />
<br />
Now close the settings. In the package center on the left go to the "Community" tab.<br />
<br />
Find and install "Easy Bootstrap Installer" from QTip. There is also a GUI version if you prefer, called "iPKGui", also from QTip.<br />
<br />
IPKG is now installed. The executables are located in "/opt/bin/". You can SSH to your NAS and use it. However, the directory has not yet been added to the PATH variable, so to use it you would always need to use the full path "/opt/bin/ipkg". <br />
<br />
You can add the directory to the PATH variable using the following command:<br />
<br />
export PATH="$PATH:/opt/bin"<br />
<br />
However, this would only add the directory to PATH for the current session. <br />
<br />
sudo /opt/bin/ipkg update<br />
sudo /opt/bin/nano /etc/profile<br />
<br />
Now find the PATH variable. It should look something like this:<br />
<br />
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin<br />
<br />
At the end of this string, just append ":/opt/bin" (don't forget the colon). Then save and close the file<br />
<br />
Note that this will not automatically update your PATH for the current session. To do this, you can run:<br />
<br />
source /etc/profile<br />
<br />
To check wheter it worked, enter the command:<br />
<br />
echo $PATH | tr ":" "\n" | nl<br />
<br />
You should see the entry for "/opt/bin" there.<br />
<br />
Now your all set.<br />
<br />
=Installing mlocate=<br />
requires ipkg (see above)<br />
<br />
ipkg install mlocate<br />
<br />
Once you have done that, you run<br />
updatedb<br />
<br />
and then you can use the locate command<br />
<br />
=Universal search=<br />
For some reason when installing universal search it doesn't add the shares to the index. You have to do this by hand in settings.<br />
<br />
=Surveillance Station=<br />
==Timelapse==<br />
[https://forum.synology.com/enu/viewtopic.php?t=127113 Using Action Rules]<br />
<br />
[http://planet-geek.com/2017/10/09/geekitude/creating-timelapse-videos-from-a-synology-nas/ Using ffmpeg video stitching] with [https://superuser.com/questions/777938/ffmpeg-convert-a-video-to-a-timelapse a useful note on getting rid of audio] if you're using setpts in ffmpeg<br />
<br />
[https://www.synology.com/en-global/knowledgebase/Surveillance/help/SurveillanceStation/smart_time_lapse Using Smart Time Lapse] which converts videos<br />
<br />
<br />
----<br />
Beveiligde documentopslag vanaf EUR 989,-*<br />
<br />
AES encryption beveiligt uw bestanden<br />
<br />
Snel geplaatst en ingericht naar uw wensen<br />
<br />
Data wordt op extra harde schijf gekopieerd voor het geval er een kapot gaat<br />
<br />
Mogelijkheid om versleutelde bestanden over internet te backuppen<br />
<br />
* inclusief hardware, 1TB opslag en implementatiekosten, excl. voorrijkosten en evt backups / netwerkinstellingen<br />
<br />
=Docker=<br />
Generally the workflow is:<br />
<br />
docker -> add image (from the registry or from a url, eg airsonic/airsonic) -> double click image to create a container -> edit the advanced settings (auto restart on, add volumes, network, etc) -> confirm -> run container -> monitor the container in the container part<br />
<br />
== volumes / permanence ==<br />
These are locations on the synology that can be mounted in the container.<br />
<br />
When installing docker a new main share: docker is created.<br />
<br />
Using add volume you can choose a volume - if it's internal stuff to the container (eg /var/log) you select (or create) the folder(s): /docker/containername/var/log and then use the mount path /var/log to mount that location within the container.<br />
<br />
In the docker cli instructions for an image this can be seen as the -v options<br />
<br />
So if you are trying to mount your music you would mount /music/ to /music - you need to look out for permissions! <br />
<br />
=== Permissions ===<br />
<br />
For music and video: DLNA in Media Server; <br />
<br />
GUID and GPID env variables <br />
<br />
advanced permissions are places to look if you can view the files in the container terminal but the application in the container can't see the files! (you can check for advanced permissions by allowing Everyone read access in the normal permissions and seeing if the application can find them then)<br />
<br />
file permissions also of the /docker/imagename/ directories<br />
<br />
Don't forget to check Apply this folder, sub-folders and files!<br />
<br />
== network port forwarding / connecting from outside the host==<br />
You have two options here:<br />
<br />
1. network=host: while starting (=creating) a container from an image, you can enable the checkbox "use same network as Docker Host" at the bottom in the "network" tab in additional settings. As a result you do not need to map any ports from dsm to the container, as dsms network interface is directly used. You need to take care of potential port collisions between dsm and the container of course.<br />
<br />
2. network=bridged: map ports from the Docker Host (DSM) to the container. You can not access the ip of the container directly, though, you can access the mapped port on the Docker host. The potential port collision bettween dsm and containers are here possible as well.. but they can be corrected easier since you can just change the Docher host port which needs to be still mapped to the same D<br />
ocker port.<br />
<br />
In both cases the port can be accessed via dsm:port, though for option 1) this is only true if you did not change the ip INSIDE the container, if you did it will be container-ip:port.<br />
<br />
[https://community.synology.com/enu/forum/17/post/102280 Connect to a docker container from outside the host (same network)]<br />
<br />
'''So to have the external port be the same as the external port in bridged mode, edit the container and set the local port to be the same as the container port'''<br />
<br />
In the docker cli instructions for an image this can be seen as the -p options<br />
<br />
TODO: [https://mariushosting.com/synology-how-to-run-docker-containers-over-https/ How to run docker over https]<br />
<br />
== Environment ==<br />
Here you can add extra environment variables, eg TZ / GUID / PUID<br />
<br />
You can find your users PID and GID by sshing into the synology and typing<br />
<br />
id<br />
<br />
or<br />
<br />
id username<br />
<br />
The GUID and PUID are the IDs for which the container itself will run, not docker (which will run as root)<br />
<br />
== setting up a docker using cli arguments ==<br />
<br />
As an example [https://docs.linuxserver.io/images/docker-mstream Mstream] from linuxserver (you can find the image in the docker registry or add it using url linuxserver/mstream<br />
<br />
has docker cli<br />
<pre><br />
docker run -d \<br />
--name=mstream \<br />
-e PUID=1000 \<br />
-e PGID=1000 \<br />
-e TZ=Europe/London \<br />
-p 3000:3000 \<br />
-v /path/to/data:/config \<br />
-v /path/to/music:/music \<br />
--restart unless-stopped \<br />
lscr.io/linuxserver/mstream<br />
</pre><br />
<br />
So you have to fill in your own gid / pid / timezone in the Environment part of the container. You set the port to be both 3000 inside and outside in a bridged network connection. You select /docker/mstream/config to mount as /config and you select your music library on the synology to mount to /music. You ensure permissions are right and you should see the files in mstream.<br />
<br />
== Logging and troubleshooting == <br />
<br />
double clicking an container allows you to see the logs in a tab, which will help a lot. You can also access an active terminal in a tab on a running container<br />
<br />
= VPN Connections =<br />
<br />
[https://kb.synology.com/en-af/DSM/tutorial/How_connect_Synology_NAS_VPN_server How do I connect my Synology NAS to a VPN server?]<br />
<br />
Go to DSM Control Panel > Network > Network Interface.<br />
Click Create > Create VPN profile.<br />
Follow the instructions in this article to set up a VPN connection.<br />
<br />
If you select <br />
Use default gateway on remote network <br />
in the VPN profile you can only connect to the synology from the remote network, not from quickconnect [https://kb.synology.com/en-sg/DSM/tutorial/Cannot_connect_Synology_NAS_using_VPN_via_DDNS https://kb.synology.com/en-sg/DSM/tutorial/Cannot_connect_Synology_NAS_using_VPN_via_DDNS]. However if you do not select this you can not access the synology from the VPN IP.<br />
<br />
I also had to select <br />
The server or clients are behind the NAT device<br />
for it to work.<br />
<br />
Notes:<br />
<br />
We recommend selecting L2TP as the VPN protocol if it is available from VPN service providers. OpenVPN profiles provided by certain VPN service providers may not be compatible with Synology NAS.<br />
When your Synology NAS is configured as an L2TP or OpenVPN client, you cannot configure it as a VPN server using the same protocol in VPN Server. PPTP does not have this limitation.<br />
<br />
[https://kb.synology.com/en-af/DSM/help/DSM/AdminCenter/connection_network_vpnclient?version=7 VPN Connection] Synology knowledge centre<br />
<br />
Unfortunatelty running Hyberbackup over l2tp results in severe slowdowns and even crashes of the VPN interface.<br />
<br />
Wireguard connections<br />
<br />
You can connect via [https://tailscale.com/ Tailscale] - this should allow for better hyper backup transfers.<br />
<pre><br />
Simply install Tailscale on both NAS. Then log in to Tailscale and look at the IPs Tailscale has assigned to each machine and use those when configuring things like HyperBackup. Note that to setup Tailscale properly you need to enable outbound connections (explained in Tailscale docs).<br />
</pre><br />
https://www.reddit.com/r/synology/comments/16pe5qn/struggling_to_get_hyper_backup_working_on_remote/</div>Redhttp://wiki.edgarbv.com/index.php?title=Synology&diff=37701Synology2023-12-27T16:06:50Z<p>Red: /* VPN Connections */</p>
<hr />
<div>= First things to do =<br />
<br />
== Change IP ==<br />
<br />
Control panel -> (connectivity) Network -> tab network interface -> select LAN and click Edit.<br />
<br />
== Enable home directories + 2 step verification ==<br />
<br />
Control panel -> User -> Advanced -> Enable home user service + Enforce 2 step verification<br />
<br />
== change workgroup ==<br />
<br />
control panel -> file services -> smb/afp/nfs -> smb / enable smb service : workgroup<br />
<br />
== change low volume warning threshold ==<br />
change the % by going into my Storage Manager -> Storage -> Clicking the ... on the Volume I was looking for then Clicking Settings. If I scroll down on the Settings there is a Low Capacity Notification where you can change the % to 5% from 20%<br />
<br />
== Enable SSH ==<br />
<br />
Control panel -> (System) Terminal & SNMP enable SSH<br />
<br />
Control panel -> (connectivity) Security -> Firewall tab -> create a rule for SSH (encrypted terminal services), enable and save<br />
<br />
for root login as admin and then '''sudo sh'''<br />
<br />
(you can then log in to the machine using user '''root''' and the default admin password)<br />
<br />
to enable your users to access the terminal vi /etc/passwd and change /sbin/nologin to /bin/ash<br />
<br />
== Create shared folders ==<br />
Once you have created your shared folder, also enable snapshots<br />
<br />
= Prepare for rsync =<br />
NB the synology can only push rsync files, it can not be set up to pull files from a remote rsync server.<br />
<br />
Control panel -> (file sharing) Shared Folder -> create folder to back up to. Give the user you want to rsync to Read/Write access<br />
<br />
Control panel -> File services -> enable rsync service<br />
<br />
'''depreciated'''<br />
----<br />
Start (top left) -> Backup & replication -> backup services -> enable network backup service<br />
<br />
Start (top left) -> Backup & replication -> Backup Destination -> create Local Backup destination -> backup up data to local shared folder -> the name you put in there will be the module name or the path you can use later.<br />
<br />
then add the section in /etc/rsyncd.conf changing only the path and comment values (of course under the module name)<br />
<br />
restart rsync with<br />
<pre><br />
/usr/syno/etc/rc.sysv/S84rsyncd.sh restart<br />
</pre><br />
<br />
If you don't do this, it will rsync everything without the user name for some reason<br />
<br />
== Synology to synology ==<br />
You backup from the source to the target<br />
<br />
ssh into the source machine ('''mind the slashes at the end!''' if you don't use the slash it will create a directory in the directory you specify)<br />
<br />
rsync -avn /volume1/sourcedirectory/ user@192.168.0.105:/volume1/targetdirectory/<br />
<br />
to check if it works. Drop the n to start the actual copy.<br />
<br />
=== Hyper Backup ===<br />
This will create a backup directory which you can't browse with file explorer as it stores everything in a hyper backup format (Non browseable)<br />
<br />
==== Using Hyper Backup Vault ====<br />
Note: the destination needs the Hyper Backup Vault package installed. Launch Hyper backup on the source. Use the + bottom left to create a new backup job. Select data backup. Select Remote NAS device. fill in the hostname and then you can select which Shared folder it will use as a destination. Note: you cannot use photos or homes. The Directory is the name of the directory it will make on the shared folder on the destination device.<br />
<br />
==== Using rsync ====<br />
Launch Hyper backup on the source. Use the + bottom left to create a new backup job. Choose rsync. Fill in the data. As username and password you need a username and pass on the target machine. It will then fill the shared folder list with shares available on the target. You cannot backup to the root directory of the target share, so you need something in the directory field. After this it pretty much sets itself up. This will actually copy files, so you can browse them on the target NAS<br />
<br />
==== Using Snapshot replication ====<br />
This is supposed to be fairly effective, but not all DSM versions have this package and it needs to be installed on the recipient as well.<br />
<br />
== Netgear ReadyNas Ultra setup for rsync to Synology ==<br />
<br />
''Here we set up the Netgear to pull data from the Synology''<br />
<br />
in the /admin interface first<br />
<br />
Services -> Standard File Protocols -> ensure Rsync is enabled<br />
<br />
Shares -> share listing -> click on rsync icon. scroll up and change default access to 'read only'. Set hosts allowed access to ip of synology (192.168.0.101). Fill in the username and password!<br />
<br />
Backup -> Add a new backup job<br />
<br />
[[File:netgear backup step 1.png]]<br />
<br />
If you don't fill in the path above it will copy the whole share. If you browse the share you can select a subdir to copy.<br />
<br />
[[File:netgear backup step 2.png]]<br />
<br />
Note that the '''Path needs to be EMPTY''' before pressing the 'Test connection' button. It will sometimes work if you fill in NetBackup but you're best off doing the test empty, then typing in the path and then apply bottom right to test the backup job.<br />
<br />
This is what the schedule will look like<br />
<br />
[[File:backup schedule.png|400px]]<br />
<br />
The Daily job<br />
<br />
[[File:jobt1.png|400px]]<br />
[[File:job2.png|400px]]<br />
[[File:job3.png|400px]]<br />
[[File:job4.png|400px]]<br />
<br />
The Weekly job<br />
<br />
[[File:weekly netgear rsync.png|400px]]<br />
<br />
The monthly job<br />
<br />
[[File:monthly netgear rsync1.png|400px]]<br />
[[File:monthly netgear rsync2.png|400px]]<br />
<br />
== useful linkies ==<br />
[http://www.readynas.com/download/documentation/support/rsync_howto_nastonas.pdf Readynas rsync howto PDF]<br />
<br />
[https://www.synology.com/en-uk/knowledgebase/tutorials/613 synology rsync tutorial]<br />
<br />
[http://www.smallnetbuilder.com/nas/nas-howto/30856-how-to-back-up-nas-to-nas-part-1?start=1 small netbuilder tutorial]<br />
<br />
== indexing media files ==<br />
If you rsync files into the /volume1/photo or /volume1/video directories the system does not index them. They need to be copied in using windows or the internal file manager to index them automatically.<br />
<br />
In control panel -> Media library you can re-index the files in the photo directory.<br />
<br />
In the video station itself under collection -> settings you can re-index.<br />
<br />
As you can't set /video/ as a directory to use in the video station, you have to set a symbolic link from /volume1/video/movie to wherever you want to have your directories.<br />
<br />
Warning: indexing can take DAYS!<br />
<br />
== Preparing ReadyNAS for rsync towards it ==<br />
Ensure in Shares that the rsync is enabled on at least one share. Ensure the host you are coming from is allowed and that there is a username / password for it.<br />
<br />
= Symbolic links =<br />
<br />
Windows can't handle symbolic links on the synology, so you have to mount directories with<br />
<pre><br />
mount -o bind /volume1/sourcedir /volume1/destdir<br />
</pre><br />
<br />
as root<br />
<br />
and then copy the mount command to /etc/rc.local to make it stick after a reboot<br />
<br />
= prepare the windows machine for Picasa =<br />
<br />
SSH to the synology, log in as root<br />
<pre><br />
mkdir /volume1/photo/Pictures<br />
mount -o bind /volume1/photo/ /volume1/photo/Pictures<br />
</pre><br />
edit /etc/rc.local<br />
<br />
insert the mount command above into the file - this is for when the synology restarts<br />
<br />
in windows explorer map \\invader\photo to T:<br />
<br />
== Picasa database file locations ==<br />
<br />
There are 2 directories in % %LocalAppData%\Google\ which is the same as C:\Users\razor\AppData\Local\Google\<br />
<br />
<br />
Copy them over before running Picasa for the first time.<br />
<br />
=NFS=<br />
<br />
First make sure in Control Panel -> File Services that NFS is enabled.<br />
<br />
Then in Control Panel -> File Sharing -> Edit the share -> create NFS Permissions. You should only have to change the IP/Hostname field.<br />
<br />
[https://www.synology.com/en-us/knowledgebase/tutorials/616 see here]<br />
<br />
=CIFS=<br />
sudo mount -t cifs //192.168.0.101/home/ ~/xx/ -o username=razor,uid=razor,gid=users<br />
<br />
=To find the NAS on linux with netbios=<br />
You have to enable the bonjour service on the NAS<br />
<br />
Control Panel -> File services -> Enable AFP service, then in Advanced tab -> also enable<br />
<br />
The linux machine needs avahi running. Check using<br />
sudo service avahi-daemon status<br />
<br />
=DLNA=<br />
The video players such as a TV (eg on an LG TV under "photos and videos" app) that play directly from the NAS use DLNA. The synology (or DLNA server) creates a database which the player reads. <br />
<br />
The settings for the Media Server / DNLA can be found under the synology ''start menu -> media server''. It is quite possible that Synology decides it doesn't like your player much and gives it a device type which it's not happy with. Under ''DMA Compatibility -> Device List'' you can change the profile to '''Default profile''', which may help.<br />
<br />
If the database is somehow damaged, you can rebuild it under ''control panel -> indexing service'' and then click '''re-index'''. This can take days!<br />
<br />
To check the status of the rebuild, ssh in (using admin / pw, then sudo su) and you can check to see what's being rebuilt by issuing<br />
ls -l /proc/$(pidof synomkthumbd)/fd<br />
To monitor what's happening over some time do (nb it will take some time before you see anything appear!)<br />
while sleep 30; do ls -l /proc/$(pidof synomkthumbd)/fd | grep volume; done<br />
[https://www.mcleanit.ca/blog/synology-check-index-progress/ from mcleanit.ca]<br />
<br />
If the indexing service seems frozen then restart it with<br />
synoservicectl --restart synoindexd<br />
<br />
=Streaming=<br />
The audio station DS Audio app is terrible and hangs a lot. <br />
<br />
As alternatives there are Jellyfin; Airsonic and mstream. So far I like mstream, it's very light (388MB docker image, as it's file based.<br />
<br />
== Jellyfin ==<br />
very library based and uses quite a bit of CPU - no folder view<br />
<br />
== Airsonic ==<br />
Comes in 2 flavours: [https://airsonic.github.io/ airsonic] and [https://github.com/airsonic-advanced/airsonic-advanced airsonic-advanced]. The advanced version is a fork created due to frustration with the glacial pace of development of airsonic. [https://www.reddit.com/r/airsonic/comments/fu4gwd/airsonic_vs_airsonicadvanced/ Reddit rant here]<br />
<br />
[https://hub.docker.com/r/airsonicadvanced/airsonic-advanced airsonic-advanced]<br />
<br />
== MxStream ==<br />
[https://docs.linuxserver.io/images/docker-mstream linuxserver/mstream]<br />
<br />
Super lightweight: <br />
<br />
iamge is 388 MB<br />
<br />
fresh install:<br />
<br />
CPU: 0.85%<br />
<br />
RAM: 111 MB<br />
<br />
file based<br />
<br />
http://netbiosname:3000<br />
<br />
== Gerbera BubbleUpnP ==<br />
[https://www.reddit.com/r/synology/comments/adkjsr/my_solution_to_playing_audio_from_nas_on_my_cell/ information]<br />
<br />
== Plex ==<br />
Complaints about it being slow and jumpy - only for local streaming - also if you want to use it for streaming or downloading for internet streaming you need to pay<br />
<br />
== Beets ==<br />
re-organise your music collection?<br />
<br />
=Converting media files=<br />
Photo station converts your videos to flv as standard and to mp4 if you have '''conversion for mobile devices''' set to on under ''control panel -> indexing service.''<br />
<br />
It will also convert your image files to thumbnails as standard.<br />
<br />
This can take a few days or even weeks if you upload a lot of new stuff.<br />
<br />
To speed the photo thumbnail generation up you can do the following:<br />
<br />
/usr/syno/etc.defaults/thumb.conf<br />
<br />
* changed the quality of thumbs to 70%<br />
* divided by 2 all the thumbs size<br />
* change the XL thumb size to 400 pixels<br />
<br />
[https://forum.synology.com/enu/viewtopic.php?t=95060]<br />
<br />
To view the status of the conversion, in /var/spool there are the following files<br />
<pre><br />
conv_progress_photo <br />
conv_progress_photo.pT5Pu5 <br />
conv_progress_video <br />
conv_progress_video.CpHdpS <br />
flv_create.queue <br />
flv_create.queue.tmp <br />
thumb_create.queue <br />
thumb_create.queue.tmp <br />
</pre><br />
<br />
or <br />
<br />
ps -ef | grep thumb<br />
<br />
To see the status of the converter<br />
sudo synoservicecfg --status synomkthumbd<br />
<br />
[https://www.reddit.com/r/synology/comments/7ui7c1/conversion_process_details/]<br />
<br />
= More info =<br />
[http://www.synology.com/en-global/support/tutorials/461 How to back up data on Synology NAS to another server] this should also work for a synology nas to another synology nas<br />
<br />
[http://www.synology-forum.nl/data-replicator-overige-backupsoftware/backup-via-internet/ backup via internet] NL forum link, aldus deze pagina, poorten:<br />
<br />
Network Backup: 873 TCP <br />
<br />
Encrypted Network Backup: 873, 22 TCP <br />
<br />
[http://raphael.kallensee.name/journal/how-to-backup-an-external-server-with-a-synology-nas-via-rsync/ backup nas via rsync]<br />
<br />
[http://www.synology.com/en-global/support/tutorials/455#t2 How to encrypt shared folders on Synology NAS] (uses AES, untick auto mount for stealing, but need to input passd on reboot via web interface)<br />
<br />
[http://www.synology.com/en-global/support/tutorials/456 How to make Synology NAS accessible via the Internet]<br />
<br />
[http://www.synology.com/en-global/support/tutorials/478 How to secure your Synology NAS server on the Internet]<br />
<br />
=Reports=<br />
<br />
In the Storage Analyzer settings you can set and see where the Synology saves reports. For some reason the Synology saves old reports you have deleted and so you can't create new reports with the same name without deleting the old files:<br />
<pre><br />
When you create a report task, a dedicated folder for this report will be automatically created under the destination folder that you have designated as the storage location for reports. When you delete a report task from the list on Storage Analyzer's homepage, you delete the report's profile only, while its folder still exists. To delete the report's own folder, please go to the designated destination folder > synoreport, and delete the folder with the same name as the report.<br />
</pre><br />
<br />
=Moments=<br />
[https://www.synology.com/en-global/knowledgebase/DSM/help/SynologyMoments/moments_share_and_search https://www.synology.com/en-global/knowledgebase/DSM/help/SynologyMoments/moments_share_and_search]<br />
<pre><br />
Enable Shared Photo Library<br />
<br />
Shared Photo Library allows you and users with permissions to collaboratively edit the photos and albums in Moments. Please note that only users belonging to the administrative groups can enable this feature.<br />
To enable Shared Photo Library:<br />
<br />
Click the Account icon on the bottom-left corner and select Settings > Shared Photo Library > Enable Shared Photo Library.<br />
Click Next to confirm and enable Shared Photo Library.<br />
Select users to grant them the permissions to access Shared Photo Library.<br />
Click OK to finish. Now you can switch between My Photo Library and Shared Photo Library.<br />
<br />
Note:<br />
<br />
The shared folder named /photo is the default path for Shared Photo Library.<br />
If you have already installed Photo Station, the photos in Photo Station can be displayed after the source of photos is switched to Shared Photo Library in Moments. Please note that the converted thumbnails in Photo Station will not be processed again.<br />
After Shared Photo Library is enabled, the Photo Station settings such as album permission, conversion rule, or other downloading settings will not migrate to or be inherited by Moments.<br />
</pre><br />
<br />
=Installing ipkg=<br />
[https://community.synology.com/enu/forum/1/post/127148 by plexflixler]<br />
Go to the Synology Package Center, click on "Settings" on the top right corner and then click on "package sources".<br />
<br />
Add the source "http://www.cphub.net" (you can choose the name freely, i.e. "CPHub")<br />
<br />
Now close the settings. In the package center on the left go to the "Community" tab.<br />
<br />
Find and install "Easy Bootstrap Installer" from QTip. There is also a GUI version if you prefer, called "iPKGui", also from QTip.<br />
<br />
IPKG is now installed. The executables are located in "/opt/bin/". You can SSH to your NAS and use it. However, the directory has not yet been added to the PATH variable, so to use it you would always need to use the full path "/opt/bin/ipkg". <br />
<br />
You can add the directory to the PATH variable using the following command:<br />
<br />
export PATH="$PATH:/opt/bin"<br />
<br />
However, this would only add the directory to PATH for the current session. <br />
<br />
sudo /opt/bin/ipkg update<br />
sudo /opt/bin/nano /etc/profile<br />
<br />
Now find the PATH variable. It should look something like this:<br />
<br />
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin<br />
<br />
At the end of this string, just append ":/opt/bin" (don't forget the colon). Then save and close the file<br />
<br />
Note that this will not automatically update your PATH for the current session. To do this, you can run:<br />
<br />
source /etc/profile<br />
<br />
To check wheter it worked, enter the command:<br />
<br />
echo $PATH | tr ":" "\n" | nl<br />
<br />
You should see the entry for "/opt/bin" there.<br />
<br />
Now your all set.<br />
<br />
=Installing mlocate=<br />
requires ipkg (see above)<br />
<br />
ipkg install mlocate<br />
<br />
Once you have done that, you run<br />
updatedb<br />
<br />
and then you can use the locate command<br />
<br />
=Universal search=<br />
For some reason when installing universal search it doesn't add the shares to the index. You have to do this by hand in settings.<br />
<br />
=Surveillance Station=<br />
==Timelapse==<br />
[https://forum.synology.com/enu/viewtopic.php?t=127113 Using Action Rules]<br />
<br />
[http://planet-geek.com/2017/10/09/geekitude/creating-timelapse-videos-from-a-synology-nas/ Using ffmpeg video stitching] with [https://superuser.com/questions/777938/ffmpeg-convert-a-video-to-a-timelapse a useful note on getting rid of audio] if you're using setpts in ffmpeg<br />
<br />
[https://www.synology.com/en-global/knowledgebase/Surveillance/help/SurveillanceStation/smart_time_lapse Using Smart Time Lapse] which converts videos<br />
<br />
<br />
----<br />
Beveiligde documentopslag vanaf EUR 989,-*<br />
<br />
AES encryption beveiligt uw bestanden<br />
<br />
Snel geplaatst en ingericht naar uw wensen<br />
<br />
Data wordt op extra harde schijf gekopieerd voor het geval er een kapot gaat<br />
<br />
Mogelijkheid om versleutelde bestanden over internet te backuppen<br />
<br />
* inclusief hardware, 1TB opslag en implementatiekosten, excl. voorrijkosten en evt backups / netwerkinstellingen<br />
<br />
=Docker=<br />
Generally the workflow is:<br />
<br />
docker -> add image (from the registry or from a url, eg airsonic/airsonic) -> double click image to create a container -> edit the advanced settings (auto restart on, add volumes, network, etc) -> confirm -> run container -> monitor the container in the container part<br />
<br />
== volumes / permanence ==<br />
These are locations on the synology that can be mounted in the container.<br />
<br />
When installing docker a new main share: docker is created.<br />
<br />
Using add volume you can choose a volume - if it's internal stuff to the container (eg /var/log) you select (or create) the folder(s): /docker/containername/var/log and then use the mount path /var/log to mount that location within the container.<br />
<br />
In the docker cli instructions for an image this can be seen as the -v options<br />
<br />
So if you are trying to mount your music you would mount /music/ to /music - you need to look out for permissions! <br />
<br />
=== Permissions ===<br />
<br />
For music and video: DLNA in Media Server; <br />
<br />
GUID and GPID env variables <br />
<br />
advanced permissions are places to look if you can view the files in the container terminal but the application in the container can't see the files! (you can check for advanced permissions by allowing Everyone read access in the normal permissions and seeing if the application can find them then)<br />
<br />
file permissions also of the /docker/imagename/ directories<br />
<br />
Don't forget to check Apply this folder, sub-folders and files!<br />
<br />
== network port forwarding / connecting from outside the host==<br />
You have two options here:<br />
<br />
1. network=host: while starting (=creating) a container from an image, you can enable the checkbox "use same network as Docker Host" at the bottom in the "network" tab in additional settings. As a result you do not need to map any ports from dsm to the container, as dsms network interface is directly used. You need to take care of potential port collisions between dsm and the container of course.<br />
<br />
2. network=bridged: map ports from the Docker Host (DSM) to the container. You can not access the ip of the container directly, though, you can access the mapped port on the Docker host. The potential port collision bettween dsm and containers are here possible as well.. but they can be corrected easier since you can just change the Docher host port which needs to be still mapped to the same D<br />
ocker port.<br />
<br />
In both cases the port can be accessed via dsm:port, though for option 1) this is only true if you did not change the ip INSIDE the container, if you did it will be container-ip:port.<br />
<br />
[https://community.synology.com/enu/forum/17/post/102280 Connect to a docker container from outside the host (same network)]<br />
<br />
'''So to have the external port be the same as the external port in bridged mode, edit the container and set the local port to be the same as the container port'''<br />
<br />
In the docker cli instructions for an image this can be seen as the -p options<br />
<br />
TODO: [https://mariushosting.com/synology-how-to-run-docker-containers-over-https/ How to run docker over https]<br />
<br />
== Environment ==<br />
Here you can add extra environment variables, eg TZ / GUID / PUID<br />
<br />
You can find your users PID and GID by sshing into the synology and typing<br />
<br />
id<br />
<br />
or<br />
<br />
id username<br />
<br />
The GUID and PUID are the IDs for which the container itself will run, not docker (which will run as root)<br />
<br />
== setting up a docker using cli arguments ==<br />
<br />
As an example [https://docs.linuxserver.io/images/docker-mstream Mstream] from linuxserver (you can find the image in the docker registry or add it using url linuxserver/mstream<br />
<br />
has docker cli<br />
<pre><br />
docker run -d \<br />
--name=mstream \<br />
-e PUID=1000 \<br />
-e PGID=1000 \<br />
-e TZ=Europe/London \<br />
-p 3000:3000 \<br />
-v /path/to/data:/config \<br />
-v /path/to/music:/music \<br />
--restart unless-stopped \<br />
lscr.io/linuxserver/mstream<br />
</pre><br />
<br />
So you have to fill in your own gid / pid / timezone in the Environment part of the container. You set the port to be both 3000 inside and outside in a bridged network connection. You select /docker/mstream/config to mount as /config and you select your music library on the synology to mount to /music. You ensure permissions are right and you should see the files in mstream.<br />
<br />
== Logging and troubleshooting == <br />
<br />
double clicking an container allows you to see the logs in a tab, which will help a lot. You can also access an active terminal in a tab on a running container<br />
<br />
= VPN Connections =<br />
<br />
[https://kb.synology.com/en-af/DSM/tutorial/How_connect_Synology_NAS_VPN_server How do I connect my Synology NAS to a VPN server?]<br />
<br />
Go to DSM Control Panel > Network > Network Interface.<br />
Click Create > Create VPN profile.<br />
Follow the instructions in this article to set up a VPN connection.<br />
<br />
If you select <br />
Use default gateway on remote network <br />
in the VPN profile you can only connect to the synology from the remote network, not from quickconnect [https://kb.synology.com/en-sg/DSM/tutorial/Cannot_connect_Synology_NAS_using_VPN_via_DDNS https://kb.synology.com/en-sg/DSM/tutorial/Cannot_connect_Synology_NAS_using_VPN_via_DDNS]. However if you do not select this you can not access the synology from the VPN IP.<br />
<br />
I also had to select <br />
The server or clients are behind the NAT device<br />
for it to work.<br />
<br />
Notes:<br />
<br />
We recommend selecting L2TP as the VPN protocol if it is available from VPN service providers. OpenVPN profiles provided by certain VPN service providers may not be compatible with Synology NAS.<br />
When your Synology NAS is configured as an L2TP or OpenVPN client, you cannot configure it as a VPN server using the same protocol in VPN Server. PPTP does not have this limitation.<br />
<br />
[https://kb.synology.com/en-af/DSM/help/DSM/AdminCenter/connection_network_vpnclient?version=7 VPN Connection] Synology knowledge centre<br />
<br />
Unfortunatelty running Hyberbackup over l2tp results in severe slowdowns and even crashes of the VPN interface.<br />
<br />
Wireguard connections<br />
<br />
You can connect via [https://tailscale.com/ Tailscale] - this should allow for better hyper backup transfers.</div>Redhttp://wiki.edgarbv.com/index.php?title=Windows&diff=37700Windows2023-12-22T10:52:21Z<p>Red: /* firefox addons */</p>
<hr />
<div>== Windows Programs ==<br />
<br />
[https://ninite.com Ninite installer fetches and installs quite a few common proggies]<br />
<br />
[[Scanning searchable PDFs]]<br />
<br />
scribus - DTP<br />
<br />
Gimp - bitmap manipulation<br />
<br />
inkscape - vector graphics editing<br />
<br />
Pencil - wireframes (for websites/UI)<br />
<br />
Photopad - collage making software<br />
<br />
PDFill - pdf editing<br />
<br />
CutePDF - PDF writing<br />
<br />
Freemind - Mind mapper<br />
<br />
VirtualBox - VMs<br />
<br />
Visio Technical / DrawIO desktop (FOSS)<br />
<br />
Cyberghost - VPN<br />
<br />
Winscp / putty / Teamviewer / TigerVNC / XMing / openvpn - remote access<br />
<br />
WinxYoutube Downloader / get_iplayer<br />
<br />
Etcher / Rufus / unetbootin - burn iso to sd /usb<br />
<br />
Handbrake - video encoder<br />
<br />
mp3split / <br />
<br />
screenbloom - hue<br />
<br />
Teamspeak / discord - gaming chat<br />
<br />
FreeFileSync<br />
<br />
Image Deduplicator Tomasz Kapusta<br />
<br />
[https://www.uwe-sieber.de/usbtreeview_e.html USB Tree View] - shows the status of your usb devices<br />
<br />
EventGhost - shows when events happen, eg if stuff is plugged in or out of your PC<br />
<br />
FXSound - easily set sound presets, better voice sound with movies<br />
<br />
Portmaster - view your network connections<br />
<br />
[https://winsize2.sourceforge.net/en/index.html WinSize2] - remembers window sizes and positions on multimonitor setups ([https://www.makeuseof.com/windows-winsize-2-guide/ Guide])<br />
<br />
[[Optical Character Recognition]]<br />
<br />
== firefox addons ==<br />
<br />
bypass paywalls clean https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean<br />
<br />
clone window<br />
<br />
download helper<br />
<br />
Disconnect<br />
<br />
Duplicate Tab Shortcut<br />
<br />
Facebook container<br />
<br />
Facebook Pixel Hunt<br />
<br />
Firefox Relay<br />
<br />
Ghostery<br />
<br />
Google Page Translate<br />
<br />
Image Search options<br />
<br />
lastpass<br />
<br />
LocalCDN<br />
<br />
noscript<br />
<br />
overbiteWX<br />
<br />
Privacy Badger<br />
<br />
Super Agent - automatic cookie consent<br />
<br />
To Google Translate<br />
<br />
UBlock Origin<br />
<br />
https://addons.mozilla.org/en-US/firefox/addon/firefox-gold/<br />
<br />
== Other useful proggies ==<br />
<br />
utorrent<br />
<br />
3rvx<br />
<br />
anydvd<br />
<br />
avg<br />
<br />
Awesome Duplicate Photo Finder - see czkawka https://awesome-duplicate-photo-finder.en.softonic.com/<br />
<br />
curse client<br />
<br />
czkawka https://github.com/qarmin/czkawka/releases finds duplicate images - https://github.com/qarmin/czkawka/blob/master/instructions/Instruction.md - For a regex with path select eg: T:\Somewhere\0Iphone\Stuff123 -> /0Iphone/* or c:\users[username]\desktop https://github.com/qarmin/czkawka/discussions?page=1 <br />
<br />
deskscapes 3 (note: wallpaper engine is better)<br />
<br />
dupeguru - see czkwaka https://dupeguru.voltaicideas.net/ <br />
<br />
digikam - photo management<br />
<br />
eventghost - see windows events as they happen in a log (eg usb plugins and plugouts)<br />
<br />
fences<br />
<br />
foxit reader<br />
<br />
gimp<br />
<br />
google earth<br />
<br />
iconpackager<br />
<br />
java<br />
<br />
k-light codec pack<br />
<br />
lastpass<br />
<br />
libreoffice<br />
<br />
logitech g940 + g19<br />
<br />
logonstudio<br />
<br />
firefox<br />
<br />
multimonitor tool nirsoft<br />
<br />
notepad ++<br />
<br />
nvidia drivers<br />
<br />
ppjoy<br />
<br />
putty<br />
<br />
recon hq<br />
<br />
rise of flight<br />
<br />
sabnzbd<br />
<br />
skype<br />
<br />
spacemonger<br />
<br />
spotnet<br />
<br />
spybot sd<br />
<br />
superantispyware<br />
<br />
teamspeak<br />
<br />
trackir<br />
<br />
undelete<br />
<br />
ventrilio<br />
<br />
virtualclonedrive<br />
<br />
vlc<br />
<br />
wallpaper engine<br />
<br />
winamp / wacup<br />
<br />
== Hardware testing ==<br />
<br />
CPU-Z CPUID HWMonitor<br />
<br />
Diskinfo64<br />
<br />
Furmark<br />
<br />
Samsung Magician (SDDs)<br />
<br />
[https://www.entechtaiwan.com/util/moninfo.shtm Moninfo / Monitor Asset Manager]<br />
<br />
== Laptop ==<br />
<br />
winredock - restores window locations to monitors when replugging the monitor https://github.com/manutalcual/winredock<br />
<br />
thinkpadLEDcontrol - https://github.com/valinet/ThinkPadLEDControl<br />
<br />
== Windows Algemeen ==<br />
<br />
[[Add Commands to Windows Explorer Context Menu]]<br />
<br />
[[Changing normal template in Word]]<br />
<br />
[[Disable update balloon]]<br />
<br />
[[Excel Formula bar editing]]<br />
<br />
[[Excel Merging cells]]<br />
<br />
[[Excel Shortcut keys]]<br />
<br />
[[Files to backup from C when reinstalling]]<br />
<br />
[[For loops]]<br />
<br />
[[IIS adding individual FTP accounts]]<br />
<br />
[[Log all shutdown errors]]<br />
<br />
[[Lotus Organizer mappings for export]]<br />
<br />
[[Office 2021]]<br />
<br />
[[Outlook 2007]]<br />
<br />
[[Outlook 2019]]<br />
<br />
[[Photoshop plugin for making ICO-files]]<br />
<br />
[[Printing from IE]]<br />
<br />
[[Putty]]<br />
<br />
[[Reinstalling IE and Outlook Express]]<br />
<br />
[[Remapping Keyboard Keys]]<br />
<br />
[[Samsung Monitor reflecties in beeld]]<br />
<br />
[[The Bat!]]<br />
<br />
[[User management in xp and vista]]<br />
<br />
[[Windows Hello PIN problems]]<br />
<br />
[[Windows Mobile Devices]]<br />
<br />
[[XTNDConnect PC]]<br />
<br />
== Windows Vista ==<br />
<br />
[[Schijven partitioneren in Vista (en de C-schijf kleiner krijgen dan 150/200 Gig)]]<br />
<br />
[[Sidebar Gadget Development]]<br />
<br />
[[SNMP Aanzetten]]<br />
<br />
[[GET YOUR OLD WINDOWS PROFILE BACK]]<br />
<br />
== Windows 7 ==<br />
<br />
[[Windows 7 client bij SAMBA domein aanmelden]]<br />
<br />
[[Windows 7 no domain logon servers can be found]]<br />
<br />
[[Save Icon Locations on Desktop]]<br />
<br />
[[Automatic Logon Into Windows 7]]<br />
<br />
[[Automatisch inloggen met Windows 7]]<br />
<br />
== Servers ==<br />
<br />
Servers need to be installed in the following order due to chained dependencies.<br />
<br />
[[DNS]]<br />
<br />
[[DHCP]]<br />
<br />
[[Active Directory]]<br />
<br />
[[Exchange]]<br />
<br />
[[Small Business Server 2003]]<br />
<br />
NB. In SBS2011 do not rename the MyBusiness OU!<br />
<br />
[[NTP]]<br />
<br />
==Media Players==<br />
[[IFloor]]<br />
<br />
[[Irfanview]]<br />
<br />
[[Ultramon]]<br />
<br />
[[Media Player Classic autoplay]]</div>Redhttp://wiki.edgarbv.com/index.php?title=Synology&diff=37699Synology2023-12-20T06:10:27Z<p>Red: /* Synology to synology */</p>
<hr />
<div>= First things to do =<br />
<br />
== Change IP ==<br />
<br />
Control panel -> (connectivity) Network -> tab network interface -> select LAN and click Edit.<br />
<br />
== Enable home directories + 2 step verification ==<br />
<br />
Control panel -> User -> Advanced -> Enable home user service + Enforce 2 step verification<br />
<br />
== change workgroup ==<br />
<br />
control panel -> file services -> smb/afp/nfs -> smb / enable smb service : workgroup<br />
<br />
== change low volume warning threshold ==<br />
change the % by going into my Storage Manager -> Storage -> Clicking the ... on the Volume I was looking for then Clicking Settings. If I scroll down on the Settings there is a Low Capacity Notification where you can change the % to 5% from 20%<br />
<br />
== Enable SSH ==<br />
<br />
Control panel -> (System) Terminal & SNMP enable SSH<br />
<br />
Control panel -> (connectivity) Security -> Firewall tab -> create a rule for SSH (encrypted terminal services), enable and save<br />
<br />
for root login as admin and then '''sudo sh'''<br />
<br />
(you can then log in to the machine using user '''root''' and the default admin password)<br />
<br />
to enable your users to access the terminal vi /etc/passwd and change /sbin/nologin to /bin/ash<br />
<br />
== Create shared folders ==<br />
Once you have created your shared folder, also enable snapshots<br />
<br />
= Prepare for rsync =<br />
NB the synology can only push rsync files, it can not be set up to pull files from a remote rsync server.<br />
<br />
Control panel -> (file sharing) Shared Folder -> create folder to back up to. Give the user you want to rsync to Read/Write access<br />
<br />
Control panel -> File services -> enable rsync service<br />
<br />
'''depreciated'''<br />
----<br />
Start (top left) -> Backup & replication -> backup services -> enable network backup service<br />
<br />
Start (top left) -> Backup & replication -> Backup Destination -> create Local Backup destination -> backup up data to local shared folder -> the name you put in there will be the module name or the path you can use later.<br />
<br />
then add the section in /etc/rsyncd.conf changing only the path and comment values (of course under the module name)<br />
<br />
restart rsync with<br />
<pre><br />
/usr/syno/etc/rc.sysv/S84rsyncd.sh restart<br />
</pre><br />
<br />
If you don't do this, it will rsync everything without the user name for some reason<br />
<br />
== Synology to synology ==<br />
You backup from the source to the target<br />
<br />
ssh into the source machine ('''mind the slashes at the end!''' if you don't use the slash it will create a directory in the directory you specify)<br />
<br />
rsync -avn /volume1/sourcedirectory/ user@192.168.0.105:/volume1/targetdirectory/<br />
<br />
to check if it works. Drop the n to start the actual copy.<br />
<br />
=== Hyper Backup ===<br />
This will create a backup directory which you can't browse with file explorer as it stores everything in a hyper backup format (Non browseable)<br />
<br />
==== Using Hyper Backup Vault ====<br />
Note: the destination needs the Hyper Backup Vault package installed. Launch Hyper backup on the source. Use the + bottom left to create a new backup job. Select data backup. Select Remote NAS device. fill in the hostname and then you can select which Shared folder it will use as a destination. Note: you cannot use photos or homes. The Directory is the name of the directory it will make on the shared folder on the destination device.<br />
<br />
==== Using rsync ====<br />
Launch Hyper backup on the source. Use the + bottom left to create a new backup job. Choose rsync. Fill in the data. As username and password you need a username and pass on the target machine. It will then fill the shared folder list with shares available on the target. You cannot backup to the root directory of the target share, so you need something in the directory field. After this it pretty much sets itself up. This will actually copy files, so you can browse them on the target NAS<br />
<br />
==== Using Snapshot replication ====<br />
This is supposed to be fairly effective, but not all DSM versions have this package and it needs to be installed on the recipient as well.<br />
<br />
== Netgear ReadyNas Ultra setup for rsync to Synology ==<br />
<br />
''Here we set up the Netgear to pull data from the Synology''<br />
<br />
in the /admin interface first<br />
<br />
Services -> Standard File Protocols -> ensure Rsync is enabled<br />
<br />
Shares -> share listing -> click on rsync icon. scroll up and change default access to 'read only'. Set hosts allowed access to ip of synology (192.168.0.101). Fill in the username and password!<br />
<br />
Backup -> Add a new backup job<br />
<br />
[[File:netgear backup step 1.png]]<br />
<br />
If you don't fill in the path above it will copy the whole share. If you browse the share you can select a subdir to copy.<br />
<br />
[[File:netgear backup step 2.png]]<br />
<br />
Note that the '''Path needs to be EMPTY''' before pressing the 'Test connection' button. It will sometimes work if you fill in NetBackup but you're best off doing the test empty, then typing in the path and then apply bottom right to test the backup job.<br />
<br />
This is what the schedule will look like<br />
<br />
[[File:backup schedule.png|400px]]<br />
<br />
The Daily job<br />
<br />
[[File:jobt1.png|400px]]<br />
[[File:job2.png|400px]]<br />
[[File:job3.png|400px]]<br />
[[File:job4.png|400px]]<br />
<br />
The Weekly job<br />
<br />
[[File:weekly netgear rsync.png|400px]]<br />
<br />
The monthly job<br />
<br />
[[File:monthly netgear rsync1.png|400px]]<br />
[[File:monthly netgear rsync2.png|400px]]<br />
<br />
== useful linkies ==<br />
[http://www.readynas.com/download/documentation/support/rsync_howto_nastonas.pdf Readynas rsync howto PDF]<br />
<br />
[https://www.synology.com/en-uk/knowledgebase/tutorials/613 synology rsync tutorial]<br />
<br />
[http://www.smallnetbuilder.com/nas/nas-howto/30856-how-to-back-up-nas-to-nas-part-1?start=1 small netbuilder tutorial]<br />
<br />
== indexing media files ==<br />
If you rsync files into the /volume1/photo or /volume1/video directories the system does not index them. They need to be copied in using windows or the internal file manager to index them automatically.<br />
<br />
In control panel -> Media library you can re-index the files in the photo directory.<br />
<br />
In the video station itself under collection -> settings you can re-index.<br />
<br />
As you can't set /video/ as a directory to use in the video station, you have to set a symbolic link from /volume1/video/movie to wherever you want to have your directories.<br />
<br />
Warning: indexing can take DAYS!<br />
<br />
== Preparing ReadyNAS for rsync towards it ==<br />
Ensure in Shares that the rsync is enabled on at least one share. Ensure the host you are coming from is allowed and that there is a username / password for it.<br />
<br />
= Symbolic links =<br />
<br />
Windows can't handle symbolic links on the synology, so you have to mount directories with<br />
<pre><br />
mount -o bind /volume1/sourcedir /volume1/destdir<br />
</pre><br />
<br />
as root<br />
<br />
and then copy the mount command to /etc/rc.local to make it stick after a reboot<br />
<br />
= prepare the windows machine for Picasa =<br />
<br />
SSH to the synology, log in as root<br />
<pre><br />
mkdir /volume1/photo/Pictures<br />
mount -o bind /volume1/photo/ /volume1/photo/Pictures<br />
</pre><br />
edit /etc/rc.local<br />
<br />
insert the mount command above into the file - this is for when the synology restarts<br />
<br />
in windows explorer map \\invader\photo to T:<br />
<br />
== Picasa database file locations ==<br />
<br />
There are 2 directories in % %LocalAppData%\Google\ which is the same as C:\Users\razor\AppData\Local\Google\<br />
<br />
<br />
Copy them over before running Picasa for the first time.<br />
<br />
=NFS=<br />
<br />
First make sure in Control Panel -> File Services that NFS is enabled.<br />
<br />
Then in Control Panel -> File Sharing -> Edit the share -> create NFS Permissions. You should only have to change the IP/Hostname field.<br />
<br />
[https://www.synology.com/en-us/knowledgebase/tutorials/616 see here]<br />
<br />
=CIFS=<br />
sudo mount -t cifs //192.168.0.101/home/ ~/xx/ -o username=razor,uid=razor,gid=users<br />
<br />
=To find the NAS on linux with netbios=<br />
You have to enable the bonjour service on the NAS<br />
<br />
Control Panel -> File services -> Enable AFP service, then in Advanced tab -> also enable<br />
<br />
The linux machine needs avahi running. Check using<br />
sudo service avahi-daemon status<br />
<br />
=DLNA=<br />
The video players such as a TV (eg on an LG TV under "photos and videos" app) that play directly from the NAS use DLNA. The synology (or DLNA server) creates a database which the player reads. <br />
<br />
The settings for the Media Server / DNLA can be found under the synology ''start menu -> media server''. It is quite possible that Synology decides it doesn't like your player much and gives it a device type which it's not happy with. Under ''DMA Compatibility -> Device List'' you can change the profile to '''Default profile''', which may help.<br />
<br />
If the database is somehow damaged, you can rebuild it under ''control panel -> indexing service'' and then click '''re-index'''. This can take days!<br />
<br />
To check the status of the rebuild, ssh in (using admin / pw, then sudo su) and you can check to see what's being rebuilt by issuing<br />
ls -l /proc/$(pidof synomkthumbd)/fd<br />
To monitor what's happening over some time do (nb it will take some time before you see anything appear!)<br />
while sleep 30; do ls -l /proc/$(pidof synomkthumbd)/fd | grep volume; done<br />
[https://www.mcleanit.ca/blog/synology-check-index-progress/ from mcleanit.ca]<br />
<br />
If the indexing service seems frozen then restart it with<br />
synoservicectl --restart synoindexd<br />
<br />
=Streaming=<br />
The audio station DS Audio app is terrible and hangs a lot. <br />
<br />
As alternatives there are Jellyfin; Airsonic and mstream. So far I like mstream, it's very light (388MB docker image, as it's file based.<br />
<br />
== Jellyfin ==<br />
very library based and uses quite a bit of CPU - no folder view<br />
<br />
== Airsonic ==<br />
Comes in 2 flavours: [https://airsonic.github.io/ airsonic] and [https://github.com/airsonic-advanced/airsonic-advanced airsonic-advanced]. The advanced version is a fork created due to frustration with the glacial pace of development of airsonic. [https://www.reddit.com/r/airsonic/comments/fu4gwd/airsonic_vs_airsonicadvanced/ Reddit rant here]<br />
<br />
[https://hub.docker.com/r/airsonicadvanced/airsonic-advanced airsonic-advanced]<br />
<br />
== MxStream ==<br />
[https://docs.linuxserver.io/images/docker-mstream linuxserver/mstream]<br />
<br />
Super lightweight: <br />
<br />
iamge is 388 MB<br />
<br />
fresh install:<br />
<br />
CPU: 0.85%<br />
<br />
RAM: 111 MB<br />
<br />
file based<br />
<br />
http://netbiosname:3000<br />
<br />
== Gerbera BubbleUpnP ==<br />
[https://www.reddit.com/r/synology/comments/adkjsr/my_solution_to_playing_audio_from_nas_on_my_cell/ information]<br />
<br />
== Plex ==<br />
Complaints about it being slow and jumpy - only for local streaming - also if you want to use it for streaming or downloading for internet streaming you need to pay<br />
<br />
== Beets ==<br />
re-organise your music collection?<br />
<br />
=Converting media files=<br />
Photo station converts your videos to flv as standard and to mp4 if you have '''conversion for mobile devices''' set to on under ''control panel -> indexing service.''<br />
<br />
It will also convert your image files to thumbnails as standard.<br />
<br />
This can take a few days or even weeks if you upload a lot of new stuff.<br />
<br />
To speed the photo thumbnail generation up you can do the following:<br />
<br />
/usr/syno/etc.defaults/thumb.conf<br />
<br />
* changed the quality of thumbs to 70%<br />
* divided by 2 all the thumbs size<br />
* change the XL thumb size to 400 pixels<br />
<br />
[https://forum.synology.com/enu/viewtopic.php?t=95060]<br />
<br />
To view the status of the conversion, in /var/spool there are the following files<br />
<pre><br />
conv_progress_photo <br />
conv_progress_photo.pT5Pu5 <br />
conv_progress_video <br />
conv_progress_video.CpHdpS <br />
flv_create.queue <br />
flv_create.queue.tmp <br />
thumb_create.queue <br />
thumb_create.queue.tmp <br />
</pre><br />
<br />
or <br />
<br />
ps -ef | grep thumb<br />
<br />
To see the status of the converter<br />
sudo synoservicecfg --status synomkthumbd<br />
<br />
[https://www.reddit.com/r/synology/comments/7ui7c1/conversion_process_details/]<br />
<br />
= More info =<br />
[http://www.synology.com/en-global/support/tutorials/461 How to back up data on Synology NAS to another server] this should also work for a synology nas to another synology nas<br />
<br />
[http://www.synology-forum.nl/data-replicator-overige-backupsoftware/backup-via-internet/ backup via internet] NL forum link, aldus deze pagina, poorten:<br />
<br />
Network Backup: 873 TCP <br />
<br />
Encrypted Network Backup: 873, 22 TCP <br />
<br />
[http://raphael.kallensee.name/journal/how-to-backup-an-external-server-with-a-synology-nas-via-rsync/ backup nas via rsync]<br />
<br />
[http://www.synology.com/en-global/support/tutorials/455#t2 How to encrypt shared folders on Synology NAS] (uses AES, untick auto mount for stealing, but need to input passd on reboot via web interface)<br />
<br />
[http://www.synology.com/en-global/support/tutorials/456 How to make Synology NAS accessible via the Internet]<br />
<br />
[http://www.synology.com/en-global/support/tutorials/478 How to secure your Synology NAS server on the Internet]<br />
<br />
=Reports=<br />
<br />
In the Storage Analyzer settings you can set and see where the Synology saves reports. For some reason the Synology saves old reports you have deleted and so you can't create new reports with the same name without deleting the old files:<br />
<pre><br />
When you create a report task, a dedicated folder for this report will be automatically created under the destination folder that you have designated as the storage location for reports. When you delete a report task from the list on Storage Analyzer's homepage, you delete the report's profile only, while its folder still exists. To delete the report's own folder, please go to the designated destination folder > synoreport, and delete the folder with the same name as the report.<br />
</pre><br />
<br />
=Moments=<br />
[https://www.synology.com/en-global/knowledgebase/DSM/help/SynologyMoments/moments_share_and_search https://www.synology.com/en-global/knowledgebase/DSM/help/SynologyMoments/moments_share_and_search]<br />
<pre><br />
Enable Shared Photo Library<br />
<br />
Shared Photo Library allows you and users with permissions to collaboratively edit the photos and albums in Moments. Please note that only users belonging to the administrative groups can enable this feature.<br />
To enable Shared Photo Library:<br />
<br />
Click the Account icon on the bottom-left corner and select Settings > Shared Photo Library > Enable Shared Photo Library.<br />
Click Next to confirm and enable Shared Photo Library.<br />
Select users to grant them the permissions to access Shared Photo Library.<br />
Click OK to finish. Now you can switch between My Photo Library and Shared Photo Library.<br />
<br />
Note:<br />
<br />
The shared folder named /photo is the default path for Shared Photo Library.<br />
If you have already installed Photo Station, the photos in Photo Station can be displayed after the source of photos is switched to Shared Photo Library in Moments. Please note that the converted thumbnails in Photo Station will not be processed again.<br />
After Shared Photo Library is enabled, the Photo Station settings such as album permission, conversion rule, or other downloading settings will not migrate to or be inherited by Moments.<br />
</pre><br />
<br />
=Installing ipkg=<br />
[https://community.synology.com/enu/forum/1/post/127148 by plexflixler]<br />
Go to the Synology Package Center, click on "Settings" on the top right corner and then click on "package sources".<br />
<br />
Add the source "http://www.cphub.net" (you can choose the name freely, i.e. "CPHub")<br />
<br />
Now close the settings. In the package center on the left go to the "Community" tab.<br />
<br />
Find and install "Easy Bootstrap Installer" from QTip. There is also a GUI version if you prefer, called "iPKGui", also from QTip.<br />
<br />
IPKG is now installed. The executables are located in "/opt/bin/". You can SSH to your NAS and use it. However, the directory has not yet been added to the PATH variable, so to use it you would always need to use the full path "/opt/bin/ipkg". <br />
<br />
You can add the directory to the PATH variable using the following command:<br />
<br />
export PATH="$PATH:/opt/bin"<br />
<br />
However, this would only add the directory to PATH for the current session. <br />
<br />
sudo /opt/bin/ipkg update<br />
sudo /opt/bin/nano /etc/profile<br />
<br />
Now find the PATH variable. It should look something like this:<br />
<br />
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin<br />
<br />
At the end of this string, just append ":/opt/bin" (don't forget the colon). Then save and close the file<br />
<br />
Note that this will not automatically update your PATH for the current session. To do this, you can run:<br />
<br />
source /etc/profile<br />
<br />
To check wheter it worked, enter the command:<br />
<br />
echo $PATH | tr ":" "\n" | nl<br />
<br />
You should see the entry for "/opt/bin" there.<br />
<br />
Now your all set.<br />
<br />
=Installing mlocate=<br />
requires ipkg (see above)<br />
<br />
ipkg install mlocate<br />
<br />
Once you have done that, you run<br />
updatedb<br />
<br />
and then you can use the locate command<br />
<br />
=Universal search=<br />
For some reason when installing universal search it doesn't add the shares to the index. You have to do this by hand in settings.<br />
<br />
=Surveillance Station=<br />
==Timelapse==<br />
[https://forum.synology.com/enu/viewtopic.php?t=127113 Using Action Rules]<br />
<br />
[http://planet-geek.com/2017/10/09/geekitude/creating-timelapse-videos-from-a-synology-nas/ Using ffmpeg video stitching] with [https://superuser.com/questions/777938/ffmpeg-convert-a-video-to-a-timelapse a useful note on getting rid of audio] if you're using setpts in ffmpeg<br />
<br />
[https://www.synology.com/en-global/knowledgebase/Surveillance/help/SurveillanceStation/smart_time_lapse Using Smart Time Lapse] which converts videos<br />
<br />
<br />
----<br />
Beveiligde documentopslag vanaf EUR 989,-*<br />
<br />
AES encryption beveiligt uw bestanden<br />
<br />
Snel geplaatst en ingericht naar uw wensen<br />
<br />
Data wordt op extra harde schijf gekopieerd voor het geval er een kapot gaat<br />
<br />
Mogelijkheid om versleutelde bestanden over internet te backuppen<br />
<br />
* inclusief hardware, 1TB opslag en implementatiekosten, excl. voorrijkosten en evt backups / netwerkinstellingen<br />
<br />
=Docker=<br />
Generally the workflow is:<br />
<br />
docker -> add image (from the registry or from a url, eg airsonic/airsonic) -> double click image to create a container -> edit the advanced settings (auto restart on, add volumes, network, etc) -> confirm -> run container -> monitor the container in the container part<br />
<br />
== volumes / permanence ==<br />
These are locations on the synology that can be mounted in the container.<br />
<br />
When installing docker a new main share: docker is created.<br />
<br />
Using add volume you can choose a volume - if it's internal stuff to the container (eg /var/log) you select (or create) the folder(s): /docker/containername/var/log and then use the mount path /var/log to mount that location within the container.<br />
<br />
In the docker cli instructions for an image this can be seen as the -v options<br />
<br />
So if you are trying to mount your music you would mount /music/ to /music - you need to look out for permissions! <br />
<br />
=== Permissions ===<br />
<br />
For music and video: DLNA in Media Server; <br />
<br />
GUID and GPID env variables <br />
<br />
advanced permissions are places to look if you can view the files in the container terminal but the application in the container can't see the files! (you can check for advanced permissions by allowing Everyone read access in the normal permissions and seeing if the application can find them then)<br />
<br />
file permissions also of the /docker/imagename/ directories<br />
<br />
Don't forget to check Apply this folder, sub-folders and files!<br />
<br />
== network port forwarding / connecting from outside the host==<br />
You have two options here:<br />
<br />
1. network=host: while starting (=creating) a container from an image, you can enable the checkbox "use same network as Docker Host" at the bottom in the "network" tab in additional settings. As a result you do not need to map any ports from dsm to the container, as dsms network interface is directly used. You need to take care of potential port collisions between dsm and the container of course.<br />
<br />
2. network=bridged: map ports from the Docker Host (DSM) to the container. You can not access the ip of the container directly, though, you can access the mapped port on the Docker host. The potential port collision bettween dsm and containers are here possible as well.. but they can be corrected easier since you can just change the Docher host port which needs to be still mapped to the same D<br />
ocker port.<br />
<br />
In both cases the port can be accessed via dsm:port, though for option 1) this is only true if you did not change the ip INSIDE the container, if you did it will be container-ip:port.<br />
<br />
[https://community.synology.com/enu/forum/17/post/102280 Connect to a docker container from outside the host (same network)]<br />
<br />
'''So to have the external port be the same as the external port in bridged mode, edit the container and set the local port to be the same as the container port'''<br />
<br />
In the docker cli instructions for an image this can be seen as the -p options<br />
<br />
TODO: [https://mariushosting.com/synology-how-to-run-docker-containers-over-https/ How to run docker over https]<br />
<br />
== Environment ==<br />
Here you can add extra environment variables, eg TZ / GUID / PUID<br />
<br />
You can find your users PID and GID by sshing into the synology and typing<br />
<br />
id<br />
<br />
or<br />
<br />
id username<br />
<br />
The GUID and PUID are the IDs for which the container itself will run, not docker (which will run as root)<br />
<br />
== setting up a docker using cli arguments ==<br />
<br />
As an example [https://docs.linuxserver.io/images/docker-mstream Mstream] from linuxserver (you can find the image in the docker registry or add it using url linuxserver/mstream<br />
<br />
has docker cli<br />
<pre><br />
docker run -d \<br />
--name=mstream \<br />
-e PUID=1000 \<br />
-e PGID=1000 \<br />
-e TZ=Europe/London \<br />
-p 3000:3000 \<br />
-v /path/to/data:/config \<br />
-v /path/to/music:/music \<br />
--restart unless-stopped \<br />
lscr.io/linuxserver/mstream<br />
</pre><br />
<br />
So you have to fill in your own gid / pid / timezone in the Environment part of the container. You set the port to be both 3000 inside and outside in a bridged network connection. You select /docker/mstream/config to mount as /config and you select your music library on the synology to mount to /music. You ensure permissions are right and you should see the files in mstream.<br />
<br />
== Logging and troubleshooting == <br />
<br />
double clicking an container allows you to see the logs in a tab, which will help a lot. You can also access an active terminal in a tab on a running container<br />
<br />
= VPN Connections =<br />
<br />
[https://kb.synology.com/en-af/DSM/tutorial/How_connect_Synology_NAS_VPN_server How do I connect my Synology NAS to a VPN server?]<br />
<br />
Go to DSM Control Panel > Network > Network Interface.<br />
Click Create > Create VPN profile.<br />
Follow the instructions in this article to set up a VPN connection.<br />
<br />
If you select <br />
Use default gateway on remote network <br />
in the VPN profile you can only connect to the synology from the remote network, not from quickconnect [https://kb.synology.com/en-sg/DSM/tutorial/Cannot_connect_Synology_NAS_using_VPN_via_DDNS https://kb.synology.com/en-sg/DSM/tutorial/Cannot_connect_Synology_NAS_using_VPN_via_DDNS]. However if you do not select this you can not access the synology from the VPN IP.<br />
<br />
I also had to select <br />
The server or clients are behind the NAT device<br />
for it to work.<br />
<br />
Notes:<br />
<br />
We recommend selecting L2TP as the VPN protocol if it is available from VPN service providers. OpenVPN profiles provided by certain VPN service providers may not be compatible with Synology NAS.<br />
When your Synology NAS is configured as an L2TP or OpenVPN client, you cannot configure it as a VPN server using the same protocol in VPN Server. PPTP does not have this limitation.<br />
<br />
[https://kb.synology.com/en-af/DSM/help/DSM/AdminCenter/connection_network_vpnclient?version=7 VPN Connection] Synology knowledge centre</div>Redhttp://wiki.edgarbv.com/index.php?title=Ubiquiti&diff=37698Ubiquiti2023-12-19T12:12:05Z<p>Red: /* VPN */</p>
<hr />
<div>[http://www.ubnt.com/unifi Ubiquiti Unifi] is scalable and has a linux controller software, meaning you only need to buy APs and a PC with linux on it (ubuntu recommended) to run the network.<br />
<br />
= UDM Pro / Ubiquiti Dream Machine Pro =<br />
<br />
== Old vs New UI ==<br />
First remember that there are 2 UI's. The old one has some functionalities that are simply not available in the new UI, especially when it comes to the Insights page! The new UI has nicer statistics and graphics and a much better topology page<br />
<br />
Switch to the old UI from the New by going to the gears icon / settings -> System -> New user interface -> deactivate<br />
<br />
Switch to the new UI from the old by going to gears icon / settings -> User interface -> New user interface -> apply<br />
<br />
== Finding the ports used == <br />
Old interface: click the light bulb / insights -> click top right above the table and select Switch stats in the drop down<br />
<br />
New interface: click the AP icon / devices -> click the switch -> click on settings in the slide in details on the right<br />
<br />
== VLAN profile problems ==<br />
From [https://community.ui.com/questions/vlans-not-communicating-cant-ping-gateway/157ffdf8-cbf9-4cb2-af9d-00d6a470ed8d#answer/a19e7a69-5d66-4174-8ecd-162c65c9efc4 vlans not communicating, can't ping gateway]<br />
<pre><br />
Change the profile on switch port 2 to VLAN that you want the PC to be in. DHCP should be working so remove the static IP address on the PC.<br />
Once you've changed the switch port profile you will need to tell Windows to grab a new IP address. You can do that by doing 'ipconfig /renew' in a command prompt or by removing and then reconnecting the network cable.<br />
The firewall rule you added to allow inter-VLAN routing isn't needed. By default UniFi has open access between VLANs so you'd only need to add firewall rules if you wanted to restrict that traffic.<br />
<br />
The 'All' switchport profile is the reason it's not working. Ports with that profile will have VLAN 1 as their native VLAN and the other VLANs will be tagged.<br />
In your case you want the new VLAN to be the native (or untagged) VLAN.<br />
</pre><br />
<br />
ALSO record the switchport settings, as these were deleted by an update at some point<br />
<br />
== Getting Sonos to work across VLANs ==<br />
<br />
create a new network with vlan eg Smarthome / IOT <br />
<br />
create a new wifi network eg Smarthome Wifi and connect it to the Smarthome network<br />
<br />
In the new UI enable mDNS<br />
<br />
advanced features -> advanced gateway settings -> multicast DNS -> enable (enables mDNS reflector service)<br />
<br />
In the old UI<br />
<br />
settings -> site -> auto optimise network<br />
wireless networks -> edit each wifi network -> advanced -> Enable multicast enhancement (IGMPv3)<br />
<br />
You should now be able to control the Sonos machines from across different networks<br />
<br />
This is useful if you have a smarthome controller on a different subnet from your wifi / wired network and it needs the Sonos devices on the same subnet to control them (eg ABB-free@home needs this)<br />
<br />
try: [https://community.ui.com/questions/UDMUDMP-IoT-VLAN-Speaker-Group-fix-with-mDNS-and-Google-Nest-Speakers-Chromecasts/37d6239f-303e-4f9f-8727-626acf07d33c UDM UDMP IoT VLAN Speaker Group fix with mDNS and Google Nest Speakers/Chromecasts] and [https://nerdygeek.uk/2020/06/09/a-tip-for-sonos-and-unifi-udm-pro-users/ A tip for Sonos and Unifi UDM-Pro users]<br />
<br />
== SSH access ==<br />
<br />
You do this in the main login of the UDMP, not in the Networking side. Go to console settings, allow SSH and enter a password. Login as root. See the bottom of [https://community.ui.com/questions/Unable-to-SSH-into-UDMP/2a733e78-db60-42fd-9df9-d9459d200db6]<br />
<br />
== VPN == <br />
<br />
[https://lazyadmin.nl/network/unifi-vpn/ How to setup UniFi VPN on UDM Pro]<br />
<br />
However, swanctl is now no longer supported so you can't really log stuff.<br />
<br />
To kick a user off the VPN you have to use the classic interface. click insights, then from the top left drop down select vpn users, mouse over the connection and a button "terminate" appears. You can also change their password in the VPN settings.<br />
<br />
You can ssh in and find stuff in<br />
<pre><br />
/var/log/messages<br />
/var/log/daemon.log<br />
/var/log/kern.log<br />
/var/log/auth.log<br />
</pre><br />
by tailing and grepping l2tp or the username<br />
<br />
If you <br />
grep username messages<br />
you will find the IP address assigned to the username<br />
<br />
You can also find the device in Client devices and select VPN or in the system Log under Client but all you can see there is that it's connected.<br />
<br />
= Unifi UAP =<br />
<br />
The UAP-Pro can handle 200 concurrent clients and the UAP-LR / LR / UAP-Outdoor can handle 100 simultaneous clients.<br />
<br />
The UAP's are very cheap.<br />
<br />
There are still some problems apparently though.<br />
<br />
== Installing the controller on Debian ==<br />
<br />
This needs to run under a desktop environment, so make sure you have one.<br />
<pre><br />
echo 'deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti' | /etc/apt/sources.list.d/100-ubnt-unifi.list<br />
wget -O /etc/apt/trusted.gpg.d/unifi-repo.gpg https://dl.ubnt.com/unifi/unifi-repo.gpg<br />
apt update <br />
sudo apt install unifi<br />
</pre><br />
Then<br />
<pre><br />
systemctl enable unifi<br />
systemctl start unifi<br />
</pre><br />
<br />
visit the controller software at http://localhost:8080<br />
<br />
[https://help.ubnt.com/hc/en-us/articles/220066768-UniFi-How-to-Install-Update-via-APT-on-Debian-or-Ubuntu]<br />
<br />
You may need to change the ports<br />
<br />
[https://help.ubnt.com/hc/en-us/articles/204910084-UniFi-Changing-Default-Ports-for-Controller-and-UAPs]<br />
<br />
== Migrating from another controller on another PC ==<br />
===If you are not changing hostname / IP===<br />
# Make sure both controllers are the same version (ie update them both)<br />
# if necessary upgrade the firmware on the controllers<br />
# make a backup to an .unf file of the old controller<br />
# Visit the new controller (using the applet or the website) and restore from a previous backup<br />
<br />
<br />
===If you ARE changing hostname / IP===<br />
# Make sure both controllers are the same version (ie update them both)<br />
# if necessary upgrade the firmware on the controllers<br />
# make a backup to an .unf file of the old controller<br />
# Visit the new controller (using the applet or the website) and restore from a previous backup<br />
# On the old controller<br />
<pre><br />
When I move the controller, I just go into the GUI on existing controller, under SETTINGS, CONTROLLER, and change the Controller Hostname / IP to the NEW IP ADDRESS, (removing unifi.yourdomain.com) and then check the box "Override inform host with controller hostname/IP" <br />
<br />
Since I have the migrated controller up and running already on the NEW IP ADDRESS, after I shut down the OLD CONTROLER, the new one immediately starts provisioning the WAPS.<br />
</pre><br />
[[File:UnifiControllerIP.JPG|400px]]<br />
Press apply changes on the bottom. You should see the new controller status of the APs changing to connected.<br />
<br />
[https://community.ubnt.com/t5/UniFi-Wireless/Migrate-control-to-another-computer/td-p/1891294]<br />
<br />
An alternative method is to SSH to each AP and use set-inform to point them to the new controller<br />
<pre><br />
set-inform http://IP.ADDR.OF.Controller:8080/inform<br />
<br />
set-inform, adopt, set-inform a second time.<br />
<br />
If you forget the syntax, 'help' will help<br />
</pre><br />
<br />
==files==<br />
<br />
/var/lib/unifi/data/system.properties<br />
<br />
if this doesn't exist<br />
<pre><br />
java -jar /usr/lib/unifi/lib/ace.jar discover<br />
</pre><br />
<br />
/usr/lib/unifi/logs/server.log<br />
<br />
/usr/lib/unifi/logs/mongod.log<br />
<br />
== migrating controller from one machine to another ==<br />
<br />
[https://community.ubnt.com/t5/UniFi-Wireless/Migrate-control-to-another-computer/td-p/1891294]<br />
<br />
=EdgeMAX EdgeRouter=<br />
<br />
The UI is slightly confusing as there are buttons on the top, bottom, middle and at the bottom. Also, logging only starts once you log in, so the dashboard and traffic analysis only start once you are logged on.<br />
<br />
You can find the full manual [https://github.com/mjp66/Ubiquiti/blob/master/Ubiquiti%20Home%20Network.pdf here]. It's pretty huge.<br />
<br />
== Basic system configuration ==<br />
After running the wizard, basic system configuration can be done by clicking the System button on bottom left. This is where you can backup and reboot but also add extra DNS servers to the system.<br />
<br />
== Config Tree ==<br />
<br />
The config tree allows you to click on the triangles to expand AND view what is in the config (meaning you have to double click on the triangle quite a bit), hover over the name of the config for some more information and the + or - to install or uninstall a service. If you are going to uninstall a service it will show in red.<br />
<br />
== CLI configuration ==<br />
When you enter the cli you can run some commands but not change setups. In order to change stuff you need to first enter configuration mode, change your settings, then commit and save<br />
configure<br />
set ...<br />
commit<br />
save<br />
<br />
<br />
== DHCP ==<br />
[https://help.ui.com/hc/en-us/articles/115002673188 EdgeRouter - DHCP Server Using Dnsmasq]<br />
<br />
Services (top) -> DHCP Server<br />
<br />
Once you have added a DHCP server you can configure it by clicking on '''Actions''' on the right of the screen and then '''View Details'''.<br />
<br />
[[File:edgemax DHCP server.png|600px]]<br />
<br />
There are also options under Service -> dhcp-server in the config tree<br />
<br />
Adding a third DNS server to DHCP can also be done by cli [https://community.ui.com/questions/Edgemax-3-DNS-Entries-for-DHCP-Server/7dec0b25-9ea6-42e6-a9d4-1a51039f56c6?page=1 Edgemax 3 DNS Entries for DHCP Server]<br />
<pre><br />
ubnt@ubnt:~$ configure<br />
ubnt@ubnt# show service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server<br />
dns-server 192.168.40.1<br />
ubnt@ubnt# set service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server 8.8.8.8<br />
ubnt@ubnt# set service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server 8.8.4.4<br />
ubnt@ubnt# set service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server 208.67.220.220<br />
ubnt@ubnt# commit<br />
[ service dhcp-server ]<br />
Stopping DHCP server daemon...<br />
Starting DHCP server daemon...<br />
<br />
[edit]<br />
ubnt@ubnt# show service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server<br />
dns-server 192.168.40.1<br />
dns-server 8.8.8.8<br />
dns-server 8.8.4.4<br />
dns-server 208.67.220.220<br />
[edit]<br />
<br />
ubnt@ubnt# save<br />
</pre><br />
<br />
One of the problems you will run into is that even if you set multiple DNS servers, Windows will only read the first one unless it is actually down (see also [https://docs.microsoft.com/en-us/troubleshoot/windows-server/networking/dns-client-resolution-timeouts What is the default behavior of a Windows 7 or Windows 8 DNS client when two DNS servers are configured on the NIC] and [https://docs.microsoft.com/en-us/troubleshoot/windows-server/networking/best-practices-for-dns-client-settings Best practices for DNS client settings in Windows 2000 Server and in Windows Server 2003]. So if you want to resolve internal domain names you will need to work on DNS forwarding.<br />
<br />
== DNS ==<br />
===System DNS Setting===<br />
[https://ubntlab.wordpress.com/2017/07/03/beware-the-system-name-server-setting/ Beware the System Name Server Setting]<br />
<br />
The way to minimize the number of local DNS lookups that get forwarded is to specify 127.0.0.1 as the system nameserver, so they go through DNSmasq and are routed and cached the same as DNS requests from clients. To configure the upstream forwarders there are two options:<br />
<br />
Specify addition nameservers for this option. The local system will always attempt resolution starting with the first entry in /etc/resolv.conf, while DNSmasq will ignore 127.0.0.1 and use the additional entries as forwarders.<br />
Explicitly configure DNSmasq forwarders using set service dns forwarding options server=DNS_Server_IP<br />
<br />
I use the second method as it keeps the DNS forwarding options in one section of the config file instead of two.<br />
<br />
=== Resolving ===<br />
To see what nameservers are being used to resolve<br />
cat /etc/resolv.conf<br />
if you don't want that, use<br />
set interfaces ethernet eth0 dhcp-options name-server no-update<br />
<br />
=== Forwarding ===<br />
[https://help.ui.com/hc/en-us/articles/115010913367-EdgeRouter-DNS-Forwarding-Setup-and-Options EdgeRouter - DNS Forwarding Setup and Options] man page<br />
<br />
If you set your DHCP server to put the IP of the EdgeMAX router into the DNS servers section, it uses DNS forwarding using dnsmasq <br />
show dns forwarding<br />
<br />
[[File:edgemax dns forwarding nameservers.png|400px]]<br />
<br />
This example shows the DNS servers assigned to the router via DHCP first and the one configured in the basic system configuration (bottom of the UI screen) after that<br />
<br />
The DNS resolution of this system is that the system chooses the fastest server and sticks to that.<br />
<br />
So in order to put the inputted one on top you need to re-order the system [https://community.ui.com/questions/Change-WAN-DNS-Server/041bbac7-6de0-44a7-a5ca-165128e4333d Change WAN DNS Server]<br />
configure<br />
set service dns forwarding system<br />
commit<br />
save<br />
and then<br />
configure<br />
set service dns forwarding dhcp eth0<br />
commit<br />
save<br />
<br />
One of the options to NOT enable is strict-order [https://community.ui.com/questions/DNS-Forwarding-Name-Servers/8a986a94-eae4-4827-bff0-a93af718ab80 DNS Forwarding / Name servers] / [http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2009q3/003295.html Dnsmasq-discuss DNS search Order]<br />
<br />
Using the all-servers option sends the request in parallel to every server and it picks the result that comes first. This can be done via the cli<br />
configure<br />
set service dns forwarding options all-servers<br />
commit<br />
save<br />
<br />
Or using the Config Tree<br />
<br />
[[File:dns forwarding config tree.png|400px]]<br />
<br />
You can see how many queries each has using<br />
show dns forwarding statistics<br />
<br />
To clear the cache use<br />
clear dns forwarding cache<br />
<br />
To clear the cache and the counters use<br />
clear dns forwarding all</div>Redhttp://wiki.edgarbv.com/index.php?title=Synology&diff=37697Synology2023-12-19T12:10:18Z<p>Red: /* VPN Connections */</p>
<hr />
<div>= First things to do =<br />
<br />
== Change IP ==<br />
<br />
Control panel -> (connectivity) Network -> tab network interface -> select LAN and click Edit.<br />
<br />
== Enable home directories + 2 step verification ==<br />
<br />
Control panel -> User -> Advanced -> Enable home user service + Enforce 2 step verification<br />
<br />
== change workgroup ==<br />
<br />
control panel -> file services -> smb/afp/nfs -> smb / enable smb service : workgroup<br />
<br />
== change low volume warning threshold ==<br />
change the % by going into my Storage Manager -> Storage -> Clicking the ... on the Volume I was looking for then Clicking Settings. If I scroll down on the Settings there is a Low Capacity Notification where you can change the % to 5% from 20%<br />
<br />
== Enable SSH ==<br />
<br />
Control panel -> (System) Terminal & SNMP enable SSH<br />
<br />
Control panel -> (connectivity) Security -> Firewall tab -> create a rule for SSH (encrypted terminal services), enable and save<br />
<br />
for root login as admin and then '''sudo sh'''<br />
<br />
(you can then log in to the machine using user '''root''' and the default admin password)<br />
<br />
to enable your users to access the terminal vi /etc/passwd and change /sbin/nologin to /bin/ash<br />
<br />
== Create shared folders ==<br />
Once you have created your shared folder, also enable snapshots<br />
<br />
= Prepare for rsync =<br />
NB the synology can only push rsync files, it can not be set up to pull files from a remote rsync server.<br />
<br />
Control panel -> (file sharing) Shared Folder -> create folder to back up to. Give the user you want to rsync to Read/Write access<br />
<br />
Control panel -> File services -> enable rsync service<br />
<br />
'''depreciated'''<br />
----<br />
Start (top left) -> Backup & replication -> backup services -> enable network backup service<br />
<br />
Start (top left) -> Backup & replication -> Backup Destination -> create Local Backup destination -> backup up data to local shared folder -> the name you put in there will be the module name or the path you can use later.<br />
<br />
then add the section in /etc/rsyncd.conf changing only the path and comment values (of course under the module name)<br />
<br />
restart rsync with<br />
<pre><br />
/usr/syno/etc/rc.sysv/S84rsyncd.sh restart<br />
</pre><br />
<br />
If you don't do this, it will rsync everything without the user name for some reason<br />
<br />
== Synology to synology ==<br />
You backup from the source to the target<br />
<br />
ssh into the source machine ('''mind the slashes at the end!''' if you don't use the slash it will create a directory in the directory you specify)<br />
<br />
rsync -avn /volume1/sourcedirectory/ user@192.168.0.105:/volume1/targetdirectory/<br />
<br />
to check if it works. Drop the n to start the actual copy.<br />
<br />
=== Hyper Backup ===<br />
This will create a backup directory which you can't browse with file explorer as it stores everything in a hyper backup format.<br />
<br />
==== Using Hyper Backup Vault ====<br />
Note: the destination needs the Hyper Backup Vault package installed. Launch Hyper backup on the source. Use the + bottom left to create a new backup job. Select data backup. Select Remote NAS device. fill in the hostname and then you can select which Shared folder it will use as a destination. Note: you cannot use photos or homes. The Directory is the name of the directory it will make on the shared folder on the destination device.<br />
<br />
==== Using rsync ====<br />
Launch Hyper backup on the source. Use the + bottom left to create a new backup job. Choose rsync. Fill in the data. As username and password you need a username and pass on the target machine. It will then fill the shared folder list with shares available on the target. You cannot backup to the root directory of the target share, so you need something in the directory field. After this it pretty much sets itself up.<br />
<br />
== Netgear ReadyNas Ultra setup for rsync to Synology ==<br />
<br />
''Here we set up the Netgear to pull data from the Synology''<br />
<br />
in the /admin interface first<br />
<br />
Services -> Standard File Protocols -> ensure Rsync is enabled<br />
<br />
Shares -> share listing -> click on rsync icon. scroll up and change default access to 'read only'. Set hosts allowed access to ip of synology (192.168.0.101). Fill in the username and password!<br />
<br />
Backup -> Add a new backup job<br />
<br />
[[File:netgear backup step 1.png]]<br />
<br />
If you don't fill in the path above it will copy the whole share. If you browse the share you can select a subdir to copy.<br />
<br />
[[File:netgear backup step 2.png]]<br />
<br />
Note that the '''Path needs to be EMPTY''' before pressing the 'Test connection' button. It will sometimes work if you fill in NetBackup but you're best off doing the test empty, then typing in the path and then apply bottom right to test the backup job.<br />
<br />
This is what the schedule will look like<br />
<br />
[[File:backup schedule.png|400px]]<br />
<br />
The Daily job<br />
<br />
[[File:jobt1.png|400px]]<br />
[[File:job2.png|400px]]<br />
[[File:job3.png|400px]]<br />
[[File:job4.png|400px]]<br />
<br />
The Weekly job<br />
<br />
[[File:weekly netgear rsync.png|400px]]<br />
<br />
The monthly job<br />
<br />
[[File:monthly netgear rsync1.png|400px]]<br />
[[File:monthly netgear rsync2.png|400px]]<br />
<br />
== useful linkies ==<br />
[http://www.readynas.com/download/documentation/support/rsync_howto_nastonas.pdf Readynas rsync howto PDF]<br />
<br />
[https://www.synology.com/en-uk/knowledgebase/tutorials/613 synology rsync tutorial]<br />
<br />
[http://www.smallnetbuilder.com/nas/nas-howto/30856-how-to-back-up-nas-to-nas-part-1?start=1 small netbuilder tutorial]<br />
<br />
== indexing media files ==<br />
If you rsync files into the /volume1/photo or /volume1/video directories the system does not index them. They need to be copied in using windows or the internal file manager to index them automatically.<br />
<br />
In control panel -> Media library you can re-index the files in the photo directory.<br />
<br />
In the video station itself under collection -> settings you can re-index.<br />
<br />
As you can't set /video/ as a directory to use in the video station, you have to set a symbolic link from /volume1/video/movie to wherever you want to have your directories.<br />
<br />
Warning: indexing can take DAYS!<br />
<br />
== Preparing ReadyNAS for rsync towards it ==<br />
Ensure in Shares that the rsync is enabled on at least one share. Ensure the host you are coming from is allowed and that there is a username / password for it.<br />
<br />
= Symbolic links =<br />
<br />
Windows can't handle symbolic links on the synology, so you have to mount directories with<br />
<pre><br />
mount -o bind /volume1/sourcedir /volume1/destdir<br />
</pre><br />
<br />
as root<br />
<br />
and then copy the mount command to /etc/rc.local to make it stick after a reboot<br />
<br />
= prepare the windows machine for Picasa =<br />
<br />
SSH to the synology, log in as root<br />
<pre><br />
mkdir /volume1/photo/Pictures<br />
mount -o bind /volume1/photo/ /volume1/photo/Pictures<br />
</pre><br />
edit /etc/rc.local<br />
<br />
insert the mount command above into the file - this is for when the synology restarts<br />
<br />
in windows explorer map \\invader\photo to T:<br />
<br />
== Picasa database file locations ==<br />
<br />
There are 2 directories in % %LocalAppData%\Google\ which is the same as C:\Users\razor\AppData\Local\Google\<br />
<br />
<br />
Copy them over before running Picasa for the first time.<br />
<br />
=NFS=<br />
<br />
First make sure in Control Panel -> File Services that NFS is enabled.<br />
<br />
Then in Control Panel -> File Sharing -> Edit the share -> create NFS Permissions. You should only have to change the IP/Hostname field.<br />
<br />
[https://www.synology.com/en-us/knowledgebase/tutorials/616 see here]<br />
<br />
=CIFS=<br />
sudo mount -t cifs //192.168.0.101/home/ ~/xx/ -o username=razor,uid=razor,gid=users<br />
<br />
=To find the NAS on linux with netbios=<br />
You have to enable the bonjour service on the NAS<br />
<br />
Control Panel -> File services -> Enable AFP service, then in Advanced tab -> also enable<br />
<br />
The linux machine needs avahi running. Check using<br />
sudo service avahi-daemon status<br />
<br />
=DLNA=<br />
The video players such as a TV (eg on an LG TV under "photos and videos" app) that play directly from the NAS use DLNA. The synology (or DLNA server) creates a database which the player reads. <br />
<br />
The settings for the Media Server / DNLA can be found under the synology ''start menu -> media server''. It is quite possible that Synology decides it doesn't like your player much and gives it a device type which it's not happy with. Under ''DMA Compatibility -> Device List'' you can change the profile to '''Default profile''', which may help.<br />
<br />
If the database is somehow damaged, you can rebuild it under ''control panel -> indexing service'' and then click '''re-index'''. This can take days!<br />
<br />
To check the status of the rebuild, ssh in (using admin / pw, then sudo su) and you can check to see what's being rebuilt by issuing<br />
ls -l /proc/$(pidof synomkthumbd)/fd<br />
To monitor what's happening over some time do (nb it will take some time before you see anything appear!)<br />
while sleep 30; do ls -l /proc/$(pidof synomkthumbd)/fd | grep volume; done<br />
[https://www.mcleanit.ca/blog/synology-check-index-progress/ from mcleanit.ca]<br />
<br />
If the indexing service seems frozen then restart it with<br />
synoservicectl --restart synoindexd<br />
<br />
=Streaming=<br />
The audio station DS Audio app is terrible and hangs a lot. <br />
<br />
As alternatives there are Jellyfin; Airsonic and mstream. So far I like mstream, it's very light (388MB docker image, as it's file based.<br />
<br />
== Jellyfin ==<br />
very library based and uses quite a bit of CPU - no folder view<br />
<br />
== Airsonic ==<br />
Comes in 2 flavours: [https://airsonic.github.io/ airsonic] and [https://github.com/airsonic-advanced/airsonic-advanced airsonic-advanced]. The advanced version is a fork created due to frustration with the glacial pace of development of airsonic. [https://www.reddit.com/r/airsonic/comments/fu4gwd/airsonic_vs_airsonicadvanced/ Reddit rant here]<br />
<br />
[https://hub.docker.com/r/airsonicadvanced/airsonic-advanced airsonic-advanced]<br />
<br />
== MxStream ==<br />
[https://docs.linuxserver.io/images/docker-mstream linuxserver/mstream]<br />
<br />
Super lightweight: <br />
<br />
iamge is 388 MB<br />
<br />
fresh install:<br />
<br />
CPU: 0.85%<br />
<br />
RAM: 111 MB<br />
<br />
file based<br />
<br />
http://netbiosname:3000<br />
<br />
== Gerbera BubbleUpnP ==<br />
[https://www.reddit.com/r/synology/comments/adkjsr/my_solution_to_playing_audio_from_nas_on_my_cell/ information]<br />
<br />
== Plex ==<br />
Complaints about it being slow and jumpy - only for local streaming - also if you want to use it for streaming or downloading for internet streaming you need to pay<br />
<br />
== Beets ==<br />
re-organise your music collection?<br />
<br />
=Converting media files=<br />
Photo station converts your videos to flv as standard and to mp4 if you have '''conversion for mobile devices''' set to on under ''control panel -> indexing service.''<br />
<br />
It will also convert your image files to thumbnails as standard.<br />
<br />
This can take a few days or even weeks if you upload a lot of new stuff.<br />
<br />
To speed the photo thumbnail generation up you can do the following:<br />
<br />
/usr/syno/etc.defaults/thumb.conf<br />
<br />
* changed the quality of thumbs to 70%<br />
* divided by 2 all the thumbs size<br />
* change the XL thumb size to 400 pixels<br />
<br />
[https://forum.synology.com/enu/viewtopic.php?t=95060]<br />
<br />
To view the status of the conversion, in /var/spool there are the following files<br />
<pre><br />
conv_progress_photo <br />
conv_progress_photo.pT5Pu5 <br />
conv_progress_video <br />
conv_progress_video.CpHdpS <br />
flv_create.queue <br />
flv_create.queue.tmp <br />
thumb_create.queue <br />
thumb_create.queue.tmp <br />
</pre><br />
<br />
or <br />
<br />
ps -ef | grep thumb<br />
<br />
To see the status of the converter<br />
sudo synoservicecfg --status synomkthumbd<br />
<br />
[https://www.reddit.com/r/synology/comments/7ui7c1/conversion_process_details/]<br />
<br />
= More info =<br />
[http://www.synology.com/en-global/support/tutorials/461 How to back up data on Synology NAS to another server] this should also work for a synology nas to another synology nas<br />
<br />
[http://www.synology-forum.nl/data-replicator-overige-backupsoftware/backup-via-internet/ backup via internet] NL forum link, aldus deze pagina, poorten:<br />
<br />
Network Backup: 873 TCP <br />
<br />
Encrypted Network Backup: 873, 22 TCP <br />
<br />
[http://raphael.kallensee.name/journal/how-to-backup-an-external-server-with-a-synology-nas-via-rsync/ backup nas via rsync]<br />
<br />
[http://www.synology.com/en-global/support/tutorials/455#t2 How to encrypt shared folders on Synology NAS] (uses AES, untick auto mount for stealing, but need to input passd on reboot via web interface)<br />
<br />
[http://www.synology.com/en-global/support/tutorials/456 How to make Synology NAS accessible via the Internet]<br />
<br />
[http://www.synology.com/en-global/support/tutorials/478 How to secure your Synology NAS server on the Internet]<br />
<br />
=Reports=<br />
<br />
In the Storage Analyzer settings you can set and see where the Synology saves reports. For some reason the Synology saves old reports you have deleted and so you can't create new reports with the same name without deleting the old files:<br />
<pre><br />
When you create a report task, a dedicated folder for this report will be automatically created under the destination folder that you have designated as the storage location for reports. When you delete a report task from the list on Storage Analyzer's homepage, you delete the report's profile only, while its folder still exists. To delete the report's own folder, please go to the designated destination folder > synoreport, and delete the folder with the same name as the report.<br />
</pre><br />
<br />
=Moments=<br />
[https://www.synology.com/en-global/knowledgebase/DSM/help/SynologyMoments/moments_share_and_search https://www.synology.com/en-global/knowledgebase/DSM/help/SynologyMoments/moments_share_and_search]<br />
<pre><br />
Enable Shared Photo Library<br />
<br />
Shared Photo Library allows you and users with permissions to collaboratively edit the photos and albums in Moments. Please note that only users belonging to the administrative groups can enable this feature.<br />
To enable Shared Photo Library:<br />
<br />
Click the Account icon on the bottom-left corner and select Settings > Shared Photo Library > Enable Shared Photo Library.<br />
Click Next to confirm and enable Shared Photo Library.<br />
Select users to grant them the permissions to access Shared Photo Library.<br />
Click OK to finish. Now you can switch between My Photo Library and Shared Photo Library.<br />
<br />
Note:<br />
<br />
The shared folder named /photo is the default path for Shared Photo Library.<br />
If you have already installed Photo Station, the photos in Photo Station can be displayed after the source of photos is switched to Shared Photo Library in Moments. Please note that the converted thumbnails in Photo Station will not be processed again.<br />
After Shared Photo Library is enabled, the Photo Station settings such as album permission, conversion rule, or other downloading settings will not migrate to or be inherited by Moments.<br />
</pre><br />
<br />
=Installing ipkg=<br />
[https://community.synology.com/enu/forum/1/post/127148 by plexflixler]<br />
Go to the Synology Package Center, click on "Settings" on the top right corner and then click on "package sources".<br />
<br />
Add the source "http://www.cphub.net" (you can choose the name freely, i.e. "CPHub")<br />
<br />
Now close the settings. In the package center on the left go to the "Community" tab.<br />
<br />
Find and install "Easy Bootstrap Installer" from QTip. There is also a GUI version if you prefer, called "iPKGui", also from QTip.<br />
<br />
IPKG is now installed. The executables are located in "/opt/bin/". You can SSH to your NAS and use it. However, the directory has not yet been added to the PATH variable, so to use it you would always need to use the full path "/opt/bin/ipkg". <br />
<br />
You can add the directory to the PATH variable using the following command:<br />
<br />
export PATH="$PATH:/opt/bin"<br />
<br />
However, this would only add the directory to PATH for the current session. <br />
<br />
sudo /opt/bin/ipkg update<br />
sudo /opt/bin/nano /etc/profile<br />
<br />
Now find the PATH variable. It should look something like this:<br />
<br />
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin<br />
<br />
At the end of this string, just append ":/opt/bin" (don't forget the colon). Then save and close the file<br />
<br />
Note that this will not automatically update your PATH for the current session. To do this, you can run:<br />
<br />
source /etc/profile<br />
<br />
To check wheter it worked, enter the command:<br />
<br />
echo $PATH | tr ":" "\n" | nl<br />
<br />
You should see the entry for "/opt/bin" there.<br />
<br />
Now your all set.<br />
<br />
=Installing mlocate=<br />
requires ipkg (see above)<br />
<br />
ipkg install mlocate<br />
<br />
Once you have done that, you run<br />
updatedb<br />
<br />
and then you can use the locate command<br />
<br />
=Universal search=<br />
For some reason when installing universal search it doesn't add the shares to the index. You have to do this by hand in settings.<br />
<br />
=Surveillance Station=<br />
==Timelapse==<br />
[https://forum.synology.com/enu/viewtopic.php?t=127113 Using Action Rules]<br />
<br />
[http://planet-geek.com/2017/10/09/geekitude/creating-timelapse-videos-from-a-synology-nas/ Using ffmpeg video stitching] with [https://superuser.com/questions/777938/ffmpeg-convert-a-video-to-a-timelapse a useful note on getting rid of audio] if you're using setpts in ffmpeg<br />
<br />
[https://www.synology.com/en-global/knowledgebase/Surveillance/help/SurveillanceStation/smart_time_lapse Using Smart Time Lapse] which converts videos<br />
<br />
<br />
----<br />
Beveiligde documentopslag vanaf EUR 989,-*<br />
<br />
AES encryption beveiligt uw bestanden<br />
<br />
Snel geplaatst en ingericht naar uw wensen<br />
<br />
Data wordt op extra harde schijf gekopieerd voor het geval er een kapot gaat<br />
<br />
Mogelijkheid om versleutelde bestanden over internet te backuppen<br />
<br />
* inclusief hardware, 1TB opslag en implementatiekosten, excl. voorrijkosten en evt backups / netwerkinstellingen<br />
<br />
=Docker=<br />
Generally the workflow is:<br />
<br />
docker -> add image (from the registry or from a url, eg airsonic/airsonic) -> double click image to create a container -> edit the advanced settings (auto restart on, add volumes, network, etc) -> confirm -> run container -> monitor the container in the container part<br />
<br />
== volumes / permanence ==<br />
These are locations on the synology that can be mounted in the container.<br />
<br />
When installing docker a new main share: docker is created.<br />
<br />
Using add volume you can choose a volume - if it's internal stuff to the container (eg /var/log) you select (or create) the folder(s): /docker/containername/var/log and then use the mount path /var/log to mount that location within the container.<br />
<br />
In the docker cli instructions for an image this can be seen as the -v options<br />
<br />
So if you are trying to mount your music you would mount /music/ to /music - you need to look out for permissions! <br />
<br />
=== Permissions ===<br />
<br />
For music and video: DLNA in Media Server; <br />
<br />
GUID and GPID env variables <br />
<br />
advanced permissions are places to look if you can view the files in the container terminal but the application in the container can't see the files! (you can check for advanced permissions by allowing Everyone read access in the normal permissions and seeing if the application can find them then)<br />
<br />
file permissions also of the /docker/imagename/ directories<br />
<br />
Don't forget to check Apply this folder, sub-folders and files!<br />
<br />
== network port forwarding / connecting from outside the host==<br />
You have two options here:<br />
<br />
1. network=host: while starting (=creating) a container from an image, you can enable the checkbox "use same network as Docker Host" at the bottom in the "network" tab in additional settings. As a result you do not need to map any ports from dsm to the container, as dsms network interface is directly used. You need to take care of potential port collisions between dsm and the container of course.<br />
<br />
2. network=bridged: map ports from the Docker Host (DSM) to the container. You can not access the ip of the container directly, though, you can access the mapped port on the Docker host. The potential port collision bettween dsm and containers are here possible as well.. but they can be corrected easier since you can just change the Docher host port which needs to be still mapped to the same D<br />
ocker port.<br />
<br />
In both cases the port can be accessed via dsm:port, though for option 1) this is only true if you did not change the ip INSIDE the container, if you did it will be container-ip:port.<br />
<br />
[https://community.synology.com/enu/forum/17/post/102280 Connect to a docker container from outside the host (same network)]<br />
<br />
'''So to have the external port be the same as the external port in bridged mode, edit the container and set the local port to be the same as the container port'''<br />
<br />
In the docker cli instructions for an image this can be seen as the -p options<br />
<br />
TODO: [https://mariushosting.com/synology-how-to-run-docker-containers-over-https/ How to run docker over https]<br />
<br />
== Environment ==<br />
Here you can add extra environment variables, eg TZ / GUID / PUID<br />
<br />
You can find your users PID and GID by sshing into the synology and typing<br />
<br />
id<br />
<br />
or<br />
<br />
id username<br />
<br />
The GUID and PUID are the IDs for which the container itself will run, not docker (which will run as root)<br />
<br />
== setting up a docker using cli arguments ==<br />
<br />
As an example [https://docs.linuxserver.io/images/docker-mstream Mstream] from linuxserver (you can find the image in the docker registry or add it using url linuxserver/mstream<br />
<br />
has docker cli<br />
<pre><br />
docker run -d \<br />
--name=mstream \<br />
-e PUID=1000 \<br />
-e PGID=1000 \<br />
-e TZ=Europe/London \<br />
-p 3000:3000 \<br />
-v /path/to/data:/config \<br />
-v /path/to/music:/music \<br />
--restart unless-stopped \<br />
lscr.io/linuxserver/mstream<br />
</pre><br />
<br />
So you have to fill in your own gid / pid / timezone in the Environment part of the container. You set the port to be both 3000 inside and outside in a bridged network connection. You select /docker/mstream/config to mount as /config and you select your music library on the synology to mount to /music. You ensure permissions are right and you should see the files in mstream.<br />
<br />
== Logging and troubleshooting == <br />
<br />
double clicking an container allows you to see the logs in a tab, which will help a lot. You can also access an active terminal in a tab on a running container<br />
<br />
= VPN Connections =<br />
<br />
[https://kb.synology.com/en-af/DSM/tutorial/How_connect_Synology_NAS_VPN_server How do I connect my Synology NAS to a VPN server?]<br />
<br />
Go to DSM Control Panel > Network > Network Interface.<br />
Click Create > Create VPN profile.<br />
Follow the instructions in this article to set up a VPN connection.<br />
<br />
If you select <br />
Use default gateway on remote network <br />
in the VPN profile you can only connect to the synology from the remote network, not from quickconnect [https://kb.synology.com/en-sg/DSM/tutorial/Cannot_connect_Synology_NAS_using_VPN_via_DDNS https://kb.synology.com/en-sg/DSM/tutorial/Cannot_connect_Synology_NAS_using_VPN_via_DDNS]. However if you do not select this you can not access the synology from the VPN IP.<br />
<br />
I also had to select <br />
The server or clients are behind the NAT device<br />
for it to work.<br />
<br />
Notes:<br />
<br />
We recommend selecting L2TP as the VPN protocol if it is available from VPN service providers. OpenVPN profiles provided by certain VPN service providers may not be compatible with Synology NAS.<br />
When your Synology NAS is configured as an L2TP or OpenVPN client, you cannot configure it as a VPN server using the same protocol in VPN Server. PPTP does not have this limitation.<br />
<br />
[https://kb.synology.com/en-af/DSM/help/DSM/AdminCenter/connection_network_vpnclient?version=7 VPN Connection] Synology knowledge centre</div>Redhttp://wiki.edgarbv.com/index.php?title=Ubiquiti&diff=37696Ubiquiti2023-12-19T11:05:38Z<p>Red: /* VPN */</p>
<hr />
<div>[http://www.ubnt.com/unifi Ubiquiti Unifi] is scalable and has a linux controller software, meaning you only need to buy APs and a PC with linux on it (ubuntu recommended) to run the network.<br />
<br />
= UDM Pro / Ubiquiti Dream Machine Pro =<br />
<br />
== Old vs New UI ==<br />
First remember that there are 2 UI's. The old one has some functionalities that are simply not available in the new UI, especially when it comes to the Insights page! The new UI has nicer statistics and graphics and a much better topology page<br />
<br />
Switch to the old UI from the New by going to the gears icon / settings -> System -> New user interface -> deactivate<br />
<br />
Switch to the new UI from the old by going to gears icon / settings -> User interface -> New user interface -> apply<br />
<br />
== Finding the ports used == <br />
Old interface: click the light bulb / insights -> click top right above the table and select Switch stats in the drop down<br />
<br />
New interface: click the AP icon / devices -> click the switch -> click on settings in the slide in details on the right<br />
<br />
== VLAN profile problems ==<br />
From [https://community.ui.com/questions/vlans-not-communicating-cant-ping-gateway/157ffdf8-cbf9-4cb2-af9d-00d6a470ed8d#answer/a19e7a69-5d66-4174-8ecd-162c65c9efc4 vlans not communicating, can't ping gateway]<br />
<pre><br />
Change the profile on switch port 2 to VLAN that you want the PC to be in. DHCP should be working so remove the static IP address on the PC.<br />
Once you've changed the switch port profile you will need to tell Windows to grab a new IP address. You can do that by doing 'ipconfig /renew' in a command prompt or by removing and then reconnecting the network cable.<br />
The firewall rule you added to allow inter-VLAN routing isn't needed. By default UniFi has open access between VLANs so you'd only need to add firewall rules if you wanted to restrict that traffic.<br />
<br />
The 'All' switchport profile is the reason it's not working. Ports with that profile will have VLAN 1 as their native VLAN and the other VLANs will be tagged.<br />
In your case you want the new VLAN to be the native (or untagged) VLAN.<br />
</pre><br />
<br />
ALSO record the switchport settings, as these were deleted by an update at some point<br />
<br />
== Getting Sonos to work across VLANs ==<br />
<br />
create a new network with vlan eg Smarthome / IOT <br />
<br />
create a new wifi network eg Smarthome Wifi and connect it to the Smarthome network<br />
<br />
In the new UI enable mDNS<br />
<br />
advanced features -> advanced gateway settings -> multicast DNS -> enable (enables mDNS reflector service)<br />
<br />
In the old UI<br />
<br />
settings -> site -> auto optimise network<br />
wireless networks -> edit each wifi network -> advanced -> Enable multicast enhancement (IGMPv3)<br />
<br />
You should now be able to control the Sonos machines from across different networks<br />
<br />
This is useful if you have a smarthome controller on a different subnet from your wifi / wired network and it needs the Sonos devices on the same subnet to control them (eg ABB-free@home needs this)<br />
<br />
try: [https://community.ui.com/questions/UDMUDMP-IoT-VLAN-Speaker-Group-fix-with-mDNS-and-Google-Nest-Speakers-Chromecasts/37d6239f-303e-4f9f-8727-626acf07d33c UDM UDMP IoT VLAN Speaker Group fix with mDNS and Google Nest Speakers/Chromecasts] and [https://nerdygeek.uk/2020/06/09/a-tip-for-sonos-and-unifi-udm-pro-users/ A tip for Sonos and Unifi UDM-Pro users]<br />
<br />
== SSH access ==<br />
<br />
You do this in the main login of the UDMP, not in the Networking side. Go to console settings, allow SSH and enter a password. Login as root. See the bottom of [https://community.ui.com/questions/Unable-to-SSH-into-UDMP/2a733e78-db60-42fd-9df9-d9459d200db6]<br />
<br />
== VPN == <br />
<br />
[https://lazyadmin.nl/network/unifi-vpn/ How to setup UniFi VPN on UDM Pro]<br />
<br />
However, swanctl is now no longer supported so you can't really log stuff.<br />
<br />
To kick a user off the VPN you have to use the classic interface. click insights, then from the top left drop down select vpn users, mouse over the connection and a button "terminate" appears. You can also change their password in the VPN settings.<br />
<br />
You can ssh in and find stuff in<br />
<pre><br />
/var/log/messages<br />
/var/log/daemon.log<br />
/var/log/kern.log<br />
/var/log/auth.log<br />
</pre><br />
by tailing and grepping l2tp or the username<br />
<br />
If you <br />
grep username messages<br />
you will find the IP address assigned to the username<br />
<br />
You can also find the device in Client devices and select VPN <br />
<br />
= Unifi UAP =<br />
<br />
The UAP-Pro can handle 200 concurrent clients and the UAP-LR / LR / UAP-Outdoor can handle 100 simultaneous clients.<br />
<br />
The UAP's are very cheap.<br />
<br />
There are still some problems apparently though.<br />
<br />
== Installing the controller on Debian ==<br />
<br />
This needs to run under a desktop environment, so make sure you have one.<br />
<pre><br />
echo 'deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti' | /etc/apt/sources.list.d/100-ubnt-unifi.list<br />
wget -O /etc/apt/trusted.gpg.d/unifi-repo.gpg https://dl.ubnt.com/unifi/unifi-repo.gpg<br />
apt update <br />
sudo apt install unifi<br />
</pre><br />
Then<br />
<pre><br />
systemctl enable unifi<br />
systemctl start unifi<br />
</pre><br />
<br />
visit the controller software at http://localhost:8080<br />
<br />
[https://help.ubnt.com/hc/en-us/articles/220066768-UniFi-How-to-Install-Update-via-APT-on-Debian-or-Ubuntu]<br />
<br />
You may need to change the ports<br />
<br />
[https://help.ubnt.com/hc/en-us/articles/204910084-UniFi-Changing-Default-Ports-for-Controller-and-UAPs]<br />
<br />
== Migrating from another controller on another PC ==<br />
===If you are not changing hostname / IP===<br />
# Make sure both controllers are the same version (ie update them both)<br />
# if necessary upgrade the firmware on the controllers<br />
# make a backup to an .unf file of the old controller<br />
# Visit the new controller (using the applet or the website) and restore from a previous backup<br />
<br />
<br />
===If you ARE changing hostname / IP===<br />
# Make sure both controllers are the same version (ie update them both)<br />
# if necessary upgrade the firmware on the controllers<br />
# make a backup to an .unf file of the old controller<br />
# Visit the new controller (using the applet or the website) and restore from a previous backup<br />
# On the old controller<br />
<pre><br />
When I move the controller, I just go into the GUI on existing controller, under SETTINGS, CONTROLLER, and change the Controller Hostname / IP to the NEW IP ADDRESS, (removing unifi.yourdomain.com) and then check the box "Override inform host with controller hostname/IP" <br />
<br />
Since I have the migrated controller up and running already on the NEW IP ADDRESS, after I shut down the OLD CONTROLER, the new one immediately starts provisioning the WAPS.<br />
</pre><br />
[[File:UnifiControllerIP.JPG|400px]]<br />
Press apply changes on the bottom. You should see the new controller status of the APs changing to connected.<br />
<br />
[https://community.ubnt.com/t5/UniFi-Wireless/Migrate-control-to-another-computer/td-p/1891294]<br />
<br />
An alternative method is to SSH to each AP and use set-inform to point them to the new controller<br />
<pre><br />
set-inform http://IP.ADDR.OF.Controller:8080/inform<br />
<br />
set-inform, adopt, set-inform a second time.<br />
<br />
If you forget the syntax, 'help' will help<br />
</pre><br />
<br />
==files==<br />
<br />
/var/lib/unifi/data/system.properties<br />
<br />
if this doesn't exist<br />
<pre><br />
java -jar /usr/lib/unifi/lib/ace.jar discover<br />
</pre><br />
<br />
/usr/lib/unifi/logs/server.log<br />
<br />
/usr/lib/unifi/logs/mongod.log<br />
<br />
== migrating controller from one machine to another ==<br />
<br />
[https://community.ubnt.com/t5/UniFi-Wireless/Migrate-control-to-another-computer/td-p/1891294]<br />
<br />
=EdgeMAX EdgeRouter=<br />
<br />
The UI is slightly confusing as there are buttons on the top, bottom, middle and at the bottom. Also, logging only starts once you log in, so the dashboard and traffic analysis only start once you are logged on.<br />
<br />
You can find the full manual [https://github.com/mjp66/Ubiquiti/blob/master/Ubiquiti%20Home%20Network.pdf here]. It's pretty huge.<br />
<br />
== Basic system configuration ==<br />
After running the wizard, basic system configuration can be done by clicking the System button on bottom left. This is where you can backup and reboot but also add extra DNS servers to the system.<br />
<br />
== Config Tree ==<br />
<br />
The config tree allows you to click on the triangles to expand AND view what is in the config (meaning you have to double click on the triangle quite a bit), hover over the name of the config for some more information and the + or - to install or uninstall a service. If you are going to uninstall a service it will show in red.<br />
<br />
== CLI configuration ==<br />
When you enter the cli you can run some commands but not change setups. In order to change stuff you need to first enter configuration mode, change your settings, then commit and save<br />
configure<br />
set ...<br />
commit<br />
save<br />
<br />
<br />
== DHCP ==<br />
[https://help.ui.com/hc/en-us/articles/115002673188 EdgeRouter - DHCP Server Using Dnsmasq]<br />
<br />
Services (top) -> DHCP Server<br />
<br />
Once you have added a DHCP server you can configure it by clicking on '''Actions''' on the right of the screen and then '''View Details'''.<br />
<br />
[[File:edgemax DHCP server.png|600px]]<br />
<br />
There are also options under Service -> dhcp-server in the config tree<br />
<br />
Adding a third DNS server to DHCP can also be done by cli [https://community.ui.com/questions/Edgemax-3-DNS-Entries-for-DHCP-Server/7dec0b25-9ea6-42e6-a9d4-1a51039f56c6?page=1 Edgemax 3 DNS Entries for DHCP Server]<br />
<pre><br />
ubnt@ubnt:~$ configure<br />
ubnt@ubnt# show service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server<br />
dns-server 192.168.40.1<br />
ubnt@ubnt# set service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server 8.8.8.8<br />
ubnt@ubnt# set service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server 8.8.4.4<br />
ubnt@ubnt# set service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server 208.67.220.220<br />
ubnt@ubnt# commit<br />
[ service dhcp-server ]<br />
Stopping DHCP server daemon...<br />
Starting DHCP server daemon...<br />
<br />
[edit]<br />
ubnt@ubnt# show service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server<br />
dns-server 192.168.40.1<br />
dns-server 8.8.8.8<br />
dns-server 8.8.4.4<br />
dns-server 208.67.220.220<br />
[edit]<br />
<br />
ubnt@ubnt# save<br />
</pre><br />
<br />
One of the problems you will run into is that even if you set multiple DNS servers, Windows will only read the first one unless it is actually down (see also [https://docs.microsoft.com/en-us/troubleshoot/windows-server/networking/dns-client-resolution-timeouts What is the default behavior of a Windows 7 or Windows 8 DNS client when two DNS servers are configured on the NIC] and [https://docs.microsoft.com/en-us/troubleshoot/windows-server/networking/best-practices-for-dns-client-settings Best practices for DNS client settings in Windows 2000 Server and in Windows Server 2003]. So if you want to resolve internal domain names you will need to work on DNS forwarding.<br />
<br />
== DNS ==<br />
===System DNS Setting===<br />
[https://ubntlab.wordpress.com/2017/07/03/beware-the-system-name-server-setting/ Beware the System Name Server Setting]<br />
<br />
The way to minimize the number of local DNS lookups that get forwarded is to specify 127.0.0.1 as the system nameserver, so they go through DNSmasq and are routed and cached the same as DNS requests from clients. To configure the upstream forwarders there are two options:<br />
<br />
Specify addition nameservers for this option. The local system will always attempt resolution starting with the first entry in /etc/resolv.conf, while DNSmasq will ignore 127.0.0.1 and use the additional entries as forwarders.<br />
Explicitly configure DNSmasq forwarders using set service dns forwarding options server=DNS_Server_IP<br />
<br />
I use the second method as it keeps the DNS forwarding options in one section of the config file instead of two.<br />
<br />
=== Resolving ===<br />
To see what nameservers are being used to resolve<br />
cat /etc/resolv.conf<br />
if you don't want that, use<br />
set interfaces ethernet eth0 dhcp-options name-server no-update<br />
<br />
=== Forwarding ===<br />
[https://help.ui.com/hc/en-us/articles/115010913367-EdgeRouter-DNS-Forwarding-Setup-and-Options EdgeRouter - DNS Forwarding Setup and Options] man page<br />
<br />
If you set your DHCP server to put the IP of the EdgeMAX router into the DNS servers section, it uses DNS forwarding using dnsmasq <br />
show dns forwarding<br />
<br />
[[File:edgemax dns forwarding nameservers.png|400px]]<br />
<br />
This example shows the DNS servers assigned to the router via DHCP first and the one configured in the basic system configuration (bottom of the UI screen) after that<br />
<br />
The DNS resolution of this system is that the system chooses the fastest server and sticks to that.<br />
<br />
So in order to put the inputted one on top you need to re-order the system [https://community.ui.com/questions/Change-WAN-DNS-Server/041bbac7-6de0-44a7-a5ca-165128e4333d Change WAN DNS Server]<br />
configure<br />
set service dns forwarding system<br />
commit<br />
save<br />
and then<br />
configure<br />
set service dns forwarding dhcp eth0<br />
commit<br />
save<br />
<br />
One of the options to NOT enable is strict-order [https://community.ui.com/questions/DNS-Forwarding-Name-Servers/8a986a94-eae4-4827-bff0-a93af718ab80 DNS Forwarding / Name servers] / [http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2009q3/003295.html Dnsmasq-discuss DNS search Order]<br />
<br />
Using the all-servers option sends the request in parallel to every server and it picks the result that comes first. This can be done via the cli<br />
configure<br />
set service dns forwarding options all-servers<br />
commit<br />
save<br />
<br />
Or using the Config Tree<br />
<br />
[[File:dns forwarding config tree.png|400px]]<br />
<br />
You can see how many queries each has using<br />
show dns forwarding statistics<br />
<br />
To clear the cache use<br />
clear dns forwarding cache<br />
<br />
To clear the cache and the counters use<br />
clear dns forwarding all</div>Redhttp://wiki.edgarbv.com/index.php?title=Ubiquiti&diff=37695Ubiquiti2023-12-19T11:01:29Z<p>Red: /* VPN */</p>
<hr />
<div>[http://www.ubnt.com/unifi Ubiquiti Unifi] is scalable and has a linux controller software, meaning you only need to buy APs and a PC with linux on it (ubuntu recommended) to run the network.<br />
<br />
= UDM Pro / Ubiquiti Dream Machine Pro =<br />
<br />
== Old vs New UI ==<br />
First remember that there are 2 UI's. The old one has some functionalities that are simply not available in the new UI, especially when it comes to the Insights page! The new UI has nicer statistics and graphics and a much better topology page<br />
<br />
Switch to the old UI from the New by going to the gears icon / settings -> System -> New user interface -> deactivate<br />
<br />
Switch to the new UI from the old by going to gears icon / settings -> User interface -> New user interface -> apply<br />
<br />
== Finding the ports used == <br />
Old interface: click the light bulb / insights -> click top right above the table and select Switch stats in the drop down<br />
<br />
New interface: click the AP icon / devices -> click the switch -> click on settings in the slide in details on the right<br />
<br />
== VLAN profile problems ==<br />
From [https://community.ui.com/questions/vlans-not-communicating-cant-ping-gateway/157ffdf8-cbf9-4cb2-af9d-00d6a470ed8d#answer/a19e7a69-5d66-4174-8ecd-162c65c9efc4 vlans not communicating, can't ping gateway]<br />
<pre><br />
Change the profile on switch port 2 to VLAN that you want the PC to be in. DHCP should be working so remove the static IP address on the PC.<br />
Once you've changed the switch port profile you will need to tell Windows to grab a new IP address. You can do that by doing 'ipconfig /renew' in a command prompt or by removing and then reconnecting the network cable.<br />
The firewall rule you added to allow inter-VLAN routing isn't needed. By default UniFi has open access between VLANs so you'd only need to add firewall rules if you wanted to restrict that traffic.<br />
<br />
The 'All' switchport profile is the reason it's not working. Ports with that profile will have VLAN 1 as their native VLAN and the other VLANs will be tagged.<br />
In your case you want the new VLAN to be the native (or untagged) VLAN.<br />
</pre><br />
<br />
ALSO record the switchport settings, as these were deleted by an update at some point<br />
<br />
== Getting Sonos to work across VLANs ==<br />
<br />
create a new network with vlan eg Smarthome / IOT <br />
<br />
create a new wifi network eg Smarthome Wifi and connect it to the Smarthome network<br />
<br />
In the new UI enable mDNS<br />
<br />
advanced features -> advanced gateway settings -> multicast DNS -> enable (enables mDNS reflector service)<br />
<br />
In the old UI<br />
<br />
settings -> site -> auto optimise network<br />
wireless networks -> edit each wifi network -> advanced -> Enable multicast enhancement (IGMPv3)<br />
<br />
You should now be able to control the Sonos machines from across different networks<br />
<br />
This is useful if you have a smarthome controller on a different subnet from your wifi / wired network and it needs the Sonos devices on the same subnet to control them (eg ABB-free@home needs this)<br />
<br />
try: [https://community.ui.com/questions/UDMUDMP-IoT-VLAN-Speaker-Group-fix-with-mDNS-and-Google-Nest-Speakers-Chromecasts/37d6239f-303e-4f9f-8727-626acf07d33c UDM UDMP IoT VLAN Speaker Group fix with mDNS and Google Nest Speakers/Chromecasts] and [https://nerdygeek.uk/2020/06/09/a-tip-for-sonos-and-unifi-udm-pro-users/ A tip for Sonos and Unifi UDM-Pro users]<br />
<br />
== SSH access ==<br />
<br />
You do this in the main login of the UDMP, not in the Networking side. Go to console settings, allow SSH and enter a password. Login as root. See the bottom of [https://community.ui.com/questions/Unable-to-SSH-into-UDMP/2a733e78-db60-42fd-9df9-d9459d200db6]<br />
<br />
== VPN == <br />
<br />
[https://lazyadmin.nl/network/unifi-vpn/ How to setup UniFi VPN on UDM Pro]<br />
<br />
However, swanctl is now no longer supported so you can't really log stuff.<br />
<br />
To kick a user off the VPN you have to use the classic interface. click insights, then from the top left drop down select vpn users, mouse over the connection and a button "terminate" appears. You can also change their password in the VPN settings.<br />
<br />
You can ssh in and find stuff in<br />
<pre><br />
/var/log/messages<br />
/var/log/daemon.log<br />
/var/log/kern.log<br />
/var/log/auth.log<br />
</pre><br />
by tailing and grepping l2tp or the username<br />
<br />
If you <br />
grep username messages<br />
you will find the IP address assigned to the username<br />
<br />
= Unifi UAP =<br />
<br />
The UAP-Pro can handle 200 concurrent clients and the UAP-LR / LR / UAP-Outdoor can handle 100 simultaneous clients.<br />
<br />
The UAP's are very cheap.<br />
<br />
There are still some problems apparently though.<br />
<br />
== Installing the controller on Debian ==<br />
<br />
This needs to run under a desktop environment, so make sure you have one.<br />
<pre><br />
echo 'deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti' | /etc/apt/sources.list.d/100-ubnt-unifi.list<br />
wget -O /etc/apt/trusted.gpg.d/unifi-repo.gpg https://dl.ubnt.com/unifi/unifi-repo.gpg<br />
apt update <br />
sudo apt install unifi<br />
</pre><br />
Then<br />
<pre><br />
systemctl enable unifi<br />
systemctl start unifi<br />
</pre><br />
<br />
visit the controller software at http://localhost:8080<br />
<br />
[https://help.ubnt.com/hc/en-us/articles/220066768-UniFi-How-to-Install-Update-via-APT-on-Debian-or-Ubuntu]<br />
<br />
You may need to change the ports<br />
<br />
[https://help.ubnt.com/hc/en-us/articles/204910084-UniFi-Changing-Default-Ports-for-Controller-and-UAPs]<br />
<br />
== Migrating from another controller on another PC ==<br />
===If you are not changing hostname / IP===<br />
# Make sure both controllers are the same version (ie update them both)<br />
# if necessary upgrade the firmware on the controllers<br />
# make a backup to an .unf file of the old controller<br />
# Visit the new controller (using the applet or the website) and restore from a previous backup<br />
<br />
<br />
===If you ARE changing hostname / IP===<br />
# Make sure both controllers are the same version (ie update them both)<br />
# if necessary upgrade the firmware on the controllers<br />
# make a backup to an .unf file of the old controller<br />
# Visit the new controller (using the applet or the website) and restore from a previous backup<br />
# On the old controller<br />
<pre><br />
When I move the controller, I just go into the GUI on existing controller, under SETTINGS, CONTROLLER, and change the Controller Hostname / IP to the NEW IP ADDRESS, (removing unifi.yourdomain.com) and then check the box "Override inform host with controller hostname/IP" <br />
<br />
Since I have the migrated controller up and running already on the NEW IP ADDRESS, after I shut down the OLD CONTROLER, the new one immediately starts provisioning the WAPS.<br />
</pre><br />
[[File:UnifiControllerIP.JPG|400px]]<br />
Press apply changes on the bottom. You should see the new controller status of the APs changing to connected.<br />
<br />
[https://community.ubnt.com/t5/UniFi-Wireless/Migrate-control-to-another-computer/td-p/1891294]<br />
<br />
An alternative method is to SSH to each AP and use set-inform to point them to the new controller<br />
<pre><br />
set-inform http://IP.ADDR.OF.Controller:8080/inform<br />
<br />
set-inform, adopt, set-inform a second time.<br />
<br />
If you forget the syntax, 'help' will help<br />
</pre><br />
<br />
==files==<br />
<br />
/var/lib/unifi/data/system.properties<br />
<br />
if this doesn't exist<br />
<pre><br />
java -jar /usr/lib/unifi/lib/ace.jar discover<br />
</pre><br />
<br />
/usr/lib/unifi/logs/server.log<br />
<br />
/usr/lib/unifi/logs/mongod.log<br />
<br />
== migrating controller from one machine to another ==<br />
<br />
[https://community.ubnt.com/t5/UniFi-Wireless/Migrate-control-to-another-computer/td-p/1891294]<br />
<br />
=EdgeMAX EdgeRouter=<br />
<br />
The UI is slightly confusing as there are buttons on the top, bottom, middle and at the bottom. Also, logging only starts once you log in, so the dashboard and traffic analysis only start once you are logged on.<br />
<br />
You can find the full manual [https://github.com/mjp66/Ubiquiti/blob/master/Ubiquiti%20Home%20Network.pdf here]. It's pretty huge.<br />
<br />
== Basic system configuration ==<br />
After running the wizard, basic system configuration can be done by clicking the System button on bottom left. This is where you can backup and reboot but also add extra DNS servers to the system.<br />
<br />
== Config Tree ==<br />
<br />
The config tree allows you to click on the triangles to expand AND view what is in the config (meaning you have to double click on the triangle quite a bit), hover over the name of the config for some more information and the + or - to install or uninstall a service. If you are going to uninstall a service it will show in red.<br />
<br />
== CLI configuration ==<br />
When you enter the cli you can run some commands but not change setups. In order to change stuff you need to first enter configuration mode, change your settings, then commit and save<br />
configure<br />
set ...<br />
commit<br />
save<br />
<br />
<br />
== DHCP ==<br />
[https://help.ui.com/hc/en-us/articles/115002673188 EdgeRouter - DHCP Server Using Dnsmasq]<br />
<br />
Services (top) -> DHCP Server<br />
<br />
Once you have added a DHCP server you can configure it by clicking on '''Actions''' on the right of the screen and then '''View Details'''.<br />
<br />
[[File:edgemax DHCP server.png|600px]]<br />
<br />
There are also options under Service -> dhcp-server in the config tree<br />
<br />
Adding a third DNS server to DHCP can also be done by cli [https://community.ui.com/questions/Edgemax-3-DNS-Entries-for-DHCP-Server/7dec0b25-9ea6-42e6-a9d4-1a51039f56c6?page=1 Edgemax 3 DNS Entries for DHCP Server]<br />
<pre><br />
ubnt@ubnt:~$ configure<br />
ubnt@ubnt# show service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server<br />
dns-server 192.168.40.1<br />
ubnt@ubnt# set service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server 8.8.8.8<br />
ubnt@ubnt# set service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server 8.8.4.4<br />
ubnt@ubnt# set service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server 208.67.220.220<br />
ubnt@ubnt# commit<br />
[ service dhcp-server ]<br />
Stopping DHCP server daemon...<br />
Starting DHCP server daemon...<br />
<br />
[edit]<br />
ubnt@ubnt# show service dhcp-server shared-network-name LAN1 subnet 192.168.40.0/24 dns-server<br />
dns-server 192.168.40.1<br />
dns-server 8.8.8.8<br />
dns-server 8.8.4.4<br />
dns-server 208.67.220.220<br />
[edit]<br />
<br />
ubnt@ubnt# save<br />
</pre><br />
<br />
One of the problems you will run into is that even if you set multiple DNS servers, Windows will only read the first one unless it is actually down (see also [https://docs.microsoft.com/en-us/troubleshoot/windows-server/networking/dns-client-resolution-timeouts What is the default behavior of a Windows 7 or Windows 8 DNS client when two DNS servers are configured on the NIC] and [https://docs.microsoft.com/en-us/troubleshoot/windows-server/networking/best-practices-for-dns-client-settings Best practices for DNS client settings in Windows 2000 Server and in Windows Server 2003]. So if you want to resolve internal domain names you will need to work on DNS forwarding.<br />
<br />
== DNS ==<br />
===System DNS Setting===<br />
[https://ubntlab.wordpress.com/2017/07/03/beware-the-system-name-server-setting/ Beware the System Name Server Setting]<br />
<br />
The way to minimize the number of local DNS lookups that get forwarded is to specify 127.0.0.1 as the system nameserver, so they go through DNSmasq and are routed and cached the same as DNS requests from clients. To configure the upstream forwarders there are two options:<br />
<br />
Specify addition nameservers for this option. The local system will always attempt resolution starting with the first entry in /etc/resolv.conf, while DNSmasq will ignore 127.0.0.1 and use the additional entries as forwarders.<br />
Explicitly configure DNSmasq forwarders using set service dns forwarding options server=DNS_Server_IP<br />
<br />
I use the second method as it keeps the DNS forwarding options in one section of the config file instead of two.<br />
<br />
=== Resolving ===<br />
To see what nameservers are being used to resolve<br />
cat /etc/resolv.conf<br />
if you don't want that, use<br />
set interfaces ethernet eth0 dhcp-options name-server no-update<br />
<br />
=== Forwarding ===<br />
[https://help.ui.com/hc/en-us/articles/115010913367-EdgeRouter-DNS-Forwarding-Setup-and-Options EdgeRouter - DNS Forwarding Setup and Options] man page<br />
<br />
If you set your DHCP server to put the IP of the EdgeMAX router into the DNS servers section, it uses DNS forwarding using dnsmasq <br />
show dns forwarding<br />
<br />
[[File:edgemax dns forwarding nameservers.png|400px]]<br />
<br />
This example shows the DNS servers assigned to the router via DHCP first and the one configured in the basic system configuration (bottom of the UI screen) after that<br />
<br />
The DNS resolution of this system is that the system chooses the fastest server and sticks to that.<br />
<br />
So in order to put the inputted one on top you need to re-order the system [https://community.ui.com/questions/Change-WAN-DNS-Server/041bbac7-6de0-44a7-a5ca-165128e4333d Change WAN DNS Server]<br />
configure<br />
set service dns forwarding system<br />
commit<br />
save<br />
and then<br />
configure<br />
set service dns forwarding dhcp eth0<br />
commit<br />
save<br />
<br />
One of the options to NOT enable is strict-order [https://community.ui.com/questions/DNS-Forwarding-Name-Servers/8a986a94-eae4-4827-bff0-a93af718ab80 DNS Forwarding / Name servers] / [http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2009q3/003295.html Dnsmasq-discuss DNS search Order]<br />
<br />
Using the all-servers option sends the request in parallel to every server and it picks the result that comes first. This can be done via the cli<br />
configure<br />
set service dns forwarding options all-servers<br />
commit<br />
save<br />
<br />
Or using the Config Tree<br />
<br />
[[File:dns forwarding config tree.png|400px]]<br />
<br />
You can see how many queries each has using<br />
show dns forwarding statistics<br />
<br />
To clear the cache use<br />
clear dns forwarding cache<br />
<br />
To clear the cache and the counters use<br />
clear dns forwarding all</div>Redhttp://wiki.edgarbv.com/index.php?title=Synology&diff=37694Synology2023-12-19T10:46:21Z<p>Red: /* VPN Connections */</p>
<hr />
<div>= First things to do =<br />
<br />
== Change IP ==<br />
<br />
Control panel -> (connectivity) Network -> tab network interface -> select LAN and click Edit.<br />
<br />
== Enable home directories + 2 step verification ==<br />
<br />
Control panel -> User -> Advanced -> Enable home user service + Enforce 2 step verification<br />
<br />
== change workgroup ==<br />
<br />
control panel -> file services -> smb/afp/nfs -> smb / enable smb service : workgroup<br />
<br />
== change low volume warning threshold ==<br />
change the % by going into my Storage Manager -> Storage -> Clicking the ... on the Volume I was looking for then Clicking Settings. If I scroll down on the Settings there is a Low Capacity Notification where you can change the % to 5% from 20%<br />
<br />
== Enable SSH ==<br />
<br />
Control panel -> (System) Terminal & SNMP enable SSH<br />
<br />
Control panel -> (connectivity) Security -> Firewall tab -> create a rule for SSH (encrypted terminal services), enable and save<br />
<br />
for root login as admin and then '''sudo sh'''<br />
<br />
(you can then log in to the machine using user '''root''' and the default admin password)<br />
<br />
to enable your users to access the terminal vi /etc/passwd and change /sbin/nologin to /bin/ash<br />
<br />
== Create shared folders ==<br />
Once you have created your shared folder, also enable snapshots<br />
<br />
= Prepare for rsync =<br />
NB the synology can only push rsync files, it can not be set up to pull files from a remote rsync server.<br />
<br />
Control panel -> (file sharing) Shared Folder -> create folder to back up to. Give the user you want to rsync to Read/Write access<br />
<br />
Control panel -> File services -> enable rsync service<br />
<br />
'''depreciated'''<br />
----<br />
Start (top left) -> Backup & replication -> backup services -> enable network backup service<br />
<br />
Start (top left) -> Backup & replication -> Backup Destination -> create Local Backup destination -> backup up data to local shared folder -> the name you put in there will be the module name or the path you can use later.<br />
<br />
then add the section in /etc/rsyncd.conf changing only the path and comment values (of course under the module name)<br />
<br />
restart rsync with<br />
<pre><br />
/usr/syno/etc/rc.sysv/S84rsyncd.sh restart<br />
</pre><br />
<br />
If you don't do this, it will rsync everything without the user name for some reason<br />
<br />
== Synology to synology ==<br />
You backup from the source to the target<br />
<br />
ssh into the source machine ('''mind the slashes at the end!''' if you don't use the slash it will create a directory in the directory you specify)<br />
<br />
rsync -avn /volume1/sourcedirectory/ user@192.168.0.105:/volume1/targetdirectory/<br />
<br />
to check if it works. Drop the n to start the actual copy.<br />
<br />
=== Hyper Backup ===<br />
This will create a backup directory which you can't browse with file explorer as it stores everything in a hyper backup format.<br />
<br />
==== Using Hyper Backup Vault ====<br />
Note: the destination needs the Hyper Backup Vault package installed. Launch Hyper backup on the source. Use the + bottom left to create a new backup job. Select data backup. Select Remote NAS device. fill in the hostname and then you can select which Shared folder it will use as a destination. Note: you cannot use photos or homes. The Directory is the name of the directory it will make on the shared folder on the destination device.<br />
<br />
==== Using rsync ====<br />
Launch Hyper backup on the source. Use the + bottom left to create a new backup job. Choose rsync. Fill in the data. As username and password you need a username and pass on the target machine. It will then fill the shared folder list with shares available on the target. You cannot backup to the root directory of the target share, so you need something in the directory field. After this it pretty much sets itself up.<br />
<br />
== Netgear ReadyNas Ultra setup for rsync to Synology ==<br />
<br />
''Here we set up the Netgear to pull data from the Synology''<br />
<br />
in the /admin interface first<br />
<br />
Services -> Standard File Protocols -> ensure Rsync is enabled<br />
<br />
Shares -> share listing -> click on rsync icon. scroll up and change default access to 'read only'. Set hosts allowed access to ip of synology (192.168.0.101). Fill in the username and password!<br />
<br />
Backup -> Add a new backup job<br />
<br />
[[File:netgear backup step 1.png]]<br />
<br />
If you don't fill in the path above it will copy the whole share. If you browse the share you can select a subdir to copy.<br />
<br />
[[File:netgear backup step 2.png]]<br />
<br />
Note that the '''Path needs to be EMPTY''' before pressing the 'Test connection' button. It will sometimes work if you fill in NetBackup but you're best off doing the test empty, then typing in the path and then apply bottom right to test the backup job.<br />
<br />
This is what the schedule will look like<br />
<br />
[[File:backup schedule.png|400px]]<br />
<br />
The Daily job<br />
<br />
[[File:jobt1.png|400px]]<br />
[[File:job2.png|400px]]<br />
[[File:job3.png|400px]]<br />
[[File:job4.png|400px]]<br />
<br />
The Weekly job<br />
<br />
[[File:weekly netgear rsync.png|400px]]<br />
<br />
The monthly job<br />
<br />
[[File:monthly netgear rsync1.png|400px]]<br />
[[File:monthly netgear rsync2.png|400px]]<br />
<br />
== useful linkies ==<br />
[http://www.readynas.com/download/documentation/support/rsync_howto_nastonas.pdf Readynas rsync howto PDF]<br />
<br />
[https://www.synology.com/en-uk/knowledgebase/tutorials/613 synology rsync tutorial]<br />
<br />
[http://www.smallnetbuilder.com/nas/nas-howto/30856-how-to-back-up-nas-to-nas-part-1?start=1 small netbuilder tutorial]<br />
<br />
== indexing media files ==<br />
If you rsync files into the /volume1/photo or /volume1/video directories the system does not index them. They need to be copied in using windows or the internal file manager to index them automatically.<br />
<br />
In control panel -> Media library you can re-index the files in the photo directory.<br />
<br />
In the video station itself under collection -> settings you can re-index.<br />
<br />
As you can't set /video/ as a directory to use in the video station, you have to set a symbolic link from /volume1/video/movie to wherever you want to have your directories.<br />
<br />
Warning: indexing can take DAYS!<br />
<br />
== Preparing ReadyNAS for rsync towards it ==<br />
Ensure in Shares that the rsync is enabled on at least one share. Ensure the host you are coming from is allowed and that there is a username / password for it.<br />
<br />
= Symbolic links =<br />
<br />
Windows can't handle symbolic links on the synology, so you have to mount directories with<br />
<pre><br />
mount -o bind /volume1/sourcedir /volume1/destdir<br />
</pre><br />
<br />
as root<br />
<br />
and then copy the mount command to /etc/rc.local to make it stick after a reboot<br />
<br />
= prepare the windows machine for Picasa =<br />
<br />
SSH to the synology, log in as root<br />
<pre><br />
mkdir /volume1/photo/Pictures<br />
mount -o bind /volume1/photo/ /volume1/photo/Pictures<br />
</pre><br />
edit /etc/rc.local<br />
<br />
insert the mount command above into the file - this is for when the synology restarts<br />
<br />
in windows explorer map \\invader\photo to T:<br />
<br />
== Picasa database file locations ==<br />
<br />
There are 2 directories in % %LocalAppData%\Google\ which is the same as C:\Users\razor\AppData\Local\Google\<br />
<br />
<br />
Copy them over before running Picasa for the first time.<br />
<br />
=NFS=<br />
<br />
First make sure in Control Panel -> File Services that NFS is enabled.<br />
<br />
Then in Control Panel -> File Sharing -> Edit the share -> create NFS Permissions. You should only have to change the IP/Hostname field.<br />
<br />
[https://www.synology.com/en-us/knowledgebase/tutorials/616 see here]<br />
<br />
=CIFS=<br />
sudo mount -t cifs //192.168.0.101/home/ ~/xx/ -o username=razor,uid=razor,gid=users<br />
<br />
=To find the NAS on linux with netbios=<br />
You have to enable the bonjour service on the NAS<br />
<br />
Control Panel -> File services -> Enable AFP service, then in Advanced tab -> also enable<br />
<br />
The linux machine needs avahi running. Check using<br />
sudo service avahi-daemon status<br />
<br />
=DLNA=<br />
The video players such as a TV (eg on an LG TV under "photos and videos" app) that play directly from the NAS use DLNA. The synology (or DLNA server) creates a database which the player reads. <br />
<br />
The settings for the Media Server / DNLA can be found under the synology ''start menu -> media server''. It is quite possible that Synology decides it doesn't like your player much and gives it a device type which it's not happy with. Under ''DMA Compatibility -> Device List'' you can change the profile to '''Default profile''', which may help.<br />
<br />
If the database is somehow damaged, you can rebuild it under ''control panel -> indexing service'' and then click '''re-index'''. This can take days!<br />
<br />
To check the status of the rebuild, ssh in (using admin / pw, then sudo su) and you can check to see what's being rebuilt by issuing<br />
ls -l /proc/$(pidof synomkthumbd)/fd<br />
To monitor what's happening over some time do (nb it will take some time before you see anything appear!)<br />
while sleep 30; do ls -l /proc/$(pidof synomkthumbd)/fd | grep volume; done<br />
[https://www.mcleanit.ca/blog/synology-check-index-progress/ from mcleanit.ca]<br />
<br />
If the indexing service seems frozen then restart it with<br />
synoservicectl --restart synoindexd<br />
<br />
=Streaming=<br />
The audio station DS Audio app is terrible and hangs a lot. <br />
<br />
As alternatives there are Jellyfin; Airsonic and mstream. So far I like mstream, it's very light (388MB docker image, as it's file based.<br />
<br />
== Jellyfin ==<br />
very library based and uses quite a bit of CPU - no folder view<br />
<br />
== Airsonic ==<br />
Comes in 2 flavours: [https://airsonic.github.io/ airsonic] and [https://github.com/airsonic-advanced/airsonic-advanced airsonic-advanced]. The advanced version is a fork created due to frustration with the glacial pace of development of airsonic. [https://www.reddit.com/r/airsonic/comments/fu4gwd/airsonic_vs_airsonicadvanced/ Reddit rant here]<br />
<br />
[https://hub.docker.com/r/airsonicadvanced/airsonic-advanced airsonic-advanced]<br />
<br />
== MxStream ==<br />
[https://docs.linuxserver.io/images/docker-mstream linuxserver/mstream]<br />
<br />
Super lightweight: <br />
<br />
iamge is 388 MB<br />
<br />
fresh install:<br />
<br />
CPU: 0.85%<br />
<br />
RAM: 111 MB<br />
<br />
file based<br />
<br />
http://netbiosname:3000<br />
<br />
== Gerbera BubbleUpnP ==<br />
[https://www.reddit.com/r/synology/comments/adkjsr/my_solution_to_playing_audio_from_nas_on_my_cell/ information]<br />
<br />
== Plex ==<br />
Complaints about it being slow and jumpy - only for local streaming - also if you want to use it for streaming or downloading for internet streaming you need to pay<br />
<br />
== Beets ==<br />
re-organise your music collection?<br />
<br />
=Converting media files=<br />
Photo station converts your videos to flv as standard and to mp4 if you have '''conversion for mobile devices''' set to on under ''control panel -> indexing service.''<br />
<br />
It will also convert your image files to thumbnails as standard.<br />
<br />
This can take a few days or even weeks if you upload a lot of new stuff.<br />
<br />
To speed the photo thumbnail generation up you can do the following:<br />
<br />
/usr/syno/etc.defaults/thumb.conf<br />
<br />
* changed the quality of thumbs to 70%<br />
* divided by 2 all the thumbs size<br />
* change the XL thumb size to 400 pixels<br />
<br />
[https://forum.synology.com/enu/viewtopic.php?t=95060]<br />
<br />
To view the status of the conversion, in /var/spool there are the following files<br />
<pre><br />
conv_progress_photo <br />
conv_progress_photo.pT5Pu5 <br />
conv_progress_video <br />
conv_progress_video.CpHdpS <br />
flv_create.queue <br />
flv_create.queue.tmp <br />
thumb_create.queue <br />
thumb_create.queue.tmp <br />
</pre><br />
<br />
or <br />
<br />
ps -ef | grep thumb<br />
<br />
To see the status of the converter<br />
sudo synoservicecfg --status synomkthumbd<br />
<br />
[https://www.reddit.com/r/synology/comments/7ui7c1/conversion_process_details/]<br />
<br />
= More info =<br />
[http://www.synology.com/en-global/support/tutorials/461 How to back up data on Synology NAS to another server] this should also work for a synology nas to another synology nas<br />
<br />
[http://www.synology-forum.nl/data-replicator-overige-backupsoftware/backup-via-internet/ backup via internet] NL forum link, aldus deze pagina, poorten:<br />
<br />
Network Backup: 873 TCP <br />
<br />
Encrypted Network Backup: 873, 22 TCP <br />
<br />
[http://raphael.kallensee.name/journal/how-to-backup-an-external-server-with-a-synology-nas-via-rsync/ backup nas via rsync]<br />
<br />
[http://www.synology.com/en-global/support/tutorials/455#t2 How to encrypt shared folders on Synology NAS] (uses AES, untick auto mount for stealing, but need to input passd on reboot via web interface)<br />
<br />
[http://www.synology.com/en-global/support/tutorials/456 How to make Synology NAS accessible via the Internet]<br />
<br />
[http://www.synology.com/en-global/support/tutorials/478 How to secure your Synology NAS server on the Internet]<br />
<br />
=Reports=<br />
<br />
In the Storage Analyzer settings you can set and see where the Synology saves reports. For some reason the Synology saves old reports you have deleted and so you can't create new reports with the same name without deleting the old files:<br />
<pre><br />
When you create a report task, a dedicated folder for this report will be automatically created under the destination folder that you have designated as the storage location for reports. When you delete a report task from the list on Storage Analyzer's homepage, you delete the report's profile only, while its folder still exists. To delete the report's own folder, please go to the designated destination folder > synoreport, and delete the folder with the same name as the report.<br />
</pre><br />
<br />
=Moments=<br />
[https://www.synology.com/en-global/knowledgebase/DSM/help/SynologyMoments/moments_share_and_search https://www.synology.com/en-global/knowledgebase/DSM/help/SynologyMoments/moments_share_and_search]<br />
<pre><br />
Enable Shared Photo Library<br />
<br />
Shared Photo Library allows you and users with permissions to collaboratively edit the photos and albums in Moments. Please note that only users belonging to the administrative groups can enable this feature.<br />
To enable Shared Photo Library:<br />
<br />
Click the Account icon on the bottom-left corner and select Settings > Shared Photo Library > Enable Shared Photo Library.<br />
Click Next to confirm and enable Shared Photo Library.<br />
Select users to grant them the permissions to access Shared Photo Library.<br />
Click OK to finish. Now you can switch between My Photo Library and Shared Photo Library.<br />
<br />
Note:<br />
<br />
The shared folder named /photo is the default path for Shared Photo Library.<br />
If you have already installed Photo Station, the photos in Photo Station can be displayed after the source of photos is switched to Shared Photo Library in Moments. Please note that the converted thumbnails in Photo Station will not be processed again.<br />
After Shared Photo Library is enabled, the Photo Station settings such as album permission, conversion rule, or other downloading settings will not migrate to or be inherited by Moments.<br />
</pre><br />
<br />
=Installing ipkg=<br />
[https://community.synology.com/enu/forum/1/post/127148 by plexflixler]<br />
Go to the Synology Package Center, click on "Settings" on the top right corner and then click on "package sources".<br />
<br />
Add the source "http://www.cphub.net" (you can choose the name freely, i.e. "CPHub")<br />
<br />
Now close the settings. In the package center on the left go to the "Community" tab.<br />
<br />
Find and install "Easy Bootstrap Installer" from QTip. There is also a GUI version if you prefer, called "iPKGui", also from QTip.<br />
<br />
IPKG is now installed. The executables are located in "/opt/bin/". You can SSH to your NAS and use it. However, the directory has not yet been added to the PATH variable, so to use it you would always need to use the full path "/opt/bin/ipkg". <br />
<br />
You can add the directory to the PATH variable using the following command:<br />
<br />
export PATH="$PATH:/opt/bin"<br />
<br />
However, this would only add the directory to PATH for the current session. <br />
<br />
sudo /opt/bin/ipkg update<br />
sudo /opt/bin/nano /etc/profile<br />
<br />
Now find the PATH variable. It should look something like this:<br />
<br />
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin<br />
<br />
At the end of this string, just append ":/opt/bin" (don't forget the colon). Then save and close the file<br />
<br />
Note that this will not automatically update your PATH for the current session. To do this, you can run:<br />
<br />
source /etc/profile<br />
<br />
To check wheter it worked, enter the command:<br />
<br />
echo $PATH | tr ":" "\n" | nl<br />
<br />
You should see the entry for "/opt/bin" there.<br />
<br />
Now your all set.<br />
<br />
=Installing mlocate=<br />
requires ipkg (see above)<br />
<br />
ipkg install mlocate<br />
<br />
Once you have done that, you run<br />
updatedb<br />
<br />
and then you can use the locate command<br />
<br />
=Universal search=<br />
For some reason when installing universal search it doesn't add the shares to the index. You have to do this by hand in settings.<br />
<br />
=Surveillance Station=<br />
==Timelapse==<br />
[https://forum.synology.com/enu/viewtopic.php?t=127113 Using Action Rules]<br />
<br />
[http://planet-geek.com/2017/10/09/geekitude/creating-timelapse-videos-from-a-synology-nas/ Using ffmpeg video stitching] with [https://superuser.com/questions/777938/ffmpeg-convert-a-video-to-a-timelapse a useful note on getting rid of audio] if you're using setpts in ffmpeg<br />
<br />
[https://www.synology.com/en-global/knowledgebase/Surveillance/help/SurveillanceStation/smart_time_lapse Using Smart Time Lapse] which converts videos<br />
<br />
<br />
----<br />
Beveiligde documentopslag vanaf EUR 989,-*<br />
<br />
AES encryption beveiligt uw bestanden<br />
<br />
Snel geplaatst en ingericht naar uw wensen<br />
<br />
Data wordt op extra harde schijf gekopieerd voor het geval er een kapot gaat<br />
<br />
Mogelijkheid om versleutelde bestanden over internet te backuppen<br />
<br />
* inclusief hardware, 1TB opslag en implementatiekosten, excl. voorrijkosten en evt backups / netwerkinstellingen<br />
<br />
=Docker=<br />
Generally the workflow is:<br />
<br />
docker -> add image (from the registry or from a url, eg airsonic/airsonic) -> double click image to create a container -> edit the advanced settings (auto restart on, add volumes, network, etc) -> confirm -> run container -> monitor the container in the container part<br />
<br />
== volumes / permanence ==<br />
These are locations on the synology that can be mounted in the container.<br />
<br />
When installing docker a new main share: docker is created.<br />
<br />
Using add volume you can choose a volume - if it's internal stuff to the container (eg /var/log) you select (or create) the folder(s): /docker/containername/var/log and then use the mount path /var/log to mount that location within the container.<br />
<br />
In the docker cli instructions for an image this can be seen as the -v options<br />
<br />
So if you are trying to mount your music you would mount /music/ to /music - you need to look out for permissions! <br />
<br />
=== Permissions ===<br />
<br />
For music and video: DLNA in Media Server; <br />
<br />
GUID and GPID env variables <br />
<br />
advanced permissions are places to look if you can view the files in the container terminal but the application in the container can't see the files! (you can check for advanced permissions by allowing Everyone read access in the normal permissions and seeing if the application can find them then)<br />
<br />
file permissions also of the /docker/imagename/ directories<br />
<br />
Don't forget to check Apply this folder, sub-folders and files!<br />
<br />
== network port forwarding / connecting from outside the host==<br />
You have two options here:<br />
<br />
1. network=host: while starting (=creating) a container from an image, you can enable the checkbox "use same network as Docker Host" at the bottom in the "network" tab in additional settings. As a result you do not need to map any ports from dsm to the container, as dsms network interface is directly used. You need to take care of potential port collisions between dsm and the container of course.<br />
<br />
2. network=bridged: map ports from the Docker Host (DSM) to the container. You can not access the ip of the container directly, though, you can access the mapped port on the Docker host. The potential port collision bettween dsm and containers are here possible as well.. but they can be corrected easier since you can just change the Docher host port which needs to be still mapped to the same D<br />
ocker port.<br />
<br />
In both cases the port can be accessed via dsm:port, though for option 1) this is only true if you did not change the ip INSIDE the container, if you did it will be container-ip:port.<br />
<br />
[https://community.synology.com/enu/forum/17/post/102280 Connect to a docker container from outside the host (same network)]<br />
<br />
'''So to have the external port be the same as the external port in bridged mode, edit the container and set the local port to be the same as the container port'''<br />
<br />
In the docker cli instructions for an image this can be seen as the -p options<br />
<br />
TODO: [https://mariushosting.com/synology-how-to-run-docker-containers-over-https/ How to run docker over https]<br />
<br />
== Environment ==<br />
Here you can add extra environment variables, eg TZ / GUID / PUID<br />
<br />
You can find your users PID and GID by sshing into the synology and typing<br />
<br />
id<br />
<br />
or<br />
<br />
id username<br />
<br />
The GUID and PUID are the IDs for which the container itself will run, not docker (which will run as root)<br />
<br />
== setting up a docker using cli arguments ==<br />
<br />
As an example [https://docs.linuxserver.io/images/docker-mstream Mstream] from linuxserver (you can find the image in the docker registry or add it using url linuxserver/mstream<br />
<br />
has docker cli<br />
<pre><br />
docker run -d \<br />
--name=mstream \<br />
-e PUID=1000 \<br />
-e PGID=1000 \<br />
-e TZ=Europe/London \<br />
-p 3000:3000 \<br />
-v /path/to/data:/config \<br />
-v /path/to/music:/music \<br />
--restart unless-stopped \<br />
lscr.io/linuxserver/mstream<br />
</pre><br />
<br />
So you have to fill in your own gid / pid / timezone in the Environment part of the container. You set the port to be both 3000 inside and outside in a bridged network connection. You select /docker/mstream/config to mount as /config and you select your music library on the synology to mount to /music. You ensure permissions are right and you should see the files in mstream.<br />
<br />
== Logging and troubleshooting == <br />
<br />
double clicking an container allows you to see the logs in a tab, which will help a lot. You can also access an active terminal in a tab on a running container<br />
<br />
= VPN Connections =<br />
<br />
[https://kb.synology.com/en-af/DSM/tutorial/How_connect_Synology_NAS_VPN_server How do I connect my Synology NAS to a VPN server?]<br />
<br />
Go to DSM Control Panel > Network > Network Interface.<br />
Click Create > Create VPN profile.<br />
Follow the instructions in this article to set up a VPN connection.<br />
<br />
If you select Use default gateway on remote network in the VPN profile you can only connect to the synology from the remote network, not from quickconnect [https://kb.synology.com/en-sg/DSM/tutorial/Cannot_connect_Synology_NAS_using_VPN_via_DDNS https://kb.synology.com/en-sg/DSM/tutorial/Cannot_connect_Synology_NAS_using_VPN_via_DDNS]. However if you do not select this you can not access the synology from the VPN IP.<br />
<br />
Notes:<br />
<br />
We recommend selecting L2TP as the VPN protocol if it is available from VPN service providers. OpenVPN profiles provided by certain VPN service providers may not be compatible with Synology NAS.<br />
When your Synology NAS is configured as an L2TP or OpenVPN client, you cannot configure it as a VPN server using the same protocol in VPN Server. PPTP does not have this limitation.<br />
<br />
[https://kb.synology.com/en-af/DSM/help/DSM/AdminCenter/connection_network_vpnclient?version=7 VPN Connection] Synology knowledge centre</div>Red