Added Synology firewall information, added sudo -i (#955)

* Added Synology firewall information, added sudo -i

Added tutorial for setting up Synology firewall.
Added information on how to use root user in new Synology software. (source: https://community.home-assistant.io/t/error-starting-home-assistant-on-synology-for-first-time/917/4)

* Update installation-synology.markdown
This commit is contained in:
Wouter 2016-09-25 18:24:44 +02:00 committed by Paulus Schoutsen
parent b74486be74
commit eb74ad5429

View File

@ -23,6 +23,14 @@ Using the Synology webadmin:
SSH onto your synology & login as admin or root SSH onto your synology & login as admin or root
- Log in with your own administrator account
- Switch to root using:
```bash
$ sudo -i
```
Check the path to python3 (assumed to be /volume1/@appstore/py3k/usr/local/bin) Check the path to python3 (assumed to be /volume1/@appstore/py3k/usr/local/bin)
```bash ```bash
@ -175,6 +183,19 @@ Make the daemon file executable:
$ chmod 777 /volume1/homeassistant/hass-daemon $ chmod 777 /volume1/homeassistant/hass-daemon
``` ```
Update your firewall (if it is turned on on the Synology device):
- Go to your Synology control panel
- Go to security
- Go to firewall
- Go to Edit Rules
- Click Create
- Select Custom: Destination port "TCP"
- Type "8123" in port
- Click on OK
- Click on OK again
Copy your configuration.yaml file into the config folder Copy your configuration.yaml file into the config folder
That's it... you're all set to go That's it... you're all set to go