From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-ey0-f174.google.com ([209.85.215.174]:60523 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755784Ab0HaA3o convert rfc822-to-8bit (ORCPT ); Mon, 30 Aug 2010 20:29:44 -0400 Received: by eyg5 with SMTP id 5so3522830eyg.19 for ; Mon, 30 Aug 2010 17:29:43 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <4C7C472C.4040606@candelatech.com> References: <201008011137.49528.florian@openwrt.org> <4C55F377.6040404@candelatech.com> <4C618713.9030303@candelatech.com> <4C7C472C.4040606@candelatech.com> Date: Tue, 31 Aug 2010 10:29:43 +1000 Message-ID: Subject: Re: virtual access poitns (ath5k/mac80211) From: Ryszard To: Ben Greear Cc: "Luis R. Rodriguez" , Florian Fainelli , Patrick McHardy , linux-wireless@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: ah, that might be it! i've got them configured on different channels. i'm not at home now, but will check it in probably about 10 hours or so and let you know.. thanks once again for the quick reply!! On 31 August 2010 10:05, Ben Greear wrote: > On 08/30/2010 04:52 PM, Ryszard wrote: >> >> hey ben, >> >> i've set everything up and have all the routing working etc etc. it >> seems as tho' there is one last issue i'm hoping you can point me in >> the right direction with. >> >> When the device i'm working on boots i've got hostapd starting up with >> two VAP's (vap0 and vap1).  when i connect to on AP everything goes >> well and i can send and receive traffic, however when i disconnect and >> reconnect to the other AP it seems as tho' the client connection >> hangs. >> >> Inspecting syslog shows all the dhcp information  for the 1st >> connection, however there is nothing in syslog for the 2nd connection. >> >> have you seen this, or have an idea why it may happen by chance? > > Make sure both APs are configured on the same channel in hostapd? > > An example of two of my hostapd config files are below, in case that helps: > > [root@lanforge-D0-20 wifi]# more hostapd_vap0.conf > ### Auto-generated by LANforge...do not attempt to modify. > interface=vap0 > driver=nl80211 > logger_syslog=-1 > logger_syslog_level=2 > logger_stdout=-1 > logger_stdout_level=2 > dump_file=wifi/hostapd_vap0.dump > ctrl_interface=/var/run/hostapd > ctrl_interface_group=0 > ssid= > bssid=00:1f:f1:d0:0f:00 > country_code=US > ieee80211d=0 > hw_mode=a > channel=1 > beacon_int=240 > dtim_period=2 > max_num_sta=2007 > rts_threshold=2347 > fragm_threshold=2346 > preamble=0 > macaddr_acl=0 > auth_algs=3 > ignore_broadcast_ssid=0 > wme_enabled=0 > wme_ac_bk_cwmin=4 > wme_ac_bk_cwmax=10 > wme_ac_bk_aifs=7 > wme_ac_bk_txop_limit=0 > wme_ac_bk_acm=0 > wme_ac_be_aifs=3 > wme_ac_be_cwmin=4 > wme_ac_be_cwmax=10 > wme_ac_be_txop_limit=0 > wme_ac_be_acm=0 > wme_ac_vi_aifs=2 > wme_ac_vi_cwmin=3 > wme_ac_vi_cwmax=4 > wme_ac_vi_txop_limit=94 > wme_ac_vi_acm=0 > wme_ac_vo_aifs=2 > wme_ac_vo_cwmin=2 > wme_ac_vo_cwmax=3 > wme_ac_vo_txop_limit=47 > wme_ac_vo_acm=0 > ieee8021x=0 > eapol_key_index_workaround=0 > eap_server=0 > own_ip_addr=127.0.0.1 > [root@lanforge-D0-20 wifi]# more hostapd_vap1.conf > ### Auto-generated by LANforge...do not attempt to modify. > interface=vap1 > driver=nl80211 > logger_syslog=-1 > logger_syslog_level=2 > logger_stdout=-1 > logger_stdout_level=2 > dump_file=wifi/hostapd_vap1.dump > ctrl_interface=/var/run/hostapd > ctrl_interface_group=0 > ssid= > bssid=00:1f:f1:d0:0f:01 > country_code=US > ieee80211d=0 > hw_mode=a > channel=1 > beacon_int=240 > dtim_period=2 > max_num_sta=2007 > rts_threshold=2347 > fragm_threshold=2346 > preamble=0 > macaddr_acl=0 > auth_algs=3 > ignore_broadcast_ssid=0 > wme_enabled=0 > wme_ac_bk_cwmin=4 > wme_ac_bk_cwmax=10 > wme_ac_bk_aifs=7 > wme_ac_bk_txop_limit=0 > wme_ac_bk_acm=0 > wme_ac_be_aifs=3 > wme_ac_be_cwmin=4 > wme_ac_be_cwmax=10 > wme_ac_be_txop_limit=0 > wme_ac_be_acm=0 > wme_ac_vi_aifs=2 > wme_ac_vi_cwmin=3 > wme_ac_vi_cwmax=4 > wme_ac_vi_txop_limit=94 > wme_ac_vi_acm=0 > wme_ac_vo_aifs=2 > wme_ac_vo_cwmin=2 > wme_ac_vo_cwmax=3 > wme_ac_vo_txop_limit=47 > wme_ac_vo_acm=0 > ieee8021x=0 > eapol_key_index_workaround=0 > eap_server=0 > own_ip_addr=127.0.0.1 > > > If you still have no luck, please send output of: > > ifconfig -a > > route -n > > tail -200 /var/log/messages > > dmesg > > on your VAP machine. > > Thanks, > Ben > > > -- > Ben Greear > Candela Technologies Inc  http://www.candelatech.com > >