Search Linux Wireless

Re: which hostapd version for which wireless driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2007-08-27 at 23:38 +0100, Jochen Voss wrote:
> Hello,
> 
> I am trying to get hostapd up and running on my Soekris net4521 board,
> until now without much success.  One of the problems might be that I
> am completely at a loss which version of hostapd is supposed to work
> together with which driver.
> 
> Any help about which combinations of hostapd and device driver have at
> least a chance of working together would be more than welcome.

Both git trees (wireless-dev and hostapd) work fine together :)

> *** LinkSys WRT54GL (broadcom 4318) ***
> 
> I tried the following drivers:
> 
> 1) CONFIG_B43 in current wireless-dev

That's the one you want.

> 2) CONFIG_BCM43XX in current wireless-dev
> 3) CONFIG_BCM43XX in 2.6.23-rc3
> 4) CONFIG_BCM43XX in 2.6.22.5

No chance of getting these working.

> I can succesfully use wpa_supplicant with this card, e.g. with driver
> 1) above, but there are some error messages.  On the console:
> 
>     ioctl[SIOCSIWAUTH]: Operation not supported
>     WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not supported
>     WEXT auth param 5 value 0x1 - Internet Systems Consortium DHCP Client V3.0.4
>     Copyright 2004-2006 Internet Systems Consortium.
>     All rights reserved.
>     For info, please visit http://www.isc.org/sw/dhcp/

That's expected, ignore it.

>     pccard: CardBus card inserted into slot 1
>     PCI: Enabling device 0000:05:00.0 (0000 -> 0002)
>     PCI: Setting latency timer of device 0000:05:00.0 to 64
>     b43-phy7: Broadcom 4318 WLAN found
>     wmaster0: Selected rate control algorithm 'simple'
>     ssb: Sonics Silicon Backplane found on PCI device 0000:05:00.0
>     b43-phy7 ERROR: bbatt(11) >= size of LO array

Also known and can be ignored.

> *** Netgear WG511 (prism54) ***
> 
> I tried the following drivers:
> 
> 5) CONFIG_P54_PCI in the latest wireless-dev

I don't think that supports AP mode.

> 6) PRISM54 in the lates wireless-dev
> 7) PRISM54 in 2.6.23-rc3
> 8) PRISM54 in 2.6.22.5

Nor do those, HOSTAP driver is the one you'd want here, along with the
hostap hostapd driver.

> Example: combination 1c (CONFIG_B43 in wireless-dev, current
> http://w1.fi/hostap.git) gives
> 
>     root@funk [~] iwconfig wlan1 mode master
>     root@funk [~] iwconfig wlan1 essid "SR20"
>     root@funk [~] iwconfig wlan1 channel 6
>     root@funk [~] iwconfig wlan1 rate 11M
>     root@funk [~] ifconfig wlan1 up

Don't do any of that, hostapd configures everything.

>     root@funk [~] ifconfig wlan1 192.168.2.1

Do that after starting hostapd while the interface was down.

>     root@funk [~] hostapd /etc/hostapd.conf
>     Configuration file: /etc/hostapd.conf
>     Opening raw packet socket for ifindex 15
>     BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)
>     Hardware does not support configured mode
>     wlan1: IEEE 802.11 Hardware does not support configured mode (2)
>     Could not select hw_mode and channel. (-1)
>     rmdir[ctrl_interface]: No such file or directory

You need to start hostapd while the interface is down ("ip link set
wlan1 down").

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux