I just installed debian linux on my system with a mini-pci atheros chipset wireless card. The drivers compiled just fine, but the problem is the ping to he wireless interface times out every 15/16 attempts....something like this,

15/16 successful ping attempts
5/6 Request timed out

This pattern repeats. The problem is, the system hangs periodically and is non responsive, and this part exactly coincides with the time when the ping requests are failing. My iwconfig and /etc/network/interfaces files are as follows,

#iwconfig ath0

lo no wireless extensions.

teql0 no wireless extensions.

eth0 no wireless extensions.

eth1 no wireless extensions.

dummy0 no wireless extensions.

tunl0 no wireless extensions.

gre0 no wireless extensions.

ath0 IEEE 802.11g ESSID:"nuttychest"
Mode:Managed Frequency:2.437 GHz Access Point: 00:40:05:56:84:39
Bit Rate:11 Mb/s Tx-Power:18 dBm Sensitivity=0/3
Retryff RTS thrff Fragment thrff
Encryption key:796F-6B6F-37 Security mode:restricted
Power Managementff
Link Quality=58/94 Signal level=-37 dBm Noise level=-95 dBm
Rx invalid nwid:11 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0


#ifconfig ath0

ath0 Link encap:Ethernet HWaddr 00:02:6F:21:E6:38
inet addr: Bcast: Mask:
RX packets:245 errors:135 dropped:0 overruns:0 frame:135
TX packets:165 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:200
RX bytes:42818 (41.8 KiB) TX bytes:20368 (19.8 KiB)
Interrupt:12 Memory:c8868000-c8878000

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback

# The first network card - this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet static

auto ath0
iface ath0 inet dhcp
pre-up /sbin/iwpriv ath0 mode 0
pre-up /sbin/iwconfig ath0 essid "nuttychest" rate 11M key 796f6b6f37
# address
# netmask
# network
# broadcast
# gateway


As shown above I tried ath0 with both static and dhcp and the problems persists.
When I take the wireless interface ath0 down, then the system works just fine.
I would be thankful if you guys can help me out.