To enable Master mode in ath5k, do the following:
Make sure you are running kernel 2.6.29 or higher. If not, you need to get the latest patches for ath5k.
Install hostapd. It is available in Ubuntu repositories.
Create a config file for hostapd. A simple one is:
- Now you can start hostapd to put the card in master mode: