Changes

From Amahi Wiki
Jump to: navigation, search
→‎Transplanting an existing Amahi server: Added details after I followed through the steps on my own server
{{Code|ifconfig}}
4. Note the IP address of your HDA. This can typically be found by connecting to the router and seeing what IP is assigned, or checking your [https://www.amahi.org/users Amahi Control Panel]. 5. Shutdown the server:
{{Code|sudo shutdown now -h}}
===Moving the Hardrive===
1. Move the OS hardrive to the MediaSmart server, slot 1. If you are using Greyhole, ''make sure to move the rest of your data drives'' as well. Plug them in to , and plug these into any slot, except for other than slot 1. Turn on the MediaSmart server.
2. Check your router for the server's IP address, use Use [[Key-based SSH Logins With Putty|Putty]] to SSH into that the previously noted IP address.
3. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete comment out that whole line. Do not delete incase the server needs to be put back into the old case. Change the remaining hardware address to come up as eth0 (it is currently eth1 at the end of the line).
{{Code|sudo nano /etc/udev/rules.d/70-persistent-net.rules}}
# SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1d:60:b5:43:66", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="5c:d9:98:af:21:43", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth1eth0"
So above, we would delete commented out the first line and change "eth1" to "eth0" on the second line. The reason is that Amahi is configured by default to recognize eth0, so all apps would go to that. However our eth0 was taken by the host-PC's network card. Again, ctrl+x and y to save.
4. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.
110

edits