Madwifi Wireless Access Point

You can use madwifi to create a wireless access point. This article explains how.

Installation
Configure your kernel as follows.

Or if you prefer here is what your .config should look like.

You will need several packages: Atheros wireless drivers:

hostapd is required to run a WAP:

Services for your WAP (DHCP and DNS):

Make sure bind is listening on 192.168.0.1 and 192.168.1.1. If you are doing ethernet bridging then Bind only needs to be listening on 192.168.0.1

Optional: If you want to do ethernet bridging:

Ethernet Setup
This article assumes you have eth0 connecting to the Internet, eth1 is a wired subnet and ath0 is a wireless subnet.

Optional:

Load module:

Edit the following files:

There are two possible configurations that can occur here depending whether or not you want to do Ethernet bridging. Ethernet bridging allows you to combine your wired subnet and wireless subnet together into one subnet so you can copy files, stream video or music between a wired and wireless system and see all your computers in "My Network Place".

Without Ethernet Bridging
Edit the following files as shown...

With Ethernet Bridging
Edit the following files as shown...

Configuration of Hostapd
I will make this simple, here is a configuration that just works for hostapd-0.4.9 and hostapd-0.5.10 (well it did for me anyways)

Services
Configure your startup scripts

Optional:

Here are some iptables rules you might use when doing Ethernet bridging

That's it. Just reboot and you should be all set.

Troubleshooting
Sometimes hostapd does not look for the right device, such as looking for wlan0 when you have ath0. Besides from setting things appropriately in, you will also have to edit

Point d'accès Wifi avec Madwifi