Running the attached script i get madwifi drivers to hard lockup the computer. Once i got what i think it was a kernel oops but it was just partly on the screen and i could not scroll up/down because the screen was frozen as part of the hard lockup. I'll welcome any tips on getting the necessary info out of the pc.
There are other adhoc clients on the essid set by the script
lspci | grep Atheros
04:00.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01)
uname -a
Linux albert-laptop 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 GNU/Linux
modinfo ath_pci | grep ^version
version: 0.9.4