nl80211 driver, failed to set country code

Luis R. Rodriguez lrodriguez
Mon Dec 22 07:39:35 PST 2008


On Mon, Dec 22, 2008 at 04:50:53AM -0800, Guillaume wrote:
> Hi,
> 
> I've installed libnl 1.1 and hostapd from git.
> I'm also using a pached kernel 2.6.27.10 and rt2x00 included driver.
> 
> I want to use hostapd with driver=nl80211.
> Everything compiled fine but when I start hostapd I have the following
> errors :
> 
> # hostapd -dd /etc/hostapd.conf
> Configuration file: /etc/hostapd.conf
> ctrl_interface_group=0
> Opening raw packet socket for ifindex 1633878026
> BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)
> Failed to set country code

nl80211 is present on 2.6.27 but setting country isn't. For that you will
need at least 2.6.28 and install CRDA:

http://wireless.kernel.org/en/developers/Regulatory/CRDA

  Luis



More information about the Hostap mailing list