- create a user on Synology nas: pinas
- On raspberry mkdir a directory: NAS2
sudo mount -t cifs //192.168.178.25/home /home/pi/NAS2 -o user=pinas,pass=xxxx,uid=1000,gid=1000,dir_mode=0700,file_mode=0600,vers=1.0
or add to /etc/fstab:
//192.168.178.25/home /home/pi/NAS2 cifs user=pinas,pass=xxxx,uid=1000,gid=1000
,dir_mode=0700,file_mode=0600,nounix,vers=1.0 0 0
Solved problem with DYNDNS, links and pictures:
As others did, I got the problem that WordPress worked well inside the lan, but was not reachable from the outside world. Second problem was that the pictures where not showing up. Here are the instructions to fix that.
- Be sure that your NAS can be reached from the internet and your web station is up and running.
- Get mySQL up and running.
- Install phpMyAdmin
- Install WordPress
- As I couldn’t change URL (to eiseler.synology.me) in the WordPress settings, I followed: how to change url directly in he database
- As I found out, this doesn’t change the internal links to pictures and media. Install Update URLs and change the URLs from internal ips to dyndns.
- When adding new pictures I change the “Link URL” when adding them
(Keywords: Problem with synology NAS, wordpress, dyndns, links and pictures from internet)