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?