Difference between revisions of "ETH1"

From Amahi Wiki
Jump to: navigation, search
 
(5 intermediate revisions by the same user 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 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.
 
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, ...).