Difference between revisions of "How to use two HDAs on the same network"
From Amahi Wiki
Line 4: | Line 4: | ||
You'll need to run the commands below on both your HDAs.<br/> | You'll need to run the commands below on both your HDAs.<br/> | ||
+ | |||
+ | You'll need to edit named.patch before executing the patch command:<br/> | ||
On your main HDA: replace home.com with your second HDA domain name, and 192.168.1.10 with your second HDA real IP address.<br/> | On your main HDA: replace home.com with your second HDA domain name, and 192.168.1.10 with your second HDA real IP address.<br/> | ||
On your second HDA: replace home.com with your main HDA domain name, and 192.168.1.10 with you HDA real IP address.<br/> | On your second HDA: replace home.com with your main HDA domain name, and 192.168.1.10 with you HDA real IP address.<br/> | ||
− | + | wget -O named.patch http://wiki.amahi.org/images/c/ca/Named.patch | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
patch -p0 < named.patch | patch -p0 < named.patch | ||
service hdactl restart | service hdactl restart |
Revision as of 12:14, 3 August 2010
Make sure both HDA use different domain names.
You'll need to re-apply this fix on every update of hdactl.
You'll need to run the commands below on both your HDAs.
You'll need to edit named.patch before executing the patch command:
On your main HDA: replace home.com with your second HDA domain name, and 192.168.1.10 with your second HDA real IP address.
On your second HDA: replace home.com with your main HDA domain name, and 192.168.1.10 with you HDA real IP address.
wget -O named.patch http://wiki.amahi.org/images/c/ca/Named.patch patch -p0 < named.patch service hdactl restart