Main Page | Recent changes | Edit this page | Page history

Printable version | Disclaimers | Privacy policy

Not logged in
Log in | Help

AP-mode Howto

From Rt2x00Wiki

This is a short guide to setting up AP-mode on rt2x00 chips. Note that this will not work with Ralink's USB chips because we don't know how to get status messages (ACK/FAIL) for sent packets.

This howto is not aimed for beginners.


Installing needed software

First install the stuff you need (may be incomplete, package names are from a debian/ubuntu based system)


Hostapd is a userspace daemon that handles the configuration, association etc for WLAN Access Points.

Get the latest version of hostapd

Check that a hostapd binary was created in that directory. It will be used in the final step.

edit hostapd.conf

For wpa you also need to change some wpa settings. Here are some examples of settings to change/uncomment:

* wpa=2
* wpa_passphrase=somepassword
* wpa_pairwise=TKIP CCMP

Configure dhcpd to hand out ip addresses

edit /etc/dhcp3/dhcpd.conf to hand out suitable ip addresses. For testing you can for example find the part which corresponds to the one below and uncomment three of the lines.

subnet netmask {
#  option routers,;

Final steps

Note, this will not get your clients (machines connecting to your AP) a connection to the internet. After these steps the ap should be visible, clients should be able to connect to it and once connected clients can ping your AP and ssh in to it. Routing the traffic from the AP to eth0 is not configured by the steps above. Feel free to add it if you want.

Retrieved from ""

This page has been accessed 45,246 times. This page was last modified 12:37, 20 September 2008 by Mikko Virkkilä. Content is available under GNU Free Documentation License 1.2.

[Main Page]
Main Page
Community portal
Current events
Recent changes
Random page

Edit this page
Discuss this page
Page history
What links here
Related changes

Special pages
Bug reports