2009-01-25 01:07:30

by Valentin

[permalink] [raw]
Subject: Fw: [linux-wireless] Re: p54 + ISL3887 + master mode?

> On Sat, 24 Jan 2009 16:51:25 +0100
> Artur Skawina <[email protected]> wrote:
>
> > > you probably want a kernel w/ at least this
> > > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e5ea92a7528d304e8e327d0d261653e98b163e8a
> > > hence 2.6.29+ or even newer to get the other p54 fixes.
> >
> > meant 2.6.28+, of course.
>
> Right, I'm going to try that. Thanks :)

That did help, thanks :) But it's not working completely yet:

When I start hostapd, it create a mon.wlan# interface and sets wlan#
into master mode, but other boxes don't see the network. Here's
hostapd's output:

Configuration file: .conf
ctrl_interface_group=0
Opening raw packet socket for ifindex 209
BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
nl80211: Added 802.11b mode based on 802.11g information
Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=27 dBm
...
Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=27 dBm
RATE[0] rate=10 flags=0x6
RATE[1] rate=20 flags=0x6
RATE[2] rate=55 flags=0x4
RATE[3] rate=110 flags=0x4
Passive scanning not supported
Flushing old station entries
Deauthenticate all stations
Using interface wlan1 with hwaddr ... and ssid '...'
SSID - hexdump_ascii(len=6):
...
PSK (ASCII passphrase) - hexdump_ascii(len=13):
...
PSK (from passphrase) - hexdump(len=32): ...
WPA: group state machine entering state GTK_INIT (VLAN-ID 0)
GMK - hexdump(len=32): [REMOVED]
GTK - hexdump(len=32): [REMOVED]
WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
Failed to set beacon head/tail
wlan1: Setup of interface done.

The only interesting part here seems to be "Failed to set beacon
head/tail", but I can't find anything helpful about that on google.

This is my hostapd config:

interface=wlan1
driver=nl80211
logger_syslog=-1
logger_syslog_level=1
logger_stdout=-1
logger_stdout_level=0
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
auth_algs=3
ssid=...
wpa=2
wpa_passphrase=...
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP


Any new ideas? Sorry if my questions are stupid...

--Valentin


Attachments:
signature.asc (197.00 B)

2009-01-25 14:46:34

by Valentin

[permalink] [raw]
Subject: Re: [linux-wireless] Re: p54 + ISL3887 + master mode?

On Sun, 25 Jan 2009 11:44:03 +0100
Artur Skawina <[email protected]> wrote:

> Two things:
>
> You may need a recent hostapd.
hostapd is already from git, that shouldn't be the problem.
>
> 2.6.28 doesn't have a lot of fixes to p54, which are only in the
> wireless-testing tree right now, so you may want to try that, or
> wait until ~2.6.30, i guess.
Right now I'm using .29-rc2, but I'm gonna try getting that.
>
> fwiw i have a net2280 based p54usb device, that one works using
> hostap from git and current wireless-testing kernels.
>
> artur
>

Thanks,

--Valentin


Attachments:
signature.asc (197.00 B)

2009-01-25 10:44:07

by Artur Skawina

[permalink] [raw]
Subject: Re: Fw: [linux-wireless] Re: p54 + ISL3887 + master mode?

Valentin wrote:
>>>> you probably want a kernel w/ at least this
>>>> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e5ea92a7528d304e8e327d0d261653e98b163e8a
>>>> hence 2.6.29+ or even newer to get the other p54 fixes.
>>> meant 2.6.28+, of course.

> That did help, thanks :) But it's not working completely yet:
> Any new ideas? Sorry if my questions are stupid...

Two things:

You may need a recent hostapd.

2.6.28 doesn't have a lot of fixes to p54, which are only in the
wireless-testing tree right now, so you may want to try that, or
wait until ~2.6.30, i guess.

fwiw i have a net2280 based p54usb device, that one works using
hostap from git and current wireless-testing kernels.

artur