All of lore.kernel.org
 help / color / mirror / Atom feed
From: Karl Hiramoto <karl@hiramoto.org>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] ath9kl multiple ssid AP
Date: Thu, 02 Apr 2009 16:34:41 +0200	[thread overview]
Message-ID: <49D4CD01.303@hiramoto.org> (raw)
In-Reply-To: <1238610612.17750.2.camel@jm-desktop>

Jouni Malinen wrote:
> On Wed, 2009-04-01 at 10:46 -0700, Karl Hiramoto wrote:
>   
>> Hi,
>>
>> Thanks for all the work.  I've got one AP working with kernel 2.6.29 and
>> ath9k
>>
>> I was wondering if there has been any change to the multiple ssid
>> support I see:
>> https://lists.ath9k.org/pipermail/ath9k-devel/2009-January/000911.html
>>
>> I also see quite a few commits in the last month or so.
>>
>> Is there any experimental git tree that has multiple AP ESSID support?
>>     
>
> All the virtual interface and multi-BSSID support patches have been
> added into wireless-testing.git tree, see
> http://wireless.kernel.org/en/developers/Documentation/git-guide#Cloninglatestwireless-testing
>
> The current snapshot of that with the snapshot of hostapd development
> branch (hostap.git tree, i.e., 0.7.x branch) should allow multiple
> BSSIDs (i.e., also SSIDs) to be used with ath9k.
>
>   
>> What i eventually want to do is  bridge essid1 to eth0, and bridge
>> essid2 to eth1.
>>     
>
> That should be doable with the current implementation.
>
> - Jouni
>   

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

Now I'm using hostapd from git.

# 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)
nl80211: Set beacon DTIM period 2 (iface=wlan0 beacon_set=1)
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=17):
     73 65 63 72 65 74 20 70 61 73 73 70 68 72 61 73   secret passphras
     65                                                e
PSK (from passphrase) - hexdump(len=32): b0 44 57 49 35 29 ae 8a ce a5 
33 f8 73 55 cd a0 54 1e 62 52 89 28 e5 5a de 7b b2 63 1b 6a 18 50
Invalid pairwise cipher (0).
Could not generate WPA IE.
WPA initialization failed.
wlan0: Unable to setup interface.
Flushing old station entries
Deauthenticate all stations
rmdir[ctrl_interface]: No such file or directory
Flushing old station entries
Deauthenticate all stations
br0: port 2(wlan0) entering disabled state




hostapd.conf:

interface=wlan0
bridge=br0


driver=nl80211

logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
hw_mode=g
channel=6
beacon_int=100
dtim_period=2
auth_algs=1
ignore_broadcast_ssid=0
wpa=3
wpa_passphrase=secret passphrase

bss=wlan0_1
ssid=test2





hostapd $ cat .config
CONFIG_CRYPTO=internal
CONFIG_EAP=y
CONFIG_EAP_MD5=y
CONFIG_EAP_PSK=y
CONFIG_DRIVER_WIRED=y
CONFIG_DRIVER_MADWIFI=y
CONFIG_DRIVER_NL80211=y
CONFIG_PKCS12=y
CONFIG_RADIUS_SERVER=y
CONFIG_IAPP=y
CONFIG_IEEE80211R=y
CONFIG_IEEE80211W=y
CONFIG_IEEE80211N=y
CONFIG_PEERKEY=y
CONFIG_RSN_PREAUTH=y

  reply	other threads:[~2009-04-02 14:34 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 [this message]
2009-04-02 16:57     ` Jouni Malinen
2009-04-03  8:44       ` Karl Hiramoto
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=49D4CD01.303@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.