From: Jordan Thoms Date: Sat, 12 Sep 2009 15:03:24 +1200 Subject: [ath9k-devel] Problem with hostapd bridge and ath9k- stops working after a while. Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Hi I'm using the wireless-testing kernel (few weeks old now) and hostapd v0.6.9, on gentoo. My wireless card is a Dlink DWA-556, chipset AR5418.My net config: modules_wlan0=( "!iwconfig" "!wpa_supplicant" ) channel_wlan0="11" essid_wlan0="THOMSN" mode_wlan0="master" config_eth0="null" config_wlan0="null" bridge_br0="eth0 wlan0" config_br0="192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255" routes_br0=( "default via 192.168.1.1") brctl_br0=( "stp on" "setfd 0" ) depend_bro() { need net.wlan0 need net.eth0 } hostapd.conf: 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 ssid=THOMSN hw_mode=g channel=11 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 wme_enabled=1 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 ieee80211n=1 ht_capab=[HT40-][SHORT-GI-40][DSSS_CCK-40] eapol_key_index_workaround=0 eap_server=0 own_ip_addr=192.168.1.2 wpa=2 wpa_passphrase=Uxw45iGD7Bq8KI6LZnpk wpa_key_mgmt=WPA-PSK wpa_pairwise=CCMP rsn_pairwise=CCMP brctl show: bridge name bridge id STP enabled interfaces br0 8000.0018f374e85b yes eth0 wlan0 The problem is that if I restart my server (or just the networking), the wireless connection works great for a while, but after some time it stops working. When this happens and i look using tcpdump, I can see the packets from the wireless client on the wlan0 interface, but not on the br0 interface. (Packets from the eth0 interface still get through fine in this state). (when it's working i can see the packets no problem). Also sometimes a few packets get through with very high latency. However all the interfaces seem to be up when looking through ifconfig, So I'm really not sure what could be the problem. I've had this for quite a while through different versions of the ath9k driver. Since nothing seems to change in my configuration when it stops working, the packets just don't get through, I'm really not sure how to work out what could be going wrong. Cheers Jordan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090912/6af44df1/attachment-0001.htm