Greetings everybody. I'm having some problems with madwifi on a friend's laptop, and I'd like to get some opinions on what is wrong.
So my friend bought a new laptop, and bravely allowed only Ubuntu 7 to be installed on it. I was given remote SSH access to the machine, in hopes that I could get the wireless working.
I got on, and found a standard atheros wireless card -
Code:
lspci
08:04.0 Ethernet controller: Atheros Communications, Inc. AR5005G 802.11abg NIC (rev 01)
Code:
uname -a
Linux mollypants 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux
So I downloaded madwifi 0.9.3.1 from sourceforge, compiled and installed it without issue. The wireless interfaces ath0 and wifi0 showed up, and behaved exactly as one would expect. I was able to associate the laptop wirelessly to the WEP protected network.
2 days later I received the phonecall that said, "I'm at a coffee shop, and I can't get online." When they took the laptop home so I could again SSH in, I was troubled to see this:
Code:
sudo iwlist scan
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
Odd I thought, where did ath0 and/or wifi0 go. I assumed either the reboot hadn't loaded the madwifi modules to the kernel, but this shows that isn't the case:
Code:
lsmod |grep ath
ath_pci 97184 0
ath_hal 192592 1 ath_pci
wlan 204100 1 ath_pci
Here's /etc/network/interfaces:
Code:
auto lo
iface lo inet loopback
auto eth1
iface eth1 inet dhcp
auto eth2
iface eth2 inet dhcp
auto ath0
iface ath0 inet dhcp
wireless-essid 7007-1
wireless-key hidden_obviously
auto wlan0
iface wlan0 inet dhcp
I've done the windows solution of rebooting, I've pulled out the ath_pci and ath_hal modules, put them back in, but it makes no difference. I've done make uninstall and make clean in /usr/local/madwifi, installed the brand new svn version of madwifi, that failed to compile, so I installed version 0.9.3.1 again. It was working flawlessly, and then somehow, the ability to use the built in wireless fails.
Code:
sudo iwconfig ath0 essid any
Error for wireless request "Set ESSID" (8B1A) :
SET failed on device ath0 ; No such device.
sudo iwconfig wifi0 essid any
Error for wireless request "Set ESSID" (8B1A) :
SET failed on device wifi0 ; No such device.
I'm hoping somebody here can point me in the right direction to get this working. If you need any additional info, I'll be glad to provide it.
Peace,
JimBass