Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In this page, they says that we can use the AP mode with the ath5k driver since linux 2.6.31

I am using Ubuntu Karmic with : linux 2.6.31-16-generic

I would like to share my eth0 WAN connection creating a wlan0 LAN. Browsing on the Internet, I saw that we can use hostapd to do that.

The main problem is this command :

$ sudo iwconfig wlan0 mode master
Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan0 ; Invalid argument.

How can I make my AP mode working with Karmic ?

share|improve this question
I am having the same problem with my MacBook Pro Santa Rose – Natim Dec 6 '09 at 7:26
up vote 0 down vote accepted

HostAP is quite particular about the combination of cards and drivers that it can support. Have you tried it with the madwifi drivers instead?

share|improve this answer
Thanks after a little restart and thinking it works fine ;) – Mulot Dec 6 '09 at 7:26
How should I install it ? – Natim Dec 6 '09 at 7:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.