Changes

From Amahi Wiki
Jump to: navigation, search
Added how to transplant an existing HDA to the MediaSmart server
===Installing Amahi===
1. Move the hard drive to the MediaSmart server's slot 1, turn on the server.
2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address.
Here I will present how I transplanted my current Amahi server from a PC to the MediaSmart server.
===Preparing the HDA===
1. Disconnect all drives. If you are using Greyhole, check out the [[Reconnect existing Greyhole storage pool]] page. This will allow you to disconnect the data drives, and only risk the OS drive.
2. Change the interfaces file to reflect eth1, not eth0: {{Code|sudo nano /etc/network/interfaces}}  auto eth1 iface eth1 inet dhcp 3. Save using ctrl+x, and hitting "y" to confirm 4. Note the hardware address of the network card: {{Code|ifconfig}} 5. Shutdown the server: {{Code|sudo shutdown now -h}} ===Moving the Hardrive===1. Move the OS hardrive to the MediaSmart server, slot 1. Turn on the MediaSmart server. 2. Check your router for the server's IP address, use [[Key-based SSH Logins With Putty|Putty]] to SSH into that IP address. 3. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and delete that whole line. Change the remaining hardware address to come up as eth0 (I will update it is currently eth1 at the steps here once I actually did end of the procedureline). {{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=="eth1" So above, we would delete 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. {{Code|sudo nano /etc/network/interfaces}} 5. Finally, reboot your HDA: {{Code|sudo reboot now -h}} ===Reconnect the Storage Drives===Plug the remaining data drives into the MediaSmart server. If you have Greyhole and are having trouble, check out the [[Reconnect existing Greyhole storage pool]] page. Otherwise, the [[Adding a second hard drive to your HDA]] page may be of service.)
110

edits