Amahi over wlan0

From Amahi Wiki
Jump to: navigation, search
Msgbox.update.png Update Needed
The contents of this page have become outdated or irrelevant. Please consider updating it.

Warning.png WARNING
This guidance was contributed for Fedora 14 ONLY! It will likely not work on any other Amahi version. Proceed at your own risk as we cannot provide any support

It is not recommended to run an Amahi server over a wireless network connection. Quick response times are important when all the computers on a network are relying on your server for DNS queries and other functions, and wireless connections are not known for their reliability and optimal connection speeds. Many aspects of Amahi are not tested to run exclusively wireless.

If you would still like to experiment with running your server over a wireless connection, open a terminal as root and try the following steps once your HDA is installed.

Note: This assumes your wireless device is already working in Fedora. Make sure you can connect to your wireless network before you move on to installing Amahi, as it disables wireless networking during that process. For some devices, you may need to find special drivers or do other troubleshooting.

1. Make a backup copy of /etc/sysconfig/network-scripts/ifcfg-eth0 and /etc/sysconfig/network-scripts/ifcfg-wlan0 in your home folder in case you'd like to return to Amahi defaults later.

2. Change a couple of config files so that Amahi knows what you're up to.

Edit the file /usr/bin/hdactl and change the line

 my $device = "eth0"


 my $device = "wlan0"

If you're going to use VPN at all, you should also edit /etc/openvpn/openvpn-startup and change the line that includes

 -o eth0


 -o wlan0

3. Your wireless device is likely disabled for reliability reasons when Amahi is installed. Let's turn wlan0 on and eth0 off by default:

Edit your /etc/sysconfig/network-scripts/ifcfg-eth0 file to read:


(it will say ONBOOT=yes by default.)

Edit your /etc/sysconfig/network-scripts/ifcfg-wlan0 file to read:


(it will say ONBOOT=no by default.)

4. Set up the appropriate settings in /etc/sysconfig/network-scripts/ifcfg-wlan0

You will probably want to copy the following lines over from the /etc/sysconfig/network-scripts/ifcfg-wlan0 file:


5. You likely need to configure a password to sign on to your wireless network - unless you are a serious exhibitionist and don't protect your network.

Edit /etc/wpa_supplicant/wpa_supplicant.conf to make sure the following is in it with your appropriate details:


key_mgmt=WPA-PSK psk="mypassword"


Edit /etc/sysconfig/wpa_supplicant to make sure that the lines




have been changed to the appropriate settings for your wireless card. The above lines will likely work unless you need special drivers.

To make these settings stick, go back to the command line and enter

 service wpa_supplicant restart


 chkconfig wpa_supplicant on

6. Restart your network services.


 service network restart

Hopefully at this point you see a list of lines ending with [ OK ] and you can access web pages and other servers over your wireless connection.

If you are getting a [ FAIL ] result when interface wlan0 restarts, you may need to back up a few steps and work out how to connect to your wireless network using DHCP instead of static or without encryption enabled and then start working forward from there. Most of the steps on this page were worked out from one great resource, so it might be where you should start looking if you have further complications or need to start configuring at a more elementary level: