From: Karl Hiramoto <karl@hiramoto.org>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] ath9kl multiple ssid AP
Date: Fri, 03 Apr 2009 10:44:57 +0200 [thread overview]
Message-ID: <49D5CC89.4000104@hiramoto.org> (raw)
In-Reply-To: <1238691478.30212.8.camel@jm-desktop>
Jouni Malinen wrote:
> On Thu, 2009-04-02 at 07:34 -0700, Karl Hiramoto wrote:
>
>> Thanks for the info. I got it to work with an open AP. WPA is not
>> working though. There is a hostapd error "Invalid pairwise cipher (0)"
>> for a very simple config that worked for me before with one AP, and
>> hostapd 0.6.8
>>
>
> Looks like you found a multi-BSS combination that was not being
> configured correctly in hostapd. You might be able to work around this
> particular configuration by adding rsn_pairwise=TKIP, but anyway, a fix
> for this is now available in hostap.git.
>
>
Thanks a git pull and it worked. I think i found another problem
though when one ssid is WPA and the other is "Open", or when the PSK is
diferent
Cases i tested:
1. Both ssid Open. everything works.
2. essid1=WPA esid2 = open. Everything works in essid1. Windows
XP SP2 client can connect to essid2 but no traffic, only sends EAPOL
packet.
config
interface=wlan0
bridge=br0
driver=nl80211
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
hw_mode=g
channel=6
beacon_int=100
dtim_period=2
max_num_sta=255
rts_threshold=2347
fragm_threshold=2346
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
own_ip_addr=127.0.0.1
wpa=3
wpa_passphrase=hiramoto
wpa_pairwise=TKIP
rsn_pairwise=TKIP
bss=wlan0_1
ssid=test2
auth_algs=1
wpa=0
log messages:
MGMT (TX callback)
ACK
mgmt::proberesp
cb
unknown vendor specific information element ignored (vendor OUI 00:10:18
len=9)
unknown vendor specific information element ignored (vendor OUI 00:10:18
len=9)
STA 00:90:4b:69:0f:55 sent probe request for our
SSID
MGMT (TX callback)
ACK
mgmt::proberesp
cb
MGMT
mgmt::auth
authentication: STA=00:90:4b:69:0f:55 auth_alg=0 auth_transaction=1
status_code=0 wep=0
New
STA
authentication reply: STA=00:90:4b:69:0f:55 auth_alg=0
auth_transaction=2 resp=0 (IE len=0)
MGMT
mgmt::assoc_req
association request: STA=00:90:4b:69:0f:55 capab_info=0x421
listen_interphy0: Allocated STA 00:90:4b:69:0f:55
val=10
unknown vendor specific information element ignored (venphy0: Inserted
STA 00:90:4b:69:0f:55
dor OUI 00:40:96
len=6)
unknown vendor specific information element ignored (vendor OUI 00:10:18
len=9)
new AID
1
MGMT
mgmphy0: Allocated STA
00:90:4b:69:0f:55
t::assoc_req
association request: STA=00:90:4b:69:0f:55 capab_iphy0: Destroyed STA
00:90:4b:69:0f:55
nfo=0x421
listen_interval=10
unknown vendor specific information element ignored (vendor OUI 00:40:96
len=6)
unknown vendor specific information element ignored (vendor OUI 00:10:18
len=9)
old AID
1
MGMT (TX callback)
ACK
mgmt::auth
cb
wlan0_1: STA 00:90:4b:69:0f:55 IEEE 802.11:
authenticated
MGMT (TX callback)
ACK
mgmt::assoc_resp
cb
wlan0_1: STA 00:90:4b:69:0f:55 IEEE 802.11: associated (aid
1)
wlan0_1: STA 00:90:4b:69:0f:55 RADIUS: starting accounting session
4wlan0: STA 00:90:4b:69:0f:55 aid 1 enters power save mode
9D5C88E-00000002
MGMT (TX callback)
ACK
mgmt::assoc_resp
cb
wlan0_1: STA 00:90:4b:69:0f:55 IEEE 802.11: associated (aid
1)
nl80211: NL80211_CMD_NEW_STATION result: -17 (File
exists)
wlan0_1: STA 00:90:4b:69:0f:55 RADIUS: starting accounting session
49D5C88E-00000003
unknown vendor specific information element ignored (vendor OUI 00:10:18
len=9)
STA 00:90:4b:69:0f:55 sent probe request for broadcast
SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18
len=9)
STA 00:90:4b:69:0f:55 sent probe request for broadcast
SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18
len=9)
STA 00:90:4b:69:0f:55 sent probe request for broadcast
SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18
len=9)
STA 00:90:4b:69:0f:55 sent probe request for broadcast
SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18
len=9)
STA 00:90:4b:69:0f:55 sent probe request for broadcast
SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18
len=9)
STA 00:90:4b:69:0f:55 sewlan0: STA 00:90:4b:69:0f:55 aid 1 exits power
save mode
nt probe request for broadcast
SSID
MGMT (TX callback)
ACK
mgmt::proberesp
cb
MGMT (TX callback)
ACK
mgmt::proberesp
cb
MGMT (TX callback)
ACK
mgmt::proberesp
cb
MGMT (TX callback)
ACK
mgmt::proberesp
cb
MGMT (TX callback)
ACK
mgmt::proberesp
cb
Data/PS-poll frame from not associated STA
00:90:4b:69:0f:55
MGMT (TX callback)
ACK
mgmt::proberesp
cb
MGMT (TX callback)
ACK
wlan0: STA 00:90:4b:69:0f:55 aid 1 enters power save
mode
wlan0: STA 00:90:4b:69:0f:55 aid 1 exits power save
mode
wlan0: STA 00:90:4b:69:0f:55 aid 1 enters power save
mode
unknown vendor specific information element ignored (vendor OUI 00:10:18
len=9)
STA 00:90:4b:69:0f:55 sent probe request for broadcast
SSID
unknown vendor spewlan0: STA 00:90:4b:69:0f:55 aid 1 exits power save
mode
cific information element ignored (vendor OUI 00:10:18
len=9)
STA 00:90:4b:69:0f:55 sent probe request for broadcast SSID
3. WPA on both essid1 and ssid2, ssid1 bridged to br0/eth1 ssid2
bridged to br1/eth0. PSK is different on each ssid.
interface=wlan0
bridge=br0
driver=nl80211
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
hw_mode=g
channel=6
beacon_int=100
dtim_period=2
max_num_sta=255
rts_threshold=2347
fragm_threshold=2346
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
own_ip_addr=127.0.0.1
wpa=3
wpa_passphrase=hiramoto
wpa_pairwise=TKIP
rsn_pairwise=TKIP
bss=wlan0_1
ssid=test2
auth_algs=1
wpa=3
wpa_pairwise=TKIP
rsn_pairwise=TKIP
wpa_key_mgmt=WPA-PSK
wpa_passphrase=password
# hostapd -ddK /hostapd.conf
Configuration file: /hostapd.conf
ctrl_interface_group=0
br0: port 2(wlan0) entering learning state
Opening raw packet socket for ifindex 809120051
BSS count 2, BSSID mask ff:ff:ff:ff:ff:fe (1 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=20 dBm
Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=20 dBm
RATE[0] rate=10 flags=0x2
RATE[1] rate=20 flags=0x6
RATE[2] rate=55 flags=0x6
RATE[3] rate=110 flags=0x6
RATE[4] rate=60 flags=0x0
RATE[5] rate=90 flags=0x0
RATE[6] rate=120 flags=0x0
RATE[7] rate=180 flags=0x0
RATE[8] rate=240 flags=0x0
RATE[9] rate=360 flags=0x0
RATE[10] rate=480 flags=0x0
RATE[11] rate=540 flags=0x0
Passive scanning not supported
Flushing old station entries
Deauthenticate all stations
Mode: IEEE 802.11g Channel: 6 Frequency: 2437 MHz
nl80211: Set beacon (iface=wlan0 beacon_set=0)
Using interface wlan0 with hwaddr 00:0e:8e:19:ce:70 and ssid 'test1'
SSID - hexdump_ascii(len=5):
74 65 73 74 31 test1
PSK (ASCII passphrase) - hexdump_ascii(len=8):
68 69 72 61 6d 6f 74 6f hiramoto
PSK (from passphrase) - hexdump(len=32): 9f c6 ee 5b 32 df 23 59 ff 72
4d c2 0e 58 39 e5 b4 6d 78 5a c0 b6 66 a0 84 37 37 1d e6 86 6e aa
WPA: group state machine entering state GTK_INIT (VLAN-ID
0)
GMK - hexdump(len=32): 17 89 10 72 be 41 e2 b4 84 81 f0 dc 5b 78 f4 45
0a 0c 82 4d 6c dc d6 79 89 00 65 8f 26 ab 63 04
GTK - hexdump(len=32): 1d f0 bb 09 c0 42 d3 9f ab 81 d4 04 8e ae 43 22
38 70 1d fa 29 24 ae 1a db f2 04 d9 46 c5 2b a0
WPA: group state machine entering state SETKEYSDONE (VLAN-ID
0)
nl80211: Set beacon (iface=wlan0
beacon_set=1)
Using interface wlan0_1 with hwaddr 00:0e:8e:19:ce:71 and ssid
'test2'
SSID -
hexdump_ascii(len=5):
74 65 73 74 32
test2
PSK (ASCII passphrase) -
hexdump_ascii(len=8):
70 61 73 73 77 6f 72 64
password
PSK (from passphrase) - hexdump(len=32): 00 d5 00 ee ba 5a 38 67 ad 53
42 0d e4 f9 c0 a7 bd 05 4e 29 aa 26 75 6e 99 96 b9 61 ba e1 0d e7
WPA: group state machine entering state GTK_INIT (VLAN-ID
0)
GMK - hexdump(len=32): f2 b3 55 aa 80 2a 4f 43 b0 dd a9 10 ce bd d3 7f
60 39 3f 8b 19 00 1b 1d 64 54 5a 3f 04 df c3 12
GTK - hexdump(len=32): bb ad c4 50 36 2e e1 fe 73 b6 51 af 97 9a 9f 6c
6f c3 cd f0 df 55 14 f8 28 b5 f0 7f 77 e5 77 fc
WPA: group state machine entering state SETKEYSDONE (VLAN-ID
0)
nl80211: Set beacon (iface=wlan0_1
beacon_set=0)
wlan0: Setup of interface
done.
MGMT (TX callback)
ACK
STA 00:12:0e:8d:22:1b sent probe request for our
SSID
unknown vendor specific information element ignored (vendor OUI 00:03:47
len=7)
unknown vendor specific information element ignored (vendor OUI 00:03:47
len=7)
unknown vendor specific information element ignored (vendor OUI 00:03:47
len=7)
unknown vendor specific information element ignored (vendor OUI 00:03:47
len=7)
unknown vendor specific information element ignored (vendor OUI 00:03:47
len=7)
STA 00:12:f0:5a:55:b6 sent probe request for broadcast
SSID
unknown vendor specific information element ignored (vendor OUI 00:03:47
len=7)
STA 00:12:f0:5a:55:b6 sent probe request for broadcast
SSID
unknown vendor specific information element ignored (vendor OUI 00:03:47
len=7)
unknown vendor specific information element ignored (vendor OUI 00:03:47
len=7)
unknown vendor specific information element ignored (vendor OUI 00:03:47
len=7)
STA 00:12:f0:5a:55:b6 sent probe request for broadcast
SSID
unknown vendor specific information element ignored (vendor OUI 00:03:47
len=7)
STA 00:12:f0:5a:55:b6 sent probe request for broadcast
SSID
unknown vendor specific information element ignored (vendor OUI 00:03:47
len=7)
STA 00:12:f0:5a:55:b6 sent probe request for broadcast
SSID
unknown vendor specific information element ignored (vendor OUI 00:03:47
len=7)
STA 00:12:f0:5a:55:b6 sent probe request for broadcast
SSID
MGMT (TX callback)
fail
mgmt::proberesp
cb
MGMT (TX callback)
fail
mgmt::proberesp
cb
MGMT (TX callback)
fail
mgmt::proberesp
cb
MGMT (TX callback)
fail
mgmt::proberesp
cb
MGMT (TX callback)
fail
mgmt::proberesp
cb
MGMT (TX callback)
fail
mgmt::proberesp
cb
MGMT (TX callback)
fail
mgmt::proberesp
cb
STA 00:19:d2:3d:69:28 sent probe request for broadcast
SSID
STA 00:19:d2:3d:69:28 sent probe request for broadcast
SSID
MGMT (TX callback)
fail
mgmt::proberesp
cb
MGMT (TX callback)
ACK
mgmt::proberesp
cb
STA 00:19:d2:3d:69:28 sent probe request for broadcast
SSID
STA 00:19:d2:3d:69:28 sent probe request for broadcast
SSID
STA 00:19:d2:3d:69:28 sent probe request for broadcast
SSID
STA 00:19:d2:3d:69:28 sent probe request for broadcast
SSID
STA 00:19:d2:3d:69:28 sent probe request for broadcast
SSID
STA 00:19:d2:3d:69:28 sent probe request for broadcast
SSID
MGMT (TX callback)
ACK
mgmt::proberesp
cb
MGMT (TX callback)
ACK
mgmt::proberesp
cb
MGMT (TX callback)
ACK
mgmt::proberesp cb
---
Karl
next prev parent reply other threads:[~2009-04-03 8:44 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-01 17:46 [ath9k-devel] ath9kl multiple ssid AP Karl Hiramoto
2009-04-01 18:30 ` Jouni Malinen
2009-04-02 14:34 ` Karl Hiramoto
2009-04-02 16:57 ` Jouni Malinen
2009-04-03 8:44 ` Karl Hiramoto [this message]
2009-04-03 11:37 ` Karl Hiramoto
2009-04-03 18:28 ` Jouni Malinen
2009-04-06 9:35 ` Karl Hiramoto
2009-04-06 17:37 ` Jouni Malinen
2009-04-03 18:24 ` Jouni Malinen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49D5CC89.4000104@hiramoto.org \
--to=karl@hiramoto.org \
--cc=ath9k-devel@lists.ath9k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.