As mentioned I stay clear of MadWifi if possible. I have a setup running
hostapd with the kernel drivers and it works just fine.
Network card is a D-Link DWA-520. This is just a development system. For
production I would probably use an Intel card.

On Fri, 2010-03-05 at 08:45 -0600, Jose Valdivia wrote:
> Hello All,
> 
> I been configuring a access point using this atheros card.
> 
> 00:0e.0 Ethernet controller: Atheros Communications Inc. AR5212/AR5213
> Multiprotocol MAC/baseband processor (rev 01)
> 
> My Linux is a Debian Lenny
> 
> Linux debian 2.6.26-2-486 #1 Sun Jun 21 04:15:19 UTC 2009 i586 GNU/Linux
> 
> I'm using the apt-get headers for the debian I installed.
> 
> ii  linux-headers-2.6.26-2-486      2.6.26-21
> Header files for Linux 2.6.26-2-486
> ii  linux-image-2.6.26-2-486        2.6.26-17
> Linux 2.6.26 image on x86
> rc  madwifi-modules-2.6.26-2-486    1:0.9.4+r3772.20080716-1+2.6.26-17
> modules for the Multiband Atheros Driver for
> 
> My Wireless card starts like:
> 
> [   19.779977] ath_hal: module license 'Proprietary' taints kernel.
> [   20.697068] MadWifi: ath_attach: Switching rfkill capability off.
> [   21.625090] ath_pci: wifi0: Atheros 5212: mem=0xa0010000, irq=10
> 
> For Mad Wifi I'm using apt-get drivers and it compile sweet:
> 
> ii  madwifi-source                  1:0.9.4+r3772.20080716-1
> source for the Multiband Atheros Driver for
> 
> I can set up my card in master mode with out problems.
> 
> wlanconfig ath0 destroy
> wlanconfig ath0 create wlandev wifi0 wlanmode ap
> 
> #Bridge Configuration
> ifconfig eth3 0.0.0.0 up
> ifconfig ath0 0.0.0.0 up
> brctl addbr br0
> brctl addif br0 eth3
> brctl addif br0 ath0
> 
> ifconfig br0 10.10.10.1/24
> 
> I use hostapd to have WPA2,  I start all the proper daemons like, dns,
> dhcp, configure Nat, etc, etc.
> 
> Everything works properly for a few minutes, its when I got:
> 
> wifi0: ath_rxorn_tasklet: Receive FIFO overrun; resetting.
> wifi0: ath_bstuck_tasklet: Stuck beacon; resetting (beacon miss count: 11)
> 
> That all goes down, I loses connection, the ESSID stops the
> propagation, and dmesg show in a continuous loop
> 
> ------------[ cut here ]------------
> [ 5520.930723] WARNING: at net/sched/sch_generic.c:222 
> dev_watchdog+0x80/0xc3()
> [ 5520.934645] Modules linked in: ipt_MASQUERADE xt_tcpudp
> nf_conntrack_ftp iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack
> iptable
> _filter ip_tables x_tables wlan_ccmp wlan_xauth bridge wlan_scan_ap
> ipv6 ntfs nls_base loop wlan_scan_sta evdev ath_rate_sample snd_p
> csp ath_pci snd_pcm snd_timer wlan snd soundcore snd_page_alloc
> ath_hal(P) geode_aes crypto_blkcipher cs5535_gpio geode_rng rng_core
> ext3 jbd mbcache ide_disk ata_generic libata scsi_mod dock ohci_hcd
> ehci_hcd amd74xx ide_pci_generic usbcore ide_core via_rhine mii t
> hermal_sys
> [ 5521.140970] Pid: 0, comm: swapper Tainted: P          2.6.26-2-486 #1
> [ 5521.146148]  [<c011bac4>] warn_on_slowpath+0x40/0x65
> [ 5521.155947]  [<c011cb93>] profile_tick+0x38/0x53
> [ 5521.165979]  [<c0130741>] tick_handle_periodic+0xc/0x57
> [ 5521.177708]  [<d0977658>] ath_hal_process_noisefloor+0x188/0x1d0 [ath_hal]
> [ 5521.185267]  [<d093c5e2>] ath_reset+0x235/0x275 [ath_pci]
> [ 5521.190824]  [<c025d9b6>] dev_watchdog+0x80/0xc3
> [ 5521.199372]  [<c0122025>] run_timer_softirq+0x10e/0x169
> [ 5521.207180]  [<c025d936>] dev_watchdog+0x0/0xc3
> [ 5521.214684]  [<c011f44d>] __do_softirq+0x3e/0x87
> [ 5521.222013]  [<c011f4cb>] do_softirq+0x35/0x43
> [ 5521.233778]  [<c011f7a1>] irq_exit+0x25/0x53
> [ 5521.240551]  [<c0105dcc>] do_IRQ+0x50/0x60
> [ 5521.246324]  [<c01025ed>] default_idle+0x0/0x4e
> [ 5521.255029]  [<c0104763>] common_interrupt+0x23/0x30
> [ 5521.262312]  [<c01025ed>] default_idle+0x0/0x4e
> [ 5521.272233]  [<c0112b58>] native_safe_halt+0x2/0x3
> [ 5521.279491]  [<c0102615>] default_idle+0x28/0x4e
> [ 5521.288335]  [<c010256d>] cpu_idle+0x51/0x6a
> [ 5521.296133]  =======================
> [ 5521.298724] ---[ end trace d321e8c0668380bb ]---
> [ 5521.305433] wifi0: ath_bstuck_tasklet: Stuck beacon; resetting
> (beacon miss count: 26)
> [ 5521.756063] wifi0: ath_bstuck_tasklet: Stuck beacon; resetting
> (beacon miss count: 11)
> [ 5586.913749] NETDEV WATCHDOG: wifi0: transmit timed out
> [ 5587.338627] wifi0: ath_bstuck_tasklet: Stuck beacon; resetting
> (beacon miss count: 11)
> [ 5676.021370] UDP: bad checksum. From 78.166.247.114:48659 to
> 187.140.16.193:6884 ulen 75
> [ 5816.926842] NETDEV WATCHDOG: wifi0: transmit timed out
> 
> 
> I read a lot about this issue and I found this website:
> http://madwifi-project.org/wiki/StuckBeacon  I tried all the solutions
> there but nothing works.
> 
> I just like to know if you guys know something I can do to fix it, or
> better yet; you have something like this running? it in fact working ?
> What linux and cards are running, driver version, kernel version? so I
> can mach your configuration and make it work.
> 
> Thanks in advance and sorry for the really long email.
> 
> Jose Valdivia
> WebSite: http://soad1982.blogspot.com
> 
> Let the Linux begin !!!!
> _______________________________________________
> Soekris-tech mailing list
> [email protected]
> http://lists.soekris.com/mailman/listinfo/soekris-tech


-- 
Thomas Albech
niXtech Solutions

_______________________________________________
Soekris-tech mailing list
[email protected]
http://lists.soekris.com/mailman/listinfo/soekris-tech

Reply via email to