From: Karl Hiramoto Date: Fri, 03 Apr 2009 13:37:04 +0200 Subject: [ath9k-devel] ath9kl multiple ssid AP In-Reply-To: <49D5CC89.4000104@hiramoto.org> References: <49D3A893.8080901@hiramoto.org> <1238610612.17750.2.camel@jm-desktop> <49D4CD01.303@hiramoto.org> <1238691478.30212.8.camel@jm-desktop> <49D5CC89.4000104@hiramoto.org> Message-ID: <49D5F4E0.9020003@hiramoto.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Karl Hiramoto wrote: > 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. > > 3. WPA on both essid1 and ssid2, ssid1 bridged to br0/eth1 ssid2 > bridged to br1/eth0. PSK is different on each ssid. > Another case. two WEP APs essid 1 works but essid2 does not (no traffic flow). an iwlist wlan0 on another machine shows the two AP's with WEP. Windows shows the WEP APs. hostapd.conf interface=wlan0 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 ssid=test1 hw_mode=g channel=6 wep_key0=123456789a beacon_int=100 dtim_period=2 max_num_sta=255 rts_threshold=2347 fragm_threshold=2346 ignore_broadcast_ssid=0 eap_server=0 bss=wlan0_1 ssid=test2 wep_key2=0987654321 auth_algs=1 wpa=0 Iwconfig does not show the encryption key in the second ssid (wifi0_1). # iwconfig lo no wireless extensions. eth1 no wireless extensions. eth0 no wireless extensions. eth2 no wireless extensions. wmaster0 no wireless extensions. wlan0 IEEE 802.11bgn Mode:Master Frequency:2.437 GHz Tx-Power=20 dBm Retry min limit:7 RTS thr=2347 B Fragment thr=2346 B Encryption key:1234-5678-9A Power Management:off Link Quality:0 Signal level:0 Noise level:0 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 mon.wlan0 IEEE 802.11bgn Mode:Monitor Frequency:2.437 GHz Tx-Power=20 dBm Retry min limit:7 RTS thr=2347 B Fragment thr=2346 B Encryption key:off Power Management:off Link Quality:0 Signal level:0 Noise level:0 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 wlan0_1 IEEE 802.11bgn Mode:Master Frequency:2.437 GHz Tx-Power=20 dBm Retry min limit:7 RTS thr=2347 B Fragment thr=2346 B Encryption key:off Power Management:off Link Quality:0 Signal level:0 Noise level:0 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 lscpci shows: 00:02.0 Network controller: Atheros Communications Inc. AR5416 802.11abgn Wireless PCI Adapter (rev 01) Subsystem: Atheros Communications Inc. Unknown device 2071 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR-