rt61pci and hostapd not starting

Andrzej Kosmala kosmal
Sun Jun 14 06:14:52 PDT 2009

Jouni Malinen pisze:
> On Fri, Jun 12, 2009 at 09:38:35PM +0200, Andrzej Kosmala wrote:
>> I'm using Debian Lenny, kernel-2.6.30 and hostapd from git.
>> After ./hostapd hostapd.config I've got:
>> ioctl[SIOCSIFFLAGS]: No such file or directory
>> nl80211 driver initialization failed.
> Do you get any more error messages with verbose debugging enabled (-dd
> on command line)?
>> In /var/log/kern.org I found:
>> Jun 12 20:54:28 router kernel: [87279.192559] rt61pci 0000:00:12.0: 
>> firmware: requesting rt2561s.bin
>> Jun 12 20:54:28 router kernel: [87279.214783] phy0 -> 
>> rt2x00lib_request_firmware: Error - Failed to request Firmware
I found.
Those firmware not needed to loading modules, but for starting hostapd.
So I underrstand no information about firmware in kernel sources.
But why modinfo shows:
license:        GPL
firmware:       rt2661.bin
firmware:       rt2561s.bin
firmware:       rt2561.bin
description:    Ralink RT61 PCI & PCMCIA Wireless LAN driver.
version:        2.3.0
author:         http://rt2x00.serialmonkey.com
srcversion:     B7793A13CBB6F51B33402A3
alias:          pci:v00001814d00000401sv*sd*bc*sc*i*
alias:          pci:v00001814d00000302sv*sd*bc*sc*i*
alias:          pci:v00001814d00000301sv*sd*bc*sc*i*
depends:        rt2x00lib,rt2x00pci,eeprom_93cx6,crc-itu-t
vermagic:       2.6.30 mod_unload modversions 686
parm:           nohwcrypt:Disable hardware encryption. (bool)

Information about firmware is nesesery in source of hostapd or kernel. 
Those files not exists in both sources.
In my debian lenny I copied them to /lib/firmware (as You said) and 
hostapd started. I don't now where is this place in different distributions.
Now I will try is hostapd work ok.
Thank you.

More information about the Hostap mailing list