Changes

From Amahi Wiki
Jump to: navigation, search
no edit summary
heading =WARNING|
message = '''NOTE:''' This Ubuntu-based systems ONLY. Guidance may not work for Amahi 7 or other Fedora-based releases.}}
{{NeedsUpdate}}
----
4. Install an ssh server:
{{Code| sudo apt-get install openssh-server}}
5. Verify that the SSH is working by connecting with [[Key-based SSH Logins With Putty|Putty]]. If the SSH is not enabled, enable it:
{{Code| sudo update-rc.d ssh defaults}}
6. Change the interfaces file to reflect eth1, not eth0:
{{Code| sudo nano /etc/network/interfaces}}
auto eth1
8. Note the hardware address of the network card:
{{Code| ifconfig}}
9. Shutdown the PC:
{{Code| sudo shutdown now -h}}
===Installing Amahi===
1. After rebooting and SSHing into the server, [[Binding Network Devices|change the network card to eth0]] from our previous eth1. 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 (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"
2. Change all eth1's to eth0's in the interfaces file. Ctrl+x and y to save.
{{Code| sudo nano /etc/network/interfaces}}
3. Finally, reboot your HDA:
{{Code| sudo reboot now -h}}
You should now be able to access your HDA as a share and as the http://hda link. You can [[Install VNC server on Ubuntu Server 12.04|install a VNC server]] to connect to the HDA using a graphical interface.
1. Change the interfaces file to reflect eth1, not eth0:
{{Code| sudo nano /etc/network/interfaces}}
auto eth1
3. Note the hardware address of the network card:
{{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===
3. After opening the 70-persistent-net.rules file below, look for the PC network card hardware address and 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"
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}}
====Troubleshooting====
Check what eth1's HWaddr is set to. Copy this information.
{{Code| ifconfig C}}
​Edit the 70-persistent-net.rules file:
{{Code| sudo nano /etc/udev/rules.d/70-persistent-net.rules​}}
Comment out the line with the mac address that was copied down in the previous step, and add the following line (repacing "55:55:55:55:55:55" with the MediaSmart server's address):
12,424

edits