Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Ticket #1862 (new defect)

Opened 14 years ago

Last modified 13 years ago

Card will not connect to wireless router unless wireless router is rebooted, connection lasts 6 hours

Reported by: richard.j.cole@gmail.com Assigned to:
Priority: minor Milestone:
Component: madwifi: other Version: v0.9.4
Keywords: Cc:
Patch is attached: 0 Pending:

Description

My wireless router is a Zyxel P-330W. More than 6 hours after reboot of the router, the madwifi driver can no longer connect to the wireless router. If the router is rebooted then the driver can connect. This problem is not present with my other wireless card.

richcole@pico:~$ lspci
[snip]
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04)
01:00.0 Ethernet controller: Atheros Communications, Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
03:00.0 Ethernet controller: Attansic Technology Corp. L2 100 Mbit Ethernet Adapter (rev a0)
richcole@pico:~$ dpkg --info /usr/src/madwifi-eeepc-modules-2.6.24-1-686_0.9.4+r3366-1+2.6.24-4_i386.deb
 new debian package, version 2.0.
[snip]
 Package: madwifi-eeepc-modules-2.6.24-1-686
 Source: madwifi-eeepc (1:0.9.4+r3366-1)
 Version: 1:0.9.4+r3366-1+2.6.24-4
 Architecture: i386
 Maintainer: Debian Eee PC team <debian-eeepc-devel@lists.alioth.debian.org>
 Installed-Size: 1004
 Depends: linux-image-2.6.24-1-686, madwifi-tools (>= 1:0.9.4~rc2+dfsg-1)
 Recommends: wireless-tools
 Section: non-free/net
 Priority: optional
 Description: modules for the eeepc Multiband Atheros Driver for WiFi (kernel 2.6.24-1-686)
  This package contains the set of loadable kernel modules for the Atheros
  based WiFi chip in the eeepc.
  .
  This package contains the compiled kernel modules for 2.6.24-1-686
  .
  If you have compiled your own kernel, you will most likely need to build
  your own madwifi-modules. The madwifi-eeepc-source package has been
  provided for use with the Debian's module-assistant or kernel-package
  utilities to produce a version of madwifi-eeepc-module for your kernel.
richcole@pico:~$ cat home-network.sh
#!/bin/bash
ifconfig ath0 down
sleep 1
wlanconfig ath0 destroy
sleep 1
wlanconfig ath0 create wlandev wifi0 wlanmode sta
sleep 1
ifconfig ath0 up
sleep 1
iwconfig ath0 essid SIAM
sleep 1
iwconfig ath0 key FEEFFEEFAA
sleep 1
iwconfig ath0
sleep 1
dhclient ath0

When the connection is not working iwconfig reports the card is not associated with an access point. But after reboot of the router the iwconfig reports that it is associated with the ap. Both before and after the reboot it is possible to scan the network and see my wireless router.

Are there any other commands I can run to provide further diagnostic information?

Change History

04/05/08 21:38:19 changed by richard.j.cole@gmail.com

When not working the driver says the following when dhclient is run:

wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/ath0/06:15:af:6c:30:27
Sending on LPF/ath0/06:15:af:6c:30:27
[snip]
No DHCPOFFERS received

It is also the case that setting an ip address using ifconfig and trying to ping the wireless router doesn't work. Neither in this failure mode does the wireless card on the laptop appear in the list of devices connected to the network on the wireless router.

01/06/09 17:03:46 changed by anonymous

The wifi on my 701 used to run. However, after a kernel upgrade from 2.6.22->2.6.24->2.6.26 wifi stopped working. I get exactly the same output as above and have noticed that the

wifi0: unknown hardware address type 801
Listening on LPF/ath0/06:15:af:6c:30:27
Sending on LPF/ath0/06:15:af:6c:30:27 

the MAC address is wrong.

Also I noticed on my AP that the my 701 is authenticated but not associated.