====== Synology ======

  * Nas is a 213j with 512 megs of ram
  * [[https://www.synology.com/en-us/compatibility?search_by=products&model=DS213j&category=hdds_no_ssd_trim&p=1&change_log_p=1|Compatible Hard Drives]]
  * [[https://kb.synology.com/en-global/DSM/help/DSM/StorageManager/storage_pool_expand_replace_disk?version=6|How to upgrade]]

===== 2025-07-03 =====

  * cron jobs are set in the Task Scheduler in the Control Panel.
  * they start in /usr/syno/synoman/webapi, so it is necessary to cd to synshare/software/cron where the .sh files live.
  * usb ports are for adding more HDDs, __not__ connectivity.

===== 2025-01-16 =====
  * idrive stopped working after upgrade to DSM 7.
  * solution was to manually configure DNS to 8.8.8.8 and 8.8.4.4



===== 2024-11-10 =====
  * cron jobs are in synshare/software/cron.cron is a hidden folder. use ssh.
  * do not have to restart cron or the device to update the cron demon
  * use full path in scripts

===== 2019-12-24 =====

  * https://ertnog.us6.quickconnect.to/

===== 2019-08-30 =====

  * website root is /volume1/synshare/web/macqueen.us
===== 2019-06-02 =====

  * Apache was running but got no access. 
  * Got a certificate database is corrupt and has been reset to default state message. 
  * All certificates looked ok.
  * Finally, in Control Panel, set TLS/SSL Profile Level to Old backward compatibility
  * Website now ok.
 
  * install dns server on synology
  * follow these directions: http://forum.synology.com/enu/viewtopic.php?f=3&t=65154
  * create a virtual server on synology on folder test that looks at test.local.lan.
  * test.local.lan is set up in dns server
  * creating a virtual dokuwiki did Not work, so did ln -s dokuwiki test
  * modified netgear dns settings to look at synology 192.168.0.17 first then at openDns 208.67.222.222
  * [[DVBLogic | DVBLogic]]

2014-12-25 Not sure just wtf ^^^^^^^^^ this is about
  * website root is /var/services/web/macqueen.us
  * dokuwiki data is in something like this: /var/services/web/macqueen.us/test/data/pages/synology.txt
  * synshare (via winscp) is in /volume1/synshare/
  * /volume1/synshare/dataForWeb has rainbow pics, etc.
  * to move stuff, cd to directory under /var/services/web/macqueen.us, then do sudo mv /volume1/synshare/dataForWeb/filename ,

  * Nas is a 213j with 512 megs of ram
  * Will do Ftp

==== Pasword Protecting Pages ====

  * Create an .htaccess file like this
  * Put it in the directory where your index.html pages lives.
  * Create it in Synology/Linux or else convert Window cr/lfs.
<code>
AuthUserFile /volume1/synshare/web/macqueen.us/dmm/.htpasswd
AuthName "Please enter username and password. User is first dog. Password is second dog."
AuthType Basic
Require valid-user
</code>
In your server root directory (/volume1/synshare/web/) create an .htpasswd file like this:
<code>
htpasswd -c .htpasswd donald
</code>
