i have successfully made an access point with a broadcom card...
*allow-ap-vlan-modes.patch from http//johannes.sipsolutions.net/patche ... ll/LATEST/
*libnl-1.1-r1 from gentoo compiled against the patched 2.6.26-rc4 kernel
*git version of hostapd-0.6.3
but with my rt2500 i see hostapd loading the configuration file then the computer freeze...
the kernel 2.6.26 has just been released
and so i went on kernelnewbies to see the changelog and there was the following line
rt2x00 Add per-interface structure (commit), enable master and adhoc mode again (commit), enable LED class support for rt2500usb/rt73usb (commit)
so i downloaded the kenrel...patched it with the allow-ap-vlan-modes.patch and compiled it
i recompiled libnl against the new kernel
and hostapd worked!!!
Since I saw success stories like this one I decided to give it a try, but I experience almost instant kernel freeze as soon as I fire up hostapd. At one point the machine was alive around 3 seconds after firing up hostapd, but then died.
I have tried both with stable 2.6.26 with the allow-ap-mode patch and rt2x00.git but both variants exhibit the same freezing symptom. I use hostapd.git and libnl.git. No oops info is produced which I guess suggest some serious problem in the kernel. The only thing I can think of that differs between my setup and those having success is that I run a 64-bit system and kernel.
[codek9867ky5][martin@kungen ~]$ uname -a
Linux host.domain.name 2.6.26-wl-amd64_fatbob #1 SMP Sun Jul 20 16:20:21 CEST 2008 x86_64 x86_64 x86_64 GNU/Linux
[codek9867ky5]05:07.0 Network controller: RaLink RT2561/RT61 802.11g PCI
Subsystem: RaLink EW-7108PCg
Flags: bus master, slow devsel, latency 32, IRQ 17
Memory at d5000000 (32-bit, non-prefetchable) [size=32K]
Capabilities:  Power Management version 2
Same for me, but I've got it running 2 times from many attempts in which computer freeze. Once with 2.6.26 kernel, after that only freeze. Then I tried kernel from git, a couple of kernel freeze after what it simply runs fine for a couple of hours, afterward the same freeze.
Anyway my computer freeze if I do following commands
[code147m8wnt] ifconfig eth0 down on wired interface
ifconfig wlan0 down[/code147m8wnt]
if I remove rt61pci module from kernel, ifconfig eth0 down does not freeze computer. Same speculations for me
[code147m8wnt]01:07.0 Network controller: RaLink RT2561/RT61 802.11g PCI
Linux Alex 2.6.26-wl #4 SMP Mon Jul 21 12:20:14 EEST 2008 x86_64 GNU/Linux
As you see I also run the x86_64 version of kernel.