Difference between revisions of "ETH1"

From Amahi Wiki
Jump to: navigation, search
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
How to run an HDA with eth1
+
{{MessageBox|backgroundcolor = #FBB|
 +
image =Warning.png|
 +
heading =WARNING|
 +
message = This should only be attempted by advanced users. It may not work 100% of the time on all apps.}}
  
* Change /usr/bin/hdactl (near the top, search for eth0)
+
Amahi runs best with eth0, since it's the default option. Running with eth1 may not work for all apps, etc.
  
 +
However, here is how to run an HDA with eth1
 +
 +
* Edit /etc/hdactl.conf and set DEVICE=eth1
 
* Change /etc/openvpn/openvpn-startup (line 5)
 
* Change /etc/openvpn/openvpn-startup (line 5)
  
if you install ushare:
+
If you install an app like ushare:
 +
 
 
* Change /var/hda/apps/ushare/ushare.conf (line 13)
 
* Change /var/hda/apps/ushare/ushare.conf (line 13)
  
if you install darkstat:
+
If you install darkstat:
 +
 
 
* Change amahi-darkstat.initscript
 
* Change amahi-darkstat.initscript
  
Note: if you try to disable eth0 after configuring hdactl for eth1 restarting the network service will fail. This is because udev will map the new eth0 to eth1. you must change /etc/udev/rules.d/70-persistent-net.rules by commenting out the old eth0 line, and changing eth1 to eth0 in the second. Also  /etc/sysconfig/network-scripts/ifcfg-eth1 might need to be commented out/removed
+
Note that any change to /usr/bin/hdactl will be removed each time the hdactl RPM package is updated (when Amahi is updated), which means you'll need to re-do the above edit each time Amahi is updated.
 +
 
 +
For advanced users, you can have more complex [[Network customizations]].
 +
 
 +
You can also try [[Binding Network Devices|changing the bindings]] from your devices to the network names (eth0, eth1, wlan0, ...).

Latest revision as of 20:24, 15 September 2012

Warning.png WARNING
This should only be attempted by advanced users. It may not work 100% of the time on all apps.



Amahi runs best with eth0, since it's the default option. Running with eth1 may not work for all apps, etc.

However, here is how to run an HDA with eth1

  • Edit /etc/hdactl.conf and set DEVICE=eth1
  • Change /etc/openvpn/openvpn-startup (line 5)

If you install an app like ushare:

  • Change /var/hda/apps/ushare/ushare.conf (line 13)

If you install darkstat:

  • Change amahi-darkstat.initscript

Note that any change to /usr/bin/hdactl will be removed each time the hdactl RPM package is updated (when Amahi is updated), which means you'll need to re-do the above edit each time Amahi is updated.

For advanced users, you can have more complex Network customizations.

You can also try changing the bindings from your devices to the network names (eth0, eth1, wlan0, ...).