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 ?

  • I am having the same problem with my MacBook Pro Santa Rose
    – Natim
    Dec 6, 2009 at 7:26

1 Answer 1


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

  • Thanks after a little restart and thinking it works fine ;)
    – Mulot
    Dec 6, 2009 at 7:26
  • How should I install it ?
    – Natim
    Dec 6, 2009 at 7:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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