[ubuntu] How to make an Intel 5300 run in AP mode?

view full story

http://ubuntuforums.org – Hi, I've got an Intel 5300 card, and I want to run it in AP mode. I tried directly the iwconfig to set it to master mode, but it doesn's work. Error for wireless request "Set Mode" (8B06) : SET failed on device wlan0 ; Invalid argument. I also tried to use hostapd, but it seems that it's not the same as run an Atheros card. in the hostapd conf file, I set driver=iwlwifi , which I found from lspci -v. However, i got an error again. hostapd -d /etc/hostapd/hostapd_new.conf Configuration file: /etc/hostapd/hostapd_new.conf Line 3: invalid/unknown driver 'iwlwifi' 1 errors (Hardware)